It's interesting to say for a 2-days-old and by that time correctly working copy to be outdated. I can't see a reason for what properly working programs should be broken without prior notice. What was the critical issue for what anybody was forced to block replace.py?

Additionally, to force somebody to download and run an unknown .EXE without further eyplanation when using an open source project is very unfriendly thing and by no means the proper way of developing the framework.

First, an exe is an alien corpus here and should not be part of an open source framework.
Second, majority of scripts had run correctly and without any problem by that time. Now, for I don't know what kind of development of I don't know which part of the project, properly working scripts were broken.
Users who want to run simple scripts should be left to run them unless there is any critical problem.

Too many breaking changes suddenly! This was not the Pywiki way by this time and I don't like this new style!



2013/7/9 <info@gno.de>
As shown in you version.py your working copy is outdated. You need r11719 or newer which solves the outboundlocalerror.
Greetings
Xqt

Von: Bináris
Gesendet: 09.07.2013 00:09
An: Pywikipedia discussion list
Betreff: Re: [Pywikipedia-l] Patch.exe, what sort of message is this?


I forgot the detailes:
c:\Pywikipedia>replace.py -search
WARNING: Download package "patch.exe" from
http://downloads.sourceforge.net/project/gnuwin32/patch/2.5.9-7/patch-2.5.9-7
-bin.zip
WARNING: Size of download: 126248 byte(s)
WARNING: MIME type: ['application', 'x-zip-compressed']
WARNING: Extract package "patch.exe" to C:\Pywikipedia\externals\patch.exe.
Traceback (most recent call last):
  File "C:\Pywikipedia\replace.py", line 171, in <module>
    import wikipedia as pywikibot
  File "C:\Pywikipedia\wikipedia.py", line 149, in <module>
    import externals     # allow imports from externals
  File "C:\Pywikipedia\externals\__init__.py", line 387, in <module>
    check_setup('patch.exe')
  File "C:\Pywikipedia\externals\__init__.py", line 372, in check_setup
    if download_install(modules_needed[m][1], m, path):
  File "C:\Pywikipedia\externals\__init__.py", line 315, in download_install
    arch.extractall(os.path.join(path, '__setup_tmp/'))
UnboundLocalError: local variable 'arch' referenced before assignment


Output of version.py:
c:\Pywikipedia>version.py
WARNING: Download package "patch.exe" from
http://downloads.sourceforge.net/project/gnuwin32/patch/2.5.9-7/patch-2.5.9-7
-bin.zip
WARNING: Size of download: 126248 byte(s)
WARNING: MIME type: ['application', 'x-zip-compressed']
WARNING: Extract package "patch.exe" to C:\Pywikipedia\externals\patch.exe.
local variable 'arch' referenced before assignment
Serious import error; pywikibot not available - was it configured?
Pywikipedia trunk/pywikipedia/ (r11712, 2013/07/05, 01:17:44, OUTDATED)
Python 2.7.2 (default, Jun 12 2011, 14:24:46) [MSC v.1500 64 bit (AMD64)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok

_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l




--
Bináris