Bugs item #3600438, was opened at 2013-01-11 12:26 Message generated for change (Tracker Item Submitted) made by yfdyh000 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3600438...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: YFdyh000 (yfdyh000) Assigned to: Nobody/Anonymous (nobody) Summary: generate_family_file.py broken
Initial Comment: 20:23 ~/pywikipedia $ python version.py Pywikipedia [http] trunk/pywikipedia (r10884, 2013/01/11, 11:58:49) Python 2.7.3 (default, Dec 4 2012, 18:49:19) [GCC 4.4.5] config-settings: use_api = True use_api_login = True unicode test: ok
20:23 ~/pywikipedia $ python generate_family_file.py Traceback (most recent call last): File "generate_family_file.py", line 48, in <module> import family File "/home/yfdyh000/pywikipedia/family.py", line 15, in <module> import wikipedia as pywikibot File "/home/yfdyh000/pywikipedia/wikipedia.py", line 8632, in <module> sys.path.append(config.datafilepath('userinterfaces')) File "/home/yfdyh000/pywikipedia/config.py", line 530, in datafilepath return makepath(os.path.join(base_dir, *filename)) File "/home/yfdyh000/pywikipedia/config.py", line 518, in makepath if not exists(dpath): makedirs(dpath) File "/usr/local/lib/python2.7/os.py", line 157, in makedirs mkdir(name, mode) OSError: [Errno 17] File exists: '.'
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3600438...
pywikipedia-bugs@lists.wikimedia.org