Last modified: 2013-10-24 18:18:42 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1137/ Reported by: Anonymous user Created on: 2010-03-09 18:08:05 Subject: "browse" to page with ' in the name Original description: % python version.py Pywikipedia \[http\] trunk/pywikipedia \(r7976, 2010/03/04, 05:43:35\) Python 2.6.1 \(r261:67515, Jul 7 2009, 23:51:51\) \[GCC 4.2.1 \(Apple Inc. build 5646\)\] \---8<--- When using replace.py and asking to browse to a page with a single quote in the name causes an assertion error. Trace here: Do you want to accept these changes? \(\[y\]es, \[N\]o, \[e\]dit, open in \[b\]rowser, \[a\]ll, \[q\]uit\) b Traceback \(most recent call last\): File "replace.py", line 719, in <module> main\(\) File "replace.py", line 714, in main bot.run\(\) File "replace.py", line 422, in run page.site\(\).nice\_get\_address\(page.title\(\)\) File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/webbrowser.py", line 61, in open File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/webbrowser.py", line 570, in open AssertionError
Is this still valid?
I checked and It worked properly [1], the bug has reported in 2010 It's probably fixed during updates https://dpaste.de/YKD0