Closed Bug 861871 Opened 12 years ago Closed 11 years ago

"HERE Maps" not launchable

Categories

(Firefox OS Graveyard :: Gaia, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: hub, Assigned: past)

Details

I have the "HERE Maps" on the launch screen. But it does note even have an icon beside the generic one.

When I want to launch, get a "directory index".

I did |./flash.h| and also |make reset-gaia|. No change.
What build are you running? Custom build? Master? v1-train?
v1-train with the code from earlier today. Has been like that for a while though.
I also tried by erasing the profile. Still no dice.
Component: Gaia → Preinstalled B2G Apps
Product: Boot2Gecko → Tech Evangelism
Version: unspecified → Trunk
Component: Preinstalled B2G Apps → Gaia
Product: Tech Evangelism → Boot2Gecko
Version: Trunk → unspecified
I see the same thing in a nexus-s with gaia master and everything else on v1-train. I used to see it when I was using master for everything quite some time ago, when master actually worked on nexus-s.
Pull request:
https://github.com/mozilla-b2g/gaia/pull/9834
Assignee: nobody → past
Status: NEW → ASSIGNED
The symptoms of the problem seem threefold: no icon, no launch page and no geolocation permission request. I believe the issue is that the manifest.webapp from application.zip is not used after installation. I wonder if it is supposed to exist separately from the zip file or be extracted automatically during the build step.
This is really strange that you are hitting this issue and no one else is.

By design, the manifest.webapp is supposed to exist in the zip archive.

Let me needinfo Fabrice to take a look here.
Flags: needinfo?(fabrice)
It could be possible that this only happens on phones that had the hosted version of maps installed, and are then upgraded to now where the packaged version is installed.

That would have to be a very old phone that was being updated though. Probably from December or January?
(In reply to Donovan Preston from comment #8)
> That would have to be a very old phone that was being updated though.
> Probably from December or January?

Not really, I've seen this on both an Unagi and a Nexus S built from v1-train after clearing out/ and objdir-gecko/. This should have removed traces of any hosted version, right?
(In reply to Panos Astithas [:past] from comment #9)
> (In reply to Donovan Preston from comment #8)
> > That would have to be a very old phone that was being updated though.
> > Probably from December or January?
> 
> Not really, I've seen this on both an Unagi and a Nexus S built from
> v1-train after clearing out/ and objdir-gecko/. This should have removed
> traces of any hosted version, right?

I tried reflashing, clearing the tree, the profile, everything. Still hasn't fixed the problem.

This is a unagi phone has has been getting builds since November.

Even with a different checkout. Be it master or v1-train.
Strange that it still happens on recent phones. I don't have a suggestion for a fix but I do have a suggestion for a workaround.

Get a local checkout of gaia and remove the external-apps/m.here.com directory from it, then use it to run "make reset-gaia" and install maps from the marketplace. See if this helps.
If I do that, I get an generic icon in the Homescreen. When I tap on it I get asked if I want to download it. Then it does something, but the have never launch. Then I tap again, same thing.
I don't know what you are seeing there, but I'm 100% this does not happen with a clean build, and the only issues we had were when we moved from hosted to packaged in January.

Are these user builds or eng builds?

Also, Jason is correct about the update.webapp manifest : there should be no launch_path and no icons there.
Flags: needinfo?(fabrice)
Engineering build.
(In reply to Hubert Figuiere [:hub] from comment #14)
> Engineering build.

That's the problem. The external apps don't really play nicely on engineering builds. They only really consistently work on production builds.
This is my nexus-s .userconfig:

export PRODUCTION=1
export DOGFOOD=1
export NOFTU=1
export HIDPI=1
export MOZILLA_OFFICIAL=1

And this is my unagi .userconfig (on a different Mac):

export PRODUCTION=1
export DOGFOOD=1
export MOZILLA_OFFICIAL=1
export CC=/usr/local/bin/gcc-4.6

Does that make it a production build?
(In reply to Hubert Figuiere [:hub] from comment #12)
> If I do that, I get an generic icon in the Homescreen. When I tap on it I
> get asked if I want to download it. Then it does something, but the have
> never launch. Then I tap again, same thing.

Wow... I have absolutely no idea what is going on then, sorry :(
(In reply to Jason Smith [:jsmith] from comment #15)

> That's the problem. The external apps don't really play nicely on
> engineering builds. They only really consistently work on production builds.

That's a serious issue IMHO.
I don't see this anymore.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.