Hi,
Just managed to find a workaround for this. I've just made a fresh build and
flashed the device.
I've modified gaia/Makefile on line 49:
GAIA_INSTALL_PARENT?=/data/local
to
GAIA_INSTALL_PARENT?=/system/b2g
After make reset-gaia the apps are visible.
Regards,
Krzysiek
W dniu środa, 17 października 2012 10:49:21 UTC+2 użytkownik Henrik Mitsch
napisał:
> Hi Krysiek,
>
>
>
> I have exactly the same issue. In the last few days I was working with
>
> _AtilA_ and fabrice on IRC (#b2g) to try and get this resolved.
>
>
>
> Latest status is:
>
> - Checked out todays repo and built all (including gecko & gaia)
>
> - Ran make reset-gaia
>
> - Flashed SGS2
>
> - Created symlink (ln -s /data/local/webapps /system/b2g/webapps) via
>
> adb shell
>
> - I can see the lock screen, wallpaper and notifications. There are NO
>
> apps on the homescreen.
>
>
>
> Now I get these errors:
>
> > E/GeckoConsole( 1822): [JavaScript Error: "DOMApplicationRegistry:
>
> > Could not read from /system/b2g/webapps/webapps.json : [Exception...
>
> > "Component returned failure code: 0x80520012
>
> > (NS_ERROR_FILE_NOT_FOUND) [nsIChannel.asyncOpen]" nsresult:
>
> > "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame ::
>
> > resource://gre/modules/NetUtil.jsm :: NetUtil_asyncOpen :: line 165"
>
> > data: no]" {file: "resource://gre/modules/Webapps.jsm" line: 417}]
>
>
>
> And:
>
> > E/GeckoConsole( 1822): [JavaScript Error: "NS_ERROR_FAILURE: Denied"
>
> > {file: "jar:file:///system/b2g/omni.ja!/components/Webapps.js" line:
>
> > 667}]
>
>
>
> For more detail, here is my adb logcat:
>
> http://www.pastebin.mozilla.org/1869024
>
>
>
> Is there anybody who can help?
>
>
>
> Best regards,
>
> Henrik (henx on IRC)
>
>
>
>
>
>
>
> On 16.10.12 15:03, Krzysztof Mioduszewski wrote:
>
> > Hi,
>
> >
>
> > I have exactly the same issue on my SGS2. I had followed the
>
> > instructions on MDN and I endend up with the white "mozilla" text in
>
> > the right bottom of black screen. You can find my logcat here
>
> > http://pastebin.com/TzScSsc1 .
>
> >
>
> > In the logcat you can see the following error: E/GeckoConsole(
>
> > 1823): [JavaScript Error: "DOMApplicationRegistry: Could not read
>
> > from /system/b2g/webapps/webapps.json : [Exception... "Component
>
> > returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND)
>
> > [nsIChannel.asyncOpen]" nsresult: "0x80520012
>
> > (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame ::
>
> > resource://gre/modules/NetUtil.jsm :: NetUtil_asyncOpen :: line 165"
>
> > data: no]" {file: "resource://gre/modules/Webapps.jsm" line: 417}]
>
> >
>
> > I was trying to find some solution for this basing on this threads:
>
> > https://groups.google.com/d/topic/mozilla.dev.b2g/3e5UA5c3dRw/discussion
>
> >
>
> >
>
> > https://bugzilla.mozilla.org/show_bug.cgi?id=793243
>
> >
>
> > Things which I did: 1. I've tried to build with different VARIANT
>
> > (user, userdebug). Build succeeded every time but after flashing the
>
> > OS wasn't installed (no /system/b2g dir). Flashing only gecko
>
> > created the dir but the OS didn't start. Got back to not setting
>
> > VARIANT.
>
> >
>
> > 2. I removed the /system/b2g/webapps dir and added a symlink which
>
> > points to /data/local/webappas. After make reset-gaia I can now see
>
> > the lock screen and wallpaper. I can unlock it, and slide down
>
> > notification bar, but the homescreen has no apps at all.
>
> >
>
> > Any advice what to do next? The pastebin above shows the situation
>
> > with white "mozilla", if you want i can paste logcat from point 2.
>
> >
>
> > Regards, Krzysiek
>
> >
>
>
>
>
>
>
>
> --
>
> Henrik Mitsch
>
> Mozilla Reps Mentor: https://reps.mozilla.org/u/henx/
>
> Twitter: @hmitsch
W dniu środa, 17 października 2012 10:49:21 UTC+2 użytkownik Henrik Mitsch
napisał:
> Hi Krysiek,
>
>
>
> I have exactly the same issue. In the last few days I was working with
>
> _AtilA_ and fabrice on IRC (#b2g) to try and get this resolved.
>
>
>
> Latest status is:
>
> - Checked out todays repo and built all (including gecko & gaia)
>
> - Ran make reset-gaia
>
> - Flashed SGS2
>
> - Created symlink (ln -s /data/local/webapps /system/b2g/webapps) via
>
> adb shell
>
> - I can see the lock screen, wallpaper and notifications. There are NO
>
> apps on the homescreen.
>
>
>
> Now I get these errors:
>
> > E/GeckoConsole( 1822): [JavaScript Error: "DOMApplicationRegistry:
>
> > Could not read from /system/b2g/webapps/webapps.json : [Exception...
>
> > "Component returned failure code: 0x80520012
>
> > (NS_ERROR_FILE_NOT_FOUND) [nsIChannel.asyncOpen]" nsresult:
>
> > "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame ::
>
> > resource://gre/modules/NetUtil.jsm :: NetUtil_asyncOpen :: line 165"
>
> > data: no]" {file: "resource://gre/modules/Webapps.jsm" line: 417}]
>
>
>
> And:
>
> > E/GeckoConsole( 1822): [JavaScript Error: "NS_ERROR_FAILURE: Denied"
>
> > {file: "jar:file:///system/b2g/omni.ja!/components/Webapps.js" line:
>
> > 667}]
>
>
>
> For more detail, here is my adb logcat:
>
> http://www.pastebin.mozilla.org/1869024
>
>
>
> Is there anybody who can help?
>
>
>
> Best regards,
>
> Henrik (henx on IRC)
>
>
>
>
>
>
>
> On 16.10.12 15:03, Krzysztof Mioduszewski wrote:
>
> > Hi,
>
> >
>
> > I have exactly the same issue on my SGS2. I had followed the
>
> > instructions on MDN and I endend up with the white "mozilla" text in
>
> > the right bottom of black screen. You can find my logcat here
>
> > http://pastebin.com/TzScSsc1 .
>
> >
>
> > In the logcat you can see the following error: E/GeckoConsole(
>
> > 1823): [JavaScript Error: "DOMApplicationRegistry: Could not read
>
> > from /system/b2g/webapps/webapps.json : [Exception... "Component
>
> > returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND)
>
> > [nsIChannel.asyncOpen]" nsresult: "0x80520012
>
> > (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame ::
>
> > resource://gre/modules/NetUtil.jsm :: NetUtil_asyncOpen :: line 165"
>
> > data: no]" {file: "resource://gre/modules/Webapps.jsm" line: 417}]
>
> >
>
> > I was trying to find some solution for this basing on this threads:
>
> > https://groups.google.com/d/topic/mozilla.dev.b2g/3e5UA5c3dRw/discussion
>
> >
>
> >
>
> > https://bugzilla.mozilla.org/show_bug.cgi?id=793243
>
> >
>
> > Things which I did: 1. I've tried to build with different VARIANT
>
> > (user, userdebug). Build succeeded every time but after flashing the
>
> > OS wasn't installed (no /system/b2g dir). Flashing only gecko
>
> > created the dir but the OS didn't start. Got back to not setting
>
> > VARIANT.
>
> >
>
> > 2. I removed the /system/b2g/webapps dir and added a symlink which
>
> > points to /data/local/webappas. After make reset-gaia I can now see
>
> > the lock screen and wallpaper. I can unlock it, and slide down
>
> > notification bar, but the homescreen has no apps at all.
>
> >
>
> > Any advice what to do next? The pastebin above shows the situation
>
> > with white "mozilla", if you want i can paste logcat from point 2.
>
> >
>
> > Regards, Krzysiek
>
> >
>
>
>
>
>
>
>
> --
>
> Henrik Mitsch
>
> Mozilla Reps Mentor: https://reps.mozilla.org/u/henx/
>
> Twitter: @hmitsch
W dniu środa, 17 października 2012 10:49:21 UTC+2 użytkownik Henrik Mitsch
napisał:
> Hi Krysiek,
>
>
>
> I have exactly the same issue. In the last few days I was working with
>
> _AtilA_ and fabrice on IRC (#b2g) to try and get this resolved.
>
>
>
> Latest status is:
>
> - Checked out todays repo and built all (including gecko & gaia)
>
> - Ran make reset-gaia
>
> - Flashed SGS2
>
> - Created symlink (ln -s /data/local/webapps /system/b2g/webapps) via
>
> adb shell
>
> - I can see the lock screen, wallpaper and notifications. There are NO
>
> apps on the homescreen.
>
>
>
> Now I get these errors:
>
> > E/GeckoConsole( 1822): [JavaScript Error: "DOMApplicationRegistry:
>
> > Could not read from /system/b2g/webapps/webapps.json : [Exception...
>
> > "Component returned failure code: 0x80520012
>
> > (NS_ERROR_FILE_NOT_FOUND) [nsIChannel.asyncOpen]" nsresult:
>
> > "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame ::
>
> > resource://gre/modules/NetUtil.jsm :: NetUtil_asyncOpen :: line 165"
>
> > data: no]" {file: "resource://gre/modules/Webapps.jsm" line: 417}]
>
>
>
> And:
>
> > E/GeckoConsole( 1822): [JavaScript Error: "NS_ERROR_FAILURE: Denied"
>
> > {file: "jar:file:///system/b2g/omni.ja!/components/Webapps.js" line:
>
> > 667}]
>
>
>
> For more detail, here is my adb logcat:
>
> http://www.pastebin.mozilla.org/1869024
>
>
>
> Is there anybody who can help?
>
>
>
> Best regards,
>
> Henrik (henx on IRC)
>
>
>
>
>
>
>
> On 16.10.12 15:03, Krzysztof Mioduszewski wrote:
>
> > Hi,
>
> >
>
> > I have exactly the same issue on my SGS2. I had followed the
>
> > instructions on MDN and I endend up with the white "mozilla" text in
>
> > the right bottom of black screen. You can find my logcat here
>
> > http://pastebin.com/TzScSsc1 .
>
> >
>
> > In the logcat you can see the following error: E/GeckoConsole(
>
> > 1823): [JavaScript Error: "DOMApplicationRegistry: Could not read
>
> > from /system/b2g/webapps/webapps.json : [Exception... "Component
>
> > returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND)
>
> > [nsIChannel.asyncOpen]" nsresult: "0x80520012
>
> > (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame ::
>
> > resource://gre/modules/NetUtil.jsm :: NetUtil_asyncOpen :: line 165"
>
> > data: no]" {file: "resource://gre/modules/Webapps.jsm" line: 417}]
>
> >
>
> > I was trying to find some solution for this basing on this threads:
>
> > https://groups.google.com/d/topic/mozilla.dev.b2g/3e5UA5c3dRw/discussion
>
> >
>
> >
>
> > https://bugzilla.mozilla.org/show_bug.cgi?id=793243
>
> >
>
> > Things which I did: 1. I've tried to build with different VARIANT
>
> > (user, userdebug). Build succeeded every time but after flashing the
>
> > OS wasn't installed (no /system/b2g dir). Flashing only gecko
>
> > created the dir but the OS didn't start. Got back to not setting
>
> > VARIANT.
>
> >
>
> > 2. I removed the /system/b2g/webapps dir and added a symlink which
>
> > points to /data/local/webappas. After make reset-gaia I can now see
>
> > the lock screen and wallpaper. I can unlock it, and slide down
>
> > notification bar, but the homescreen has no apps at all.
>
> >
>
> > Any advice what to do next? The pastebin above shows the situation
>
> > with white "mozilla", if you want i can paste logcat from point 2.
>
> >
>
> > Regards, Krzysiek
>
> >
>
>
>
>
>
>
>
> --
>
> Henrik Mitsch
>
> Mozilla Reps Mentor: https://reps.mozilla.org/u/henx/
>
> Twitter: @hmitsch
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g