No user-config.py found in directory '/data/project/pywikibot/public_html/compat' Creating... 1: memoryalpha 2: uncyclopedia 3: omegawiki 4: i18n 5: loveto 6: openttd 7: wowwiki 8: wikivoyage 9: wiktionary 10: wikiversity 11: strategy 12: wikitravel_shared 13: wikitech 14: anarchopedia 15: test 16: wikibooks 17: outreach 18: battlestarwiki 19: wikipedia 20: wikisource 21: supertux 22: wikinews 23: piratenwiki 24: mediawiki 25: mozilla 26: osm 27: incubator 28: meta 29: species 30: wikitravel 31: wikimediachapter 32: wikidata 33: lyricwiki 34: wikia 35: wikiquote 36: commons 37: krefeldwiki 38: vikidia Select family of sites we are working on, just enter the number not name (default: wikipedia): EOF when reading a line Serious import error; pywikibot not available - was it configured? Content-Type: text/html --> -->
 
 
<type 'exceptions.AttributeError'>
Python 2.7.13: /usr/bin/python
Wed Dec 19 10:06:50 2018

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /data/project/pywikibot/public_html/compat/rcsort.py in ()
     36 print "<!--"
     37 print "-->"
=>   38 mysite = pywikibot.getSite()
     39 
     40 newbies = 'newbies' in form
mysite undefined, pywikibot = <module 'pywikibot' from '/data/project/pywikibot/public_html/compat/pywikibot/__init__.pyc'>, pywikibot.getSite undefined

<type 'exceptions.AttributeError'>: 'module' object has no attribute 'getSite'
      args = ("'module' object has no attribute 'getSite'",)
      message = "'module' object has no attribute 'getSite'"