Page 3 of 7

Posted: Mon 11 May 2009, 16:42
by MU
I installed now this pet:
http://ftp.nluug.nl/ftp/pub/os/Linux/di ... ilnews.pet (right-click to download)

Just installed it, did not remove something before.
Puppybrowser still works :?:
Mark

Posted: Mon 11 May 2009, 22:01
by headfound
off topic!

Page 3 of this thread tries to open a page at puppylinux.asia !
Anyone know why?

Posted: Mon 11 May 2009, 22:09
by MU
headfound wrote:off topic!

Page 3 of this thread tries to open a page at puppylinux.asia !
Anyone know why?
yes, it is the signature of Bigbass. It includes a picture.
Puppyasia is password protected now, so the login pops up, when the page tries to display the image.

Code: Select all

<span class="postbody"><br />_________________<br />Slaxer_Pup  4.12     slackware hardware detecting kernel  with a puppy 412 body
<br />
<img src="http://puppylinux.asia/tpp/big_bass/Slackware_Packages/slaxer.png" border="0" alt="" /><br /></span></td>
Mark

Posted: Mon 11 May 2009, 22:13
by big_bass
oh no
I ll fix that now

guilty as charged
:lol:

Posted: Mon 11 May 2009, 22:29
by headfound
Thanks guys, had me worried for a minute!

On topic -
Its a great little browser, works perfectly in boxpup :)

Posted: Tue 12 May 2009, 03:11
by PupMike
I'm getting a segfault also. I have SeaMonkey 1.1.6 installed.

Here is the output from gdb:

Code: Select all

Starting program: /usr/local/PuppyBrowser/PuppyBrowser 
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
load error
-1

Program received signal SIGSEGV, Segmentation fault.
0xb78b8b2d in EmbedPrivate::Realize ()
   from /usr/local/seamonkey/libgtkembedmoz.so
(gdb) backtrace
#0  0xb78b8b2d in EmbedPrivate::Realize ()
   from /usr/local/seamonkey/libgtkembedmoz.so
#1  0xb78b695f in ?? () from /usr/local/seamonkey/libgtkembedmoz.so
#2  0x080f3d10 in ?? ()
#3  0xbf8da24c in ?? ()
#4  0x00000000 in ?? ()

Posted: Tue 12 May 2009, 03:39
by sullysat
MU wrote:Sully,
I'm running Seamonkey 1.1.14.
ok, but the inbuilt of Puppy 4.00 is 1.1.8.

Where did you get 1.1.14?
Did you install it with petget?
I'd like to reproduce, what changed on your system.

Mark
I used seamonkey-1.1.14.pet
http://www.murga-linux.com/puppy/viewtopic.php?t=29295

I added the line you recommended to my grub file. Nothing changed. Still doesn't work.

At this point, it appears that I lost something when I upgraded SeaMonkey, correct? How do we sort that out?

Posted: Tue 12 May 2009, 05:44
by MU
Sully, and PupMike,

please look, if you have a file /usr/lib/libgtkmozembed.so.

If yes, delete it.
The browser crashes, if it is a different version as for example:
/usr/lib/seamonkey/libgtkmozembed.so.

I had /usr/lib/libgtkmozembed.so in /usr/lib/ (copied from 1.1.8), as it was required to compile the browser.
When I installed the same seamonkey 1.1.14 as Sullysat, puppybrowser crashed.
But to run it, the version, that comes with your newest nstalled brower must be available.
Using an older version in /usr/lib/ causes a crash.

Maybe you must run "ldconfig" or reboot, after you deleted it.
Mark

Posted: Tue 12 May 2009, 06:16
by MU
PupMike,
#1 0xb78b695f in ?? () from /usr/local/seamonkey/libgtkembedmoz.so
That (/usr/local/) is a different location than usual.
Did you compile seamonkey on your own?
Do you have a downloadlink of your version?

It might be required, to recompile Puppybrowser for your special version.
Mark

Posted: Tue 12 May 2009, 06:39
by sullysat
Mark,

I don't have that lib file anywhere on my system.

Sully

Posted: Tue 12 May 2009, 13:29
by PupMike
Hi Mark,

I updated Seamonkey using the standard Seamonkey update on their site. I tried recompiling PuppyBrowser with no difference. I'm starting to think there is a version conflict with the newer releases of Seamonkey. I made up a small C program to test the embeded moz control and I get the same seg fault. i did notice I got a linker warning with the C program that libstdc++.so.5 needed by gtkembedmoz may conflict with libstdc++.so.6. Maybe I need to get the source to gtkembedmoz and try compiling it here?

Thanks,
Mike

Posted: Tue 12 May 2009, 15:19
by MU
Sully,

I'm running out of ideas.
Please post the result of the two commands:

ldd PuppyBrowser | grep moz
echo $MOZILLA_FIVE_HOME


You also could do, what I describe to Mike now:

Mike,

I just used the normal 1.1.16 installer from the mozilla website.
Puppybrowser works by adding thre lines to "/usr/local/PuppyBrowser/puppy-browser", so iit looks like this:

Code: Select all

#!/bin/bash

