Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 22 and Ubuntu 20 installable Augur #2232

Merged
merged 13 commits into from Mar 10, 2023
Merged

Ubuntu 22 and Ubuntu 20 installable Augur #2232

merged 13 commits into from Mar 10, 2023

Conversation

sgoggins
Copy link
Member

Description

  • Updated installation instructions, differentiating between Ubuntu 20 and 22
  • Updated version of Numpy to be compatible with Python 3.8 and Python 3.10

This is being tested on Ubuntu 20 presently, and there are no apparent issues.

sgoggins and others added 11 commits March 9, 2023 15:12
```
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
```
```
2023-03-09 23:50:42 ip-172-31-15-189 augur_collection_monitor[93162] INFO Starting facade clone/update on 0 repos
[2023-03-09 23:50:42,818: INFO/ForkPoolWorker-1] Task augur.tasks.start_tasks.augur_collection_monitor[97a1714f-ac55-4f4c-a091-3ff98883d1c2] succeeded in 0.01148350099902018s: None
[2023-03-09 23:51:38,150: CRITICAL/MainProcess] Unrecoverable error: PreconditionFailed(406, 'PRECONDITION_FAILED - delivery acknowledgement on channel 1 timed out. Timeout value used: 1800000 ms. This timeout value can be configured, see consumers doc guide to learn more', (0, 0), '')
Traceback (most recent call last):
  File "/home/ubuntu/github/virtualenvs/augurdev/lib/python3.10/site-packages/celery/worker/worker.py", line 203, in start
    self.blueprint.start(self)
  File "/home/ubuntu/github/virtualenvs/augurdev/lib/python3.10/site-packages/celery/bootsteps.py", line 116, in start
    step.start(parent)
  File "/home/ubuntu/github/virtualenvs/augurdev/lib/python3.10/site-packages/celery/bootsteps.py", line 365, in start
    return self.obj.start()
  File "/home/ubuntu/github/virtualenvs/augurdev/lib/python3.10/site-packages/celery/worker/consumer/consumer.py", line 332, in start
    blueprint.start(self)
  File "/home/ubuntu/github/virtualenvs/augurdev/lib/python3.10/site-packages/celery/bootsteps.py", line 116, in start
    step.start(parent)
  File "/home/ubuntu/github/virtualenvs/augurdev/lib/python3.10/site-packages/celery/worker/consumer/consumer.py", line 628, in start
    c.loop(*c.loop_args())
  File "/home/ubuntu/github/virtualenvs/augurdev/lib/python3.10/site-packages/celery/worker/loops.py", line 97, in asynloop
    next(loop)
  File "/home/ubuntu/github/virtualenvs/augurdev/lib/python3.10/site-packages/kombu/asynchronous/hub.py", line 362, in create_loop
    cb(*cbargs)
  File "/home/ubuntu/github/virtualenvs/augurdev/lib/python3.10/site-packages/kombu/transport/base.py", line 235, in on_readable
    reader(loop)
  File "/home/ubuntu/github/virtualenvs/augurdev/lib/python3.10/site-packages/kombu/transport/base.py", line 217, in _read
    drain_events(timeout=0)
  File "/home/ubuntu/github/virtualenvs/augurdev/lib/python3.10/site-packages/amqp/connection.py", line 525, in drain_events
    while not self.blocking_read(timeout):
  File "/home/ubuntu/github/virtualenvs/augurdev/lib/python3.10/site-packages/amqp/connection.py", line 531, in blocking_read
    return self.on_inbound_frame(frame)
  File "/home/ubuntu/github/virtualenvs/augurdev/lib/python3.10/site-packages/amqp/method_framing.py", line 53, in on_frame
    callback(channel, method_sig, buf, None)
  File "/home/ubuntu/github/virtualenvs/augurdev/lib/python3.10/site-packages/amqp/connection.py", line 537, in on_inbound_method
    return self.channels[channel_id].dispatch_method(
  File "/home/ubuntu/github/virtualenvs/augurdev/lib/python3.10/site-packages/amqp/abstract_channel.py", line 156, in dispatch_method
    listener(*args)
  File "/home/ubuntu/github/virtualenvs/augurdev/lib/python3.10/site-packages/amqp/channel.py", line 293, in _on_close
    raise error_for_code(
amqp.exceptions.PreconditionFailed: (0, 0): (406) PRECONDITION_FAILED - delivery acknowledgement on channel 1 timed out. Timeout value used: 1800000 ms. This timeout value can be configured, see consumers doc guide to learn more
[2023-03-09 23:51:42,852: INFO/MainProcess] Scheduler: Sending due task augur.tasks.start_tasks.augur_collection_monitor() (augur.tasks.start_tasks.augur_collection_monitor)
```
Signed-off-by: Ubuntu <ubuntu@ip-172-31-15-189.eu-west-2.compute.internal>
Update new-install-ubuntu-22.x.md
@sgoggins sgoggins added feature-request Request for a new feature in Augur deployed version Live problems with deployed versions documentation Updates documentation server Related to the Augur server docker Related to our Docker images security Related to keeping Augur secure release Related to releasing a new version of Augur python Pull requests that update Python code devops Development Operations labels Mar 10, 2023
IsaacMilarky
IsaacMilarky previously approved these changes Mar 10, 2023
@sgoggins sgoggins merged commit 4577f49 into dev Mar 10, 2023
@sgoggins sgoggins deleted the dev-ubuntu-22-test branch March 13, 2023 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed version Live problems with deployed versions devops Development Operations docker Related to our Docker images documentation Updates documentation feature-request Request for a new feature in Augur python Pull requests that update Python code release Related to releasing a new version of Augur security Related to keeping Augur secure server Related to the Augur server
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants