ultratiny html viewer - PuppyBrowser 0.5 + embeddedbookmarks

Under development: PCMCIA, wireless, etc.
Message
Author
User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#41 Post by ttuuxxx »

Hey mark another idea might be webkit+Qt once you get this browser fully functional, That would be handy to have Qt in puppy by default, probably would be smaller than Seamonkey by a little bit.
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
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#42 Post by MU »

Sully,

I just installed puppy-4.00-k2.6.21.7-seamonkey.iso in virtualbox.
Installed Pictureviewer 0.3, PuppyBrowser 0.2, libgee-2008.
And it works :shock:

So what might be wrong?
Please rename these two files in /root/:
.gtk-bookmarks
.recently-used.xbel

These are hiddn configfiles from Gtk.
They sometimes prevent applications to start properly.

Does that help?
Does the pictureviewer work?

---------------------------
ttuuxx, yes, I first want to solve the tabbed browsing issue, then look at webkit.
Here is examplecode:
http://code.valaide.org/node?page=2
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

#43 Post by sullysat »

MU wrote: I just installed puppy-4.00-k2.6.21.7-seamonkey.iso in virtualbox.
Installed Pictureviewer 0.3, PuppyBrowser 0.2, libgee-2008.
And it works

So what might be wrong?
Please rename these two files in /root/:
.gtk-bookmarks
.recently-used.xbel
I renamed the files with no effect.

I'm running Seamonkey 1.1.14.
MU wrote: Does that help?
Does the pictureviewer work?
Downloaded and installed Pictureviewer. That works fine.

I love a good mystery!

Sully

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

#44 Post by MU »

Sully,
I see two possible issues.

1.) you installed somethink, that "broke" the old Seamonkey setup, like a different version.
Or another program. A broken Gtk theme?

2.) what makes me wonder is, that gdb is not found.
Puppy 400 used the erratic "unionfs" driver.
It had a bad effect, it corrupted files, and SFS were not loaded correctly.

Please boot Puppy with the option:

(from CD, by typing at the bootscreen):
puppy layerfs=aufs

(from Grub):
add in the end of the line, that loads the kernel:
layerfs=aufs

If this does not help, it should be something with the mozilla libraries.
You could verify it by running Puppy without savefile, from CD with the bootoption:
puppy pfix=ram

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:

#45 Post by MU »

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
[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:

#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

Post Reply