chromium-discuss->chromium-extensions I can't explain it. Can you try again with the new dev build (3.0.189.0) -- we changed the way packaging works, so you no longer use chromium_extension.py. See:
http://dev.chromium.org/developers/design-documents/extensions/packaging I'm not sure why this would make any difference but give it a shot. If it still doesn't work, I'll dig deeper. - a On Wed, Jun 17, 2009 at 2:27 PM, Jeremy Selier<[email protected]> wrote: > What I have done is : > > getting the theme2.crx (Revision 18193) file from the repository that > currently work on Chrome 3.0.187.1 > unpack it > remove ID line of the manifest so it looks like this : > > { > "name": "visual theme", > "theme": { > "colors": { > "frame": [ 158, 210, 242 ], > "ntp_link": [ 14, 107, 164 ], > "ntp_section": [ 213, 233, 245 ], > "toolbar": [ 187, 221, 247 ] > }, > "images": { > "theme_frame": "images/theme_frame_visual.png", > "theme_ntp_background": "images/theme_ntp_background.png", > "theme_toolbar": "images/theme_toolbar_visual.png" > }, > "tints": { > "buttons": [ 0.6, 0.66, 0.6 ], > "frame_inactive": [ -1.0, -1.0, 0.6 ] > } > }, > "version": "1.4" > } > > execute chromium_extension.py provided here : > http://dev.chromium.org/developers/design-documents/extensions/packaging > try to install and get the error I gave you > > D:\Google\chrome\extensions>python chromium_extension.py --indir=visual > --outfile=visual.crx > [INFO] Generated extension ID: 60990D251C3C7862429E22785951D0A3DD13B944 > [INFO] created extension package visual.crx > [INFO] visual.crx contents: > [INFO] manifest.json > [INFO] images/theme_frame_visual.png > [INFO] images/theme_ntp_background.png > [INFO] images/theme_toolbar_visual.png > D:\Google\chrome\extensions> > Here is the manifest.json file MODIFIED by chromium_extension.py > { > "id": "60990D251C3C7862429E22785951D0A3DD13B944", > "name": "visual theme", > "theme": { > "colors": { > "frame": [ > 158, > 210, > 242 > ], > "ntp_link": [ > 14, > 107, > 164 > ], > "ntp_section": [ > 213, > 233, > 245 > ], > "toolbar": [ > 187, > 221, > 247 > ] > }, > "images": { > "theme_frame": "images/theme_frame_visual.png", > "theme_ntp_background": "images/theme_ntp_background.png", > "theme_toolbar": "images/theme_toolbar_visual.png" > }, > "tints": { > "buttons": [ > 0.59999999999999998, > 0.66000000000000003, > 0.59999999999999998 > ], > "frame_inactive": [ > -1.0, > -1.0, > 0.59999999999999998 > ] > } > }, > "version": "1.4" > } > -- > Jeremy > > > On Wed, Jun 17, 2009 at 20:05, Aaron Boodman <[email protected]> wrote: >> >> I don't think that is the problem, though. It looks like he is using a >> theme that is intended for current dev channel, against current dev >> channel. >> >> Jeremy, what is the contents of your manifest.json file? >> >> - a >> >> On Wed, Jun 17, 2009 at 7:12 AM, Erik Kay<[email protected]> wrote: >> > Jeremy, >> > Unfortunately, the extensions and themes that are checked in to svn >> > right >> > now depend on some new changes which have not yet been released to the >> > dev >> > channel. The new dev channel release will be out soon, and we'll be >> > sending >> > out some emails with details about the changes soon as well. >> > Erik >> > >> > On Wed, Jun 17, 2009 at 4:54 AM, Jérémy Selier <[email protected]> >> > wrote: >> >> >> >> Hi everyone, >> >> >> >> First of all, I know we are talking about early features of chromium/ >> >> chrome that are not fully functional yet. >> >> >> >> I'm trying to create my first theme, I have unpacked the test example >> >> from : >> >> >> >> http://src.chromium.org/viewvc/chrome/trunk/src/chrome/test/data/extensions/theme.crx?view=log >> >> >> >> I'm able to create my crx file but when I try to add it to my chrome >> >> 3.0.187.1, I have the error message "A theme cannot contain extensions >> >> code." >> >> >> >> I know everything isn't stable yet but maybe there is a temporary >> >> workaround? I was able to install >> >> >> >> >> >> http://src.chromium.org/viewvc/chrome/trunk/src/chrome/test/data/extensions/theme.crx?view=log >> >> from an old revision, not the last one. >> >> >> >> Regards, >> >> >> >> -- >> >> Jeremy >> >> >> > >> > >> > >> > >> > > > --~--~---------~--~----~------------~-------~--~----~ Chromium Discussion mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-discuss -~----------~----~----~----~------~----~------~--~---
