Pimp.my.Gmail

By 1nfected Last update May 23, 2011 — Installed 21,115 times.

Not loading after v0.8 update

in
Subscribe to Not loading after v0.8 update 24 posts, 3 voices



Waffull User
FirefoxWindows

Stopped loading, for both gmail and google apps, after updating to v0.8.

BTW: Please add https://mail.google.com/a/* to the included pages for google apps. I'm always having to remember to add that back after updating.

Thanks,
Marc

 
1nfected Script's Author
FirefoxWindows

It's working fine here. Are you using Firefox?
On which page has it stopped loading? Gmail or Google Apps?
I have no way to test this on google apps, since i don't have a google apps a/c.

 
_bugmenot_ User
FirefoxWindows

Well, I have the same problem, it's not working on my end. Having both a Gmail and a Gapps account, none of them load with the script. Being on regular Firefox, no nightly builds etc. May it be another add-on or script that might cause a conflict?

 
1nfected Script's Author
FirefoxWindows

Strange, it's working fine at my end.

Okay, can you tell me if the login page gets skinned?
And can you give me the console output once you've logged into gmail.
Open a blank window. log into gmail, press CTRL+SHIFT+J & copy all the errors/messages you see there.

I'll try checking what's the issue at my end on a vanilla install.

PS: In the mean time, try un-installing the script & then re-install a fresh version from the site. See if that helps.

 
_bugmenot_ User
FirefoxWindows

Hey there again,

nope, the login page remains unstyled as the rest of the interface then.
I have Firebug running, leave the console open and it gives me two up to three errors saying:

potential is undefined
(608 out of range 552)

which comes from greasemonkey.js it says. Is that kind of helpful :)?
Had a clean re-install of Firefox, then the script as well, no avail unfortunately.

Best

bugmenot

 
1nfected Script's Author
FirefoxWindows

can you check if a fresh install of the script is works?
I tried doing a fresh install last night & it actually took me 3-4 retires to get it installed correctly.
A couple of times it didn't get installed.

So un-install the script again, restart ffx, install again from the site & open greasemonkey to see if its installed.
and also try editing it to confirm the content is there... :p

i the meanwhile, i'll create a separate script with some debugging & send it to you...

 
_bugmenot_ User
FirefoxWindows

Hey there,

that's what I did - I had a clean reinstall of Firefox (not because of your script) and installed Greasemonkey and then your script afterwards, but still no luck. It installed correctly, I could edit it as well. From that end it seems all would be fine....

Just let me know ;).

bugg

 
_bugmenot_ User
FirefoxWindows

Hey, is this it? Got any insights on what it might cause?
I really love that theme and would die to use it again ;).

 
1nfected Script's Author
FirefoxWindows

Im sorry, have a few things keeping me busy these days.
You could switch back to an older version for the time being...

edit: btw, when you start gmail, do you see any "messages" in the console?
like: Lets pimp my gmail!, smiley extender started, inbox fullscreen started etc...?

 
_bugmenot_ User
FirefoxWindows

Well, I finally took Firefox' console and it put out a lot of CSS warnings, but first and foremost two errors that seem to relate to your script and the Favicon 3 script. Here's what it says:

user.match(/Loading\s(.*)@/) is null
file:///C:/Users/me/AppData/Roaming/Mozilla/Firefox/Profiles/vnw178gr.default/gm_scripts/pimpmygmail/pimpmygmail.user.js
Line: 98

potential is undefined
file:///C:/Users/me/AppData/Roaming/Mozilla/Firefox/Profiles/vnw178gr.default/gm_scripts/gmail_favicon_alerts_3/gmail_favicon_alerts_3.user.js
Line: 249

I haven't yet tried your older version and will wait patiently until this thing is resolved ;). I know the Favicon alerts script is not yours, I just put in the error for completion.

Thanks for taking care of all!

 
1nfected Script's Author
FirefoxWindows

Thanks for the info, bugg.

I've changed the way i get the username.
I've updated the script with the changes, install and see if it works now...

 
_bugmenot_ User
FirefoxWindows

Hey there,

I tried the new version, but no luck either. The errors:

potential is undefined
file:///C:/Users/me/AppData/Roaming/Mozilla/Firefox/Profiles/vnw178gr.default/gm_scripts/gmail_favicon_alerts_3/gmail_favicon_alerts_3.user.js
Line: 249

el.textContent.match(/Loading\s*(.*)@/) is null
file:///C:/Users/me/AppData/Roaming/Mozilla/Firefox/Profiles/vnw178gr.default/gm_scripts/pimpmygmail/pimpmygmail.user.js
Line: 99

uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMLocation.host]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: file:///C:/Users/me/AppData/Roaming/Mozilla/Firefox/Profiles/vnw178gr.default/extensions/%7Be4a8a97b-f2ed-450b-b12d-ee082ba24781%7D/components/greasemonkey.js :: submitFirstPasswordForm :: line 1970" data: no]

Already tried uninstalling and re-installing the script, but no luck anyway :(...

 
1nfected Script's Author
FirefoxWindows

Is that output when using Gmail or Google Aps?
The greasemonkey bit is not relevant to us.

Anyways, try the script now.
It might not pick up your personal settings, but would continue with the defaults i hope.

I've added code which'll output a line. Pls post it here so i can test this further.
Thanks for the co-operation =)

 
_bugmenot_ User
FirefoxWindows

It is output when using Google Apps. However, with your new version, the script finally works flawless & puts up no errors. Only thing is that two things don't seem to be designed completely, as shown here
Photobucket - the "help" link on top and the buttons below (or are they as big as they should :)?) ....

However, what I really love about your script it that it works with custom Gmail themes, no need to trash my red one ;).

 
_bugmenot_ User
FirefoxWindows

Oh, I might add up that on Gapps, no (custom/standard) mail icon is show on the top left of the page.

 
1nfected Script's Author
FirefoxWindows

The help link styling will be fixed in the next version.
The big buttons you mean the ones next to the search? (Search options & Create Filter)
Yes, i've styled them like that, to appear as buttons. They were plain text previously.

@ur second post, which icon? i see an icon for gmail(next to E-mail),
but then there is something called Startseite before that. You mean an icon for that?
Or do you mean the Gmail Logo? The logo is actually there, but it's white in color.
You can only see it if the background is darker. I'll disable it in the next update.

Oh btw, can you post the output in the Console. Everything related to Pimp.my.Gmail (errors/messages/warnings).

 
_bugmenot_ User
FirefoxWindows

Yeah, I meant the buttons above the inbox, all fine, all fine then ;). I just thought them a bit big, compared to the mail-specific buttons in the head of the inbox.

I mean the Gmail logo, the big one... I should have said 'logo' when I meant 'logo' and said 'icon'. I have a custom logo there which seems hidden. I didn't check extensively. Would you mind as to have an option to show a custom logo? Thanks for getting back to me!

1nfected/Pimp.my.Gmail: Gmail FullScreen started.
1nfected/Pimp.my.Gmail: Gmail Smiley Extender started.
1nfected/Pimp.my.Gmail: Too early for another update check.

is all it says, apart from a lot CSS declarations being ignored, often CSS3 stuff for other browsers.

However, can you add http*://mail.google.com/* to the script's allowed sites? I always need to add it manually...
Startseite is 'home page' in English, by the way ;)

 
1nfected Script's Author
FirefoxWindows

_bugmenot_ wrote:
However, can you add http*://mail.google.com/* to the script's allowed sites? I always need to add it manually...

That will be there in the next version ;)

btw, are you sure there are not more log messages.
Anything after 'Lets Pimp.my.Gmail!' & before 'Gmail FullScreen started'?
I ask coz i've included a line which should log something...
Check output on both Gmail & Apps & then tell me.
Thanks.

EDIT: Btw, Console² is a nice add-on for firefox console, which lets you choose which messages to show/hide.

 
_bugmenot_ User
FirefoxWindows

Here is what the log says (thanks for C², really helpful for that matter) on Gapps and Gmail (both the same, only different address):

Fehler: potential is undefined
Quelldatei: file:///C:/Users/me/AppData/Roaming/Mozilla/Firefox/Profiles/vnw178gr.default/gm_scripts/gmail_favicon_alerts_3/gmail_favicon_alerts_3.user.js
Zeile: 249
----------
1nfected/Pimp.my.Gmail: Lets Pimp.my.Gmail!
----------
1nfected/Pimp.my.Gmail: address@domain.com wird geladen… [is being loaded]
----------
1nfected/Pimp.my.Gmail: Unable to determine user, using defaults.
----------
1nfected/Pimp.my.Gmail: Gmail FullScreen started.
----------
1nfected/Pimp.my.Gmail: Gmail Smiley Extender started.
----------
1nfected/Pimp.my.Gmail: Too early for another update check.

 
1nfected Script's Author
FirefoxWindows

_bugmenot_ wrote:
1nfected/Pimp.my.Gmail: address@domain.com wird geladen… [is being loaded]

aah, no wonder the script used to fail.
I guess it's different because of the language.
In English it is "Loading address@gmail.com...".
Which is why the script was blowing up. I'll have to find a different way of getting the user then.
Thanks once again for the help bugg ;)

 
_bugmenot_ User
FirefoxWindows

Oh well, can you explain this? It makes a difference in what language Gmail/Google Apps is loading? Say you grab the actual e-mail address from the console output or something? Just out of curiosity ;).

 
_bugmenot_ User
FirefoxWindows

[is being loaded] was my personal addition for you to understand it :).

 
1nfected Script's Author
FirefoxWindows

_bugmenot_ wrote:
Oh well, can you explain this? It makes a difference in what language Gmail/Google Apps is loading?

The language doesn't really make a difference actually. But here it did, because i was using some English
specific words to get the e-mail address. I didn't foresee such an error =p
I guess i'll have to find a way around this.

_bugmenot_ wrote:
Say you grab the actual e-mail address from the console output or something? Just out of curiosity ;).

The script grabs the e-mail from the web page(not console output), so it can remember & store settings for that id.

 
_bugmenot_ User
FirefoxWindows

Ah, alright, now I understand I believe. Coming more from the design end of the web, I am not a js crack yet ;). Thanks for clarification ;).