Thursday, December 01, 2005

Broken Scripts Fixed

In abscense of the wiki-like features that Jesse is building into userscripts.org, I am keeping a list of scripts I have fixed for 0.6.4 at http://userscripts.org/fixes. I'll also post a comment on the userscripts.org page for the scripts when I make these changes.

I'll keep the script there until the author updates the original location and pings me. If you're having trouble with a script, send a mail to the mailing list, or leave a comment, and maybe I'll take a look.

I could download and install latest one smoothly, but I cannot figure out a way to install any spricts I used previous version. Before comment here, I tried the spricts you've already fixed for latest one, but it does still not work.

There is a error like below.http://kjm.kir.jp/pc/?p=7550.jpg

I have not met the spricts which seem can be installed. All resolts of after installation is like that.

I clicked on one of the checked scripts in the monkey right-click popup menu and Firefox died. I'm not sure what that is even supposed to do, I was just wondering. Now it says there aren't any scripts installed even though they are still in the gm_scripts directory. My config.xml file is zero bytes, and I'm guessing that is the problem. I guess I can reinstall each one from that directory. That's why it would be nice to have a log file of script manager behavior, just in case you lose all of your scripts somehow. My memory isn't good enough to remember all of the scripts I've installed and where I got them, although I do try to download them locally, just in case. It would just be nice if it was more user-friendly sometimes. Also, it would be nice if there was a "rebuild" function that recreates the config.xml from all of the files in the gm_scripts directory. I don't remember why there is even a config.xml, or maybe I never knew. Unless it is the installed and other info and the scripts are not deleted when they are uninstalled, so their presence in the directory can't be used as any real info for Gm. Also, the Gm List is apparently still dead. btw -- isn't installing Gm in a directory named "greasemonkey@youngpup.net" instead of the GUID non-standard? Other than that, it seems to be working well. Good job.

Bad news. Now I can't install any scripts. I copied the default_config.xml file over the 'corrupted' config.xml, thinking that might be the problem, and that didn't work. I've tried off my hard drive, off the net, using the yellow bar install button, right-click context menu install, and I then created a new Firefox user profile and installed Gm and it does it there, too, from fresh. All I get is the standard "Firefox has caused a fatal error" dialog box crash and the "send crash info" dialog. This is the first time I've tried to install a script in 1.5/0.6.4. Hopefully it's not because of my Win ME OS, but others don't seem to be reporting this problem. (altho the Gm List doesn't seem to be working, so....) Any ideas? Thanks.

Greasemonkey 0.6.4 creates the GUID directory for compatibility with 0.6.2, not the one called greasemonkey@youngpup.net. Thats what you're seeing, right? Only 0.6.3 created the directory called greasemonkey@youngpup.net.

As for your crash situation, all I can guess is that something not good happened with having two GMs installed. Try uninstalling both and reinstalling GM 0.6.4.

I suspect the answer here is to use E4X. However, the E4X documents lead to this line of code which still breaks. I am trying to serialze part of an existing document to send it to another service. Here's the code that breaks:

FF popup blocker allows window.open to open a popup only within the click event listener (makes sense). Removed all GM script references from page scripts.Also noted the syntax for accesing page scripts from GM.