[Pywikipedia-bugs] [Maniphest] [Commented On] T235500: Pywikibot cannot create new property

2019-12-19 Thread DD063520
DD063520 added a comment. Cool thank you! TASK DETAIL https://phabricator.wikimedia.org/T235500 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: D063520, DD063520 Cc: Mpaa, Addshore, Xqt, Aklapper, DD063520, pywikibot-bugs-list, Zkhalido,

[Pywikipedia-bugs] [Maniphest] [Commented On] T235500: Pywikibot cannot create new property

2019-12-19 Thread gerritbot
gerritbot added a comment. Change 559532 **merged** by jenkins-bot: [pywikibot/core@master] Better error message handling, the error is not removed but kept https://gerrit.wikimedia.org/r/559532 TASK DETAIL https://phabricator.wikimedia.org/T235500 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T235500: Pywikibot cannot create new property

2019-12-19 Thread gerritbot
gerritbot added a comment. Change 559532 had a related patch set uploaded (by Xqt; owner: D063520): [pywikibot/core@master] Better error message handling, the error is not removed but kept https://gerrit.wikimedia.org/r/559532 TASK DETAIL https://phabricator.wikimedia.org/T235500

[Pywikipedia-bugs] [Maniphest] [Commented On] T235500: Pywikibot cannot create new property

2019-12-19 Thread gerritbot
gerritbot added a comment. Change 559556 abandoned by Dvorapa: Better error message handling, the error is not removed but kept. This was discussed also in https://phabricator.wikimedia.org/T235500. Reason: Duplicite https://gerrit.wikimedia.org/r/559556 TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T235500: Pywikibot cannot create new property

2019-12-19 Thread gerritbot
gerritbot added a comment. Change 559546 abandoned by Dvorapa: Better error message handling, the error is not removed but kept. This was discussed also in https://phabricator.wikimedia.org/T235500. Reason: Duplicite https://gerrit.wikimedia.org/r/559546 TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T235500: Pywikibot cannot create new property

2019-12-19 Thread gerritbot
gerritbot added a comment. Change 559556 had a related patch set uploaded (by D063520; owner: D063520): [pywikibot/core@master] Better error message handling, the error is not removed but kept. This was discussed also in https://phabricator.wikimedia.org/T235500.

[Pywikipedia-bugs] [Maniphest] [Commented On] T235500: Pywikibot cannot create new property

2019-12-19 Thread gerritbot
gerritbot added a comment. Change 559546 had a related patch set uploaded (by D063520; owner: D063520): [pywikibot/core@master] Better error message handling, the error is not removed but kept. This was discussed also in https://phabricator.wikimedia.org/T235500.

[Pywikipedia-bugs] [Maniphest] [Commented On] T235500: Pywikibot cannot create new property

2019-12-19 Thread gerritbot
gerritbot added a comment. Change 559532 had a related patch set uploaded (by D063520; owner: D063520): [pywikibot/core@master] Better error message handling, the error is not removed but kept. This was discussed also in https://phabricator.wikimedia.org/T235500.

[Pywikipedia-bugs] [Maniphest] [Commented On] T235500: Pywikibot cannot create new property

2019-11-16 Thread Mpaa
Mpaa added a comment. In T235500#5663181 , @DD063520 wrote: > @Xqt : hi, would you consider again this patch, currently I make this modification locally to have some code running You can submit patches directly:

[Pywikipedia-bugs] [Maniphest] [Commented On] T235500: Pywikibot cannot create new property

2019-11-14 Thread DD063520
DD063520 added a comment. @Xqt : hi, would you consider again this patch, currently I make this modification locally to have some code running TASK DETAIL https://phabricator.wikimedia.org/T235500 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To:

[Pywikipedia-bugs] [Maniphest] [Commented On] T235500: Pywikibot cannot create new property

2019-10-30 Thread Addshore
Addshore added a comment. Nothing to do with #wikibase-containers . I'm not a pywikibot dev, but this patch looks good. TASK DETAIL https://phabricator.wikimedia.org/T235500 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T235500: Pywikibot cannot create new property

2019-10-22 Thread DD063520
DD063520 added a comment. Hello, could we push this change forward? TASK DETAIL https://phabricator.wikimedia.org/T235500 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: DD063520 Cc: Xqt, Aklapper, DD063520, pywikibot-bugs-list, Zkhalido,

[Pywikipedia-bugs] [Maniphest] [Commented On] T235500: Pywikibot cannot create new property

2019-10-17 Thread Xqt
Xqt added a comment. In T235500#5580324 , @DD063520 wrote: > I suggest to replace this line: > https://github.com/wikimedia/pywikibot/blob/26deab88936cbf85aa24e1ddfc9b62e81d80a9bb/pywikibot/data/api.py#L1615 > with: > >

[Pywikipedia-bugs] [Maniphest] [Commented On] T235500: Pywikibot cannot create new property

2019-10-16 Thread DD063520
DD063520 added a comment. I suggest to replace this line: https://github.com/wikimedia/pywikibot/blob/26deab88936cbf85aa24e1ddfc9b62e81d80a9bb/pywikibot/data/api.py#L1615 with: messages = None if 'messages' in error: messages = error['messages']

[Pywikipedia-bugs] [Maniphest] [Commented On] T235500: Pywikibot cannot create new property

2019-10-16 Thread DD063520
DD063520 added a comment. Ok, to give back the error message to the user I propose the following change: if I modify these lines: https://github.com/wikimedia/pywikibot/blob/26deab88936cbf85aa24e1ddfc9b62e81d80a9bb/pywikibot/data/api.py#L2040 to print("result2 ", result)

[Pywikipedia-bugs] [Maniphest] [Commented On] T235500: Pywikibot cannot create new property

2019-10-16 Thread DD063520
DD063520 added a comment. Alternatively, is there an option to get the id of the existing Item/Property? TASK DETAIL https://phabricator.wikimedia.org/T235500 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: DD063520 Cc: Aklapper, DD063520,

[Pywikipedia-bugs] [Maniphest] [Commented On] T235500: Pywikibot cannot create new property

2019-10-16 Thread DD063520
DD063520 added a comment. A, I got it. The problem is that a property with this label is already existing. But the error message is really not clear. I only understood it after sending the same request over the API sandbox. Is there a way to ignore this check and create the property