firefox-devedition-flatpak icon indicating copy to clipboard operation
firefox-devedition-flatpak copied to clipboard

Can't flatpak run org.mozilla.FirefoxNightlyWayland: numerous "addons.xpi WARN Can't get modified time of ..." errors.

Open kindaro opened this issue 7 years ago • 4 comments

I have ArchLinux on my laptop, so I believe flatpak is reasonably up to date: Flatpak 0.9.4. I wanted to run Firefox on Wayland, but it doesn't work, while Nightly and DevEdition do. I wrapped all the lines at width 80 for your comfort. % is my command prompt.

% flatpak run org.mozilla.FirefoxDevEdition
1495802646568	addons.xpi	WARN	Error loading bootstrap.js for pentadactyl@d
actyl.googlecode.com: TypeError: can't convert undefined to object (resource://g
re/modules/addons/XPIProvider.jsm -> jar:file:///home/kindaro/.mozilla/firefox/v
z6adlya.dev-edition-default/extensions/[email protected]!/bo
otstrap.js:20:1) JS Stack trace: @resource://gre/modules/addons/XPIProvider.jsm 
-> jar:file:///home/kindaro/.mozilla/firefox/vz6adlya.dev-edition-default/extens
ions/[email protected]:20:1 < @XPIProvider.jsm:4838:1 < loadBootstrapScop
[email protected]:4838:7 < [email protected]:4916:9 < startup@
XPIProvider.jsm:2881:13 < [email protected]:272:12 < _startProvider@
AddonManager.jsm:759:5 < [email protected]:941:9 < [email protected]
sm:3145:5 < [email protected]:65:9
undefined: bootstrap: startup startup
1495802646572	addons.xpi	WARN	Exception running bootstrap method startup o
n [email protected]: ReferenceError: can't access lexical declar
ation `initialized' before initialization (resource://gre/modules/addons/XPIProv
ider.jsm -> jar:file:///home/kindaro/.mozilla/firefox/vz6adlya.dev-edition-defau
lt/extensions/[email protected]!/bootstrap.js:361:9) JS Stac
k trace: startup@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///ho
me/kindaro/.mozilla/firefox/vz6adlya.dev-edition-default/extensions/pentadactyl@
bootstrap.js:361:9 < [email protected]:4982:11 < startup@XPIPr
ovider.jsm:2881:13 < [email protected]:272:12 < _startProvider@Addon
Manager.jsm:759:5 < [email protected]:941:9 < [email protected]:31
45:5 < [email protected]:65:9
undefined: bootstrap: shutdown shutdown
1495802670270	Sync.ErrorHandler	ERROR	Sync was interrupted due to the appl
ication shutting down
% flatpak run org.mozilla.FirefoxNightly
% flatpak run org.mozilla.FirefoxNightlyWayland
1495802703709	addons.xpi	WARN	Can't get modified time of /app/lib/firefox-
55.0a1/browser/features/[email protected]
1495802703711	addons.xpi	WARN	Can't get modified time of /app/lib/firefox-
55.0a1/browser/features/[email protected]
1495802703713	addons.xpi	WARN	Can't get modified time of /app/lib/firefox-
55.0a1/browser/features/[email protected]
1495802703714	addons.xpi	WARN	Can't get modified time of /app/lib/firefox-
55.0a1/browser/features/[email protected]
1495802703714	addons.xpi	WARN	Can't get modified time of /app/lib/firefox-
55.0a1/browser/features/[email protected]
1495802703715	addons.xpi	WARN	Can't get modified time of /app/lib/firefox-
55.0a1/browser/features/[email protected]
1495802703717	addons.xpi	WARN	Can't get modified time of /app/lib/firefox-
55.0a1/browser/features/[email protected]
1495802703718	addons.xpi	WARN	Can't get modified time of /app/lib/firefox-
55.0a1/browser/features/[email protected]
1495802703718	addons.xpi	WARN	Can't get modified time of /app/lib/firefox-
55.0a1/browser/features/[email protected]
1495802703719	addons.xpi	WARN	Can't get modified time of /app/lib/firefox-
55.0a1/browser/features/[email protected]
1495802703720	addons.xpi	WARN	Can't get modified time of /app/lib/firefox-
55.0a1/browser/features/[email protected]
1495802703722	addons.xpi	WARN	Can't get modified time of /app/lib/firefox-
55.0a1/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi

kindaro avatar May 26 '17 13:05 kindaro

Looks like you have some addons installed. Please try the safe mode, to check if it is related to it. @stransky any idea why the extension (I guess it's Pentadactyl: http://5digits.org/pentadactyl/ )is failing in wayland?

xhorak avatar May 29 '17 14:05 xhorak

To make things clearer, I removed pentadactyl from my system and repeated the test. I also repeated the test with -safe-mode command line flag. Neither makes difference.

I compared flatpak run org.mozilla.FirefoxNightly & flatpak run org.mozilla.FirefoxNightlyWayland and they say the same things to terminal but look very different. FirefoxNightlyWayland does not render anything. If I pretend opening a web page via keyboard, even if I don't see it, by the change of the window title I understand FirefoxNightlyWayland actually works the same as FirefoxNightly.

I am attaching a log & a screen shot. 2017-06-02-165419_swaygrab

1496413210105	addons.xpi	WARN	Can't get modified time of /app/lib/firefox-55.0a1/browser/features/[email protected]
1496413210107	addons.xpi	WARN	Can't get modified time of /app/lib/firefox-55.0a1/browser/features/[email protected]
1496413210108	addons.xpi	WARN	Can't get modified time of /app/lib/firefox-55.0a1/browser/features/[email protected]
1496413210109	addons.xpi	WARN	Can't get modified time of /app/lib/firefox-55.0a1/browser/features/[email protected]
1496413210110	addons.xpi	WARN	Can't get modified time of /app/lib/firefox-55.0a1/browser/features/[email protected]
1496413210111	addons.xpi	WARN	Can't get modified time of /app/lib/firefox-55.0a1/browser/features/[email protected]
1496413210113	addons.xpi	WARN	Can't get modified time of /app/lib/firefox-55.0a1/browser/features/[email protected]
1496413210114	addons.xpi	WARN	Can't get modified time of /app/lib/firefox-55.0a1/browser/features/[email protected]
1496413210115	addons.xpi	WARN	Can't get modified time of /app/lib/firefox-55.0a1/browser/features/[email protected]
1496413210116	addons.xpi	WARN	Can't get modified time of /app/lib/firefox-55.0a1/browser/features/[email protected]
1496413210117	addons.xpi	WARN	Can't get modified time of /app/lib/firefox-55.0a1/browser/features/[email protected]
1496413210118	addons.xpi	WARN	Can't get modified time of /app/lib/firefox-55.0a1/browser/features/[email protected]
1496413210119	addons.xpi	WARN	Can't get modified time of /app/lib/firefox-55.0a1/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi

kindaro avatar Jun 02 '17 14:06 kindaro

What kind of DE you use?

xhorak avatar Jun 19 '17 13:06 xhorak

looks like Sway (i3 for Wayland). I have the same problem on Sway in Void Linux. Works nicely in Weston though.

stozi avatar Jun 21 '17 12:06 stozi