Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 39

Thread: Newspost / Newsmangler

  1. #11
    Poster
    Join Date
    Nov 2010
    Location
    Incontinentia
    Posts
    40
    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.
    It is always something.

  2. Newsgroups   -   #12
    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.

    --John
    Last edited by john8675309; 03-06-2012 at 03:14 AM. Reason: Automerged Doublepost

  3. Newsgroups   -   #13
    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.

  4. Newsgroups   -   #14
    The 3 modules I know of:

    yenc-fred (good)
    yenc-vanilla (bad, do not use)
    python-vanilla (good)

  5. Newsgroups   -   #15
    Built and installed that module. Even did the "import yenc" command. Newsmangler is still picking yenc-vanilla.

  6. Newsgroups   -   #16
    I have a newer version of new mangler on my laptop at home I will post it tonight, maybe that is your issue?

    --John

  7. Newsgroups   -   #17
    Maybe, I just have the latest github version.

  8. Newsgroups   -   #18
    Quote Originally Posted by cola View Post
    Maybe, I just have the latest github version.
    It looks like all my nagging finally got Freddie's attention: https://github.com/madcowfred/newsmangler/issues/8

  9. Newsgroups   -   #19
    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
    obj.handle_read_event()
    File "/usr/lib/python2.7/asyncore.py", line 444, in handle_read_event
    self.handle_read()
    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
    self.handle_close()
    File "/home/cola/newsmangler/classes/asyncNNTP.py", line 155, in handle_close
    self.really_close()
    File "/home/cola/newsmangler/classes/asyncNNTP.py", line 161, in really_close
    self.close()
    File "/home/cola/newsmangler/classes/asyncNNTP.py", line 103, in close
    self.del_channel()
    File "/home/cola/newsmangler/classes/asyncNNTP.py", line 98, in del_channel
    asyncore.poller.unregister(self._fileno)
    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>
    main()
    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
    _poll()
    File "/home/cola/newsmangler/classes/BaseMangler.py", line 99, in poll
    obj.handle_error()
    AttributeError: 'NoneType' object has no attribute 'handle_error'
    Last edited by cola; 03-09-2012 at 03:24 AM.

  10. Newsgroups   -   #20
    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: https://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__)
    to
    #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)...

    (After Fix):
    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



    Have Fun,

    --John

Page 2 of 4 FirstFirst 1234 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •