This also happens on
Pywikibot: pywikibot/__init__.py (r-1 (unknown), 414550d, 2013/08/29, 09:15:34, OUTDATED)
Release version: 2.0b1
Python: 2.6.5 (r265:79063, Oct 1 2012, 22:04:36)
[GCC 4.4.3]
unicode test: ok
---
** [bugs:#1660] Can't set claim target due to an AttributeError**
**Status:** open
**Created:** Thu Aug 29, 2013 09:44 AM UTC by Wieland Hoffmann
**Last Updated:** Thu Aug 29, 2013 09:44 AM UTC
**Owner:** nobody
Executing the following code
:::python
import pywikibot as wp
s = wp.Site('wikidata', 'wikidata')
d = s.data_repository()
m = wp.ItemPage(d, 'Q14005')
c = wp.Claim(s, "P248")
c.setTarget(m)
results in a short traceback ending in "AttributeError: APISite instance has no attribute 'getPropertyType'". According to git bisect, the first commit showing this behaviour is 8f1c2631215b340acf962ae1a0fa7ffcefe84df5 (or svn revision 11600).
Output from python version.py:
Pywikibot: [ssh] pywikibot/core (r1995, fa7a248, 2013/08/28, 22:33:44, ok)
Release version: 2.0b1
Python: 2.7.5 (default, May 12 2013, 12:00:47)
[GCC 4.8.0 20130502 (prerelease)]
unicode test: ok
---
Sent from sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
---
** [bugs:#1660] Can't set claim target due to an AttributeError**
**Status:** open
**Created:** Thu Aug 29, 2013 09:44 AM UTC by Wieland Hoffmann
**Last Updated:** Thu Aug 29, 2013 09:44 AM UTC
**Owner:** nobody
Executing the following code
:::python
import pywikibot as wp
s = wp.Site('wikidata', 'wikidata')
d = s.data_repository()
m = wp.ItemPage(d, 'Q14005')
c = wp.Claim(s, "P248")
c.setTarget(m)
results in a short traceback ending in "AttributeError: APISite instance has no attribute 'getPropertyType'". According to git bisect, the first commit showing this behaviour is 8f1c2631215b340acf962ae1a0fa7ffcefe84df5 (or svn revision 11600).
Output from python version.py:
Pywikibot: [ssh] pywikibot/core (r1995, fa7a248, 2013/08/28, 22:33:44, ok)
Release version: 2.0b1
Python: 2.7.5 (default, May 12 2013, 12:00:47)
[GCC 4.8.0 20130502 (prerelease)]
unicode test: ok
---
Sent from sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Are you talking about the input list/pagegenerator? If so, that already works.
Otherwise, what's the use case for reading "p## q###" from a text file?
---
** [feature-requests:#345] claimit.py sample: add option to read from file (list of items and properties)**
**Status:** open
**Created:** Thu Aug 29, 2013 03:57 AM UTC by APAC
**Last Updated:** Thu Aug 29, 2013 03:57 AM UTC
**Owner:** nobody
---
Sent from sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/feature-requests/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
RandomPageGenerator and RandomRedirectPageGenerator have been implemented. Will work on the others shortly.
---
** [feature-requests:#339] missing pagegenerators in rewite branch**
**Status:** open
**Labels:** rewrite
**Created:** Wed May 29, 2013 03:19 AM UTC by ChongDae
**Last Updated:** Wed May 29, 2013 03:19 AM UTC
**Owner:** nobody
Some pagegenerator functions are missing in rewrite branch.
EdittimeFilterPageGenerator\(\)
ImageGenerator\(\)
LogpagesPageGenerator\(\)
PageTitleFilterPageGenerator\(\)
RandomPageGenerator\(\)
RandomRedirectPageGenerator\(\)
UnCategorizedTemplatesGenerator\(\)
---
Sent from sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/feature-requests/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
What do you mean? The pagegenerators work exactly the same. Can you please provide a code sample for something that doesn't work?
---
** [feature-requests:#341] Create pagegenerators for Wikidata (items from file, items using a given property, items linking to items, etc)**
**Status:** open
**Created:** Thu Aug 29, 2013 03:50 AM UTC by APAC
**Last Updated:** Thu Aug 29, 2013 03:50 AM UTC
**Owner:** nobody
Currently pagegenerators.py doesn't seem to work for Wikidata. Either existing generators would need to be adapted or new ones created.
---
Sent from sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/feature-requests/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
---
** [feature-requests:#345] claimit.py sample: add option to read from file (list of items and properties)**
**Status:** open
**Created:** Thu Aug 29, 2013 03:57 AM UTC by APAC
**Last Updated:** Thu Aug 29, 2013 03:57 AM UTC
**Owner:** nobody
---
Sent from sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/feature-requests/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
---
** [feature-requests:#344] claimit.py sample: add option to allow checking for identical statement (same property with same value)**
**Status:** open
**Created:** Thu Aug 29, 2013 03:55 AM UTC by APAC
**Last Updated:** Thu Aug 29, 2013 03:55 AM UTC
**Owner:** nobody
Currently statements are not created if there is already an existing statement with the same property.
A new option could allow to add statement if the same property, but different values.
---
Sent from sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/feature-requests/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
---
** [feature-requests:#343] claimit.py sample: add option for entry of coordinates**
**Status:** open
**Created:** Thu Aug 29, 2013 03:52 AM UTC by APAC
**Last Updated:** Thu Aug 29, 2013 03:52 AM UTC
**Owner:** nobody
Add the currently unsupported datatype
---
Sent from sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/feature-requests/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
---
** [feature-requests:#342] claimit.py sample: add options for entry of time values**
**Status:** open
**Created:** Thu Aug 29, 2013 03:52 AM UTC by APAC
**Last Updated:** Thu Aug 29, 2013 03:52 AM UTC
**Owner:** nobody
Add the currently unsupported datatype
---
Sent from sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/feature-requests/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
---
** [feature-requests:#341] Create pagegenerators for Wikidata (items from file, items using a given property, items linking to items, etc)**
**Status:** open
**Created:** Thu Aug 29, 2013 03:50 AM UTC by APAC
**Last Updated:** Thu Aug 29, 2013 03:50 AM UTC
**Owner:** nobody
Currently pagegenerators.py doesn't seem to work for Wikidata. Either existing generators would need to be adapted or new ones created.
---
Sent from sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/feature-requests/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.