Fwiw these are my findings with this software:
I cannot post to Thundernews using newsmangler. Connections are made to the newsserver but no data is transferred. A timeout occurs after 3 minutes, the server boots me and a traceback is generated.
I can post to Giganews using newsmangler (an nzb is created)
I can post to Thundernews using newspost 2.1.1 (cli client)
It's likely that the connection or data transfer routine in newsmangler has problems with some newsservers.
03-06-2012, 02:55 AM
ok maybe that makes sense... I use newshosting... So I find this commit a bit interesting https://github.com/madcowfred/newsma...50f1dcf072152a (Maybe something on news hosting changed in the last 6 years lol).. I will try astraweb and see if it works better..
ok, yep astraweb works great for posting with newsmangler, Thanks for all the help everyone! It has to be something that newshosting is doing that prevents newsmangler from working.
Last edited by john8675309; 03-06-2012 at 03:14 AM.
Reason: Automerged Doublepost
03-06-2012, 04:19 AM
It'll upload sometimes. Smaller uploads will work half the time, but usually the program will just error out. I'm on debian testing.
I'll try this out and see how it goes.
03-06-2012, 04:46 AM
The 3 modules I know of:
yenc-vanilla (bad, do not use)
03-07-2012, 03:50 PM
Built and installed that module. Even did the "import yenc" command. Newsmangler is still picking yenc-vanilla.
03-07-2012, 08:47 PM
I have a newer version of new mangler on my laptop at home I will post it tonight, maybe that is your issue?
03-08-2012, 12:20 AM
Maybe, I just have the latest github version.
03-08-2012, 05:10 PM
It looks like all my nagging finally got Freddie's attention: https://github.com/madcowfred/newsmangler/issues/8
Originally Posted by cola
03-09-2012, 03:21 AM
I updated, even installed the yenc module he has listed to install. Still picking yenc-vanilla, but so far its running without a problem. So I'll keep my hopes up.
edit: Crap, I jinxed it.
Traceback (most recent call last):
File "/home/cola/newsmangler/classes/BaseMangler.py", line 91, in poll
File "/usr/lib/python2.7/asyncore.py", line 444, in handle_read_event
File "/home/cola/newsmangler/classes/asyncNNTP.py", line 173, in handle_read
self._readbuf += self.recv(16384)
File "/usr/lib/python2.7/asyncore.py", line 388, in recv
File "/home/cola/newsmangler/classes/asyncNNTP.py", line 155, in handle_close
File "/home/cola/newsmangler/classes/asyncNNTP.py", line 161, in really_close
File "/home/cola/newsmangler/classes/asyncNNTP.py", line 103, in close
File "/home/cola/newsmangler/classes/asyncNNTP.py", line 98, in del_channel
TypeError: argument must be an int, or have a fileno() method.
2012-03-08 22:21:59,465 [WARNING] Invalid FD for poll() - 8
Traceback (most recent call last):
File "poster.py", line 150, in <module>
File "poster.py", line 145, in main
poster.post(newsgroup, postme, post_title=post_title)
File "/home/cola/newsmangler/classes/Poster.py", line 118, in post
File "/home/cola/newsmangler/classes/BaseMangler.py", line 99, in poll
AttributeError: 'NoneType' object has no attribute 'handle_error'
Last edited by cola; 03-09-2012 at 03:24 AM.
03-09-2012, 05:00 AM
ok, I saw this and had to get out of bed, cause I want it to work for you like it's working for me now!! Freddie posted an update tonight to the git repository, so it fixes newsmangler with newshosting!! anyways here are the exact steps to get yenc-freddie working...
1. Download the module: http://filesharingtalk.com/external/...2xtumje437yca3
2. Extract it: rar e yenc-0.3-freddie.rar
3. cd to it: cd yenc-0.3-freddie
4. Build it: python setup.py build
5. Install it: pything setup.py install
(Assuming all goes well)
6. Edit (in your newsmangler directory): classes/yEnc.py
7. Go Way to the bottom of the file and change:
HAVE_YENC_FRED = ('Freddie mod' in _yenc.__doc__)
#HAVE_YENC_FRED = ('Freddie mod' in _yenc.__doc__)
HAVE_YENC_FRED = ('Freddie' in _yenc.__doc__)
That will fix it (Before Fix):
call1 newsmangler # ./poster.py -c sample.conf -f "test please ignore" iso/*
2012-03-08 22:59:32,839 [INFO] Using yenc-vanilla module for yEnc encoding.
2012-03-08 22:59:33,095 [INFO] Posting 28 article(s)...
call1 newsmangler # !./post
./poster.py -c sample.conf -f "test please ignore" iso/*
2012-03-08 22:58:41,561 [INFO] Using yenc-fred module for yEnc encoding.
2012-03-08 22:58:42,205 [INFO] Posting 28 article(s)...
26 articles remaining - 555.6KB/s