Welcome guest, is this your first visit? Create Account now to join.
Results 1 to 10 of 10

This is a discussion on Error When Trying to Open .crx Files within the Chrome Troubleshooting section, part of the Google Chrome category: When trying to open a downloaded Chrome update or extension file with .crx in it, I get this error every ...


  1. #1
    cgm707 is offline Junior Member
    Join Date
    Oct 2009
    Posts
    4

    Question Error When Trying to Open .crx Files

    When trying to open a downloaded Chrome update or extension file with .crx in it, I get this error every time:

    Invalid value for 'permissions[0]'

    Any help is appreciated, thank you.

  2. #2
    sulasno's Avatar
    sulasno is offline Super Moderator
    Join Date
    Sep 2008
    Location
    Bangkok
    Posts
    1,759

    Default

    What's the version of your Chrome?

  3. #3
    cgm707 is offline Junior Member
    Join Date
    Oct 2009
    Posts
    4

    Default

    3.0.197.11

  4. #4
    sulasno's Avatar
    sulasno is offline Super Moderator
    Join Date
    Sep 2008
    Location
    Bangkok
    Posts
    1,759

    Default

    extensions are not supported in your version of Chrome

  5. #5
    cgm707 is offline Junior Member
    Join Date
    Oct 2009
    Posts
    4

    Default

    Then how to I update the browser?

  6. #6
    Benni is offline Senior Member
    Join Date
    May 2009
    Posts
    354

    Default

    You don't. The stable Chrome auto updates.
    It is because there are multiple versions of Chrome. The extension system is still not completly done, so It's still not implemented in stable.

    Chrome (stable) that most download.
    Chrome beta - Almost the same version as above - still no extension support.
    Chrome Dev -> What you need if you want extension support.
    The Chrome dev version is a preview channel here ideas get tested (and sometimes fail). The Dev channel can be very unstable at times, and new features usually require some manual configuration to be enabled. Still, simply using Dev channel releases is an easy (practically zero-effort) way for anyone to help improve Google Chrome. If you're writing extensions, you need to use the Windows Dev channel.

  7. #7
    Michael3185 is offline Senior Member
    Join Date
    Apr 2009
    Location
    Lincoln, UK
    Posts
    377

    Default

    Quote Originally Posted by cgm707 View Post
    Then how to I update the browser?
    Quote Originally Posted by Benni
    The Dev channel can be very unstable at times
    It sure can, as I've discovered. One other option, cgm707, is SRWare Iron. It's stable, is based on Chromium 3 (like Chrome Beta), and does support .crx extensions (I use Smooth Scroll with it).

    Edit: I just found this on another forum:

    September 9th, 2009. Another change in extensions system. Two breaking changes (see mailing list post for more information):

    [r24816] Enforce granular permissions.
    [r24770] Modified several APIs to be more consistent.

    All of them have to be repackaged.
    Last edited by Michael3185; 10-17-2009 at 10:01 PM.

  8. #8
    sulasno's Avatar
    sulasno is offline Super Moderator
    Join Date
    Sep 2008
    Location
    Bangkok
    Posts
    1,759

    Default

    Iron is outdated and has not been updated

  9. #9
    Michael3185 is offline Senior Member
    Join Date
    Apr 2009
    Location
    Lincoln, UK
    Posts
    377

    Default

    You're right Sulasno, and until I began playing with creating an extension I didn't realise that Iron was both better and worse than Chrome 3.x. It does load and run extensions, but doesn't have all of the API functionality, so most new extensions don't work. Also, you can't load and package them as you can in Chrome Dev and Chromium's latest build.

    Iron has got stuck in one place, while Chrome is developing continually.

  10. #10
    Michael3185 is offline Senior Member
    Join Date
    Apr 2009
    Location
    Lincoln, UK
    Posts
    377

    Default

    Quote Originally Posted by cgm707 View Post
    When trying to open a downloaded Chrome update or extension file with .crx in it, I get this error every time:

    Invalid value for 'permissions[0]'

    Any help is appreciated, thank you.
    For those who don't know (and I've only just learned this by developing a basic extension) what's going on with 'invalid permissions' is this;

    In setting up a manifest.json file for an extension, you provide Chrome with information about what javascript files, titles, hidden/background HTML files, and API (Application Programming Interface) functions the extension will use. These are listed in the manifest.json file, and are read by Chrome as the extension is loaded. They can be in different orders.

    As an example, if an extension uses the Tabs API, and that's specified first in the manifest.json file, then you'll get an error like, 'invalid permissions[0]' if your version of Chrome doesn't provide access to Tabs API functions. If it's specified second, then you'll get an error like, 'invalid permissions[1]', and so on.

    To use the latest extensions and have the newest Chrome features, download Chrome Dev. It's much more stable these days, and allows you to mess with extensions in all kinds of ways. (If you want to unpack a .crx extension in Windows, 7-Zip does it fine, and Chrome packs it up into a .crx file again).
    Last edited by Michael3185; 10-27-2009 at 05:15 PM.

Similar Threads

  1. google Chrome having trouble play wmv files
    By liujeffqi in forum Bugs and Vulnerabilities
    Replies: 3
    Last Post: 04-06-2011, 06:29 AM
  2. Application error plz help
    By tauheedissa in forum Chrome Troubleshooting
    Replies: 9
    Last Post: 08-30-2009, 11:55 PM
  3. downloading files
    By eliteslasher in forum Bugs and Vulnerabilities
    Replies: 4
    Last Post: 08-30-2009, 04:55 PM
  4. save files to different locations
    By broman.m in forum Chrome Talk
    Replies: 2
    Last Post: 07-27-2009, 08:50 AM
  5. XML Files Not Reloading
    By Ziggy in forum Bugs and Vulnerabilities
    Replies: 0
    Last Post: 04-12-2009, 04:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •