I am seeing the following error being repeated every 2 seconds in the uwsgi-error.log:
01:22:05 [Q] INFO Process-1:19112 processing [compute_thread_positions] 01:22:05 [Q] ERROR Failed [compute_thread_positions] - 'DiGraph' object has no attribute 'node' : Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/django_q/cluster.py", line 381, in worker res = f(*task['args'], **task['kwargs']) File "/usr/lib/python3.6/site-packages/hyperkitty/tasks.py", line 127, in _compute_thread_positions compute_thread_order_and_depth(thread) File "/usr/lib/python3.6/site-packages/hyperkitty/lib/analysis.py", line 55, in compute_thread_order_and_depth walk_successors(thread.starting_email.id) File "/usr/lib/python3.6/site-packages/hyperkitty/lib/analysis.py", line 37, in walk_successors obj = graph.node[msgid]["obj"] AttributeError: 'DiGraph' object has no attribute 'node'
I am running the docker version of Mailman, version 1.3.0. Any suggestions?
Thanks, Brian
On 12/9/19 5:25 PM, Brian Carpenter wrote:
I am seeing the following error being repeated every 2 seconds in the uwsgi-error.log:
01:22:05 [Q] INFO Process-1:19112 processing [compute_thread_positions] 01:22:05 [Q] ERROR Failed [compute_thread_positions] - 'DiGraph' object has no attribute 'node' : Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/django_q/cluster.py", line 381, in worker res = f(*task['args'], **task['kwargs']) File "/usr/lib/python3.6/site-packages/hyperkitty/tasks.py", line 127, in _compute_thread_positions compute_thread_order_and_depth(thread) File "/usr/lib/python3.6/site-packages/hyperkitty/lib/analysis.py", line 55, in compute_thread_order_and_depth walk_successors(thread.starting_email.id) File "/usr/lib/python3.6/site-packages/hyperkitty/lib/analysis.py", line 37, in walk_successors obj = graph.node[msgid]["obj"] AttributeError: 'DiGraph' object has no attribute 'node'
I am running the docker version of Mailman, version 1.3.0. Any suggestions?
See <https://gitlab.com/mailman/hyperkitty/issues/268> fixed by <https://gitlab.com/mailman/hyperkitty/merge_requests/201>.
You need to change 'graph.node' to 'graph.nodes' at both line 37 and line 44 in /usr/lib/python3.6/site-packages/hyperkitty/lib/analysis.py to accomodate networkx >= 2.0
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Thanks Mark. Unfortunately I can't find /usr/lib/python3.6/site-packages/hyperkitty/lib/analysis.py with the Docker setup, even when I enter the Mailman shell. Should I file a bug report at https://github.com/maxking/docker-mailman?
Brian
On 12/9/19 5:52 PM, Brian Carpenter wrote:
Thanks Mark. Unfortunately I can't find /usr/lib/python3.6/site-packages/hyperkitty/lib/analysis.py with the Docker setup, even when I enter the Mailman shell.
I don't know enough about Docker to tell you where to look.
Should I file a bug report at https://github.com/maxking/docker-mailman?
It wouldn't hurt.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On Mon, Dec 9, 2019, at 5:52 PM, Brian Carpenter wrote:
Thanks Mark. Unfortunately I can't find /usr/lib/python3.6/site-packages/hyperkitty/lib/analysis.py with the Docker setup, even when I enter the Mailman shell. Should I file a bug report at https://github.com/maxking/docker-mailman?
Thanks for the report Brian, it should be fixed with Hyperkitty 1.3.1 that was just released. I'll bump up the releases in container images this weekend.
Thanks, Abhilash
Brian
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- thanks, Abhilash Raj (maxking)
participants (3)
-
Abhilash Raj
-
Brian Carpenter
-
Mark Sapiro