ultratiny html viewer - PuppyBrowser 0.5 + embeddedbookmarks

Under development: PCMCIA, wireless, etc.
Message
Author
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#46 Post 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
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
headfound
Posts: 371
Joined: Sun 25 Jun 2006, 00:58
Location: England
Contact:

#47 Post by headfound »

off topic!

Page 3 of this thread tries to open a page at puppylinux.asia !
Anyone know why?
Download a better Computer :)
[url=http://uk.youtube.com/watch?v=rDTLJYDHX3g]Puppy Linux Song[/url]
[url=http://www.letterbyletter.co.uk]www.letterbyletter.co.uk[/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#48 Post 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
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#49 Post by big_bass »

oh no
I ll fix that now

guilty as charged
:lol:

User avatar
headfound
Posts: 371
Joined: Sun 25 Jun 2006, 00:58
Location: England
Contact:

#50 Post by headfound »

Thanks guys, had me worried for a minute!

On topic -
Its a great little browser, works perfectly in boxpup :)
Download a better Computer :)
[url=http://uk.youtube.com/watch?v=rDTLJYDHX3g]Puppy Linux Song[/url]
[url=http://www.letterbyletter.co.uk]www.letterbyletter.co.uk[/url]

PupMike
Posts: 18
Joined: Thu 23 Apr 2009, 01:39

#51 Post 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 ?? ()

User avatar
sullysat
Posts: 367
Joined: Tue 16 Oct 2007, 19:23
Location: San Antonio, TX

#52 Post 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?

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#53 Post 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
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#54 Post 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
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
sullysat
Posts: 367
Joined: Tue 16 Oct 2007, 19:23
Location: San Antonio, TX

#55 Post by sullysat »

Mark,

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

Sully

PupMike
Posts: 18
Joined: Thu 23 Apr 2009, 01:39

#56 Post 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

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#57 Post 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
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
sullysat
Posts: 367
Joined: Tue 16 Oct 2007, 19:23
Location: San Antonio, TX

#58 Post 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
Puppy Files Mirror - [b][url]http://www.wisdom-seekers.com/puppy.html[/url][/b]
Classic Puppy Page - [b][url]http://www.wisdom-seekers.com/puppy214x.html[/url][/b]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#59 Post 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
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

PupMike
Posts: 18
Joined: Thu 23 Apr 2009, 01:39

#60 Post 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

PupMike
Posts: 18
Joined: Thu 23 Apr 2009, 01:39

#61 Post 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

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#62 Post by MU »

fantastic, so I can continue on the tabs this weekend.
Adding the rest should not be difficult :-)

Thanks Mike!
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#63 Post 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
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#64 Post 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
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#65 Post 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
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

Post Reply