[Pywikipedia-bugs] [Maniphest] [Commented On] T363943: pywikibot.exceptions.FatalServerError due to \n in User-Agent value

2024-05-03 Thread Framawiki
Framawiki added a comment. @xqt @Zhuyifei1999 thanks both of you for this really quick patch! TASK DETAIL https://phabricator.wikimedia.org/T363943 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: zhuyifei1999, Framawiki Cc: Aklapper, Framawiki,

[Pywikipedia-bugs] [Maniphest] [Commented On] T363943: pywikibot.exceptions.FatalServerError due to \n in User-Agent value

2024-05-02 Thread gerritbot
gerritbot added a comment. Change #1026634 **merged** by jenkins-bot: [pywikibot/core@master] [tests] update version_tests.py https://gerrit.wikimedia.org/r/1026634 TASK DETAIL https://phabricator.wikimedia.org/T363943 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T363943: pywikibot.exceptions.FatalServerError due to \n in User-Agent value

2024-05-02 Thread gerritbot
gerritbot added a comment. Change #1026634 had a related patch set uploaded (by Xqt; author: Xqt): [pywikibot/core@master] [tests] update version_tests.py https://gerrit.wikimedia.org/r/1026634 TASK DETAIL https://phabricator.wikimedia.org/T363943 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T363943: pywikibot.exceptions.FatalServerError due to \n in User-Agent value

2024-05-02 Thread gerritbot
gerritbot added a comment. Change #1026185 **merged** by jenkins-bot: [pywikibot/core@master] version.py: Remove line endings in getversion_nightly https://gerrit.wikimedia.org/r/1026185 TASK DETAIL https://phabricator.wikimedia.org/T363943 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T363943: pywikibot.exceptions.FatalServerError due to \n in User-Agent value

2024-05-02 Thread gerritbot
gerritbot added a comment. Change #1026462 **merged** by jenkins-bot: [pywikibot/core@master] [tests] Add version_tests.py https://gerrit.wikimedia.org/r/1026462 TASK DETAIL https://phabricator.wikimedia.org/T363943 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T363943: pywikibot.exceptions.FatalServerError due to \n in User-Agent value

2024-05-02 Thread gerritbot
gerritbot added a comment. Change #1026185 had a related patch set uploaded (by Zhuyifei1999; author: Zhuyifei1999): [pywikibot/core@master] version.py: Remove line endings in getversion_nightly https://gerrit.wikimedia.org/r/1026185 TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T363943: pywikibot.exceptions.FatalServerError due to \n in User-Agent value

2024-05-02 Thread gerritbot
gerritbot added a comment. Change #1026462 had a related patch set uploaded (by Xqt; author: Xqt): [pywikibot/core@master] [tests] Add version_tests.py https://gerrit.wikimedia.org/r/1026462 TASK DETAIL https://phabricator.wikimedia.org/T363943 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T363943: pywikibot.exceptions.FatalServerError due to \n in User-Agent value

2024-05-01 Thread Framawiki
Framawiki added a comment. It is also possible some stuff was done on the toolforge side and impacted the output of the version. Anyway, a `.strip()` could be added somewhere to remove any unattended `\n` in versions around here

[Pywikipedia-bugs] [Maniphest] [Commented On] T363943: pywikibot.exceptions.FatalServerError due to \n in User-Agent value

2024-05-01 Thread Framawiki
Framawiki added a comment. if somebody has the same issue right now, just append this value in your ~/.pywikibot/user-config.py (and adapt the values, for sure): `user_agent_format="MY_BOT_NAME using pywikibot on MY_WIKI_NAME"` TASK DETAIL https://phabricator.wikimedia.org/T363943 EMAIL