🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
14 messages
14 total messages Started by Roberto CORRADO Sat, 23 Nov 2024 17:38
Last version of INN2 for production instance
#91972
Author: Roberto CORRADO
Date: Sat, 23 Nov 2024 17:38
8 lines
1727 bytes
Hi *
I upgraded python, I need to recompile INN2, currently I run with version 2.7.2, what version do you recommend me to use now? or snapshoots?
thanks a lot! 

-- 
Roberto CORRADO
Re: Last version of INN2 for production instance
#91971
Author: Nigel Reed
Date: Sun, 24 Nov 2024 01:53
16 lines
1517 bytes
On Sat, 23 Nov 2024 18:38:16 +0100
"Roberto CORRADO" <i@secure.corradoroberto.it> wrote:

> Hi *
> I upgraded python, I need to recompile INN2, currently I run with
> version 2.7.2, what version do you recommend me to use now? or
> snapshoots? thanks a lot! 
> 

I've been running 2.8.0  for some time and have not had any issues that
I know of, at least.

-- 
End Of The Line BBS - Plano, TX
telnet endofthelinebbs.com 23
Re: Last version of INN2 for production instance
#91973
Author: Roberto CORRADO
Date: Sun, 24 Nov 2024 10:43
12 lines
2110 bytes
"Nigel Reed" wrote:


,----[ Quote 20241123195349.05acb45e@wibble.sysadmininc.com ]
| I've been running 2.8.0  for some time and have not had any issues that
| I know of, at least.
`----

Thanks for your reply, Usenet is a Very good instrument that consent 
to people to communicate all around the world. I would like to do it 
in the best way possible!
Re: Last version of INN2 for production instance
#91974
Author: Roberto CORRADO
Date: Sun, 24 Nov 2024 13:19
34 lines
2686 bytes
me wrote:

I compiled the version of INN2 -> inn-2.8.20241006-i586-1_SBo.tgz

I updated some libraries as:

"""
perl-DBD-SQLite-1.76-i586-1_SBo.tgz  
perl-GD-2.83-i586-1_SBo.tgz
perl-MailTools-2.21-i586-1_SBo.tgz
perl-TimeDate-2.30-i586-1_SBo.tgz
libcanlock-3.3.1-i586-1_SBo.tgz
perl-File-Which-1.27-i586-1_SBo.tgz
perl-MIME-tools-5.515-i586-1_SBo.tgz
perl-Test-Fork-0.02-i586-1_SBo.tgz
"""

all good so far on the test machine, but i have problem with 
cleanfeed i need review of script with python3-3.12.7-i686-1...

"""
errlog say:
/usr/inn/filter/filter_innd.py:121: SyntaxWarning: invalid escape sequence '\s'
  self.re_newrmgroup = re.compile("(?:new|rm)group\s")
/usr/inn/filter/filter_innd.py:124: SyntaxWarning: invalid escape sequence '\d'
  self.re_none44 = re.compile("none\d+\.yet>")
/usr/inn/filter/filter_innd.py:126: SyntaxWarning: invalid escape sequence '\!'
  self.re_meow = re.compile("^Meow\!", re.M)
"""

have you fixed yet?
Re: Last version of INN2 for production instance
#91975
Author: Roberto CORRADO
Date: Sun, 24 Nov 2024 13:45
27 lines
2490 bytes
me wrote:


,----[ Quote vhv958$oti$1@gatto.corradoroberto.it ]
| """
| /usr/inn/filter/filter_innd.py:121: SyntaxWarning: invalid escape sequence '\s'
|   self.re_newrmgroup = re.compile("(?:new|rm)group\s")
| /usr/inn/filter/filter_innd.py:124: SyntaxWarning: invalid escape sequence '\d'
|   self.re_none44 = re.compile("none\d+\.yet>")
| /usr/inn/filter/filter_innd.py:126: SyntaxWarning: invalid escape sequence '\!'
|   self.re_meow = re.compile("^Meow\!", re.M)
| """
`----

https://onecompiler.com/python/42z3prksp

"""
import re
re.compile(r"(?:new|rm)group\s")

re.compile(r"none\d+\.yet>")

re.compile(r"^Meow\!", re.M)
"""
Re: Last version of INN2 for production instance
#91976
Author: Nigel Reed
Date: Sun, 24 Nov 2024 20:24
26 lines
2090 bytes
On Sun, 24 Nov 2024 14:19:35 +0100
"Roberto CORRADO" <i@secure.corradoroberto.it> wrote:


> all good so far on the test machine, but i have problem with 
> cleanfeed i need review of script with python3-3.12.7-i686-1...
> 
> """
> errlog say:
> /usr/inn/filter/filter_innd.py:121: SyntaxWarning: invalid escape
> sequence '\s' self.re_newrmgroup = re.compile("(?:new|rm)group\s")
> /usr/inn/filter/filter_innd.py:124: SyntaxWarning: invalid escape
> sequence '\d' self.re_none44 = re.compile("none\d+\.yet>")
> /usr/inn/filter/filter_innd.py:126: SyntaxWarning: invalid escape
> sequence '\!' self.re_meow = re.compile("^Meow\!", re.M)
> """
> 
> have you fixed yet?

I have Python 3.10.12 here and don't see that problem in my logs, then
again. I'm not even sure if I'm using that one tbh.

-- 
End Of The Line BBS - Plano, TX
telnet endofthelinebbs.com 23
Re: Last version of INN2 for production instance
#91977
Author: Roberto CORRADO
Date: Sun, 24 Nov 2024 20:53
10 lines
2233 bytes
"Nigel Reed" wrote:


,----[ Quote 20241124142427.08c9a95f@wibble.sysadmininc.com ]
| I have Python 3.10.12 here and don't see that problem in my logs, then
| again. I'm not even sure if I'm using that one tbh.
`----

The SyntaxWarning write out comes only with the >= 3.12.x of Python
my Linux distribution is Slackware®-current, this is a very up-to-date!
Re: Last version of INN2 for production instance
#91978
Author: Nigel Reed
Date: Mon, 25 Nov 2024 02:26
23 lines
1990 bytes
On Sun, 24 Nov 2024 21:53:36 +0100
"Roberto CORRADO" <i@secure.corradoroberto.it> wrote:

> "Nigel Reed" wrote:
> 
> 
> ,----[ Quote 20241124142427.08c9a95f@wibble.sysadmininc.com ]
> | I have Python 3.10.12 here and don't see that problem in my logs,
> then | again. I'm not even sure if I'm using that one tbh.
> `----
> 
> The SyntaxWarning write out comes only with the >= 3.12.x of Python
> my Linux distribution is Slackware®-current, this is a very
> up-to-date!

That's the problem with going all latest and greatest. Open a git issue
maybe and have it fixed at the source?


-- 
End Of The Line BBS - Plano, TX
telnet endofthelinebbs.com 23
Re: Last version of INN2 for production instance
#91979
Author: candycanearter07
Date: Mon, 25 Nov 2024 05:00
31 lines
2536 bytes
Roberto CORRADO <i@secure.corradoroberto.it> wrote at 13:45 this Sunday (GMT):
> me wrote:
>
>
> ,----[ Quote vhv958$oti$1@gatto.corradoroberto.it ]
>| """
>| /usr/inn/filter/filter_innd.py:121: SyntaxWarning: invalid escape sequence '\s'
>|   self.re_newrmgroup = re.compile("(?:new|rm)group\s")
>| /usr/inn/filter/filter_innd.py:124: SyntaxWarning: invalid escape sequence '\d'
>|   self.re_none44 = re.compile("none\d+\.yet>")
>| /usr/inn/filter/filter_innd.py:126: SyntaxWarning: invalid escape sequence '\!'
>|   self.re_meow = re.compile("^Meow\!", re.M)
>| """
> `----
>
> https://onecompiler.com/python/42z3prksp
>
> """
> import re
> re.compile(r"(?:new|rm)group\s")
>
> re.compile(r"none\d+\.yet>")
>
> re.compile(r"^Meow\!", re.M)
> """


Weird, I don't think I've had this issue before.
Also, I like how you quote messages
-- 
user <candycane> is generated from /dev/urandom
Re: Last version of INN2 for production instance
#91980
Author: roby
Date: Mon, 25 Nov 2024 07:43
7 lines
1952 bytes
candycanearter07 <candycanearter07@candycanearter07.nomail.afraid>
 ha scritto:

> Weird, I don't think I've had this issue before.
> Also, I like how you quote messages

well i'll call it as candicane hook quote ;-)
Re: Last version of INN2 for production instance
#91981
Author: roby
Date: Mon, 25 Nov 2024 07:47
6 lines
1978 bytes
Nigel Reed <sysop@endofthelinebbs.com> ha scritto:

> That's the problem with going all latest and greatest. Open a git issue
> maybe and have it fixed at the source?


i have open a new issue on github!
Re: Last version of INN2 for production instance
#91982
Author: Julien ÉLIE
Date: Tue, 26 Nov 2024 11:11
22 lines
2282 bytes
Hi Roberto,

> I upgraded python, I need to recompile INN2, currently I run with
> version 2.7.2, what version do you recommend me to use now? or
> snapshoots?

Either the latest official release (2.7.2) or snapshots are fine (2.7 
STABLE branch or 2.8 CURRENT branch).  All of them can be considered stable.

Before updating, I would suggest to have a look at the changelog in case 
there's something special to take care of, especially if you're running 
an unreleased major release (CURRENT 2.8):
   https://www.eyrie.org/~eagle/software/inn/docs/news.html

There's currently no specific change, though.  So updating from 2.7.2 to 
a snapshot of 2.7.3 or 2.8.0 will be smooth.

-- 
Julien ÉLIE

« Je suis adroit de la main gauche et je suis gauche de la main
   droite. » (Raymond Devos)
Re: Last version of INN2 for production instance
#91983
Author: Julien ÉLIE
Date: Tue, 26 Nov 2024 11:11
28 lines
2596 bytes
Hi Roberto,

> i have open a new issue on github!

Thanks for the bug report.  I'll fix it upstream soon.


> The SyntaxWarning write out comes only with the >= 3.12.x of Python 
> my Linux distribution is Slackware®-current, this is a very up-to-
> date!

Indeed.  This is mentioned in the language changes of Python 3.12:
   https://docs.python.org/3.12/whatsnew/3.12.html

"""
A backslash-character pair that is not a valid escape sequence now 
generates a SyntaxWarning, instead of DeprecationWarning.  For example, 
re.compile("\d+\.\d+") now emits a SyntaxWarning ("\d" is an invalid 
escape sequence, use raw strings for regular expression: 
re.compile(r"\d+\.\d+")).  In a future Python version, SyntaxError will 
eventually be raised, instead of SyntaxWarning. (Contributed by Victor 
Stinner in gh-98401.)
"""

-- 
Julien ÉLIE

« Ce vieux forban d'Asthmatix, il ne manquait pas d'air ! » (Astérix)
Re: Last version of INN2 for production instance
#91984
Author: roby
Date: Wed, 27 Nov 2024 14:50
8 lines
1719 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> ha scritto:

>    https://www.eyrie.org/~eagle/software/inn/docs/news.html
> 
> There's currently no specific change, though.  So updating from 2.7.2 to 
> a snapshot of 2.7.3 or 2.8.0 will be smooth.

thanks
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