-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intermittent "No result for source categories" #106
Comments
I also recently tried searching based on a category and got no results. |
Monochrome photographs category seems to be the main problem. I know that "except huge category" is annoying/impossible to implement, but in such case it would be nicer to return a less misleading error. note: I am getting less sure whether this specific query ever worked but "misleading error" bug is there anyway |
I just ran a query for one category American academics. I am getting zero hits--nothing for Depth=0, Depth=1. I think Petscan began chocking when I changed Depth from 0. https://petscan.wmflabs.org/?psid=20290800 Update: +2 minutes after writing above:Now functioning: |
Problem persists: Two identical searches, but only one succeeds: Screenshots (including url) documenting results: |
I am getting "Category/templates search was run but returned no results. You might want to check the parameters" intermittently for the same canned query. Sometimes it works, sometimes not. Maybe there is a server somewhere that times out, or something? |
I'm encountering this issue as well. It seems related to load: I can reproduce it reliably when (simulating my students all working right before deadline) I run the same large, slow, high-depth query at the same time from multiple notebooks (on the same IP). I couldn't reproduce the issue directly on the petscan.wmflabs.org interface (even with four copies of this 5-15 minute query running at the same time: but I can consistently reproduce it running four copies of the same query on four different Python notebooks coming from the same IP:
|
I'm encountering this issue as well. It doesn´t seem related to load. PETSCAN doesn´t even remember the PSID. Instead it seems to be related to "Templates&Links": "Links from" and "Links to" render normal results, "Templates" does not. Is anybody working on this longlasting annoyance? |
Just ran into this issue as well, searching directly from the petscan.wmflabs.org interface. I scanned a category (Technology_by_type), it worked but that category is composed entirely of sub-categories, so I increased the depth (to 10, which was probably way too high and overloaded something?) "No result for source categories". I tried changing the depth back to 0, even tried making the same search in a different tab, but just got "No result for source categories" each time. After a few minutes, it fixed itself. It's pretty reasonable for an error to be thrown if you try to load truly absurd numbers of pages, but the error it currently throws is definitely misleading. EDIT: searching with depth=1 worked fine, but trying depth=2 got the error message "Category/templates search was run but returned no results. You might want to check the parameters"... and going back to depth=1 or depth=0 gives the same error. I'm assuming this is basically the same issue and will also resolve itself after a few minutes, who knows. |
This sounds like very unclear error messages. Since Magnus is unlikely to do this I suggest you fork petscan and set up a development instance in toolforge or wherever possible |
Debugging output revealed that max_user_connections is exhausted because of too many (sub)queries. If you lower https://petscan.wmflabs.org/?since_rev0=&language=commons&edits%5Bflagged%5D=both&search_max_results=500&cb_labels_no_l=1&edits%5Bbots%5D=both&%C2%AEexp_filter=&ns%5B6%5D=1&langs_labels_no=%C2%AEexp_filter&cb_labels_yes_l=1&cb_labels_any_l=1&edits%5Banons%5D=both&project=wikimedia&interface_language=en&negcats=Diagrams%20of%20road%20signs%0AMonochrome%20photographs&categories=Speed%20bumps%0A&depth=100& from 100 to 10 it works just fine. I will try to limit the number of queries. |
According to https://commons.wikimedia.org/w/index.php?title=Commons:Village_pump&oldid=594602179#What_is_wrong_with_PetScan? PetScan is known to be working only sometimes ("Petscan is infamously unstable for silently refusing to return anything."), but it seemed to not be reported here
Even if it is deployment issue that it gets insufficient resources less confusing errors ("Server overloaded, unable to return results") would be preferable.
I get an intermittent
on queries where this is not an actual problem. See for example https://petscan.wmflabs.org/?since_rev0=&language=commons&edits%5Bflagged%5D=both&search_max_results=500&cb_labels_no_l=1&edits%5Bbots%5D=both&%C2%AEexp_filter=&ns%5B6%5D=1&langs_labels_no=%C2%AEexp_filter&cb_labels_yes_l=1&cb_labels_any_l=1&edits%5Banons%5D=both&project=wikimedia&interface_language=en&negcats=Diagrams%20of%20road%20signs%0AMonochrome%20photographs&categories=Speed%20bumps%0A&depth=100& that (unless I bungled something recently returned images) then on rerun put this confusing message
The text was updated successfully, but these errors were encountered: