New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 119975 link

Starred by 11 users

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2012
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 1
Type: Bug

Restricted
  • Only users with EditIssue permission may comment.



Sign in to add a comment

Can't add GMail app to Chrome

Project Member Reported by kuscher@chromium.org, Mar 24 2012

Issue description

Try to add Gmail through the web store. Get the following message on Platform 2016

Package is invalid. Details: '/tmp/scope_dir_STByHY/CRX_INSTALL/_locales/zh_TH/messages.json: Line: 1, colmn: 1, Root value must be an array or obkect.'.

This also prevented Gmail which is a standard app to be installed by default on my test chrome user.
 
Cc: erikkay@chromium.org asargent@chromium.org
Labels: -Area-UI -Feature-Ash Area-Internals Feature-Apps
Status: Untriaged
I doubt this is ash specific.

Comment 2 by rbyers@chromium.org, Mar 25 2012

I verified I can repro this on current canary (2015).

Comment 3 by rbyers@chromium.org, Mar 25 2012

That was Chrome 19.0.1079.

Doesn't repro on Linux chrome 19.0.1077.3
Owner: aa@chromium.org
Status: Assigned
Some kind of manifest compatibility issue?

Comment 5 by aa@chromium.org, Mar 26 2012

You're talking about this app, right?

https://chrome.google.com/webstore/detail/pjkljhegncpnkpknbcohdijeoejaedia

Installs fine at r128715 on Linux, which is newer than 19.0.1079.0. rbyers: can you still reproduce at trunk?
Cc: saintlou@chromium.org
the install also fails for other apps for some people. See 119381:

"It looks like latest canary Chrome OS build has broken extension installation so some extensions like Maps, Docs, YouTube and GMail are not installed. I see the same error if I try it install them from CWS manually.

[2127:2127:262478839:ERROR:extension_error_reporter.cc(56)] Extension error: Package is invalid. Details: '/tmp/scoped_dir_yPSRfU/CRX_INSTALL/_locales/zh_TW/messages.json: Line: 1, column: 1, Root value must be an array or object.'."
Reproduces for me on 19.0.1081.0 canary (Windows) as of this morning.
(Tried with https://chrome.google.com/webstore/detail/pjkljhegncpnkpknbcohdijeoejaedia)


>> This also prevented Gmail which is a standard app to be installed by default on my test chrome user.

Also Docs/YouTube/Maps
Cc: dpolukhin@chromium.org
Labels: ReleaseBlock-Beta
The extensions have U+FEFF prefix in _locales/*/messages.json. It looks like its processing is broken in new Chrome versions. Still repro on TOT.
Cc: rsesek@chromium.org
Most probably it happens due to this CL http://codereview.chromium.org/9801007
Cc: -rsesek@chromium.org aa@chromium.org
Labels: -OS-Chrome OS-All
Owner: rsesek@chromium.org
I reverted 9801007 locally and was able to install GMail successfully.
Reassign to rsesek@
Status: Started
Cc: kuscher@chromium.org yoz@chromium.org
 Issue 120339  has been merged into this issue.
Cc: mihaip@chromium.org
 Issue 120545  has been merged into this issue.
Cc: jasneet@chromium.org ligim...@chromium.org pavanv@chromium.org rayanna@chromium.org markdavidscott@google.com mbollu@chromium.org
 Issue 120463  has been merged into this issue.
Project Member

Comment 18 by bugdroid1@chromium.org, Mar 28 2012

The following revision refers to this bug:
    http://src.chromium.org/viewvc/chrome?view=rev&revision=129324

------------------------------------------------------------------------
r129324 | rsesek@chromium.org | Tue Mar 27 17:53:06 PDT 2012

Changed paths:
 A http://src.chromium.org/viewvc/chrome/trunk/src/base/data/json?r1=129324&r2=129323&pathrev=129324
 A http://src.chromium.org/viewvc/chrome/trunk/src/base/data/json/bom_feff.json?r1=129324&r2=129323&pathrev=129324

Add base/data/json/bom_feff.json as a binary file.

This is so https://chromiumcodereview.appspot.com/9860035/ can be CQ'd.

BUG= 119975 
TBR=brettw
Review URL: https://chromiumcodereview.appspot.com/9802017
------------------------------------------------------------------------
Project Member

Comment 19 by bugdroid1@chromium.org, Mar 28 2012

The following revision refers to this bug:
    http://src.chromium.org/viewvc/chrome?view=rev&revision=129373

------------------------------------------------------------------------
r129373 | rsesek@chromium.org | Tue Mar 27 21:54:44 PDT 2012

Changed paths:
 M http://src.chromium.org/viewvc/chrome/trunk/src/base/json/json_reader.cc?r1=129373&r2=129372&pathrev=129373
 M http://src.chromium.org/viewvc/chrome/trunk/src/base/json/json_reader_unittest.cc?r1=129373&r2=129372&pathrev=129373
 M http://src.chromium.org/viewvc/chrome/trunk/src/base/base.gyp?r1=129373&r2=129372&pathrev=129373

Fix handling of Unicode BOMs in JSONReader.

Because |char| is signed, the upper bits of the BOM bytes were getting 
interpreted as the sign bit. Cast to |uint8| to preserve them for proper
comparison.

BUG= 119975 
TEST=Try to install the Gmail extension. Do not get JSON error when unpacking.

Review URL: http://codereview.chromium.org/9860035
------------------------------------------------------------------------
Status: Fixed

Comment 21 by Deleted ...@, Mar 31 2012

I have the similar problem with "turn off lights" app.I use 19.0.1081.2 running on debian squeeze.I hope it will be fixed soon.
Project Member

Comment 22 by bugdroid1@chromium.org, Oct 13 2012

Labels: Restrict-AddIssueComment-Commit
This issue has been closed for some time. No one will pay attention to new comments.
If you are seeing this bug or have new data, please click New Issue to start a new bug.
Project Member

Comment 23 by bugdroid1@chromium.org, Mar 10 2013

Labels: -Area-Internals -Mstone-19 -Feature-Apps Cr-Platform-Apps M-19 Cr-Internals
Project Member

Comment 24 by bugdroid1@chromium.org, Mar 14 2013

Labels: -Restrict-AddIssueComment-Commit Restrict-AddIssueComment-EditIssue

Sign in to add a comment