magnusmanske / petscan_rs

The repo for the PetScan tool
https://petscan.wmflabs.org/
GNU General Public License v3.0
45 stars 10 forks source link

Eerror? "®exp_filter" #120

Closed JotaCartas closed 11 months ago

JotaCartas commented 2 years ago

Sometimes when you get no results it shows the error? "®exp_filter" in (any/different) tabs and we have to clean them before the "PetSacan" works again Screenshot 2022-05-25 174140 Screenshot 2022-05-26 200819

sdkb commented 2 years ago

This happens all the time, and makes PetScan significantly less usable. Any idea what's causing it or how to resolve?

jonesey95 commented 1 year ago

I am seeing this too, along with various error messages, even when I clear this problem, telling me that Petscan is unable to retrieve articles that match my query, even though I know that they exist. I am a pretty experienced Petscan user. This should be higher-priority.

It appears that somewhere in the code "&regexp_filter" is being converted into the "registered trademark" symbol (R inside a circle), perhaps ®, followed by "exp_filter".

JotaCartas commented 1 year ago

Today, a different error "®exp_filter"

Screenshot 2023-03-21 062417

magnusmanske commented 11 months ago

I have replaced 'regexp_filter' with 'rxp_filter', which should prevent the issue. 'regexp_filter' is still supported for backwards compatibility.