jayvdb added a comment.

In your first example, limit=2 should only return two topics. I've confirmed that many topics are returned, seemingly unending, except of course that it eventually fails with

Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "pywikibot/flow.py", line 137, in topics
    topic = Topic.from_topiclist_data(self, root, data)
  File "pywikibot/flow.py", line 210, in from_topiclist_data
    topic._root = Post.fromJSON(topic, root_uuid, topiclist_data)
  File "pywikibot/flow.py", line 355, in fromJSON
    post = cls(page, post_uuid)
  File "pywikibot/flow.py", line 330, in __init__
    raise NoPage(page, 'Topic must exist: %s')
NoPage: Topic must exist: [[test:Topic:Sel4ipu6maqlbm0d]]

Werent you going to raise a bug about that?

As today is the only day this week that I have to look at these issues, I've had to investigate and raise it myself: T138306: Broken topics on test wiki that the API doesnt believe exists


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

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

To: jayvdb
Cc: Xqt, jayvdb, Aklapper, Zppix, happy5214, pywikibot-bugs-list, darthbhyrava, Mdupont, Mattflaschen-WMF
_______________________________________________
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to