Topic on Manual talk:Pywikibot

(Solved) ERROR: URLError: <urlopen error [Errno 11001] getaddrinfo failed>

2
TheMobius (talkcontribs)

Hello, I am consistently getting this error, and not just with category.py.

C:\Documents and Settings\(me)\Desktop\pywikipedia>category.py add -links:"C
loth Armor"
Category to add (do not give namespace): Items
No handlers could be found for logger "pywiki"
Getting 60 pages from requiem_wiki:en...
ERROR: URLError: <urlopen error [Errno 11001] getaddrinfo failed>
WARNING: Could not open 'http://requiem.irowiki.orgNone/index.php?title=Special:
Export&useskin=monobook'. Maybe the server or
 your connection is down. Retrying in 1 minutes...

Basically, I have no Idea what to fix. I'm just trying to add a category to all the links found on a specific page. Any help is more than appreciated, Thank you very much.

TheMobius (talkcontribs)

Solved, played around with family.py for a good amount of time. Ended up being a simple issue that I kept overlooking.

   def scriptpath(self, code):
       return '/w/'

I didn't have "/w/" set properly.