🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
18 messages
18 total messages Started by Nemesis Thu, 13 Oct 2005 19:52
[ANN] XPN 0.5.5 released
#174988
Author: Nemesis
Date: Thu, 13 Oct 2005 19:52
41 lines
2714 bytes
XPN (X Python Newsreader) is a multi-platform newsreader with Unicode
support. It is written with Python+GTK. It has features like
scoring/actions, X-Face and Face decoding, muting of quoted text,
newsrc import/export, find article and search in the body, spoiler
char/rot13, random taglines and configurable attribution lines.

You can find it on:

http://xpn.altervista.org/index-en.html

or

http://sf.net/projects/xpn


Changes in this release:

    *  improved support for outgoing/draft articles, now is possible to
       re-edit queued articles.
    *  added a simple SSL connection support (no certificates checks)
    *  added multipart article support (no binary attachments support)
    *  added German translation (thanks to Rene Fischer)
    *  fixed a bug that caused crashes with strange Date fields
    *  fixed a bug in newsrc importing, now is alse possible to import
       not standard newsrc files like the Xnews ones.
    *  fixed a bug in the newsrc system that caused a crash with groups
       containings lots of articles
    *  a lot of little bug-fixes and little enhancements

XPN is translated in Italian French and German, if you'd like to
translate it
in your language and you are familiar with gettext and po-files
editing please contact me (xpn@altervista.org).
-- 
This is not a beer belly. It's a fuel tank for a sex machine.
 
 |\ |       |HomePage   : http://nem01.altervista.org
 | \|emesis |XPN (my nr): http://xpn.altervista.org


Re: [ANN] XPN 0.5.5 released
#175003
Author: Mike Dee
Date: Fri, 14 Oct 2005 14:28
28 lines
2300 bytes
Nemesis wrote:

> XPN (X Python Newsreader) is a multi-platform newsreader with Unicode
> support. It is written with Python+GTK. It has features like
> scoring/actions, X-Face and Face decoding, muting of quoted text,
> newsrc import/export, find article and search in the body, spoiler
> char/rot13, random taglines and configurable attribution lines.
>
> You can find it on:
>
> http://xpn.altervista.org/index-en.html

Hi and thanks for the update, Nemesis.

XPN still runs very well under Windows 98SE you may like to know :-)

A few UI additions I would like to see in future versions;
* In Newsgroups window the ability to right click a group name and get a
menu.
* In Subject window, the ability to Select All, Select [n] Articles,
Mark Selected [articles] as Read/Unread (not only one at a time).
* In Subscribed Groups menu, the ability to download [n] headers
* In setup; Subscribe to more than one newsserver.

Cheers.

-- 
dee
Re: [ANN] XPN 0.5.5 released
#175007
Author: Nemesis
Date: Fri, 14 Oct 2005 17:35
29 lines
2479 bytes
Mentre io pensavo ad una intro simpatica "Mike Dee" scriveva:

>> XPN (X Python Newsreader) is a multi-platform newsreader with Unicode
>> support. It is written with Python+GTK. [...]
> Hi and thanks for the update, Nemesis.
> XPN still runs very well under Windows 98SE you may like to know :-)

Hi Mike, I'm happy to know that :-D

> A few UI additions I would like to see in future versions;
> * In Newsgroups window the ability to right click a group name and get a
> menu.
> * In Subject window, the ability to Select All, Select [n] Articles,
> Mark Selected [articles] as Read/Unread (not only one at a time).
> * In Subscribed Groups menu, the ability to download [n] headers

The next released will be focused on bugfixes and interface upgrades, I
think I'll add some of the features you are requesting.

> * In setup; Subscribe to more than one newsserver.

This is very tough, I have to solve a lot of problems in order to
introduce multiple servers support.
-- 
Devoted to the study of cat bathing as a martial art.
 
 |\ |       |HomePage   : http://nem01.altervista.org
 | \|emesis |XPN (my nr): http://xpn.altervista.org
Re: [ANN] XPN 0.5.5 released
#175010
Author: Ted S.
Date: Fri, 14 Oct 2005 18:29
13 lines
1453 bytes
Somebody claiming to be Mike Dee <mikedee@invalid.invalid> wrote in 
news:20051014142709.-212433.59853.XPN@emteedee:

> XPN still runs very well under Windows 98SE you may like to know :-)
> 

Still runs?  I couldn't get it to work last time I downloaded it.  I'll 
have to try the new version over the weekend....

-- 
Ted <fedya at bestweb dot net>
Oh Marge, anyone can miss Canada, all tucked away down there....
--Homer Simpson
Re: [ANN] XPN 0.5.5 released
#175013
Author: Mike Dee
Date: Fri, 14 Oct 2005 23:42
50 lines
3301 bytes
Ted S. wrote:

>> XPN still runs very well under Windows 98SE you may like to know :-) 
>
> Still runs?  I couldn't get it to work last time I downloaded it.  I'll 
> have to try the new version over the weekend....

Hi Ted. Yes it runs well under 98SE. But it was a process of trial and
error before I was able to use it.

That is; I gave up trying the binary releases for Win32, instead I use
the "source" release. "XPN 0.5.5 (source) [tgz - 216KB]"

The XPN download page outlays the additional required libraries
>From the XPN DL page: <http://xpn.altervista.org/download-en.html>

/*-----------------------------
XPN is written with Python and GTK+2 toolkit. In order to run it
youhave to install:

    * Python - ver. 2.4 or better
    * PyGTK - ver. 2.4.1 or better
    * GTK+ - ver. 2.4 or better

I have used (with success) XPN source version on Linux (RH9, FC2)
and Windows (2000, XP)

Note for Windows users. Those who uses Linux probably will find
Python a GTK on their distribution CD. Windows users instead can
download the software from these links:

    * Python - http://www.python.org
    * PyGTK / win32 - http://www.pcpm.ucl.ac.be/~gustin/win32_ports/
    * GTK+ runtimes- http://gladewin32.sourceforge.net/

Once you have installed Python you have to add its directory to
thepath. Do the same for the "lib" directory of GTK (installer can do
it for you). Now install pygtk and everything should work.

XPN doesn't require an installation. Unzip the tarball and launch xpn.py.
*/------------------------------

I already had Python and GTK+ installed for other programs I run. It's
important that you add links to them in your PATH in autoexec.bat Once
you have those it's just a matter of unzipping the tarball and
doubleclicking xpn.py to launch.

-- 
dee
Re: [ANN] XPN 0.5.5 released
#175014
Author: Mike Dee
Date: Fri, 14 Oct 2005 23:53
28 lines
2351 bytes
Nemesis wrote:

> The next released will be focused on bugfixes and interface upgrades, I
> think I'll add some of the features you are requesting.
>
>> * In setup; Subscribe to more than one newsserver.
>
> This is very tough, I have to solve a lot of problems in order to
> introduce multiple servers support.

Life's not meant to be easy. Perhaps this why you've chosen a path of
tortured hell, as a programmer ;-)

It would be nice to see any changes made that will improve XPN.

One thing, in Prefences under Misc, the setting for an external editor,
examples given are:
xterm -e %s
gvim -f %s
notepad.exe %s

I like to use Jarte.exe as an external editor so I have entered
"jarte.exe %s" into the field. When I try to launch Jarte I get a Python
error, "Bad command or file name". What is happening here? Do I need to
have Jarte in the path as well?

-- 
dee
Re: [ANN] XPN 0.5.5 released
#175016
Author: Mike Dee
Date: Sat, 15 Oct 2005 01:36
42 lines
3105 bytes
Mike Dee <mikedee@invalid.invalid> wrote in news:20051014235224.-227945.73872.XPN@emteedee:

> I like to use Jarte.exe as an external editor so I have entered
> "jarte.exe %s" into the field. When I try to launch Jarte I get a
> Python error, "Bad command or file name". What is happening here?
> Do I need to have Jarte in the path as well?

Answering my own question, but a further one for Nemesis.

Adding Jarte to the path solved the above. However as soon as
Jarte.exe launches as my external editor Jarte gives this error:

     File "temp_article.txt"
     Could not be found
                [OK]

And of course the body-text from XPN doesn't get parsed. There is
also a long error message from Python

<long error message>
c:\xpn-0.5.5\xpn_src\Edit_Win.py:301: GtkWarning: Invalid text
buffer iterator: either the iterator is uninitialized, or the
characters/pixbuffs/widgets in the buffer have been modified since
the iterator has been created.
You must use marks, character numbers, or line numbers to preserve a
position across buffer modifications.
You can apply tags and insert marks without invalidating your
iterators, but any mutation that effects 'indexable' buffer contents
(contents that can be reffered to by character offset) will
invalidate all outstanding iterators
self.buffer.insert_with_tags_by_name(self.buffer.get_end_iter(),string.encode("utf-8"),tag)
c:\xpn-0.5.5\xpn_src\Edit_win.py:301:
GtkWarning: file gtktextbuffer.c: line 2269
(gtk_text_buffer_apply_tags_by_name): assertion 
'gtk_text_iter_get_buffer (end) == buffer' failed 
self.buffer.insert_with_tags_by_name(self.buffer.get_end_iter(),string.encode("utf-8),tag)
</long error message>

Any chance of resolving this?

-- 
dee
Re: [ANN] XPN 0.5.5 released
#175026
Author: Nemesis
Date: Sat, 15 Oct 2005 08:35
16 lines
1953 bytes
Mentre io pensavo ad una intro simpatica "Ted S." scriveva:

>> XPN still runs very well under Windows 98SE you may like to know :-)
> Still runs?  I couldn't get it to work last time I downloaded it.  I'll 
> have to try the new version over the weekend....

I think he is talking about the source version, wich works also on
Win98. But of course you have to install Python, PyGtk and GTK
separately.

-- 
Geometry: What the acorn said when it grew up.
 
 |\ |       |HomePage   : http://nem01.altervista.org
 | \|emesis |XPN (my nr): http://xpn.altervista.org
Re: [ANN] XPN 0.5.5 released
#175029
Author: Nemesis
Date: Sat, 15 Oct 2005 13:36
30 lines
2422 bytes
Mentre io pensavo ad una intro simpatica "Mike Dee" scriveva:

>>> * In setup; Subscribe to more than one newsserver.
>> This is very tough, I have to solve a lot of problems in order to
>> introduce multiple servers support.
> Life's not meant to be easy. Perhaps this why you've chosen a path of
> tortured hell, as a programmer ;-)

Yes I know, but I'm not a programmer, XPN is a hobby, I'm a digital
designer :-D

> One thing, in Prefences under Misc, the setting for an external editor,
> examples given are:
> xterm -e %s
> gvim -f %s
> notepad.exe %s
>
> I like to use Jarte.exe as an external editor so I have entered
> "jarte.exe %s" into the field. When I try to launch Jarte I get a Python
> error, "Bad command or file name". What is happening here? Do I need to
> have Jarte in the path as well?

Yes, of course.

-- 
"Urquiaga ha un piede solo". (Bruno Pizzul)
 
 |\ |       |HomePage   : http://nem01.altervista.org
 | \|emesis |XPN (my nr): http://xpn.altervista.org
Re: [ANN] XPN 0.5.5 released
#175030
Author: Nemesis
Date: Sat, 15 Oct 2005 13:36
41 lines
2842 bytes
Mentre io pensavo ad una intro simpatica "Mike Dee" scriveva:

> Adding Jarte to the path solved the above. However as soon as
> Jarte.exe launches as my external editor Jarte gives this error:
>
>      File "temp_article.txt"
>      Could not be found
>                 [OK]
>
> And of course the body-text from XPN doesn't get parsed. There is
> also a long error message from Python
> <long error message>
> </long error message>

This error is generated cause it is not able to find the article edited.

> Any chance of resolving this?

First try changing the editor, for instance try using notepad.exe %s,
the problem could be the way jarte take commandline options.
Then you can tweak a little bit inside the XPN code, for instance open
the xpn_src/Edit_Win.py file, on line 48 you'll find the external_editor
function.

Inside this function there is the line:

command=command.replace("%s",filename)

this is the command that will be executed, add this line after it:

print command

and you will able to read the command on the console, so we can try to
understand where is the problem.

-- 
How does a blonde like her eggs? Unfertilized.
 
 |\ |       |HomePage   : http://nem01.altervista.org
 | \|emesis |XPN (my nr): http://xpn.altervista.org
Re: [ANN] XPN 0.5.5 released
#175032
Author: Mike Dee
Date: Sat, 15 Oct 2005 15:33
36 lines
2589 bytes
Nemesis wrote:

> This error is generated cause it is not able to find the article edited.
>
>> Any chance of resolving this?
>
> First try changing the editor, for instance try using notepad.exe %s,
> the problem could be the way jarte take commandline options.
> Then you can tweak a little bit inside the XPN code, for instance open
> the xpn_src/Edit_Win.py file, on line 48 you'll find the external_editor
> function.

OK thanks, I used Python IDLE to edit this (seemed appropriate) :-)

> Inside this function there is the line:
>
> command=command.replace("%s",filename)
>
> this is the command that will be executed, add this line after it:
>
> print command
>
> and you will able to read the command on the console, so we can try to
> understand where is the problem.

Groan. Not the console again. Any way to grab the text dump from this
in Windblows?

Actually the dump in the console is brief this time:

jarte.exe temp_article.txt

-- 
dee

Re: [ANN] XPN 0.5.5 released
#175034
Author: Mike Dee
Date: Sat, 15 Oct 2005 15:51
29 lines
2238 bytes
Mike Dee wrote:

> Groan. Not the console again. Any way to grab the text dump from this
> in Windblows?
>
> Actually the dump in the console is brief this time:
>
> jarte.exe temp_article.txt

Tried it also with notepad.exe as you suggested.

It's much the same as with jarte. Notepad's error goes like this:

Cannot find the temp_article.txt file
Do you want to create a new file?
             [Yes]   [No]

Clicking Yes creates an empty "temp_article.txt" file, clicking No
creates an "Untitled" empty document window.

In the console:
notepad.exe temp_article.txt

Anything else to try?

-- 
dee

Re: [ANN] XPN 0.5.5 released
#175037
Author: Nemesis
Date: Sat, 15 Oct 2005 18:23
44 lines
2966 bytes
Mentre io pensavo ad una intro simpatica "Mike Dee" scriveva:

>> Groan. Not the console again. Any way to grab the text dump from this
>> in Windblows?
>>
>> Actually the dump in the console is brief this time:
>>
>> jarte.exe temp_article.txt
>
> Tried it also with notepad.exe as you suggested.

> It's much the same as with jarte. Notepad's error goes like this:
[...]

It seems that on windows the editor is not able to open the file in the
current directory ... or the file is deleted before the editor can read
it.
The feature works fine on windows and I remember using it on windows as
well, but I'll do other tries.
[..after trying]
... it works well on WindowsXP. So it is probably a Win98 related
problem

> Anything else to try?

You could test if the file exists. Just launch the external editor and
open the main xpn directory (the dir that contains xpn.py too), you
should find inside it a file named 'temp_article.txt'. XPN should
remove it only when the external editor is closed.

You could try adding the complete path before the %s, like this:

jarte.exe c:\full\path\to\xpn\%s

It should work ... but it probably won't work if you have spaces in the
path.

-- 
Fear is the tax that conscience pays to guilt.
 
 |\ |       |HomePage   : http://nem01.altervista.org
 | \|emesis |XPN (my nr): http://xpn.altervista.org

Re: [ANN] XPN 0.5.5 released
#175043
Author: Mike Dee
Date: Sun, 16 Oct 2005 00:09
39 lines
2797 bytes
Nemesis wrote:

> ... it works well on WindowsXP. So it is probably a Win98 related
> problem
>
>> Anything else to try?
>
> You could test if the file exists. Just launch the external editor and
> open the main xpn directory (the dir that contains xpn.py too), you
> should find inside it a file named 'temp_article.txt'. XPN should
> remove it only when the external editor is closed.
>
> You could try adding the complete path before the %s, like this:
>
> jarte.exe c:\full\path\to\xpn\%s
>
> It should work ... but it probably won't work if you have spaces in the
> path.
>

I now get error message in Jarte:

"File c:\xpn-0.5.5\temp_article.txt could not be found"

And in the console (because I'm still dumping the print command)

"jarte.exe c:\xpn-0.5.5\temp_article.txt"

temp_article.txt is not getting created, it is not located in
c:\xpn-0.5.5 so my feelings are that the first <long error message> I
reported, is more likely what is happening. It may be a Win 98 thing as
you say, so I'll leave it at that for now.

Thanks for trying to resolve this.

-- 
dee

Re: [ANN] XPN 0.5.5 released
#175049
Author: Mike Dee
Date: Sun, 16 Oct 2005 06:18
30 lines
2654 bytes
Mike Dee <mikedee@invalid.invalid> wrote in
news:20051016000855.-59137.436.XPN@emteedee: 

> temp_article.txt is not getting created, it is not located in
> c:\xpn-0.5.5 so my feelings are that the first <long error
> message> I reported, is more likely what is happening. It may be a
> Win 98 thing as you say, so I'll leave it at that for now.
> 
> Thanks for trying to resolve this.

I am 99.9% sure that this is a bug in Gtk+ that I am using. And not
in XPN, Python OR Win98 

The error that Python gives is pointing at what I believe to be the
problem. 

/*
c:\xpn-0.5.5\xpn_src\Edit_win.py:301:
GtkWarning: file gtktextbuffer.c: line 2269
(gtk_text_buffer_apply_tags_by_name): assertion 
'gtk_text_iter_get_buffer (end) == buffer' failed 
self.buffer.insert_with_tags_by_name(self.buffer.get_end_iter(),string.encode("utf-8"),tag)
*/

Googling on "gtktextbuffer.c" has dug up a lot of info and reports
on a specific bug in GTK+, I guess that has been fixed with the versions you
are using. 

-- 
dee
Re: [ANN] XPN 0.5.5 released
#175062
Author: Nemesis
Date: Sun, 16 Oct 2005 17:53
32 lines
2800 bytes
Mentre io pensavo ad una intro simpatica "Mike Dee" scriveva:


>> temp_article.txt is not getting created, it is not located in
>> c:\xpn-0.5.5 so my feelings are that the first <long error
>> message> I reported, is more likely what is happening. It may be a
>> Win 98 thing as you say, so I'll leave it at that for now.
>> 
>> Thanks for trying to resolve this.
>
> I am 99.9% sure that this is a bug in Gtk+ that I am using. And not
> in XPN, Python OR Win98 
>
> The error that Python gives is pointing at what I believe to be the
> problem. 
[...]
> Googling on "gtktextbuffer.c" has dug up a lot of info and reports
> on a specific bug in GTK+, I guess that has been fixed with the versions you
> are using. 

It could be. But the file temp_article.txt shuld be there, it is created
before reaching the point that causes this error. I think that win98
handles in a different way the python "os.command".



-- 
Cover me. I'm changing lanes.
 
 |\ |       |HomePage   : http://nem01.altervista.org
 | \|emesis |XPN (my nr): http://xpn.altervista.org
Re: [ANN] XPN 0.5.5 released
#175076
Author: Mike Dee
Date: Mon, 17 Oct 2005 03:00
23 lines
2735 bytes
On Sun, 16 Oct 2005 17:53:52 +0000, Nemesis wrote:

> Mentre io pensavo ad una intro simpatica "Mike Dee" scriveva:

>> I am 99.9% sure that this is a bug in Gtk+ that I am using. And not
>> in XPN, Python OR Win98 
[...] 
> It could be. But the file temp_article.txt shuld be there, it is created
> before reaching the point that causes this error. I think that win98
> handles in a different way the python "os.command".

Yes, I have to retract my ill-formed uneducated conclusion.

I just tested the external editor for Pan (Win32) which also uses the same
Gtk+. Jarte as an external editor in Pan works great and as it should in
this case on Win 98.

No matter, unless you can think of an quick fix I can try in Python, I'll
forego the external editor for XPN, everything else about it works as
expected. Thanks.

-- 
dee
Re: [ANN] XPN 0.5.5 released
#175088
Author: Nemesis
Date: Mon, 17 Oct 2005 19:20
21 lines
2574 bytes
Mentre io pensavo ad una intro simpatica "Mike Dee" scriveva:

[XPN and the external editor]
> Yes, I have to retract my ill-formed uneducated conclusion.
>
> I just tested the external editor for Pan (Win32) which also uses the same
> Gtk+. Jarte as an external editor in Pan works great and as it should in
> this case on Win 98.
>
> No matter, unless you can think of an quick fix I can try in Python, I'll
> forego the external editor for XPN, everything else about it works as
> expected. Thanks.

At the moment I haven't got any  quick fix, I'm sorry.

-- 
I can't be overdrawn, I still have cheques.
 
 |\ |       |HomePage   : http://nem01.altervista.org
 | \|emesis |XPN (my nr): http://xpn.altervista.org
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