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
Import a backup fails while export is working fine #2966
Comments
The rest seems irrelevant but the Can you share the backup ZIP that does this? If it's sensitive, privately to me (email this username at gmail.com)? |
Yes, this might be the issue here. I tracked it down to a script which requires jquery. I attached it below Edit:
|
Thanks! I haven't reproduced yet but this is just the right detail, so I'll figure it out. |
When I download that exact zip and try to import it, it does fail. But when I take the
Save that (over a "New User Script..."), and export a backup, I get: What exact version of Firefox and Greasemonkey are you running? On which operating system? |
I manually created a new script like you explained and yes it works just fine. But the Thank you for all the work and time you put into this project! |
@FeBe95 , You should treat the |
@Sxderp Yes, I am aware of that. I just wanted to mention it, as the folder structure of the exported backup zip file seems to be the same as the old gm_scripts folder. |
The ZIP export uses the original download URL to form the file name, not the I think the best thing to do here is just add some error checking/handling. If we caught and ignored this failure, we'd just (try to) download the |
This makes perfect sense, yes. Re-downloading all requirements should work - as long as the sources still exist. If not (so the required files are not included in the zip but the For me the question still remains why the required sources of the old scripts didn't get exported just like those of new ones. I doublechecked all sources and they definitely still exist (mostly jquery). None of my old scripts got their additional sources included in the backup zip, not only some specific ones. |
Migration may not migrate |
Handle the previous export failure as gracefully as we can. Refs greasemonkey#2966
At this point, it's not terribly likely that a better fix happens any time soon. |
I have same problem with Firefox Portable. |
What I've tried
Symptoms
multiple times this error text (see also #2964):
once this error text at the end:
Version info
Firefox 60.0.1 (64-Bit)
Greasemonkey 4.4.0
Windows 10, 64-Bit, 1803 Build 17134.48
The text was updated successfully, but these errors were encountered: