Skip to content
Advertisement

Getting error about bad escape during start of Arelle

I am trying to get Arelle working on Ubuntu linux 18.04 with Python 3.6.9.

Step-1: (Download Arelle software):

git clone https://github.com/Arelle/Arelle.git -b lxml

Step-2 Install Python LXML:

apt-get install -y python-lxml

Step-3 Install Python tk:

Due to error: ‘No module named tkinter’

…I install:

apt-get install python3-tk


When it’s time to start Arelle from terminal, I use:

JavaScript

I then get following error:

JavaScript

I found this SO question that seems related to the issue.

Advertisement

Answer

This is an error in Arelle, which shows up for Python 3.6 and later. There is a pull request for it , but that is still open (since July 2017). Given that Python 3.6 has been out for quite a while, I don’t know why this hasn’t been fixed.

You are using the lxml branch, which has been stale for 10 years. So perhaps this error has actually been fixed (even if the pull request is still open) on the master brach, but not on the lxml branch. Try installing from master first, if that is an option for you.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement