[Pywikipedia-bugs] [Maniphest] [Commented On] T281551: Travis CI tests failing due to missing user-config.py

2021-05-02 Thread gerritbot
gerritbot added a comment. Change 684063 **merged** by jenkins-bot: [pywikibot/core@master] [bugfix] Import exceptions directly to solve circular imports in Python 3.6- https://gerrit.wikimedia.org/r/684063 TASK DETAIL https://phabricator.wikimedia.org/T281551 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T281551: Travis CI tests failing due to missing user-config.py

2021-05-02 Thread gerritbot
gerritbot added a comment. Change 684063 had a related patch set uploaded (by Xqt; author: Xqt): [pywikibot/core@master] [bugfix] Import exceptions directly to solve circular imports in Python 3.6- https://gerrit.wikimedia.org/r/684063 TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T281551: Travis CI tests failing due to missing user-config.py

2021-05-02 Thread Xqt
Xqt added a comment. The patch solves the issue for Python 3.7+ but it still fails with Python 3.5/3.6 TASK DETAIL https://phabricator.wikimedia.org/T281551 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Dvorapa, JJMC89, atagar,

[Pywikipedia-bugs] [Maniphest] [Commented On] T281551: Travis CI tests failing due to missing user-config.py

2021-05-02 Thread JJMC89
JJMC89 added a comment. The patch didn't solve it. https://travis-ci.org/github/wikimedia/pywikibot/jobs/769205872 $ python pwb.py generate_family_file 'https://wiki.musicbrainz.org/' musicbrainz 'n' Traceback (most recent call last): File "pwb.py", line 199, in

[Pywikipedia-bugs] [Maniphest] [Commented On] T281551: Travis CI tests failing due to missing user-config.py

2021-05-02 Thread gerritbot
gerritbot added a comment. Change 684014 **merged** by jenkins-bot: [pywikibot/core@master] [bugfix] Solve circular import if user-config.p is missing https://gerrit.wikimedia.org/r/684014 TASK DETAIL https://phabricator.wikimedia.org/T281551 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T281551: Travis CI tests failing due to missing user-config.py

2021-05-01 Thread Dvorapa
Dvorapa added a comment. Yeah, when I run `python pwb.py generate_user_files` locally, it breaks on the same issue: $ python pwb.py generate_user_files Traceback (most recent call last): File "/home/pavel/pywikibot5/pwb.py", line 199, in import pywikibot as pwb

[Pywikipedia-bugs] [Maniphest] [Commented On] T281551: Travis CI tests failing due to missing user-config.py

2021-05-01 Thread gerritbot
gerritbot added a comment. Change 684014 had a related patch set uploaded (by Xqt; author: Xqt): [pywikibot/core@master] [bugfix] Solve circular import if user-config.p is missing https://gerrit.wikimedia.org/r/684014 TASK DETAIL https://phabricator.wikimedia.org/T281551 EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T281551: Travis CI tests failing due to missing user-config.py

2021-05-01 Thread Xqt
Xqt added a comment. Ah, I see. The tests passes but the scripts itself fails. Thank you @JJMC89. TASK DETAIL https://phabricator.wikimedia.org/T281551 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: JJMC89, atagar, Ladsgroup, Legoktm,

[Pywikipedia-bugs] [Maniphest] [Commented On] T281551: Travis CI tests failing due to missing user-config.py

2021-05-01 Thread JJMC89
JJMC89 added a comment. In T281551#7050517 , @Xqt wrote: > May be a reason to fail for that special test but why does the most test pass but Travis always return 1 Since that (or any) command in script fails (returned 1), the build

[Pywikipedia-bugs] [Maniphest] [Commented On] T281551: Travis CI tests failing due to missing user-config.py

2021-05-01 Thread Xqt
Xqt added a comment. In T281551#7050454 , @JJMC89 wrote: > Since rPWBCcf630158c523: [cleanup] Suffix exceptions with 'Error' > > The command "python

[Pywikipedia-bugs] [Maniphest] [Commented On] T281551: Travis CI tests failing due to missing user-config.py

2021-05-01 Thread Xqt
Xqt added a comment. It is Travis which forces always to fail. TASK DETAIL https://phabricator.wikimedia.org/T281551 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: JJMC89, atagar, Ladsgroup, Legoktm, jayvdb, Aklapper, Xqt,