Page MenuHomePhabricator
Paste P31682

Errors
ActivePublic

Authored by PotsdamLamb on Jul 22 2022, 12:07 AM.
Tags
None
Referenced Files
F35329104: Errors
Jul 22 2022, 12:07 AM
Subscribers
Your default user directory is "/mnt/nfs/labstore-secondary-tools-project/pdlarcher"
user-config.py already exists in the target directory "/mnt/nfs/labstore-secondary-tools-project/pdlarcher".
user-password.py already exists in the target directory "/mnt/nfs/labstore-secondary-tools-project/pdlarcher".
Would you like to change the directory? ([Y]es, [n]o): n
tools.pdlarcher@tools-sgebastion-10:~$ ls
apicache-py3 logs pywikibot.lwp replica.my.cnf throttle.ctrl user-config.py user-password.py
tools.pdlarcher@tools-sgebastion-10:~$ nano user-password.py
tools.pdlarcher@tools-sgebastion-10:~$ python3 /data/project/shared/pywikibot/stable/pwb.py archivebot -page:PotsdamLamb User:MiszaBot/config
Processing [[simple:User talk:PotsdamLamb]]
12 thread(s) found on [[simple:User talk:PotsdamLamb]]
Looking for: {{User:MiszaBot/config}} in [[simple:User talk:PotsdamLamb]]
Processing 12 threads
42 thread(s) found on [[simple:User talk:PotsdamLamb/Archive 1]]
Archiving 10 thread(s).
WARNING: No user is logged in on site wikipedia:simple
WARNING: No user is logged in on site wikipedia:simple
Logging in to wikipedia:simple as PDLBotArchiver@urvstfm5jts6ufcq6rvpg4k94cnpqctk
WARNING: API warning (main): Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes. Use [[Special:ApiFeatureUsage]] to see usage of deprecated features by your application.
WARNING: API warning (login): Fetching a token via "action=login" is deprecated. Use "action=query&meta=tokens&type=login" instead.
ERROR: Received incorrect login token. Forcing re-login.
ERROR: Login failed (Failed).
ERROR: Error occurred while processing page [[simple:User talk:PotsdamLamb]]
Traceback (most recent call last):
File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/login.py", line 293, in login
self.login_to_site()
File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/data/api/_login.py", line 157, in login_to_site
raise pywikibot.exceptions.APIError(code=status, info=fail_reason)
pywikibot.exceptions.APIError: Failed: Incorrect username or password entered. Please try again.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/page/_decorators.py", line 32, in handle
func(self, *args, **kwargs)
File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/page/_pages.py", line 1250, in _save
watch=watch, bot=botflag, **kwargs)
File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/site/_decorators.py", line 92, in callee
return fn(self, *args, **kwargs)
File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/site/_apisite.py", line 1793, in editpage
token = self.tokens['edit']
File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/site/_tokenwallet.py", line 51, in __getitem__
self.site.login()
File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/site/_apisite.py", line 400, in login
if login_manager.login(retry=True, autocreate=autocreate):
File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/login.py", line 302, in login
raise NoUsernameError(error_msg)
pywikibot.exceptions.NoUsernameError: Username "PDLBotArchiver@urvstfm5jts6ufcq6rvpg4k94cnpqctk" does not have read permissions on wikipedia:simple
.Incorrect username or password entered. Please try again.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/project/shared/pywikibot/stable/scripts/archivebot.py", line 903, in main
archiver.run()
File "/data/project/shared/pywikibot/stable/scripts/archivebot.py", line 785, in run
archive.update(comment)
File "/data/project/shared/pywikibot/stable/scripts/archivebot.py", line 503, in update
self.save(summary)
File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/page/_pages.py", line 1239, in save
cc=apply_cosmetic_changes, quiet=quiet, **kwargs)
File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/page/_decorators.py", line 53, in wrapper
handle(func, self, *args, **kwargs)
File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/page/_decorators.py", line 45, in handle
raise OtherPageSaveError(self, err)
pywikibot.exceptions.OtherPageSaveError: Edit to page [[User talk:PotsdamLamb/Archive 1]] failed:
Username "PDLBotArchiver@urvstfm5jts6ufcq6rvpg4k94cnpqctk" does not have read permissions on wikipedia:simple
.Incorrect username or password entered
tools.pdlarcher@tools-sgebastion-10:~$ nano user-password.py
tools.pdlarcher@tools-sgebastion-10:~$ python3 /data/project/shared/pywikibot/stable/pwb.py archivebot -page:PotsdamLamb User:MiszaBot/config
Processing [[simple:User talk:PotsdamLamb]]
12 thread(s) found on [[simple:User talk:PotsdamLamb]]
Looking for: {{User:MiszaBot/config}} in [[simple:User talk:PotsdamLamb]]
Processing 12 threads
42 thread(s) found on [[simple:User talk:PotsdamLamb/Archive 1]]
Archiving 10 thread(s).
WARNING: No user is logged in on site wikipedia:simple
WARNING: No user is logged in on site wikipedia:simple
Logging in to wikipedia:simple as PDLBotArchiver@urvstfm5jts6ufcq6rvpg4k94cnpqctk
WARNING: API warning (main): Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes. Use [[Special:ApiFeatureUsage]] to see usage of deprecated features by your application.
WARNING: API warning (login): Fetching a token via "action=login" is deprecated. Use "action=query&meta=tokens&type=login" instead.
ERROR: Received incorrect login token. Forcing re-login.
ERROR: Login failed (Failed).
ERROR: Error occurred while processing page [[simple:User talk:PotsdamLamb]]
Traceback (most recent call last):
File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/login.py", line 293, in login
self.login_to_site()
File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/data/api/_login.py", line 157, in login_to_site
raise pywikibot.exceptions.APIError(code=status, info=fail_reason)
pywikibot.exceptions.APIError: Failed: Incorrect username or password entered. Please try again.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/page/_decorators.py", line 32, in handle
func(self, *args, **kwargs)
File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/page/_pages.py", line 1250, in _save
watch=watch, bot=botflag, **kwargs)
File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/site/_decorators.py", line 92, in callee
return fn(self, *args, **kwargs)
File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/site/_apisite.py", line 1793, in editpage
token = self.tokens['edit']
File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/site/_tokenwallet.py", line 51, in __getitem__
self.site.login()
File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/site/_apisite.py", line 400, in login
if login_manager.login(retry=True, autocreate=autocreate):
File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/login.py", line 302, in login
raise NoUsernameError(error_msg)
pywikibot.exceptions.NoUsernameError: Username "PDLBotArchiver@urvstfm5jts6ufcq6rvpg4k94cnpqctk" does not have read permissions on wikipedia:simple
.Incorrect username or password entered. Please try again.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/project/shared/pywikibot/stable/scripts/archivebot.py", line 903, in main
archiver.run()
File "/data/project/shared/pywikibot/stable/scripts/archivebot.py", line 785, in run
archive.update(comment)
File "/data/project/shared/pywikibot/stable/scripts/archivebot.py", line 503, in update
self.save(summary)
File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/page/_pages.py", line 1239, in save
cc=apply_cosmetic_changes, quiet=quiet, **kwargs)
File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/page/_decorators.py", line 53, in wrapper
handle(func, self, *args, **kwargs)
File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/page/_decorators.py", line 45, in handle
raise OtherPageSaveError(self, err)
pywikibot.exceptions.OtherPageSaveError: Edit to page [[User talk:PotsdamLamb/Archive 1]] failed:
Username "PDLBotArchiver@urvstfm5jts6ufcq6rvpg4k94cnpqctk" does not have read permissions on wikipedia:simple
.Incorrect username or password entered. Please try again.tools.pdlarcher@tools-sgebastion-10:~$ Incorrect username or password entered. Please try again.
-bash: Incorrect: command not found
tools.pdlarcher@tools-sgebastion-10:~$ nano user-password.py
tools.pdlarcher@tools-sgebastion-10:~$ python3 /data/project/shared/pywikibot/stable/pwb.py login
WARNING: No user is logged in on site wikipedia:simple
Logging in to wikipedia:simple as PDLBotArchiver@urvstfm5jts6ufcq6rvpg4k94cnpqctk
WARNING: API warning (main): Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes. Use [[Special:ApiFeatureUsage]] to see usage of deprecated features by your application.
WARNING: API warning (login): Fetching a token via "action=login" is deprecated. Use "action=query&meta=tokens&type=login" instead.
ERROR: Received incorrect login token. Forcing re-login.
ERROR: Login failed (Failed).
Traceback (most recent call last):
File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/login.py", line 293, in login
self.login_to_site()
File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/data/api/_login.py", line 157, in login_to_site
raise pywikibot.exceptions.APIError(code=status, info=fail_reason)
pywikibot.exceptions.APIError: Failed: Incorrect username or password entered. Please try again.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/project/shared/pywikibot/stable/pwb.py", line 488, in <module>
main()
File "/data/project/shared/pywikibot/stable/pwb.py", line 472, in main
if not execute():
File "/data/project/shared/pywikibot/stable/pwb.py", line 455, in execute
run_python_file(filename, script_args, module)
File "/data/project/shared/pywikibot/stable/pwb.py", line 142, in run_python_file
main_mod.__dict__)
File "/data/project/shared/pywikibot/stable/pywikibot/scripts/login.py", line 152, in <module>
main()
File "/data/project/shared/pywikibot/stable/pywikibot/scripts/login.py", line 140, in main
site.login(autocreate=autocreate)
File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/site/_apisite.py", line 400, in login
if login_manager.login(retry=True, autocreate=autocreate):
File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/login.py", line 302, in login
raise NoUsernameError(error_msg)
pywikibot.exceptions.NoUsernameError: Username "PDLBotArchiver@urvstfm5jts6ufcq6rvpg4k94cnpqctk" does not have read permissions on wikipedia:simple
.Incorrect username or password entered. Please try again.
CRITICAL: Exiting due to uncaught exception <class 'pywikibot.exceptions.NoUsernameError'>
tools.pdlarcher@tools-sgebastion-10:~$