Closed Bug 956012 Opened 10 years ago Closed 10 years ago

Desktop b2g with local profile is trying to load the SIM / JavaScript error: conn.setVoicePrivacyMode is not a function

Categories

(Firefox OS Graveyard :: Gaia, defect)

Other
Gonk (Firefox OS)
defect
Not set
major

Tracking

(blocking-b2g:-, b2g-v1.3 fixed)

RESOLVED FIXED
blocking-b2g -
Tracking Status
b2g-v1.3 --- fixed

People

(Reporter: zcampbell, Assigned: kgrandon)

References

Details

(Whiteboard: [c= p=1 s= u=])

Attachments

(1 file)

When running desktopb2g with a custom profile.

*Note this is the same process as running on TBPL hence this bug affects TBPL and I have marked it as major*

STR
1: Download the build:
http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/2014-01-01-04-02-01-mozilla-central/

2. in Gaia repo/directory run:
DEBUG=0 DESKTOP=0 DESKTOP_SHIMS=1 NOFTU=0 make
(NB, this is the same as TBPL uses)

3. Start b2g using the new profile:
./b2g-bin --profile $HOME/Mozilla/gaia/profile

4. Complete the FTU,
note in the statusbar there is a [!] SIM icon.
in the terminal window will be the following error messages:



./b2g-bin --profile $HOME/Mozilla/gaia/profile

(process:25779): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed
1388660055653	Marionette	INFO	marionette enabled via build flag and pref
1388660055743	Marionette	INFO	marionette-server.js loaded
1388660055762	Marionette	INFO	Listening on port 2828

1388660055762	Marionette	INFO	Marionette server ready
-*- DownloadsAPI.jsm : init
PermissionsTable.jsm: expandPermissions: Unknown Permission: video-capturePermissionsInstaller.jsm: 'video-capture' is not a valid Webapps permission name.PermissionsTable.jsm: expandPermissions: Unknown Permission: video-capturePermissionsInstaller.jsm: 'video-capture' is not a valid Webapps permission name.PermissionsTable.jsm: expandPermissions: Unknown Permission: video-capturePermissionsInstaller.jsm: 'video-capture' is not a valid Webapps permission name.-*- DownloadsAPI.jsm : view added to download list.
###################################### forms.js loaded
############################### browserElementPanning.js loaded
######################## BrowserElementChildPreload.js loaded
*** UTM:SVC TimerManager:registerTimer - id: user-agent-updates-timer
-*- DownloadsIPC.jsm : init
-*- DownloadsAPI.js : DOMDownloadManagerImpl constructor
-*- DownloadsAPI.js : DownloadsManager init
JavaScript error: app://system.gaiamobile.org/js/operator_variant/operator_variant_iccs.js, line 37: OperatorVariantHandler is not defined
-*- DownloadsAPI.jsm : message: Downloads:GetList
-*- DownloadsAPI.jsm : getList called!
-*- DownloadsIPC.jsm : message: Downloads:GetList:Return undefined
JavaScript error: chrome://desktop-helper.js/content/data/lib/mobile_connection.js, line 27: callback.bind is not a function
JavaScript error: app://system.gaiamobile.org/js/emergency_callback_manager.js, line 191: conn.getPreferredNetworkType is not a function
XXX FIXME : Got a mozContentEvent: nfc-hardware-state-change
JavaScript error: chrome://desktop-helper.js/content/data/lib/mobile_connection.js, line 27: callback.bind is not a function
XXX FIXME : Got a mozContentEvent: system-message-listener-ready
XXX FIXME : Got a mozContentEvent: accessibility-screenreader
XXX FIXME : Got a mozContentEvent: nfc-hardware-state-change
JavaScript error: app://system.gaiamobile.org/js/call_settings.js, line 12: conn.setVoicePrivacyMode is not a function
JavaScript error: app://system.gaiamobile.org/js/airplane_mode.js, line 33: conn.setRadioEnabled is not a function
XXX FIXME : Got a mozContentEvent: inputmethod-update-layouts
Blocks: 956128
Assignee: nobody → kgrandon
Status: NEW → ASSIGNED
Attached file Github pull request
Changing component to gaia as this is sort of caused by the fact that we have shims for this stuff.
Component: RIL → Gaia
Whiteboard: [c= p=1 s= u=]
Not part of the build, and blocking my working on fixing tests. Going to r=me on this: https://github.com/mozilla-b2g/gaia/commit/fa66acd68ac739690b2b892997de5e43e9fe42e7
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Blocks: 953219
Blocks: 956427
Developers are having a hard time testing 1.3 due to the outdated shims. It would be nice to uplift this to 1.3 so we can take advantage of more b2g desktop features. See bug 956427 for an example. The changed file is not part of the build, so there should be zero risk in taking this.
blocking-b2g: --- → 1.3?
(In reply to Kevin Grandon :kgrandon from comment #4)
> Developers are having a hard time testing 1.3 due to the outdated shims. It
> would be nice to uplift this to 1.3 so we can take advantage of more b2g
> desktop features. See bug 956427 for an example. The changed file is not
> part of the build, so there should be zero risk in taking this.

Shouldn't we then ask for approval, rather than nominating this to block?
(In reply to Jason Smith [:jsmith] from comment #5)
> Shouldn't we then ask for approval, rather than nominating this to block?

Yes, that probably makes the most sense. I'm not smart enough for flags yet, I will figure them out some day :)
Okay - I'm marking non-blocking then, but feel free to ask for approval.
blocking-b2g: 1.3? → -
Comment on attachment 8355349 [details] [review]
Github pull request

Requesting approval for these developer enhancements. This would make life easier for us. Also not part of the production build

Fabrice - I think you're triaging this?
Attachment #8355349 - Flags: approval-gaia-v1.3?(fabrice)
Attachment #8355349 - Flags: approval-gaia-v1.3?(fabrice) → approval-gaia-v1.3+
John, can you please assist with this uplift :)
Flags: needinfo?(jhford)
Uplifted fa66acd68ac739690b2b892997de5e43e9fe42e7 to:
v1.3: c3f75f4c512e76d9870fc3dacbe840dd80057d72
Flags: needinfo?(jhford)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: