🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
8 messages
8 total messages Started by Cousin Stanley Mon, 01 Sep 2008 08:27
[XPN] Link-No-Link
#225288
Author: Cousin Stanley
Date: Mon, 01 Sep 2008 08:27
59 lines
2576 bytes
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 ....

  Instead of using the Debian package, I also tried
  installing XPN 1.0 from the source tar.gz package
  at the originating website .... 

      http://xpn.altervista.org

  Same problem .... no link-eee .... no work-eee .... 

  Also tried the latest  xpn-1.2.5beta1  version
  from the website, but that hasn't helped link-wise
  either .... 

  The XPN link-no-link problem also is showing up for me
  under Kubuntu 8.04 .... 

  However, in spite of this problem I  will  stick
  with XPN because I like it, find it useful, and
  know that  eventually  this problem will be resolved .... 

  The new XPN 1.2 beta is working  very  well and seems 
  quite a bit faster than previous versions .... 

  I've un-installed all the older versions that I had
  recently tested under both Debian Lenny and Kubuntu
  in favor of the new beta ....

  Any clues to this link-no-link problem in XPN ?


-- 
Stanley C. Kitching
Human Being
Phoenix, Arizona
Re: [XPN] Link-No-Link
#225293
Author: 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.
Re: [XPN] Link-No-Link
#225294
Author: Cousin Stanley
Date: Mon, 01 Sep 2008 22:01
62 lines
2797 bytes
> 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.

Patrick .... 

  The fix you that you sent for replacing the 2-line compound if
  statment with the more simple 1-liner in Config_Win.py mostly 
  works ....

    If the browser is already open .... 
       
       o Links work
       
       o No problem returning to XPN

    If the browser is  NOT  already open .... 
       
       o Links work, opening browser
       
       o Problem returning to XPN ....
         
         Only the gtk gui outline is shown with no content at all
         displayed in Groups, Headers, Articles panes
 
         The application becomes non-responsive and must be closed

  So, for now I'll just make sure that the browser is open
  BEFORE clicking on a link in an XPN article pane ....

  This test was using Opera 9.52 under Debian Lenny 
  with xpn-1.2.5beta1 ....

  I will also test Iceweasel (Firefox) and Konqueror under both
  Debian and Kubuntu later as time permits ....

  Thanks for sending the fix as it's very much appreciated .... 

  I've used XPN since it first became available 
  and am sure that Cousin Antonio will deal with 
  this in the very near future ....


-- 
Stanley C. Kitching
Human Being
Phoenix, Arizona
Re: [XPN] Link-No-Link
#225300
Author: Michael Perry
Date: Tue, 02 Sep 2008 02:43
67 lines
3432 bytes
On Mon, 1 Sep 2008 10:27:26 +0200 (CEST), 
Cousin Stanley <cousinstanley@gmail.com> 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 ....
>
>   Instead of using the Debian package, I also tried
>   installing XPN 1.0 from the source tar.gz package
>   at the originating website .... 
>
>       http://xpn.altervista.org
>
>   Same problem .... no link-eee .... no work-eee .... 
>
>   Also tried the latest  xpn-1.2.5beta1  version
>   from the website, but that hasn't helped link-wise
>   either .... 
>
>   The XPN link-no-link problem also is showing up for me
>   under Kubuntu 8.04 .... 
>
>   However, in spite of this problem I  will  stick
>   with XPN because I like it, find it useful, and
>   know that  eventually  this problem will be resolved .... 
>
>   The new XPN 1.2 beta is working  very  well and seems 
>   quite a bit faster than previous versions .... 
>
>   I've un-installed all the older versions that I had
>   recently tested under both Debian Lenny and Kubuntu
>   in favor of the new beta ....
>
>   Any clues to this link-no-link problem in XPN ?
>
>
Its interesting that I used to see something of a similar behavior way 
back when when you had to hand edit thunderbird and firefox profiles to 
include the paths for external viewers. I wrote a few basic bash shell 
scripts that provided a method to launch a web browser but the only way 
I could truly troubleshoot the problems was to attempt to click a link 
in the mail client or whatever while I launched the application in a 
terminal.

I wonder if you launch xpn in a terminal if you get any clues.

Just an idea though...
Re: Link-No-Link
#225307
Author: Nemesis
Date: Tue, 02 Sep 2008 10:40
28 lines
2177 bytes
On Sep 2, 12:01 am, Cousin Stanley <cousinstan...@gmail.com> wrote:

[XPN, links problem]
>     If the browser is already open ....
>
>        o Links work
>
>        o No problem returning toXPN
>
>     If the browser is  NOT  already open ....
>
>        o Links work, opening browser
>
>        o Problem returning toXPN....
>
>          Only the gtk gui outline is shown with no content at all
>          displayed in Groups, Headers, Articles panes
>
>          The application becomes non-responsive and must be closed

Stanley, try adding the & at the end of the command line, the browser
should be 'detached' from XPN.
For example:
/usr/bin/opera &

Re: Link-No-Link
#225309
Author: Nemesis
Date: Tue, 02 Sep 2008 12:47
12 lines
1853 bytes
On Sep 1, 10:15 pm, Patrick Lamaizière <patne...@davenulle.org> wrote:

>   over in the  /etc/alternatives  dir to no avail ....
>
> Well it looks like a bug,XPNenforces 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?

I'm not sure Patrick. Python doc is not very clear about the
webbrowser module, I'll have to check the sources ...
Re: Link-No-Link
#225315
Author: Cousin Stanley
Date: Tue, 02 Sep 2008 18:18
21 lines
1434 bytes
> Stanley, try adding the & at the end of the command line, 
> the browser should be 'detached' from XPN.
> 
> For example :  /usr/bin/opera &

  Antonio .... 

    I tried adding the  &  at the end of the command line
    but using it disables the clickable links that do work
    without it .... 

    Using  xpn-1.2.5beta1  with the small patch
    that Cousin Patrick posted in place ....


-- 
Stanley C. Kitching
Human Being
Phoenix, Arizona
Re: [XPN] Link-No-Link
#225314
Author: Cousin Stanley
Date: Tue, 02 Sep 2008 18:36
21 lines
1356 bytes
> ....
> I wonder if you launch xpn in a terminal if you get any clues.
> ....

  Hi Michael .... 

    I  mostly  do launch XPN using an alias from a terminal window 
    although I also have a desktop icon for it that I do use 
    on occasion ....

      alias xpn='python2.5 /usr/local/lib/xpn-1.2.5beta1/xpn.py &'

    Unfortunately, no clues arise ....


-- 
Stanley C. Kitching
Human Being
Phoenix, Arizona
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads