jayvdb lowered the priority of this task from "Unbreak Now!" to "Normal".
jayvdb added a comment.

I was basing the increased priority on this part of 
https://phabricator.wikimedia.org/T104522#1932994, which sounds like the 
revision id isnt being managed correctly inside Pywikibot:

> Huh? 25369? That's the old revision id! Where did you get that from?

I needed to add `import pywikibot` to the top of @multichill's 
https://phabricator.wikimedia.org/T104522#1933026 sample code ,

Using master, I do not see a problem with the revision id.  However it does 
very clearly show the warning described in this bug.

  $ python pwb.py multichill_wd_T104522.py
  No handlers could be found for logger "pywiki"
  {'labels': {'en': {'value': u'Tester de test for T104522', 'language': 
u'en'}}}
  Creating new itemu
  Logging in to wikidata:test as JVbot-test
  The current revision id is 25418
  The current revision id is 25418 at the start of 0
  Adding P508->Q207 to [[wikidata:test:Q2145]]
  Sleeping for 7.3 seconds, 2016-01-16 07:37:49
  The current revision id is 25419 after adding a claim
  The current revision id is 25419 at the start of 1
  Adding P508->Q207 to [[wikidata:test:Q2145]]
  Sleeping for 7.5 seconds, 2016-01-16 07:37:59
  WARNING: API warning (wbcreateclaim) of unknown format: {u'messages': 
[{u'html': {u'*': u'Your edit was patched into the latest version.'}, u'name': 
u'wikibase-conflict-patched', u'parameters': []}]}
  The current revision id is 25420 after adding a claim
  The current revision id is 25420 at the start of 2
  Adding P508->Q207 to [[wikidata:test:Q2145]]
  Sleeping for 8.6 seconds, 2016-01-16 07:38:08
  WARNING: API warning (wbcreateclaim) of unknown format: {u'messages': 
[{u'html': {u'*': u'Your edit was patched into the latest version.'}, u'name': 
u'wikibase-conflict-patched', u'parameters': []}]}
  The current revision id is 25421 after adding a claim
  The current revision id is 25421 at the start of 3
  Adding P508->Q207 to [[wikidata:test:Q2145]]
  Sleeping for 8.9 seconds, 2016-01-16 07:38:18
  WARNING: API warning (wbcreateclaim) of unknown format: {u'messages': 
[{u'html': {u'*': u'Your edit was patched into the latest version.'}, u'name': 
u'wikibase-conflict-patched', u'parameters': []}]}
  The current revision id is 25422 after adding a claim
  {'labels': {'en': {'value': u'Tester de test for T104522', 'language': 
u'en'}}}
  Creating new itemu
  Sleeping for 9.2 seconds, 2016-01-16 07:38:28
  Sleeping for 5.0 seconds, 2016-01-16 07:38:37
  Sleeping for 4.7 seconds, 2016-01-16 07:38:42
  The current revision id is 25423
  The current revision id is 25423 at the start of 0
  Adding P508->Q207 to [[wikidata:test:Q2146]]
  Sleeping for 8.1 seconds, 2016-01-16 07:38:49
  The current revision id is 25424 after adding a claim
  The current revision id is 25424 at the start of 1
  Adding P508->Q207 to [[wikidata:test:Q2146]]
  Sleeping for 9.2 seconds, 2016-01-16 07:38:58
  WARNING: API warning (wbcreateclaim) of unknown format: {u'messages': 
[{u'html': {u'*': u'Your edit was patched into the latest version.'}, u'name': 
u'wikibase-conflict-patched', u'parameters': []}]}
  The current revision id is 25425 after adding a claim
  The current revision id is 25425 at the start of 2
  Adding P508->Q207 to [[wikidata:test:Q2146]]
  Sleeping for 9.1 seconds, 2016-01-16 07:39:08
  WARNING: API warning (wbcreateclaim) of unknown format: {u'messages': 
[{u'html': {u'*': u'Your edit was patched into the latest version.'}, u'name': 
u'wikibase-conflict-patched', u'parameters': []}]}
  The current revision id is 25426 after adding a claim
  The current revision id is 25426 at the start of 3
  Sleeping for 5.0 seconds, 2016-01-16 07:39:20
  Adding P508->Q207 to [[wikidata:test:Q2146]]
  WARNING: API warning (wbcreateclaim) of unknown format: {u'messages': 
[{u'html': {u'*': u'Your edit was patched into the latest version.'}, u'name': 
u'wikibase-conflict-patched', u'parameters': []}]}
  The current revision id is 25427 after adding a claim

I also ran it on the 2.0 branch, with the same results.


TASK DETAIL
  https://phabricator.wikimedia.org/T104522

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: Multichill, Ricordisamoa, Aklapper, jayvdb, pywikibot-bugs-list, 
Wikidata-bugs, aude, Mbch331



_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to