xhorak / firefox-devedition-flatpak

Flatpak manifest and patches to build Firefox
https://firefox-flatpak.mojefedora.cz/
68 stars 28 forks source link

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

Open kindaro opened 7 years ago

kindaro commented 7 years ago

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/pentadactyl@dactyl.googlecode.com.xpi!/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/pentadactyl@bootstrap.js:20:1 < @XPIProvider.jsm:4838:1 < loadBootstrapScop
e@XPIProvider.jsm:4838:7 < callBootstrapMethod@XPIProvider.jsm:4916:9 < startup@
XPIProvider.jsm:2881:13 < callProvider@AddonManager.jsm:272:12 < _startProvider@
AddonManager.jsm:759:5 < startup@AddonManager.jsm:941:9 < startup@AddonManager.j
sm:3145:5 < observe@addonManager.js:65:9
undefined: bootstrap: startup startup
1495802646572   addons.xpi  WARN    Exception running bootstrap method startup o
n pentadactyl@dactyl.googlecode.com: 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/pentadactyl@dactyl.googlecode.com.xpi!/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 < callBootstrapMethod@XPIProvider.jsm:4982:11 < startup@XPIPr
ovider.jsm:2881:13 < callProvider@AddonManager.jsm:272:12 < _startProvider@Addon
Manager.jsm:759:5 < startup@AddonManager.jsm:941:9 < startup@AddonManager.jsm:31
45:5 < observe@addonManager.js: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/presentation@mozilla.org.xpi
1495802703711   addons.xpi  WARN    Can't get modified time of /app/lib/firefox-
55.0a1/browser/features/webcompat-reporter@mozilla.org.xpi
1495802703713   addons.xpi  WARN    Can't get modified time of /app/lib/firefox-
55.0a1/browser/features/webcompat@mozilla.org.xpi
1495802703714   addons.xpi  WARN    Can't get modified time of /app/lib/firefox-
55.0a1/browser/features/flyweb@mozilla.org.xpi
1495802703714   addons.xpi  WARN    Can't get modified time of /app/lib/firefox-
55.0a1/browser/features/screenshots@mozilla.org.xpi
1495802703715   addons.xpi  WARN    Can't get modified time of /app/lib/firefox-
55.0a1/browser/features/e10srollout@mozilla.org.xpi
1495802703717   addons.xpi  WARN    Can't get modified time of /app/lib/firefox-
55.0a1/browser/features/shield-recipe-client@mozilla.org.xpi
1495802703718   addons.xpi  WARN    Can't get modified time of /app/lib/firefox-
55.0a1/browser/features/firefox@getpocket.com.xpi
1495802703718   addons.xpi  WARN    Can't get modified time of /app/lib/firefox-
55.0a1/browser/features/formautofill@mozilla.org.xpi
1495802703719   addons.xpi  WARN    Can't get modified time of /app/lib/firefox-
55.0a1/browser/features/aushelper@mozilla.org.xpi
1495802703720   addons.xpi  WARN    Can't get modified time of /app/lib/firefox-
55.0a1/browser/features/activity-stream@mozilla.org.xpi
1495802703722   addons.xpi  WARN    Can't get modified time of /app/lib/firefox-
55.0a1/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
xhorak commented 7 years ago

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?

kindaro commented 7 years ago

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/presentation@mozilla.org.xpi
1496413210107   addons.xpi  WARN    Can't get modified time of /app/lib/firefox-55.0a1/browser/features/webcompat-reporter@mozilla.org.xpi
1496413210108   addons.xpi  WARN    Can't get modified time of /app/lib/firefox-55.0a1/browser/features/webcompat@mozilla.org.xpi
1496413210109   addons.xpi  WARN    Can't get modified time of /app/lib/firefox-55.0a1/browser/features/flyweb@mozilla.org.xpi
1496413210110   addons.xpi  WARN    Can't get modified time of /app/lib/firefox-55.0a1/browser/features/screenshots@mozilla.org.xpi
1496413210111   addons.xpi  WARN    Can't get modified time of /app/lib/firefox-55.0a1/browser/features/e10srollout@mozilla.org.xpi
1496413210113   addons.xpi  WARN    Can't get modified time of /app/lib/firefox-55.0a1/browser/features/onboarding@mozilla.org.xpi
1496413210114   addons.xpi  WARN    Can't get modified time of /app/lib/firefox-55.0a1/browser/features/shield-recipe-client@mozilla.org.xpi
1496413210115   addons.xpi  WARN    Can't get modified time of /app/lib/firefox-55.0a1/browser/features/firefox@getpocket.com.xpi
1496413210116   addons.xpi  WARN    Can't get modified time of /app/lib/firefox-55.0a1/browser/features/formautofill@mozilla.org.xpi
1496413210117   addons.xpi  WARN    Can't get modified time of /app/lib/firefox-55.0a1/browser/features/aushelper@mozilla.org.xpi
1496413210118   addons.xpi  WARN    Can't get modified time of /app/lib/firefox-55.0a1/browser/features/activity-stream@mozilla.org.xpi
1496413210119   addons.xpi  WARN    Can't get modified time of /app/lib/firefox-55.0a1/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
xhorak commented 7 years ago

What kind of DE you use?

stozi commented 7 years ago

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