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
Match metdata processing can fail and destroy config.xml contents #1912
Comments
Does anything show in the error console when launching with beta 3 installed? |
OK... I've found the culprit that breaks 1.16b3 I guess 1.16b3 has a problem with the "match" lines of this script. As of now userscripts.org is currently down so here's a gm_script folder with only the problematic script. Error Console: This Error line I get in all the situations I've tested (even with GM 1.15) |
This was broken by 79ea1be. Fixes greasemonkey#1912.
Sorry, this was caused by my "fix" for #1899. Ventero@94ac387 shows a possible fix for this - though I don't really like it, as the host handling is getting more and more complex. For reference, here's the test suite I used to verify my changes: https://gist.github.com/Ventero/10564913. With Ventero@7633a88, parsing errors during initial config load are handled more gracefully. Some more explanation should probably be added so that the user can figure out which script caused the error. Though that's not really reliable, as the script might not even have an |
After Upgrading from 1.15 (I'm not sure it was 1.15) to 1.16b3 I've noticed that half of my installed scripts are not detected.
Beta3 cut my config.xml from around 90kb to about 30kb.
I have a backup of gm_scripts folder from March so I did a test.
https://www.dropbox.com/s/nrumgrro4og5sfd/2014-March-14%20gm_scripts%20folder.rar
I've created new/fresh FF profile.
Install GM 1.16b3.
https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/versions/1.16beta3
Exit FF.
Copy March gm_script folder to the new profile.
The problem is reproduced - config.xml is cut.
https://www.dropbox.com/s/4b2sog332vkd71n/config.xml%20after%20beta3.rar
Same procedure with 1.16b2 - GM works fine (no cut).
https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/versions/1.16beta2
https://www.dropbox.com/s/5eiscg9iwt4ndt5/config.xml%20after%20beta2.rar
FF28
Win 7
The text was updated successfully, but these errors were encountered: