Mozilla VPN is currently experiencing an outage. Our team is actively working to resolve the issue. Please check the status page for real-time updates. Thank you for your patience.

Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Μάθετε περισσότερα

1-click weather javascript error FF4 RC1

  • 6 απαντήσεις
  • 139 έχουν αυτό το πρόβλημα
  • 2 προβολές
  • Τελευταία απάντηση από jamurphy5

more options

I have recently upgraded to Firefox v4.0 RC1, and upon doing so, it seems the extension 1-Click Weather is having a javascript error. This is the error message: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIFileInputStream.init]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: chrome://1clickweather/content/js/utils/filemanager.js :: <TOP_LEVEL> :: line 233" data: no] It appears others have had this same problem. Is there any way to fix this? I have also posted this error message on the extension's page. Hopefully somehow this can be solved, I have been using this extension for years and it would be a shame to no longer be able to use it.  :(

I have recently upgraded to Firefox v4.0 RC1, and upon doing so, it seems the extension 1-Click Weather is having a javascript error. This is the error message: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIFileInputStream.init]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: chrome://1clickweather/content/js/utils/filemanager.js :: <TOP_LEVEL> :: line 233" data: no] It appears others have had this same problem. Is there any way to fix this? I have also posted this error message on the extension's page. Hopefully somehow this can be solved, I have been using this extension for years and it would be a shame to no longer be able to use it. :(

Επιλεγμένη λύση

That needs to be fixed by the developer of that extension, it's an incompatibility with Firefox 4.0 coding . I tried to find contact information for that extension's developer or find a support forum for it on Friday for another user, but was unable to find such.

Ανάγνωση απάντησης σε πλαίσιο 👍 4

Όλες οι απαντήσεις (6)

more options

Επιλεγμένη λύση

That needs to be fixed by the developer of that extension, it's an incompatibility with Firefox 4.0 coding . I tried to find contact information for that extension's developer or find a support forum for it on Friday for another user, but was unable to find such.

more options

a member named silverhawk just posted a way to fix this extension on the extension's page under the Reviews section - and now 1-Click Weather is working for me again :)

https://addons.mozilla.org/en-US/firefox/addon/1-clickweather/

many thanks to silverhawk for posting this fix!

more options

I get the error message now when I open Firefox. How do I get rid of the message?

more options

There is no post from silverhawk at that site. Please correct the notice or post the fix Thank You

Τροποποιήθηκε στις από το χρήστη Simson FireFox

more options

Greetings!

The post from silverhawk is still there - you have to click on "See all reviews of this add-on" and the post in question is now on page 2...

more options

silverhawk claims to have fixed the javascript problem with 1-click weather. But how do I modify one of the Javascript files in the .jar file? Sounds easy... for those that know how to do it. How do I fix it if I don't know how to modify javascript files?

Fixed for Firefox 5+

Modified the install.rdf to work on versions up to 8.* Incremented the version to 1.1.9.2 I had to modify one of the Javascript files in the .jar file. Sorry, but there's no way around it as a Javascript error was making it fail. chrome/1clickweather.jar/content/1clickweather/js/1clickweather.js Line 452-454 in the function parameters they used class as a variable name. class is a reserved keyword and cannot be used. I changed it to Myclass which allows it to work. Original File function create_class(class) { return new Function('return new ' + class)(); }; Modified File function create_class(Myclass) { return new Function('return new ' + Myclass)(); };

Link to fixed file: http://www.megaupload.com/?d=HWX605SS

Remove your existing version then go to File->File Open to load this modified version. Enjoy! SilverHawk

Rated 5 out of 5 stars by silverhawk on June 1, 2011