Page MenuHomePhabricator

Pywikibot - AttributeError: module 'pywikibot' has no attribute 'handleArgs' - "db_hostname" present in our user-config.py

Authored By
valerio.bozzolan
Feb 12 2021, 9:20 AM
Size
926 B
Referenced Files
None
Subscribers
None

Pywikibot - AttributeError: module 'pywikibot' has no attribute 'handleArgs' - "db_hostname" present in our user-config.py

"db_hostname" present in our user-config.py is no longer a supported
configuration variable and should be removed. Please inform the
maintainers if you depend on it.
_ConfigurationDeprecationWarning)
Traceback (most recent call last):
File "/shared/pywikipedia/core/pwb.py", line 363, in <module>
if not main():
File "/shared/pywikipedia/core/pwb.py", line 358, in main
file_package)
File "/shared/pywikipedia/core/pwb.py", line 75, in run_python_file
main_mod.__dict__)
File "datiwikipedie.py", line 64, in <module>
main()
File "datiwikipedie.py", line 58, in main
pywikibot.handleArgs()
File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core/pywikibot/tools/__init__.py", line 1733, in __getattr__
return getattr(self._module, attr)
AttributeError: module 'pywikibot' has no attribute 'handleArgs'
CRITICAL: Exiting due to uncaught exception <class 'AttributeError'>

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
8888541
Default Alt Text
Pywikibot - AttributeError: module 'pywikibot' has no attribute 'handleArgs' - "db_hostname" present in our user-config.py (926 B)

Event Timeline