[solved] Midori

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

[solved] Midori

Post#1 by donald » 12 Oct 2013, 17:46

something strange:
I downloaded midori (ppm),as a dependency came "libvisual..",
then I clicked "update my modules",a popup said libvisual need an update > ok > next popup
libvisual is updated, now I looked into the module folder and libvisual wasn't updated, it was deleted.
But midori is still starting
any explanation?

And in midori click
menu > preferences > extensions > activate statusbar features,
it seems the icon for the "enable scripts"-button is missing.
Last edited by donald on 16 Oct 2013, 15:51, edited 1 time in total.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Midori

Post#2 by brokenman » 12 Oct 2013, 18:07

Thanks Donald.

There was a problem with Midori not resolving all required deps which I am looking into today. Neither slackyd nor our repository update scripts picks up all the required deps for midori. I understand that midori starts for you, but can you browse to a website. Please start it from a terminal and then try to browse to a website. Do you complaints about missing deps?

On my end it requires around 20 dependencies to run properly.
How do i become super user?
Wear your underpants on the outside and put on a cape.

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Midori

Post#3 by donald » 12 Oct 2013, 18:38

This is written in midori,means browsing is working (also tested google)
here are the cli results:
guest@localhost:~$ midori

(midori4:2412): Gtk-WARNING **: Error loading theme icon 'text-x-javascript' for stock: Icon 'text-x-javascript' not present in theme

(midori4:2412): GLib-GObject-WARNING **: gsignal.c:2459: signal `context-menu' is invalid for instance `0x9ce9000'

....midori comes up

root@localhost:~# midori
The configuration couldn't be loaded: No such file or directory

(midori4:2480): GLib-GObject-WARNING **: gsignal.c:2459: signal `context-menu' is invalid for instance `0x883a008'

....midori comes up
---------------------------------------------------------------------
but what about libvisual, downloading,said updating but deleting??
Last edited by donald on 12 Oct 2013, 18:58, edited 1 time in total.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Midori

Post#4 by brokenman » 12 Oct 2013, 18:56

Thanks. Looks like progress is being made.
How do i become super user?
Wear your underpants on the outside and put on a cape.

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Midori

Post#5 by donald » 12 Oct 2013, 20:34

some additional Info
This is what came down with midori:

geoclue-0.12.99-i486-1sl.xzm
gst-plugins-base-0.10.36-i486-2.xzm
gstreamer-0.10.36-i486-1.xzm
icu4c-49.1.2-i486-1.xzm
libtheora-1.1.1-i486-1.xzm
midori-0.5.5-x86_64-1jay.xzm
webkitgtk-1.8.3-i486-1sl.xzm
and the libvisual-0.4.0..which was deleted before midori's first start.

( I'm still using 2.0 where 007-devel.xzm is present,
I don't know if this makes any difference )

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Midori

Post#6 by brokenman » 13 Oct 2013, 00:09

Ok I'm not sure what happened with libvisual. I only updated midori and added one other package to the repo. Having it removed is strange indeed. I'm only testing on 2.1.
How do i become super user?
Wear your underpants on the outside and put on a cape.

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Midori

Post#7 by donald » 13 Oct 2013, 01:08

The libvisual-mystery is splitted into two different parts

1.I got this lib whith the download of midori,and it seems not to belong to midori.

2.the part of updating all my modules with PPM.
ppm says libvisual must be updated,than libvisual is updated, but in fact it's deleted

Why does the PPM act this way? That's the interesting part.
mysterious.. :)

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Midori

Post#8 by brokenman » 13 Oct 2013, 15:48

I had a 64bit version of midori in the repo (slaps forehead) so I have replaced it with the correct arch. Please remove any midori module from your modules folder and update PPM. I fear we may be back at square one with midori not resolving all deps.

The reason for the anomaly with libvisual is that the (borrowed) code appears to confuse libvisual with it's libvisual-plugins partner. By opening /opt/ppm/PACKAGES.TXT and removing the libvisual-plugins section the problem went away. I will review the code today and push another update as could well affect other packages with plugins. Thanks again Donald for the keen eye.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Midori

Post#9 by brokenman » 13 Oct 2013, 17:35

Midori fixed.
Updater fixed.

I'll push the fix for the module updater at a later time. For those that want to fix it line 182 of /opt/porteus-scripts/porteus-package-manager should be changed from:
match=`grep NAME: $OPT/$P|awk '{print$NF}'|grep "^$name-"`
to
match=`grep NAME: $OPT/$P|awk '{print$NF}'|grep "^$name-[0-9]"`

This will do until I can make something cleaner as this will not count for packages such as: package-name-r1234-i486-1sl.xzm
How do i become super user?
Wear your underpants on the outside and put on a cape.

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Midori

Post#10 by donald » 13 Oct 2013, 21:00

Hi brokenman

I made the changes to line 182,...it works.

but midori-0.5.5-i486-1jay.xzm (4,1KB) only contains
/opt/porteus-scripts/system-desktop-icon,....not midori.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Midori

Post#11 by brokenman » 14 Oct 2013, 14:22

Thanks again. Another moron moment. Fixed now. Don't have time now but will do further testing with midori tomorrow.
How do i become super user?
Wear your underpants on the outside and put on a cape.

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Midori

Post#12 by donald » 15 Oct 2013, 14:59

Hi brokenman

well done, midori is working, replaced ff with midori..no prob.

one little thing is left...in midori please click
"menu > preferences > extensions > then activate statusbar features" now you have
some useful features at the bottom of midori,
but the "enable/disable-scripts-button-ICON" is still missing.
I don't know if this can be fixed, but if yes, it would be perfect.

midori start in terminal:

guest@localhost:~$ midori

(midori4:2578): Gtk-WARNING **: Error loading theme icon 'text-x-javascript' for stock:
Icon 'text-x-javascript' not present in theme

(midori4:2578): GLib-GObject-WARNING **: gsignal.c:2459: signal `context-menu' is invalid for instance `0x9475010'

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Midori

Post#13 by brokenman » 15 Oct 2013, 19:10

https://dl.dropboxusercontent.com/u/686 ... script.png

Try dropping that file into /usr/share/pixmaps or /usr/share/matefaenza/48/mimetypes.
How do i become super user?
Wear your underpants on the outside and put on a cape.

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Midori

Post#14 by donald » 16 Oct 2013, 04:09

Hi brokenman

putting your Icon into /usr/share/pixmaps works
another missing icon (bookmarks),choose one you like and rename it to "user-bookmarks.png"

First time activating a merged midori-module brought up a error-message " could not refresh
the panel",just click OK and ignore it,it don't came up next time.

I didn't test all build-in extensions, but don't use
"DevPet..This extension shows glib error messages in systray"
in my case midori hangs ( no messages in terminal ) empty midori window.
To get midori working again,
open /guest/.config/midori/config and delete the DevPet-line under [extensions]

no "Gtk-WARNING" anymore
the "GLib-GObject-WARNING" still persists

In general midori works and uses just 43Mb of ram

What do you think solved or not?

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Midori

Post#15 by brokenman » 16 Oct 2013, 14:51

I'm not sure what the gobject warning is about. If you feel basic functionality is usable I would mark it solved. Thanks.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Post Reply