export PATH=/usr/local/seamonkey:$PATH
export LD_LIBRARY_PATH=/usr/local/seamonkey:$LD_LIBRARY_PATH
export MOZILLA_FIVE_HOME=/usr/local/seamonkey

cd /usr/local/PuppyBrowser
./PuppyBrowser "$@" &
But I just tried it in newyearspup, must test Puppy 4.x, too.
*edit*... in 4.00, this works, too.

Mark

Posted: Tue 12 May 2009, 15:57
by sullysat
Yes! It opened! Here's what I did...
MU wrote:Sully,

I'm running out of ideas.
Please post the result of the two commands:

ldd PuppyBrowser | grep moz
echo $MOZILLA_FIVE_HOME
# ldd PuppyBrowser | grep moz
ldd: ./PuppyBrowser: No such file or directory
# echo $MOZILLA_FIVE_HOME
/usr/lib/seamonkey

So then I went in and edited as you show below, but with the path that I got when I ran the commands above.
MU wrote: You also could do, what I describe to Mike now:

Mike,

I just used the normal 1.1.16 installer from the mozilla website.
Puppybrowser works by adding thre lines to "/usr/local/PuppyBrowser/puppy-browser", so iit looks like this:

Code: Select all

#!/bin/bash

export PATH=/usr/local/seamonkey:$PATH
export LD_LIBRARY_PATH=/usr/local/seamonkey:$LD_LIBRARY_PATH
export MOZILLA_FIVE_HOME=/usr/local/seamonkey

cd /usr/local/PuppyBrowser
./PuppyBrowser "$@" &
But I just tried it in newyearspup, must test Puppy 4.x, too.
*edit*... in 4.00, this works, too.
My puppy-browser file looks like this:

#!/bin/bash

export PATH=/usr/lib/seamonkey:$PATH
export LD_LIBRARY_PATH=/usr/lib/seamonkey:$LD_LIBRARY_PATH
export MOZILLA_FIVE_HOME=/usr/lib/seamonkey

cd /usr/local/PuppyBrowser
./PuppyBrowser "$@" &

It came up and looks good! Thanks Mark! I'll play with it later and let you know if there's anything else going on, but it looks like this took care of it.

I REALLY appreciate all the help and hope that it helped you with the product as well.. its Very cool looking!

Sully

Posted: Tue 12 May 2009, 16:22
by MU
fine :D
# ldd PuppyBrowser | grep moz
ldd: ./PuppyBrowser: No such file or directory
Sorry, should be:
cd /usr/local/PuppyBrowser
ldd PuppyBrowser | grep moz


----------------
Ok, so the three lines solved it.
I think, somewhere in the folders in your PATH (executables) or LD_LIBRARY_PATH (libs) is a incompatible version of a library.

Maybe a different libmozjs.so, that iis alsio used by gxine for example.

The new lines force PuppyBrowser to ignore those libraries (whereever they are located), and instead use those in /usr/lib/seamonkey/ with highest priority.

So dependencies are consistent now, great :)

I will continue to try tabs and webkit, but might not have time for it before weekend.

Mark

Posted: Tue 12 May 2009, 22:54
by PupMike
Thanks Mark! It was the MOZILLA_FIVE_HOME that I never did set. I had already fixed the other paths for the new install. Who would of thought :)

I'll see if I can help with the tab issue now. Won't be till later though.

Mike

Posted: Wed 13 May 2009, 02:23
by PupMike
Okay, I just checked the tab problem you mentioned. You are actually getting the tab index before the change is complete. change the signal handler to:

Code: Select all

    def note_page_changed(notebook : void*, index : uint)

       // var index = note.get_current_page()
The new tab index will be passed in index. Also remember that the tab index is zero based. Hope this helps.

Mike

Posted: Wed 13 May 2009, 06:31
by MU
fantastic, so I can continue on the tabs this weekend.
Adding the rest should not be difficult :-)

Thanks Mike!
Mark

Posted: Fri 15 May 2009, 03:51
by ecomoney
We are working on a version of puppy with kids educational programs that will liveboot, so parents will be able to leave kids unattended. We have removed seamonkey etc along with the network/ntfs/fat modules for the next version....but we have one problem...Viewing the CUPS interface!

would this be suitable for this job?

HanSamBen is here

http://www.murga-linux.com/puppy/viewtopic.php?p=305505

Posted: Fri 15 May 2009, 04:12
by ttuuxxx
ecomoney wrote:We are working on a version of puppy with kids educational programs that will liveboot, so parents will be able to leave kids unattended. We have removed seamonkey etc along with the network/ntfs/fat modules for the next version....but we have one problem...Viewing the CUPS interface!

would this be suitable for this job?

HanSamBen is here

http://www.murga-linux.com/puppy/viewtopic.php?p=305505
ya it should work just fine if you reinstall Seamonkey, lol or use one of these http://dotpups.de/files/puppybrowser-tests/
ttuuxxx

Posted: Wed 20 May 2009, 07:02
by Lobster
Hi Mark
Broke out my crayon set (xaraLX and Mtpaint) to create a logo
based on your icon which I found amusing :)
Image

Hope it is of some use