On 20/08/2013 19:19, William H. Magill wrote:
On Aug 20, 2013, at 11:49 AM, Lewis Cawte lewiscawte@googlemail.com wrote:
One last point -- since you have these assorted "configure" scripts which MUST be run before one can begin using the product -- why not have an "install" script, which automatically runs them as needed. ... of course to do that, you will first need to fix "generate_family_file.py".
I wouldn't say that's really necessary, all you have to do is run generate_family_file.py and generate_user_files.py ... they are both pretty simple and quick. It's actually considerably easier than when I started using Pywikipedia, when you had to craft the family file by hand!
Yes. if you do them in that order.... they work.
However, the Installation instructions tell you to run them in the reverse order; consequently they do not work -- because "generate_family_file.py" will fail if a "user-config.py" file exists. (Unless that has been changed in the past month.)
This is not true at all unless you've just found a very very weird bug. Generate_family_file.py works even if a user-config.py exists, and it has been that way since the script was created. I've been using it since it was first released, in all different versions.
T.T.F.N. William H. Magill # iMac11,3 Core i7 [2.93GHz - 8 GB 1067MHz] OS X 10.8.4 # MacBook Pro4.1 Core 2 Duo [2.5GHz - 4GB 667] OS X 10.6.8 # Macmini6,1 Intel Core i5 [2.5 Ghz - 4GB 1600MHz] OS X 10.8.3
magill@icloud.com magill@mac.com whmagill@gmail.com _______________________________________________ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l