🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #225293

Re: [XPN] Link-No-Link

#225293
From: Patrick Lamaizière
Date: Mon, 01 Sep 2008 20:15
39 lines
2510 bytes
Cousin Stanley wrote:

>
> Greetings, News .... Readers
>
>   I'm a long-time user and fan of the Python-based XPN news client,
>   but had been mostly away from it and Usenet for a while ....
>
>   A few weeks back I installed XPN 1.0.0 under Debian Lenny
>   but found the links posted in articles were not working 
>   simply by clicking on them and had to always copy/paste
>   the links into a browser .... 
>
>   I tried setting different browsers in the prefs
>   using both simple and full paths but none worked .... 
>
>       opera %s &
>       konqueror %s &
>       iceweasel %s &
>
>       /usr/bin/opera %s &
>       /usr/bin/konqueror %s &
>       /usr/bin/iceweasel %s &
>
>   Also tried monkeying with various browser configs
>   over in the  /etc/alternatives  dir to no avail ....

Well it looks like a bug, XPN enforces the use of a "%s" in the
parameter for the custom browser, but i don't think that the python
class "webbrower" expects a command with a '%s' in.

Antonio?

Try this quick fix in file Config_Win.py, at line 267
#        if self.browser_checkbutton.get_active() and self.browser_entry.get_text().strip() and \
#           self.exists(self.browser_entry.get_text().strip()):
        if self.browser_checkbutton.get_active(): 

Then just set the browser to /usr/bin/opera for instance.

it works for me on Mac Os X to launch konqueror.
Technical Details
Message-ID: <g9higd$is9$1@news.davenulle.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!club-internet.fr!feedme-small.clubint.net!usenet-fr.net!gegeweb.org!news.davenulle.org!not-for-mail
References: <g9g91e$1nb$1@aioe.org>

Show Full Headers
Complete Article Headers
Message-ID: <g9higd$is9$1@news.davenulle.org>
Subject: Re: [XPN] Link-No-Link
Date: Mon, 01 Sep 2008 20:15:09 +0000
From: Patrick Lamaizière <patnews1@davenulle.org>
References: <g9g91e$1nb$1@aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!club-internet.fr!feedme-small.clubint.net!usenet-fr.net!gegeweb.org!news.davenulle.org!not-for-mail
Newsgroups: news.software.readers
Organization: >/dave/nulle
Lines: 39
NNTP-Posting-Host: 83.10.87-79.rev.gaoland.net
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Trace: news.davenulle.org 1220300109 19337 79.87.10.83 (1 Sep 2008 20:15:09
 GMT)
X-Complaints-To: abuse@davenulle.org
NNTP-Posting-Date: Mon, 1 Sep 2008 20:15:09 +0000 (UTC)
User-Agent: XPN/1.2.5beta1 (Emancipation ; Darwin)