Re: NetSurf question
by Rob Kendrick
On Wed, 2007-12-26 at 10:52 +0000, Daniel Taylor wrote:
> I got a log and have attached it. I get the same result (more or less) running the executable as I do the netsurf script.
OK. Can you try launching the NetSurf launcher script with a file://
URL? It appears to die after trying to do HTTP with libcurl. If that
also crashes, is it possible for you to run it under a debugger, such as
GDB, and find out where the crash is?
Is it possible for you to join the NetSurf developers' mailing list?
More eyes on this may reveal more clues.
(To people on the list, the log looked perfectly normal, and the last
line was:
desktop/browser.c browser_window_go_post 278: bw 0x21d488, url
http://netsurf-browser.org/)
B.
15 years, 8 months
Re: NetSurf question
by Rob Kendrick
On Wed, 2007-12-26 at 22:53 +0000, Daniel Taylor wrote:
> > OK. Can you try launching the NetSurf launcher script with a file://
> > URL? It appears to die after trying to do HTTP with libcurl. If that
> > also crashes, is it possible for you to run it under a debugger, such as
> > GDB, and find out where the crash is?
>
> It still crashes with that command, and I don't know if GDB is available, but I'll check.
>
> I've attached the new log, FWIW.
I can't spot it.
> > Is it possible for you to join the NetSurf developers' mailing list?
> > More eyes on this may reveal more clues.
>
> Sure. Where do I sign up,
http://www.netsurf-browser.org/lists
> what new URL should I send further e-mails to,
Once you've subscribed, netsurf-dev(a)netsurf-browser.org
> should I re-ask the question,
Myself and James have CCed our replies to the list so others don't miss
it.
> and can I unsubscribe when this is over?
Sure, if you want. It's very very low traffic though!
> Sorry for all of the questions.
B.
15 years, 8 months
Re: NetSurf question
by Rob Kendrick
On Tue, 2007-12-25 at 22:55 +0000, Daniel Taylor wrote:
> I'm using the "nsgtk" script.
There is no "nsgtk" script - that's the name of the binary - it requires
some environment variables to be set up for it to find its resources.
If you're just trying to run it inside the directory you built it, just
type "./netsurf". Otherwise, look at the source to the netsurf launcher
shellscript, and adapt it to your needs.
> My hardware is a Sharp Zaurus SL-C3100,
> ARM 416MHz CPU, 64MB RAM running Linux 2.6.16 (pdaXrom) with GTK 1.2.10
> and GTK2 2.10.x if I recall correctly.
NetSurf won't use GTK 1, but it does require at least GTK 2.10 IIRC, it
may actually require later than that - I'll check and get back to you.
> The files mentioned do not exist (no netsurf-log.txt in either place).
> ~/.netsurf does exist. I am running this from the directory I built
> NetSurf in because I saw no immediate way to "make install" it.
NetSurf will automatically create ~/.netsurf when it initially launches.
Obviously, it's crashing before then. It also won't produce a log file
unless you're using the launcher script, as the log is just sent to
stdout - the launcher redirects it to one of the files I mentioned. Use
the launcher script, and remember to call with -v to enable the logging.
Also try creating ~/.netsurf yourself before launching it to simplify
matters.
> Thank you for your help. I hope this is not a stupid user error.
B.
15 years, 9 months
Re: NetSurf question
by James Bursa
Hi Daniel
I've copied this reply to the developer mailing list.
> I recently built NetSurf for Linux/GTK, but it crashes on launch saying:
>
> (nsgtk:1641): libglade-WARNING **: could not find signal handler
> 'on_menupopup_navigate_activate'.
>
> (nsgtk:1641): Gtk-WARNING **: gtk_menu_attach_to_widget(): menu already
> attached to GtkMenuItem
>
> (nsgtk:1641): Gtk-WARNING **: gtk_menu_attach_to_widget(): menu already
> attached to GtkMenuItem
>
> (nsgtk:1641): Gtk-WARNING **: gtk_menu_attach_to_widget(): menu already
> attached to GtkMenuItem
>
> (nsgtk:1641): Gtk-WARNING **: gtk_menu_attach_to_widget(): menu already
> attached to GtkMenuItem
>
> (nsgtk:1641): Gtk-WARNING **: gtk_menu_attach_to_widget(): menu already
> attached to GtkMenuItem
> Aborted
>
>
> Is there a way to make it work for me? Thank you, and sorry if you are the
> wrong person to e-mail this question to.
>
> Daniel Taylor
These messages are warnings and I don't think they're directly related to the
reason it crashes.
Are you using the netsurf shell script to run it? Could you send the log file,
probably /tmp/netsurf-log.txt ?
James
15 years, 9 months
translation of the testsite
by Simon Voortman
Hi all,
Michael Drake suggested I asked here which parts of the new site are
stable and can be translated.
Also, it would be handy to have a way to view the (old) web-documentation
while translating it. At the moment the */css file isn't loading, so it's
not displaying like the website.
I can setup a local webserver for that. Are there any special settings to
be made? (For example, to make the switch between the various languages
work?)
Cheers,
Simon.
--
Durf anders te zijn, gebruik Linux!
15 years, 9 months
Fix for non-ASCII key input in GTK port
by Dmitry Artamonow
Good day!
Recently discovered your wonderful browser, and decided to give it a
try under Linux. The only thing that made me sad was inability to
enter russian text in web-forms. Instead of cyrillic symbols
some strange indian hieroglyphs appeared after a keypress.
After some looking at the code I came up with following one-line patch
(against latest SVN), that fixes the issue completely.
Index: gtk/gtk_window.c
===================================================================
--- gtk/gtk_window.c (revision 3666)
+++ gtk/gtk_window.c (working copy)
@@ -400,7 +400,7 @@
case GDK_Hyper_L:
case GDK_Hyper_R: return 0;
- default: return key->keyval;
+ default: return gdk_keyval_to_unicode (key->keyval);
}
}
--
Best regards,
Dmitry "MAD" Artamonow
15 years, 9 months