- Home
- Download
- Documentation
- Upcoming development plans
- Objectmaker® Visualization
- Installation
- Running from source
- GUI Operation
- Command Line Operation
- XBRL Database
- Background
- Architecture, Overview
- Architecture, Model
- Architecture, View
- Architecture, Controller
- API, Python
- API, Web Services
- Plug-in manager
- Package Manager
- Edgar Renderer Installation
- Participate
- Blog
- Upcoming development plans
- Objectmaker® Visualization
- Installation
- Running from source
- GUI Operation
- Command Line Operation
- XBRL Database
- Background
- Architecture, Overview
- Architecture, Model
- Architecture, View
- Architecture, Controller
- API, Python
- API, Web Services
- Plug-in manager
- Package Manager
- Edgar Renderer Installation
You made some tight points there. I looked on the net for the difficulty and located most individuals can approve along with your blog.
I got the following error when I install from source code on Mac
—————————————
macbook:$ python3.2 -marelle.CntlrWinMain
Traceback (most recent call last):
File “/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/runpy.py”, line 160, in _run_module_as_main
“__main__”, fname, loader, pkg_name)
File “/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/runpy.py”, line 73, in _run_code
exec(code, run_globals)
File “/Users/Downloads/Arelle/arelle/CntlrWinMain.py”, line 17, in
from arelle import XbrlConst
File “arelle/XbrlConst.py”, line 1, in
from arelle.ModelValue import qname
File “arelle/ModelValue.py”, line 124, in
from arelle.ModelObject import ModelObject
File “arelle/ModelObject.py”, line 8, in
from lxml import etree
ImportError: No module named lxml
macbook:Arelle $ python3.2 -marelle.CntlrWinMain
Traceback (most recent call last):
File “/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/runpy.py”, line 160, in _run_module_as_main
“__main__”, fname, loader, pkg_name)
File “/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/runpy.py”, line 73, in _run_code
exec(code, run_globals)
File “/Users/Downloads/Arelle/arelle/CntlrWinMain.py”, line 17, in
from arelle import XbrlConst
File “arelle/XbrlConst.py”, line 1, in
from arelle.ModelValue import qname
File “arelle/ModelValue.py”, line 124, in
from arelle.ModelObject import ModelObject
File “arelle/ModelObject.py”, line 8, in
from lxml import etree
ImportError: No module named lxml
macbook$
Yes, the lxml module needs to be installed to work from source (on any platform).
Thanks for your help. I successfully installed lxml on osx 10.6.8 with python3.2 using pypm install lxml. The instruction is here http://code.activestate.com/pypm/lxml/
what about linux?
Added section on Linux
Is there (or will there be) a command line switch for unattended installation on Windows systems?
We have had no requests for this. Please contact support@arelle.org to better explain the use case.
Ubuntu raring is now using python 3.3. To install python3.2, one must use a PPA:
sudo apt-add-repository ppa:fkrull/deadsnakes
sudo apt-get update
sudo apt-get install python3.2 python3.2-tk
Unfortunately python3.2-lxml is not available in that PPA, and one must compile it from source.
It looks like you can install lxml with the command:
sudo easy_install lxml
How would you do this on Ubuntu command line without downloading and compiling it from github?
hello ..
i am using ubuntu 14.04 for install arelle …
i am using arelle for ubuntu
but i have problem when i execute ./arelle on arelle folder
he always refers to pyhton3.3 on error, i read arelle just using python3.2.. can u help me
here is my phyton and error :
There are 3 choices for the alternative python (providing /usr/bin/python).
Selection Path Priority Status
————————————————————
0 /usr/bin/python2.7 10 auto mode
1 /usr/bin/python2.7 10 manual mode
*2 /usr/bin/python3.2 10 manual mode
3 /usr/bin/python3.4 1 manual mode
Press enter to keep the current choice[*], or type selection number: 1
update-alternatives: using /usr/bin/python2.7 to provide /usr/bin/python (python) in manual mode
adilramdan@Monkey-D-Luffy:~/Tools/Arelle$ ./arelle
Traceback (most recent call last):
File “/usr/local/lib/python3.3/site-packages/cx_Freeze/initscripts/Console3.py”, line 27, in
File “arelleGUI.pyw”, line 9, in
File “/usr/local/lib/python3.3/importlib/_bootstrap.py”, line 1616, in _handle_fromlist
File “/usr/local/lib/python3.3/importlib/_bootstrap.py”, line 313, in _call_with_frames_removed
File “/usr/local/lib/python3.3/importlib/_bootstrap.py”, line 1567, in _find_and_load
File “/usr/local/lib/python3.3/importlib/_bootstrap.py”, line 1534, in _find_and_load_unlocked
File “/home/arelle/src/arelle/CntlrWinMain.py”, line 11, in
File “/usr/local/lib/python3.3/importlib/_bootstrap.py”, line 1567, in _find_and_load
File “/usr/local/lib/python3.3/importlib/_bootstrap.py”, line 1534, in _find_and_load_unlocked
File “/usr/local/lib/python3.3/tkinter/__init__.py”, line 40, in
File “/usr/local/lib/python3.3/importlib/_bootstrap.py”, line 1567, in _find_and_load
File “/usr/local/lib/python3.3/importlib/_bootstrap.py”, line 1531, in _find_and_load_unlocked
ImportError: No module named ‘_tkinter’
Hi Adil,
I suggest you start with 3.4, we’ve just updated the sources for 3.4 (need to freshen your copy).
There are other Python modules that you’ll need for Arelle, you can see in setup.py what modules are used to make a “build”, my suggestion is to start with the installation source you are using for setuptools, lxml, tkinter, regex, and isolate. If you use the xbrlDB database plugin then also pg8000, pymysql, rdflib.
If not using GUI mode (just agrelleCmdLine) then I maybe you can get by without tinter.
If any more questions please e-mail support@arelle.org.
Thanks!
i got folowing error any one help me.
(my33project) [root@dinesh-kumar arelle-redhat-x86_64-2014-12-31]# ./arelle Traceback (most recent call last): File “/usr/local/lib/python3.3/site-packages/cx_Freeze-4.3.2-py3.3-linux-x86_64.egg/cx_Freeze/initscripts/Console3.py”, line 27, in File “arelleGUI.pyw”, line 11, in File “/media/psf/Home/Documents/mvsl/projects/arelle/arelleproject/src/arelle/CntlrWinMain.py”, line 1377, in main File “/usr/local/lib/python3.3/tkinter/__init__.py”, line 1807, in __init__ self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) _tkinter.TclError: Can’t find a usable init.tcl in the following directories: /home/sdhineshkumar/Softwares/arelle-redhat-x86_64-2014-12-31/tcl /home/sdhineshkumar/Softwares/arelle-redhat-x86_64-2014-12-31/tcl8.6 /usr/local/lib/tcl8.6 /home/sdhineshkumar/Softwares/lib/tcl8.6 /home/sdhineshkumar/lib/tcl8.6 /home/sdhineshkumar/Softwares/library /home/sdhineshkumar/library /home/sdhineshkumar/tcl8.6.1/library /home/tcl8.6.1/library
This probably means that Tcl wasn’t installed properly.
(my33project) [root@dinesh-kumar arelle-redhat-x86_64-2014-12-31]# ./arelle Traceback (most recent call last): File “/usr/local/lib/python3.3/site-packages/cx_Freeze-4.3.2-py3.3-linux-x86_64.egg/cx_Freeze/initscripts/Console3.py”, line 27, in File “arelleGUI.pyw”, line 11, in File “/media/psf/Home/Documents/mvsl/projects/arelle/arelleproject/src/arelle/CntlrWinMain.py”, line 1377, in main File “/usr/local/lib/python3.3/tkinter/__init__.py”, line 1807, in __init__ self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) _tkinter.TclError: Can’t find a usable init.tcl in the following directories: /home/sdhineshkumar/Softwares/arelle-redhat-x86_64-2014-12-31/tcl /home/sdhineshkumar/Softwares/arelle-redhat-x86_64-2014-12-31/tcl8.6 /usr/local/lib/tcl8.6 /home/sdhineshkumar/Softwares/lib/tcl8.6 /home/sdhineshkumar/lib/tcl8.6 /home/sdhineshkumar/Softwares/library /home/sdhineshkumar/library /home/sdhineshkumar/tcl8.6.1/library /home/tcl8.6.1/library
This probably means that Tcl wasn’t installed properly.
I’ve email support a coupl eof times and not had any reply, so posting here for some advice.
I’ve loaded Arelle onto my work PC but get the following error when trying to load a file:
[webCache:retrievalError]
retrieving http://eiopa.europa.eu/eu/xbrl/s2md/fws/solvency/solvency2/2014-07-23/mod/ars.xsd
[FileNotLoadable] File can not be loaded: http://eiopa.europa.eu/eu/xbrl/s2md/fws/solvency/solvency2/2014-07-23/mod/ars.xsd – report.xbrl 6
[xbrl:schemaImportMissing] Instance facts missing schema definition: eu_find:fIndicators, s2md_met:bi623, loaded in 15.07 secs
no relationships for http://www.xbrl.org/2003/arcrole/parent-child
no relationships for Presentation
no relationships for Calculation
no relationships for Dimension
views 0.08 secs
I’ve set-up proxy authentication rules to allow access to the required sites.
Could you please provide any support on this?
I have troubleshooting with arelle
it used to work fine last year with eiopa v1.2.1 taxonomy
I upgraded Arelle’s version and tried to load v1.5.2b taxonomy, both from server or from local but it won’t give the correct rendering.
Worse I was unable to load v1.2.1 and downgrading to previous version I was still unable to load nor the v1.5.2b nor the 1.2.1…
Must I complete a full uninstallation first perhaps or are there some known issues about the subject ?
Regards
Adrien
I’m not sure if older versions of the taxonomy will still work. We are currently supporting the 2.0.1 (and prior 2 versions).
This is a note for anyone having trouble using Ubuntu 15.xx. untar the files and cd to the folder and try to run ./arelle, if it fails with first try to install python-tk:
sudo apt-get install python3-tk
still no luck? Linux 15.xx is using python3.5 and you may need to install 3.4 which is not in the repositories so you will need to add a repository. I suggest snakehead:
sudo add-apt-repository ppa:fkrull/deadsnakes
sudo apt update
sudo apt install python3.4
sudo apt install python3.4-tk
still no luck and getting warnings about libBLT.2.4.so.8.6? I got lazy here and assumed 2.5 had the features of 2.4 so I just:
sudo cp /usr/lib/libBLT.2.5.so.8.6 /usr/lib/libBLT.2.4.so.8.6
If you still don’t have luck you may need to the .so files to /usr/lib so execute:
sudo cp -v *.so /usr/lib/
Worked for me though I haven’t run many of the scripts yet so I don’t know if it works for everything. May need to get a version of libBLT.2.4.so.8.6
I imagine when arelle goes to python 3.5 it will update; or maybe they could update the code to stop referring to 3.4 and just refer to python3 but I imagine that would be a lot of copy/paste for them.
Best of luck,
edit to my previous comment, after installing python3-tk try starting with the copy lines. It appears python3.5 is mirroring into 3.4 so you may not need to install 3.4 (I have removed it from my system and arelle works without it).