Re: tracker does not want to send mail

Ralf Schlatterbeck <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <[email protected]>
On Mon, Sep 19, 2022 at 12:41:24PM +0000, Ed Trumbull wrote:
> The tracker runs as user "roundup"
> roundup   332945       1  0 Sep16 ?        00:00:30 /usr/bin/python3 /usr/local/bin/roundup-server -C /local/data/roundup/as2it/as2it-server.ini
> 
> 
> Permissions in the detectors directory are:
> roundup@admin-00:/local/data/roundup/as2it/detectors$ ls -la
[...]

Hmm. That looks perfectly fine. And still it looks like the nosyreaction
is not called at all.

John, do you have any idea what's going wrong here?
I've never seen this so far.

The next step I'd suggest is to start the roundup-server in the
debugger: Add the line
import pdb; pdb.set_trace()
into the function 'nosyreaction' in detectors/nosyreaction.py around
line 37 just before the loop
'for msgid in determineNewMessages(cl, nodeid, oldvalues):'
You want the indentation to match with the for loop.

Then when you start the roundup-server and create a message for an
issue, roundup-server should stop at that line in the debugger.
If it doesn't then the nosyreaction isn't called at all.
if it does stop there you can single-step through that function using
the command 'n' (next). You can print variables or expressions using
'p <expression>'. You can quit the debugger with 'q' and remove the
instrumentation from the file nosyreaction.py

Ralf
-- 
Dr. Ralf Schlatterbeck                  Tel:   +43/2243/26465-16
Open Source Consulting                  www:   www.runtux.com
Reichergasse 131, A-3411 Weidling       email: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.