SyntaxError: multiple exception types must be parenthesized #38
Labels
No Label
aimedb
bug
chuni
chusan
cxb
database
diva
doc
duplicate
enhancement
frontend
help wanted
idac
idz
invalid
maidx
ongeki
pokken
question
seen
system
testing
wacca
waiting
wip
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Hay1tsme/artemis#38
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello! I'm trying to set-up ARTEMiS on Ubuntu 22.04.3 LTS, and I'm following the Read-Me for the OS (even though the Read-Me says 20.04).
Everything worked fine, until I got to the
Create the database tables for ARTEMiS
part.Trying to run
sudo python3 dbutils.py create
gives me aSyntaxError
.Trying to run the ARTEMiS instance causes the same set of errors...
Here's the full Traceback:
Any clues//advices on how to continue?
Thanks!
Hello matharu,
This issue is usually because you have an obsolete package or the wrong package for the crypto
Run those commands in order
pip uninstall PyCrypto
pip uninstall PyCryptodome
pip install PyCryptodome
Hey Midorica! Doing that solved the issue. Looks like that part of the Read-Me is "deprecated" since it advises to install
PyCrypto
instead ofPyCryptodome
However... I ran into another issue. When trying to Create the database tables and/or run ARTEMiS' interface, I am met with another error. An ImportError, I believe. Here's the Traceback:
Any help on that? Appreciate any!
Thank you!
Simply run those 2 commands:
pip uninstall protobuf
pip install protobuf==4.22.0
It worked! Right now, I'm just testing the server to see if everything works, but when I run the ARTEMiS interface without anything connected to it, it's supposed to be like this, correct?
Thank you so much Midorica! I'd be banging my head on the wall until now if I were by myself to solve this since I don't have that much experience with troubleshooting 😅
Thank you very much once again!