Re: Non gnome environment

dik Harris <dik-JAjqph6Yjy/cSEzPnNHnhfd9D2ou9A/[email protected]> Sat, 10 Feb 2007 17:00:33 -0500
Newsgroups gmane.comp.gnome.apps.pybliographer
Message-ID <[email protected]>
Thanks!

I do not know which gnome libraries are being used - or should be used. 
It would be helpful to know which ones, so that I could verify.
I'm running Pyb 1.2.9 on Debian, using the Debian package.

The fact remains that when I try to load a URL from the pybliographic
interface, I get an error.

"Cannot open URL:
There was an error launching the default action command associated with 
this location."

I have set the application for text/html to /usr/bin/firefox in the 
Resource dialogue.

My understanding was that the error was because pyb could not find the 
gnome environment - libraries? - rather than because of an error 
launching firefox itself. Is there a way to better diagnose this?

Thanks for your time.

RH




Peter Schulte-Stracke wrote:
>> From: dik Harris <dik-JAjqph6Yjy/cSEzPnNHnhfd9D2ou9A/[email protected]>
>> To: pybliographer-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>> Date: Fri, 09 Feb 2007 12:12:38 -0500
>> Subject: Non gnome environment
>> Hi:
>>
>> Does anyone know whether there is a way to handle URLs in pybliographer
>> without running gnome? From what I gather, a click on the icon inside
>> pybliographic is handled by gnome ... but there is presumably a place in
>> pybliographer itself where the default browser is set? And, then, what
>> about other mime types?
> 
> Do you mean running Pyblio (1.2) without Gnome libraries? As far as I
> can tell we load, inadvertedly I suppose, quite a bunch of Gnome
> libraries upon startup. This is a bad think, and bound to change in t he
> future. Perhaps the people porting Pyblio to Windows have succeeded in
> removing these dependencies?
> Otherwise I see no way to avoid using it for the time being.
> 
> The coding in the Resource module uses a gnomevfs finction to obtain a
> file's mime type. I could scout for a non-gnome function -- surely there
> is -- but as long as there are other dependencies this is not so urgent,
> I presume.
> 
> The connection between mime types and application is set in the Resource
> tab of the configuration dialogue.
> 
> Regards,
> 	Peter
> 
> 
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Pybliographer-general mailing list
> Pybliographer-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/pybliographer-general

-- 
Professor R. (dik) Harris


Physics Department 				Phone: (514) 398 6522
McGill University
Rutherford Physics Building			FAX:   (514) 398 8434
3600 University Street
Montreal, Quebec, Canada			Email:
H3A 2T8						  [email protected]

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642