Re: tracker does not want to send mail

Ed Trumbull <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <PH7PR12MB5656673A585438B687B69E90844C9@PH7PR12MB5656.namprd12.prod.outlook.com>
I tried to run the tests using python -m pytest test 2>&1 | tee /tmp/pytest.out
Here's the traceback I got:

Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 187, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/usr/lib/python3.10/runpy.py", line 146, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/usr/lib/python3.10/runpy.py", line 110, in _get_module_details
    __import__(pkg_name)
  File "/home/roundup/.local/lib/python3.10/site-packages/pytest/__init__.py", line 5, in <module>
    from _pytest._code import ExceptionInfo
  File "/home/roundup/.local/lib/python3.10/site-packages/_pytest/_code/__init__.py", line 2, in <module>
    from .code import Code
  File "/home/roundup/.local/lib/python3.10/site-packages/_pytest/_code/code.py", line 2, in <module>
    import inspect
  File "/usr/lib/python3.10/inspect.py", line 43, in <module>
    import linecache
  File "/usr/lib/python3.10/linecache.py", line 11, in <module>
    import tokenize
  File "/usr/lib/python3.10/tokenize.py", line 36, in <module>
    from token import EXACT_TOKEN_TYPES
ImportError: cannot import name 'EXACT_TOKEN_TYPES' from 'token' (/usr/local/lib/python3.10/dist-packages/roundup/token.py)
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 71, in apport_excepthook
    import re, traceback
  File "/usr/lib/python3.10/traceback.py", line 5, in <module>
    import linecache
  File "/usr/lib/python3.10/linecache.py", line 11, in <module>
    import tokenize
  File "/usr/lib/python3.10/tokenize.py", line 36, in <module>
    from token import EXACT_TOKEN_TYPES
ImportError: cannot import name 'EXACT_TOKEN_TYPES' from 'token' (/usr/local/lib/python3.10/dist-packages/roundup/token.py)

Original exception was:
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 187, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/usr/lib/python3.10/runpy.py", line 146, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/usr/lib/python3.10/runpy.py", line 110, in _get_module_details
    __import__(pkg_name)
  File "/home/roundup/.local/lib/python3.10/site-packages/pytest/__init__.py", line 5, in <module>
    from _pytest._code import ExceptionInfo
  File "/home/roundup/.local/lib/python3.10/site-packages/_pytest/_code/__init__.py", line 2, in <module>
    from .code import Code
  File "/home/roundup/.local/lib/python3.10/site-packages/_pytest/_code/code.py", line 2, in <module>
    import inspect
  File "/usr/lib/python3.10/inspect.py", line 43, in <module>
    import linecache
  File "/usr/lib/python3.10/linecache.py", line 11, in <module>
    import tokenize
  File "/usr/lib/python3.10/tokenize.py", line 36, in <module>
    from token import EXACT_TOKEN_TYPES
ImportError: cannot import name 'EXACT_TOKEN_TYPES' from 'token' (/usr/local/lib/python3.10/dist-packages/roundup/token.py)



________________________________
From: [email protected] <[email protected]> on behalf of John P. Rouillard <[email protected]>
Sent: Monday, September 19, 2022 5:54 PM
To: Ed Trumbull <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: [Roundup-users] tracker does not want to send mail

Hi Ed:

In message <PH7PR12MB56569639FD57CF361F52DFFB844D9@PH7PR12MB5656.namprd12.prod.
outlook.com>,
Ed Trumbull writes:

>Thank you both for your help.
>I suspect that I buggered up my initial setup somehow, so I have punted
>trying to get that tracker running, and am restarting.

Sounds like a plan. On your retry keep track of what you do so we can
try to emulate your process and help figure out what is going
wrong. Assuming the do-over has a problem.

>I appreciate the time you spent helping me, and apologize for wasting
>your time.

No apology needed. If something got buggered up, it points to issues
with our documentation or software. We want to fix both/either of
those so others don't have the pain you are going though. Even if it
turns out to be something odd with your environment that we haven't
seen before, we can fix that with documentation or code changes.

Best of luck on the restart. One suggestion is to use roundup-admin
install to do the install and not roundup-demo. Using the former will
not remove nosyreactor.py.

Have a great week.

--
                                -- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.

_______________________________________________
Roundup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/roundup-users
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.