Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Opera 7.50p1 - /usr/bin/opera script

4 views
Skip to first unread message

Robt. W. Fletcher Jr.

unread,
Jan 13, 2004, 1:24:07 PM1/13/04
to

A question about the /usr/bin/opera script.

1) I started opera and used the gui interface to remove all paths to
plugins. Then stopped opera.

2) I rm'ed ~/.opera/pluginpath.ini (new w/ 7.50p1)

3) ~/.opera% opera --debugplugin showed:

[plugin probing] /usr/local/lib/opera/plugins/libnpp.so
[plugin probing] /usr/local/Acrobat5/Browsers/intellinux/nppdf.so
[plugin probing] /usr/lib/netscape/plugins/libflashplayer.so
[plugin banned ] /usr/lib/netscape/plugins/libnullplugin.so
[plugin probing] /usr/lib/netscape/plugins/plugger.so
Plugger: No config file found!
opera: Could not initialize spell check. Error code -7
opera: Could not initialize M2

4) It appears Opera didn't find the plugin in ~/.opera/plugins/

ls -al ~/.opera/plugins
mozplugger.so -> /usr/local/bin/plugins/mozplugger.so*

A snip from /usr/bin/opera seems to indicate that Opera is looking in
~/.opera/plugins.

<snip>
# Opera Plug-in enviroment, Add more plugin search paths here
# If OPERA_PLUGIN_PATH is set NPX_PLUGIN_PATH will be ignored

for DIR in \
"${HOME}/.opera/plugins" \
/usr/local/lib/opera/plugins \

<snip>

Oh well, I de-selected the /usr/lib/netscape/plugins path and added
/home/me/.opera/plugins. Things are right w/ the world.

I wonder why I had to add /home/me/.opera/plugins path? Can anybody
see anything wrong w/ the /usr/bin/opera script? It's no big deal.

--
-rwf

Robt. W. Fletcher Jr.

unread,
Jan 13, 2004, 3:34:22 PM1/13/04
to

Note these tests were done from the download (untar'ed directory).

1) 7.23

cd opera-7.23-20031119.1-static-qt.i386-en/
rm -rf foobar
./opera --personaldir ./foobar --geometry 970x740 --debugplugin

Output:
opera: Failed to load 'missingsyms.so'. Some plug-ins may fail.
Use '--binarydir' option to specify location.
opera: [plugin probing] /local/net/targz/opera-7.23-20031119.1-static-qt.i386-en/plugins/libnpp.so
opera: [plugin probing] /home/me/.opera/plugins/mozplugger.so
opera: [plugin probing] /usr/local/lib/opera/plugins/libnpp.so
opera: [plugin probing] /usr/local/Acrobat5/Browsers/intellinux/nppdf.so
opera: [plugin probing] /usr/lib/netscape/plugins/libflashplayer.so
opera: [plugin banned ] /usr/lib/netscape/plugins/libnullplugin.so
opera: [plugin probing] /usr/lib/netscape/plugins/plugger.so

2) 7.50p1

cd opera-7.50-20031219.1-static-qt.i386-en/
rm -rf foobar
./opera --personaldir ./foobar --geometry 970x740 --debugplugin

Output:
opera: Failed to load 'missingsyms.so'. Some plug-ins may fail.
Use '--binarydir' option to specify location.
opera: [plugin probing] /usr/local/lib/opera/plugins/libnpp.so
opera: [plugin probing] /usr/local/Acrobat5/Browsers/intellinux/nppdf.so
opera: [plugin probing] /usr/lib/netscape/plugins/libflashplayer.so
opera: [plugin banned ] /usr/lib/netscape/plugins/libnullplugin.so
opera: [plugin probing] /usr/lib/netscape/plugins/plugger.so

Clearly 7.23 finds the mozplugger.so plugin in /home/me/.opera/plugins
and 7.50p1 doesn't. A source of mystery and wonder.

--
-rwf

Espen Sand

unread,
Jan 14, 2004, 6:49:26 AM1/14/04
to
Robt. W. Fletcher Jr. wrote:
> A question about the /usr/bin/opera script.
>
> 1) I started opera and used the gui interface to remove all paths to
> plugins. Then stopped opera.
>
> 2) I rm'ed ~/.opera/pluginpath.ini (new w/ 7.50p1)
>
> 3) ~/.opera% opera --debugplugin showed:
>
> [plugin probing] /usr/local/lib/opera/plugins/libnpp.so
> [plugin probing] /usr/local/Acrobat5/Browsers/intellinux/nppdf.so
> [plugin probing] /usr/lib/netscape/plugins/libflashplayer.so
> [plugin banned ] /usr/lib/netscape/plugins/libnullplugin.so
> [plugin probing] /usr/lib/netscape/plugins/plugger.so
> Plugger: No config file found!
> opera: Could not initialize spell check. Error code -7
> opera: Could not initialize M2
>
> 4) It appears Opera didn't find the plugin in ~/.opera/plugins/
>
> ls -al ~/.opera/plugins
> mozplugger.so -> /usr/local/bin/plugins/mozplugger.so*
>
> A snip from /usr/bin/opera seems to indicate that Opera is looking in
> ~/.opera/plugins.

We no longer use the list in /usr/bin/opera We now use the file
/usr/share/opera/pluginpath.ini As far as I can see I have forgot to
use a function that understands and expands '~' and $HOME etc (will fix)
when readin that file. It should work if you add $HOME/.opera/plugins
to ~/.opera/pluginpath.ini because we use variable expansion there.

Note the format of pluginpath.ini

/usr/lib/opera/plugins=2 - Do no use this path, path unchecked
/usr/lib/opera/plugins=1 - Use this path
/usr/lib/opera/plugins=0 - Path has been deleted in UI

The reason for the =0 entry is that we read /usr/share/opera/pluginpath.ini
each time on startup to catch new entires but ignore it if it has been
tagged as delected in ~/.opera/pluginpath.ini

>
> <snip>
> # Opera Plug-in enviroment, Add more plugin search paths here
> # If OPERA_PLUGIN_PATH is set NPX_PLUGIN_PATH will be ignored
>
> for DIR in \
> "${HOME}/.opera/plugins" \
> /usr/local/lib/opera/plugins \
>
> <snip>
>
> Oh well, I de-selected the /usr/lib/netscape/plugins path and added
> /home/me/.opera/plugins. Things are right w/ the world.
>
> I wonder why I had to add /home/me/.opera/plugins path? Can anybody
> see anything wrong w/ the /usr/bin/opera script? It's no big deal.
>


--
Espen Sand
es...@opera.com

0 new messages