camelot-dev / camelot-dev/excalibur

excalibur initdb error on ubuntu

Open
#185 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
1.8k
Forks
238
PR merge metrics
No merged PRs in 30d

Description

hi, I'm trying to get excalbur to work in ubuntu but get below error. Gemini AI suggests: "The error message you're encountering with excalibur initdb suggests there's a compatibility issue within the excalibur package. It seems the package relies on the MutableMapping class from collections, which has been removed in Python 3.10 and above."

(excalibur) xxx:~$ excalibur initdb
Traceback (most recent call last):
File "/home/rupert/anaconda3/envs/excalibur/bin/excalibur", line 5, in
from excalibur.cli import cli
File "/home/rupert/anaconda3/envs/excalibur/lib/python3.12/site-packages/excalibur/cli.py", line 7, in
from . import __version__, settings
File "/home/rupert/anaconda3/envs/excalibur/lib/python3.12/site-packages/excalibur/settings.py", line 10, in
from . import configuration as conf
File "/home/rupert/anaconda3/envs/excalibur/lib/python3.12/site-packages/excalibur/configuration.py", line 7, in
from backports.configparser import ConfigParser
File "/home/rupert/anaconda3/envs/excalibur/lib/python3.12/site-packages/backports/configparser/__init__.py", line 130, in
from collections import MutableMapping
ImportError: cannot import name 'MutableMapping' from 'collections' (/home/rupert/anaconda3/envs/excalibur/lib/python3.12/collections/__init__.py)

Contributor guide

Open the contributing guide

Research direction

Start with the excalibur initdb entry point and trace the imports through cli.py, settings.py, and configuration.py to the backports.configparser dependency shown in the traceback. Reproduce the failure under Python 3.12 on Ubuntu, then verify that excalibur initdb starts successfully without the MutableMapping import error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.