Hi, my stack trace:
Uploading file to commons:commons...
ERROR: Traceback (most recent call last):
File "/home/vitaly/p/upload_to_commons_with_categories_from_iptc/myenv/lib/python3.12/site-packages/pywikibot/data/api/_requests.py", line 683, in _http_request
response = http.request(self.site, uri=uri,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/vitaly/p/upload_to_commons_with_categories_from_iptc/myenv/lib/python3.12/site-packages/pywikibot/comms/http.py", line 280, in request
r = fetch(baseuri, headers=headers, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/vitaly/p/upload_to_commons_with_categories_from_iptc/myenv/lib/python3.12/site-packages/pywikibot/comms/http.py", line 452, in fetch
callback(response)
File "/home/vitaly/p/upload_to_commons_with_categories_from_iptc/myenv/lib/python3.12/site-packages/pywikibot/comms/http.py", line 349, in error_handling_callback
raise ServerError(
pywikibot.exceptions.ServerError: 502 Server Error: Malformed Server Response Status
WARNING: Waiting 5.0 seconds before retrying.
WARNING: API error lockmanager-fail-conflict: Could not acquire lock. Somebody else is doing something to this file.
1 read operation
Script terminated successfully.Pybot version 10.1.0
During my upload script execution https://gitlab.com/vitaly-zdanevich/upload-to-commons-with-categories-from-iptc
Before that uploading - I did the file revert, maybe this is the root cause.