#87 wrong statement in sb_server.py

open
nobody
None
5
2007-06-27
2007-06-27
No

reference to http://mail.python.org/pipermail/spambayes-dev/2007-March/003870.html

"spambayes binary 1.1a3 fails to install,Error 500 +
database hangs"

I think this can be attributed (even in 1.1a4) to the line

spambayes.message.Message.message_info_db = None (sb_server.py 801 in
1.1a4)

If i change it to
spambayes.message.Message().message_info_db = None
everything is fine for me.

It's also not clear to me, why State().close() is not called for all
spambayes instances, but only for me and the error reports you mention.

Discussion

  • Skip Montanaro

    Skip Montanaro - 2007-06-27
    • assigned_to: nobody --> anadelonbrin
    • status: open --> pending-accepted
     
  • Skip Montanaro

    Skip Montanaro - 2007-06-27

    Logged In: YES
    user_id=44345
    Originator: NO

    I believe you're correct. I had already found and fixed this in
    the new core_server.py application. I checked in the change you
    suggested (sb_server.py 1.52). I marked this ticket pending and
    assigned to Tony as he indicated that he hoped to cut an Outlook
    installer release in the next couple days.

    I'm not sure what your last statement about State().close()
    refers to. Can you elaborate?

    Thanks,

    Skip Montanaro

     
  • Uwe Hoffmann

    Uwe Hoffmann - 2007-06-27
    • assigned_to: anadelonbrin --> nobody
    • status: pending-accepted --> open
     
  • Uwe Hoffmann

    Uwe Hoffmann - 2007-06-27

    Logged In: YES
    user_id=337146
    Originator: YES

    >> everything is fine for me
    I meant I can save the configuration via web. There are further problems e.g. i always
    see "Total emails trained" == 0.

    >> I'm not sure what your last statement about State().close()
    >> refers to. Can you elaborate?
    well I think there must be people who use sb_server.py (1.1a3,1.1a4) without problems.
    So i thought that State().close() ( i mean close() is called for some State instance)
    is only called in my (or for a handful other people) environment. Otherwise nobody
    can use sb_server.py . Therefore calling State.close() is only a followup error resulting
    from another problem.

     

Log in to post a comment.