Forum Replies Created
-
AuthorPosts
-
Chris DParticipant
Aha! I just had to edit AxiDraw’s setup.py to change
‘lxml>=4.9.3’,
to
‘lxml==4.9.3’,
Then I just ran
pipx install .
and it’s all working again.
Trying to specify the lxml version on the pipx command line didn’t work.
Chris DParticipantThanks for your reply. You’re probably right, but I’m struggling with versions of Python libraries: the ‘EXTERNALLY-MANAGED’ feature of pip (see e.g. https://bbs.archlinux.org/viewtopic.php?id=286788) means that I have to install everything that AxiDraw needs in a new Python virtual environment using pipx, and that insists on giving me the latest version of lxml (5.1), so I’m still seeing the error.
I’ll report back once I’ve got my head round this Python library versioning mystery.
Chris DParticipantWindell sent me the fix for this. My plot had a background colour rectangle with no x,y coordinates: I changed
<rect width=”100%” height=”100%” fill=”white”/>
to
<rect x=”0″ y=”0″ width=”100%” height=”100%” fill=”white”/>
and the crash went away.
Chris DParticipantOK — I’ve sent an email via the axidraw.com website.
Chris DParticipantI’ve tried to post the SVG file, but my posts keep disappearing. I’ll try again later.
-
AuthorPosts