giellalt / bugzilla-dummy

0 stars 0 forks source link

convert2xml does not compile (Bugzilla Bug 2458) #281

Closed albbas closed 5 years ago

albbas commented 6 years ago

This issue was created automatically with bugzilla2github

Bugzilla Bug 2458

Date: 2018-04-14T08:17:31+02:00 From: Trond Trosterud <> To: Børre Gaup <> CC: ciprian.gerstenberger, sjur.n.moshagen, trond.trosterud

Last updated: 2019-01-24T23:11:50+01:00

albbas commented 6 years ago

Comment 12732

Date: 2018-04-14 08:17:31 +0200 From: Trond Trosterud <>

What seems to be the offending line:

Extracting CorpusTools-0.23.1-py2.7.egg to /Users/ttr000/Library/Python/2.7/lib/python/site-packages File "/Users/ttr000/Library/Python/2.7/lib/python/site-packages/CorpusTools-0.23.1-py2.7.egg/corpustools/nrk_no_crawler.py", line 137 print('.', end='') ^ SyntaxError: invalid syntax

Here all 4 commands:

tf-hsl-m0016:CorpusTools ttr000$ sudo pip2 install --upgrade -r requirements.txt The directory '/Users/ttr000/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/Users/ttr000/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Collecting git+git://github.com/gitpython-developers/GitPython (from -r requirements.txt (line 1)) Cloning git://github.com/gitpython-developers/GitPython to /private/tmp/pip-djQ3f1-build Requirement already up-to-date: gitdb2>=2.0.0 in /Library/Python/2.7/site-packages (from GitPython==2.1.9->-r requirements.txt (line 1)) Requirement already up-to-date: smmap2>=2.0.0 in /Library/Python/2.7/site-packages (from gitdb2>=2.0.0->GitPython==2.1.9->-r requirements.txt (line 1)) Installing collected packages: GitPython Found existing installation: GitPython 2.1.9 Uninstalling GitPython-2.1.9: Successfully uninstalled GitPython-2.1.9 Running setup.py install for GitPython ... done Successfully installed GitPython-2.1.9 You are using pip version 9.0.1, however version 9.0.3 is available. You should consider upgrading via the 'pip install --upgrade pip' command. tf-hsl-m0016:CorpusTools ttr000$ sudo pip2 install -U -e . The directory '/Users/ttr000/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/Users/ttr000/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Obtaining file:///Users/ttr000/main/tools/CorpusTools Collecting epub (from CorpusTools==0.23.1) Downloading epub-0.5.2.tar.gz (44kB) 100% |████████████████████████████████| 51kB 397kB/s Collecting feedparser (from CorpusTools==0.23.1) Downloading feedparser-5.2.1.tar.bz2 (192kB) 100% |████████████████████████████████| 194kB 575kB/s Requirement already up-to-date: gitdb in /Library/Python/2.7/site-packages (from CorpusTools==0.23.1) Requirement already up-to-date: gitpython in /Library/Python/2.7/site-packages (from CorpusTools==0.23.1) Collecting html5lib (from CorpusTools==0.23.1) Downloading html5lib-1.0.1-py2.py3-none-any.whl (117kB) 100% |████████████████████████████████| 122kB 609kB/s Collecting lxml (from CorpusTools==0.23.1) Downloading lxml-4.2.1-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (8.8MB) 100% |████████████████████████████████| 8.8MB 133kB/s Collecting parameterized (from CorpusTools==0.23.1) Downloading parameterized-0.6.1-py2.py3-none-any.whl Collecting prompt_toolkit (from CorpusTools==0.23.1) Downloading prompt_toolkit-1.0.15-py2-none-any.whl (247kB) 100% |████████████████████████████████| 256kB 2.3MB/s Collecting odfpy (from CorpusTools==0.23.1) Downloading odfpy-1.3.6.tar.gz (691kB) 100% |████████████████████████████████| 696kB 1.2MB/s Collecting pydocx (from CorpusTools==0.23.1) Downloading PyDocX-0.9.10.tar.gz (1.2MB) 100% |████████████████████████████████| 1.2MB 861kB/s Collecting pyth==0.7.0 (from CorpusTools==0.23.1) Could not find a version that satisfies the requirement pyth==0.7.0 (from CorpusTools==0.23.1) (from versions: 0.5.3, 0.5.4, 0.5.5, 0.5.6, 0.6.0) No matching distribution found for pyth==0.7.0 (from CorpusTools==0.23.1) You are using pip version 9.0.1, however version 9.0.3 is available. You should consider upgrading via the 'pip install --upgrade pip' command. tf-hsl-m0016:CorpusTools ttr000$ pip2 uninstall -y corpustools Uninstalling CorpusTools-0.23.1: Successfully uninstalled CorpusTools-0.23.1 You are using pip version 9.0.1, however version 9.0.3 is available. You should consider upgrading via the 'pip install --upgrade pip' command. tf-hsl-m0016:CorpusTools ttr000$ python2.7 setup.py install --user --install-scripts=$HOME/bin running install error: [Errno 13] Permission denied: '/Users/ttr000/Library/Python/2.7' tf-hsl-m0016:CorpusTools ttr000$ sudo python2.7 setup.py install --user --install-scripts=$HOME/bin running install Checking .pth file support in /Users/ttr000/Library/Python/2.7/lib/python/site-packages/ /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -E -c pass TEST PASSED: /Users/ttr000/Library/Python/2.7/lib/python/site-packages/ appears to support .pth files running bdist_egg running egg_info writing requirements to CorpusTools.egg-info/requires.txt writing CorpusTools.egg-info/PKG-INFO writing top-level names to CorpusTools.egg-info/top_level.txt writing dependency_links to CorpusTools.egg-info/dependency_links.txt writing entry points to CorpusTools.egg-info/entry_points.txt reading manifest file 'CorpusTools.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '.txt' under directory 'docs' warning: no files found matching '.xml' under directory 'corpustools/xslt' warning: no files found matching '*.ent' under directory 'corpustools/xslt' writing manifest file 'CorpusTools.egg-info/SOURCES.txt' installing library code to build/bdist.macosx-10.13-x86_64/egg running install_lib running build_py creating build/bdist.macosx-10.13-x86_64/egg creating build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/basicconverter.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/samas_crawler.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/normalise_filenames.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/finder.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/corpuspath.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/xslmaker.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/dupe_finder.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/pick_samediggi_se_docs.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/update_metadata.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/avvirconverter.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools creating build/bdist.macosx-10.13-x86_64/egg/corpustools/tca2 creating build/bdist.macosx-10.13-x86_64/egg/corpustools/tca2/dist creating build/bdist.macosx-10.13-x86_64/egg/corpustools/tca2/dist/lib copying build/lib/corpustools/tca2/dist/lib/alignment.jar -> build/bdist.macosx-10.13-x86_64/egg/corpustools/tca2/dist/lib copying build/lib/corpustools/iso_ir_209.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/packagetmx.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/docconverter.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools creating build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_htmlconverter.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_compare_tmx_goldstandard.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_rtfconverter.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_text_cat.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_sentencedivider.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_xslsetter.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_xhtml2corpus.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_adder.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/xmltester.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_xslmaker.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_decode.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_docxconverter.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_pdfconverter.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/init.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_lang_guessing.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_util.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_svgconverter.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_languagedetector.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_pick_parallel_docs.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_epubchooser.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_epubconverter.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_plaintextconverter.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_documentfixer.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_analyser.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_corpusxmlfile.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_biblexmlconverter.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_avvirconverter.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_trainingcorpusmaker.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_namechanger.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_corpuspath.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_converter.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_saami_crawler.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_ccat.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_htmlcontentconverter.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_samediggi_no_crawler.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_typosfile.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_errormarkup.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_docconverter.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/test/test_parallelize.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools/test copying build/lib/corpustools/check_para_consistency.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/html_cleaner.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/biblexmlconverter.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/_version.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/samediggi_fi_crawler.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/htmlconverter.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/languagedetector.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/util.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/plaintextconverter.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools creating build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/nno.wm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/swe.lm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/nno.lm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/swe.wm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/rus.wm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/kpv.wm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/isl.wm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/deu.wm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/rus.lm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/isl.lm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/kpv.lm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/deu.lm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/smj.lm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/fin.wm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/dan.wm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/nob.lm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/smn.lm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/kal.lm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/ron.wm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/fkv.wm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/sms.wm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/fin.lm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/dan.lm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/smj.wm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/nob.wm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/ron.lm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/fkv.lm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/kal.wm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/smn.wm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/sms.lm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/sme.wm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/mhr.lm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/sma.wm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/eng.lm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/sme.lm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/mhr.wm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/sma.lm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/lm/eng.wm -> build/bdist.macosx-10.13-x86_64/egg/corpustools/lm copying build/lib/corpustools/samediggi_no_crawler.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/pick_parallel_docs.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/one-off-functions.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/typosfile.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/svgconverter.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/debug_corpus.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/converter.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/init.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/generate_anchor_list.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/docxconverter.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/toktmx2tmx.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/iso_ir_197.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/htmlcontentconverter.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/modes.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/text_cat.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools creating build/bdist.macosx-10.13-x86_64/egg/corpustools/xml copying build/lib/corpustools/xml/modes.xml -> build/bdist.macosx-10.13-x86_64/egg/corpustools/xml copying build/lib/corpustools/nrk_no_crawler.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/clean_prestable.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/namechanger.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/xslsetter.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/versioncontrol.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/sentencedivider.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/pick_titles.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/winsami2.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/convertermanager.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/macsami.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/latexconverter.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools creating build/bdist.macosx-10.13-x86_64/egg/corpustools/dtd copying build/lib/corpustools/dtd/corpus.dtd -> build/bdist.macosx-10.13-x86_64/egg/corpustools/dtd copying build/lib/corpustools/corpusxmlfile.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/trainingcorpusmaker.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/move_files.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/epubconverter.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/documentfixer.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/errormarkup.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/parallelize.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/pdfconverter.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/argparse_version.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/realign.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/adder.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools creating build/bdist.macosx-10.13-x86_64/egg/corpustools/xslt copying build/lib/corpustools/xslt/svg2corpus.xsl -> build/bdist.macosx-10.13-x86_64/egg/corpustools/xslt copying build/lib/corpustools/xslt/common.xsl -> build/bdist.macosx-10.13-x86_64/egg/corpustools/xslt copying build/lib/corpustools/xslt/tmx2html.xsl -> build/bdist.macosx-10.13-x86_64/egg/corpustools/xslt copying build/lib/corpustools/xslt/preprocxsl.xsl -> build/bdist.macosx-10.13-x86_64/egg/corpustools/xslt copying build/lib/corpustools/xslt/xhtml2corpus.xsl -> build/bdist.macosx-10.13-x86_64/egg/corpustools/xslt copying build/lib/corpustools/xslt/XSL-template.xsl -> build/bdist.macosx-10.13-x86_64/egg/corpustools/xslt copying build/lib/corpustools/mari.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/epubchooser.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/odfconverter.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/decode.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/saami_crawler.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/compare_tmx_goldstandard.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/ccat.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/analyser.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/rtfconverter.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/counter.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools copying build/lib/corpustools/crawler.py -> build/bdist.macosx-10.13-x86_64/egg/corpustools byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/basicconverter.py to basicconverter.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/samas_crawler.py to samas_crawler.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/normalise_filenames.py to normalise_filenames.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/finder.py to finder.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/corpuspath.py to corpuspath.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/xslmaker.py to xslmaker.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/dupe_finder.py to dupe_finder.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/pick_samediggi_se_docs.py to pick_samediggi_se_docs.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/update_metadata.py to update_metadata.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/avvirconverter.py to avvirconverter.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/iso_ir_209.py to iso_ir_209.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/packagetmx.py to packagetmx.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/docconverter.py to docconverter.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_htmlconverter.py to test_htmlconverter.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_compare_tmx_goldstandard.py to test_compare_tmx_goldstandard.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_rtfconverter.py to test_rtfconverter.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_text_cat.py to test_text_cat.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_sentencedivider.py to test_sentencedivider.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_xslsetter.py to test_xslsetter.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_xhtml2corpus.py to test_xhtml2corpus.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_adder.py to test_adder.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/xmltester.py to xmltester.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_xslmaker.py to test_xslmaker.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_decode.py to test_decode.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_docxconverter.py to test_docxconverter.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_pdfconverter.py to test_pdfconverter.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/init.py to init.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_lang_guessing.py to test_lang_guessing.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_util.py to test_util.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_svgconverter.py to test_svgconverter.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_languagedetector.py to test_languagedetector.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_pick_parallel_docs.py to test_pick_parallel_docs.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_epubchooser.py to test_epubchooser.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_epubconverter.py to test_epubconverter.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_plaintextconverter.py to test_plaintextconverter.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_documentfixer.py to test_documentfixer.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_analyser.py to test_analyser.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_corpusxmlfile.py to test_corpusxmlfile.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_biblexmlconverter.py to test_biblexmlconverter.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_avvirconverter.py to test_avvirconverter.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_trainingcorpusmaker.py to test_trainingcorpusmaker.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_namechanger.py to test_namechanger.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_corpuspath.py to test_corpuspath.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_converter.py to test_converter.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_saami_crawler.py to test_saami_crawler.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_ccat.py to test_ccat.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_htmlcontentconverter.py to test_htmlcontentconverter.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_samediggi_no_crawler.py to test_samediggi_no_crawler.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_typosfile.py to test_typosfile.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_errormarkup.py to test_errormarkup.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_docconverter.py to test_docconverter.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/test/test_parallelize.py to test_parallelize.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/check_para_consistency.py to check_para_consistency.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/html_cleaner.py to html_cleaner.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/biblexmlconverter.py to biblexmlconverter.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/_version.py to _version.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/samediggi_fi_crawler.py to samediggi_fi_crawler.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/htmlconverter.py to htmlconverter.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/languagedetector.py to languagedetector.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/util.py to util.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/plaintextconverter.py to plaintextconverter.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/samediggi_no_crawler.py to samediggi_no_crawler.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/pick_parallel_docs.py to pick_parallel_docs.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/one-off-functions.py to one-off-functions.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/typosfile.py to typosfile.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/svgconverter.py to svgconverter.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/debug_corpus.py to debug_corpus.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/converter.py to converter.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/init.py to init.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/generate_anchor_list.py to generate_anchor_list.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/docxconverter.py to docxconverter.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/toktmx2tmx.py to toktmx2tmx.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/iso_ir_197.py to iso_ir_197.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/htmlcontentconverter.py to htmlcontentconverter.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/modes.py to modes.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/text_cat.py to text_cat.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/nrk_no_crawler.py to nrk_no_crawler.pyc File "build/bdist.macosx-10.13-x86_64/egg/corpustools/nrk_no_crawler.py", line 137 print('.', end='') ^ SyntaxError: invalid syntax

byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/clean_prestable.py to clean_prestable.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/namechanger.py to namechanger.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/xslsetter.py to xslsetter.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/versioncontrol.py to versioncontrol.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/sentencedivider.py to sentencedivider.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/pick_titles.py to pick_titles.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/winsami2.py to winsami2.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/convertermanager.py to convertermanager.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/macsami.py to macsami.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/latexconverter.py to latexconverter.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/corpusxmlfile.py to corpusxmlfile.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/trainingcorpusmaker.py to trainingcorpusmaker.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/move_files.py to move_files.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/epubconverter.py to epubconverter.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/documentfixer.py to documentfixer.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/errormarkup.py to errormarkup.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/parallelize.py to parallelize.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/pdfconverter.py to pdfconverter.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/argparse_version.py to argparse_version.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/realign.py to realign.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/adder.py to adder.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/mari.py to mari.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/epubchooser.py to epubchooser.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/odfconverter.py to odfconverter.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/decode.py to decode.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/saami_crawler.py to saami_crawler.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/compare_tmx_goldstandard.py to compare_tmx_goldstandard.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/ccat.py to ccat.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/analyser.py to analyser.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/rtfconverter.py to rtfconverter.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/counter.py to counter.pyc byte-compiling build/bdist.macosx-10.13-x86_64/egg/corpustools/crawler.py to crawler.pyc creating build/bdist.macosx-10.13-x86_64/egg/EGG-INFO copying CorpusTools.egg-info/PKG-INFO -> build/bdist.macosx-10.13-x86_64/egg/EGG-INFO copying CorpusTools.egg-info/SOURCES.txt -> build/bdist.macosx-10.13-x86_64/egg/EGG-INFO copying CorpusTools.egg-info/dependency_links.txt -> build/bdist.macosx-10.13-x86_64/egg/EGG-INFO copying CorpusTools.egg-info/entry_points.txt -> build/bdist.macosx-10.13-x86_64/egg/EGG-INFO copying CorpusTools.egg-info/requires.txt -> build/bdist.macosx-10.13-x86_64/egg/EGG-INFO copying CorpusTools.egg-info/top_level.txt -> build/bdist.macosx-10.13-x86_64/egg/EGG-INFO zip_safe flag not set; analyzing archive contents... corpustools.sentencedivider: module references file corpustools.documentfixer: module references file corpustools.pick_samediggi_se_docs: module references file corpustools.svgconverter: module references file corpustools.xslmaker: module references file corpustools.xslsetter: module references file corpustools.languagedetector: module references file corpustools.parallelize: module references file corpustools.update_metadata: module references file corpustools.text_cat: module references file corpustools.htmlcontentconverter: module references file corpustools.converter: module references file corpustools.argparse_version: module references file corpustools.analyser: module references file corpustools.util: module MAY be using inspect.getframeinfo corpustools.util: module MAY be using inspect.stack corpustools.test.test_pdfconverter: module references file corpustools.test.test_text_cat: module references file corpustools.test.test_svgconverter: module references file corpustools.test.test_pick_parallel_docs: module references file corpustools.test.test_corpuspath: module references file corpustools.test.test_analyser: module references file corpustools.test.test_compare_tmx_goldstandard: module references file corpustools.test.test_converter: module references file corpustools.test.test_docconverter: module references file corpustools.test.test_rtfconverter: module references file corpustools.test.test_docxconverter: module references file corpustools.test.test_parallelize: module references file corpustools.test.test_namechanger: module references file corpustools.test.test_epubconverter: module references file corpustools.test.test_plaintextconverter: module references file corpustools.test.test_xslmaker: module references file corpustools.test.test_htmlconverter: module references file corpustools.test.test_languagedetector: module references file corpustools.test.test_corpusxmlfile: module references file corpustools.test.test_documentfixer: module references file creating 'dist/CorpusTools-0.23.1-py2.7.egg' and adding 'build/bdist.macosx-10.13-x86_64/egg' to it removing 'build/bdist.macosx-10.13-x86_64/egg' (and everything under it) Processing CorpusTools-0.23.1-py2.7.egg creating /Users/ttr000/Library/Python/2.7/lib/python/site-packages/CorpusTools-0.23.1-py2.7.egg Extracting CorpusTools-0.23.1-py2.7.egg to /Users/ttr000/Library/Python/2.7/lib/python/site-packages File "/Users/ttr000/Library/Python/2.7/lib/python/site-packages/CorpusTools-0.23.1-py2.7.egg/corpustools/nrk_no_crawler.py", line 137 print('.', end='') ^ SyntaxError: invalid syntax

Adding CorpusTools 0.23.1 to easy-install.pth file Installing packagetmx script to /Users/ttr000/bin Installing duperemover script to /Users/ttr000/bin Installing parallelize script to /Users/ttr000/bin Installing convert2xml script to /Users/ttr000/bin Installing dupefinder script to /Users/ttr000/bin Installing debug_corpus script to /Users/ttr000/bin Installing remove_corpus_file script to /Users/ttr000/bin Installing saami_crawler script to /Users/ttr000/bin Installing add_files_to_corpus script to /Users/ttr000/bin Installing pick_sd_se script to /Users/ttr000/bin Installing epubchooser script to /Users/ttr000/bin Installing realign script to /Users/ttr000/bin Installing update_metadata script to /Users/ttr000/bin Installing paracheck script to /Users/ttr000/bin Installing pytextcat script to /Users/ttr000/bin Installing ccat script to /Users/ttr000/bin Installing compare_tmx_goldstandard script to /Users/ttr000/bin Installing analyse_corpus script to /Users/ttr000/bin Installing clean_prestable script to /Users/ttr000/bin Installing html_cleaner script to /Users/ttr000/bin Installing make_training_corpus script to /Users/ttr000/bin Installing generate_anchor_list script to /Users/ttr000/bin Installing pick_parallel_docs script to /Users/ttr000/bin Installing normalise_corpus_names script to /Users/ttr000/bin Installing move_corpus_file script to /Users/ttr000/bin Installing count_analysed script to /Users/ttr000/bin

Installed /Users/ttr000/Library/Python/2.7/lib/python/site-packages/CorpusTools-0.23.1-py2.7.egg Processing dependencies for CorpusTools==0.23.1 Searching for regex Reading http://pypi.python.org/simple/regex/ Couldn't find index page for 'regex' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading http://pypi.python.org/simple/ No local packages or download links found for regex Best match: None Traceback (most recent call last): File "setup.py", line 69, in include_package_data=True, File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 151, in setup dist.run_commands() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/install.py", line 76, in run File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/install.py", line 104, in do_egg_install File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 211, in run

File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 427, in easy_install

File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 478, in install_item

File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 519, in process_distribution

File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 563, in resolve File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 799, in best_match File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 811, in obtain File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 434, in easy_install

File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/package_index.py", line 475, in fetch_distribution AttributeError: 'NoneType' object has no attribute 'clone' tf-hsl-m0016:CorpusTools ttr000$ cd tf-hsl-m0016:~ ttr000$ cd freecorpus/ tf-hsl-m0016:freecorpus ttr000$ convert2xml orig/sma/ -bash: /usr/local/bin/convert2xml: No such file or directory tf-hsl-m0016:freecorpus ttr000$ convert2xml orig/sma/which convert2xml -bash: /usr/local/bin/convert2xml: No such file or directory t

albbas commented 6 years ago

Comment 12751

Date: 2018-05-04 20:18:10 +0200 From: Børre Gaup <>

Does it work now?