[Wikidata-bugs] [Maniphest] [Commented On] T112130: Pywikibot crashes on items with quantities with units. Need to implement unit support in pywikibot WbQuanity

2016-04-07 Thread jayvdb
jayvdb added a comment.


  Ah, this fix was released in pwb 2.0rc4, so you need to upgrade to avoid this 
problem.

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

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

To: jayvdb
Cc: Vladis13, ArthurPSmith, zhuyifei1999, jayvdb, Ladsgroup, gerritbot, 
Aklapper, pywikibot-bugs-list, Multichill, Lewizho99, D3r1ck01, Izno, 
Wikidata-bugs, aude, Ricordisamoa, Mbch331



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


[Wikidata-bugs] [Maniphest] [Commented On] T112130: Pywikibot crashes on items with quantities with units. Need to implement unit support in pywikibot WbQuanity

2016-04-07 Thread Vladis13
Vladis13 added a comment.


  i dont

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

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

To: Vladis13
Cc: Vladis13, ArthurPSmith, zhuyifei1999, jayvdb, Ladsgroup, gerritbot, 
Aklapper, pywikibot-bugs-list, Multichill, Lewizho99, D3r1ck01, Izno, 
Wikidata-bugs, aude, Ricordisamoa, Mbch331



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


[Wikidata-bugs] [Maniphest] [Commented On] T112130: Pywikibot crashes on items with quantities with units. Need to implement unit support in pywikibot WbQuanity

2016-04-06 Thread jayvdb
jayvdb added a comment.


  Could you create a subtask for that?

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

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

To: jayvdb
Cc: Vladis13, ArthurPSmith, zhuyifei1999, jayvdb, Ladsgroup, gerritbot, 
Aklapper, pywikibot-bugs-list, Multichill, Lewizho99, D3r1ck01, Izno, 
Wikidata-bugs, aude, Ricordisamoa, Mbch331



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


[Wikidata-bugs] [Maniphest] [Commented On] T112130: Pywikibot crashes on items with quantities with units. Need to implement unit support in pywikibot WbQuanity

2016-04-06 Thread Vladis13
Vladis13 added a comment.


  In https://phabricator.wikimedia.org/T112130#2184242, @Vladis13 wrote:
  
  >
  
  
  This error was on old version 

 item "Wikidata:Sandbox ". After did 
remove all claims from it the error disappeared. Thus, some a claim can do the 
error.

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

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

To: Vladis13
Cc: Vladis13, ArthurPSmith, zhuyifei1999, jayvdb, Ladsgroup, gerritbot, 
Aklapper, pywikibot-bugs-list, Multichill, Lewizho99, D3r1ck01, Izno, 
Wikidata-bugs, aude, Ricordisamoa, Mbch331



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


[Wikidata-bugs] [Maniphest] [Commented On] T112130: Pywikibot crashes on items with quantities with units. Need to implement unit support in pywikibot WbQuanity

2016-04-06 Thread Vladis13
Vladis13 added a comment.


  I get the error when try run "Example 9: Add a source 
"
 from manual "Wikidata:Creating a bot".
  
import pywikibot
repo = pywikibot.Site("wikidata", "wikidata").data_repository()
item = pywikibot.ItemPage(repo, u"Q4115189")
item.get()

statedin = pywikibot.Claim(repo, u'P248')
itis = pywikibot.ItemPage(repo, "Q82575")
statedin.setTarget(itis)

retrieved = pywikibot.Claim(repo, u'P813')
date = pywikibot.WbTime(year=2014, month=3, day=20)
retrieved.setTarget(date)

claim.addSources([statedin, retrieved])

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

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

To: Vladis13
Cc: Vladis13, ArthurPSmith, zhuyifei1999, jayvdb, Ladsgroup, gerritbot, 
Aklapper, pywikibot-bugs-list, Multichill, Lewizho99, D3r1ck01, Izno, 
Wikidata-bugs, aude, Ricordisamoa, Mbch331



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


