Browser preview doesn't work

Bug #1445931 reported by deleted
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Scratch
Fix Released
High
Cody Garver

Bug Description

When trying to activate the Browser Preview plugin, I get the following error in the terminal:

[_LOG_LEVEL_WARN 17:32:25.756975] [libpeas] browserpreview: /usr/lib/x86_64-linux-gnu/scratch/plugins/browser-preview/libbrowserpreview.so: cannot open shared object file: No such file or directory
[_LOG_LEVEL_WARN 17:32:25.757036] [libpeas] Error loading plugin 'browserpreview'

The correct file name for the .so file is libbrowser-preview.so, instead of libbrowserpreview.so, which Scratch currently tries to load.

Revision history for this message
Andrew M (andrewmaccuaig) wrote :

Looks like the file name changed at some point.

Workaround until this is fixed

cd /usr/lib/x86_64-linux-gnu/scratch/plugins/browser-preview/
sudo cp libbrowser-preview.so libbrowserpreview.so

Revision history for this message
Janne Lindström (janus-l) wrote :

Another workaround is to open the file brower-preview.plugin in the same folder and change the line

Module=browserpreview

to

Module=browser-preview

Save and restart scratch and it should work

Cody Garver (codygarver)
Changed in scratch:
assignee: nobody → Cody Garver (codygarver)
importance: Undecided → High
milestone: none → loki-beta1
status: New → Fix Committed
Revision history for this message
Janne Lindström (janus-l) wrote :

Just a sidenote: this fix also seems to fix bug #1483031 (https://bugs.launchpad.net/scratch/+bug/1483031) as well.

Changed in scratch:
milestone: loki-beta1 → loki-alpha1
Cody Garver (codygarver)
Changed in scratch:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.