[Wikidata-bugs] [Maniphest] [Commented On] T112130: Pywikibot crashes on items with quantities with units. Need to implement unit support in pywikibot WbQuanity

2015-11-21 Thread Multichill
Multichill added a comment.

This is resolved. I do wonder if we have a follow up task to implement better 
unit support or did someone already implement that?


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

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

To: Multichill
Cc: ArthurPSmith, zhuyifei1999, jayvdb, Ladsgroup, gerritbot, Aklapper, 
pywikibot-bugs-list, Multichill, Wikidata-bugs, aude, Ricordisamoa, Mbch331



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


[Wikidata-bugs] [Maniphest] [Commented On] T112130: Pywikibot crashes on items with quantities with units. Need to implement unit support in pywikibot WbQuanity

2015-11-20 Thread ArthurPSmith
ArthurPSmith added a subscriber: ArthurPSmith.
ArthurPSmith added a comment.

I've been using pywikibot to handle quantities with units for the past few 
weeks, it seems to work fine. I don't see what else needs to be done here?


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

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

To: ArthurPSmith
Cc: ArthurPSmith, zhuyifei1999, jayvdb, Ladsgroup, gerritbot, Aklapper, 
pywikibot-bugs-list, Multichill, Wikidata-bugs, aude, Ricordisamoa, Mbch331



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


[Wikidata-bugs] [Maniphest] [Commented On] T112130: Pywikibot crashes on items with quantities with units. Need to implement unit support in pywikibot WbQuanity

2015-10-02 Thread gerritbot
gerritbot added a comment.

Change 243250 had a related patch set uploaded (by John Vandenberg):
[FIX] Stop crashing item loads due to support of units

https://gerrit.wikimedia.org/r/243250


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

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

To: gerritbot
Cc: zhuyifei1999, jayvdb, Ladsgroup, gerritbot, Aklapper, pywikibot-bugs-list, 
Multichill, Wikidata-bugs, aude, Ricordisamoa



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


[Wikidata-bugs] [Maniphest] [Commented On] T112130: Pywikibot crashes on items with quantities with units. Need to implement unit support in pywikibot WbQuanity

2015-10-02 Thread gerritbot
gerritbot added a comment.

Change 243250 merged by jenkins-bot:
[FIX] Stop crashing item loads due to support of units

https://gerrit.wikimedia.org/r/243250


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

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

To: gerritbot
Cc: zhuyifei1999, jayvdb, Ladsgroup, gerritbot, Aklapper, pywikibot-bugs-list, 
Multichill, Wikidata-bugs, aude, Ricordisamoa



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


[Wikidata-bugs] [Maniphest] [Commented On] T112130: Pywikibot crashes on items with quantities with units. Need to implement unit support in pywikibot WbQuanity

2015-09-10 Thread gerritbot
gerritbot added a subscriber: gerritbot.
gerritbot added a comment.

Change 237475 had a related patch set uploaded (by Ladsgroup):
[FIX] Stop crashing item loads due to support of units

https://gerrit.wikimedia.org/r/237475


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

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

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



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


[Wikidata-bugs] [Maniphest] [Commented On] T112130: Pywikibot crashes on items with quantities with units. Need to implement unit support in pywikibot WbQuanity

2015-09-10 Thread gerritbot
gerritbot added a comment.

Change 237475 merged by jenkins-bot:
[FIX] Stop crashing item loads due to support of units

https://gerrit.wikimedia.org/r/237475


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

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

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



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


[Wikidata-bugs] [Maniphest] [Commented On] T112130: Pywikibot crashes on items with quantities with units. Need to implement unit support in pywikibot WbQuanity

2015-09-10 Thread Ladsgroup
Ladsgroup added a subscriber: Ladsgroup.
Ladsgroup added a comment.

I stopped pywikibot from crashing by a quick patch, but we need to discuss on 
how we want to handle units,
we can have Entity class and subclass ItemPage and other pages (alongside with 
Page) OR we can have unit, calender model and globes as a general class named 
IRI(?) which are subclassed ItemPage.


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

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

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



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