Ticket #1319 (new bug)

Opened 14 months ago

Error installing orange-text

Reported by: cement_head Owned by:
Milestone: Component: addon/textmining
Severity: major Keywords: install crash
Cc: Blocking:
Blocked By:

Description

Hello,

I'm getting an error when installing the addon "orange-text"; all other addons installed without issue:

Here's the terminal output:

sudo pip install Orange-Text

Downloading/unpacking Orange-Text

Downloading Orange-Text-1.2a1.tar.gz (2.1Mb): 2.1Mb downloaded Running setup.py egg_info for package Orange-Text

Downloading  http://pypi.python.org/packages/source/d/distribute/distribute-0.6.26.tar.gz Extracting in /tmp/tmpWAoC_S Now working in /tmp/tmpWAoC_S/distribute-0.6.26 Building a Distribute egg in /home/andor/build/Orange-Text warning: no files found matching 'Makefile' under directory 'docs' warning: no files found matching 'indexsidebar.html' under directory 'docs' /home/andor/build/Orange-Text/distribute-0.6.26-py2.7.egg

warning: no files found matching '*.txt'

Requirement already satisfied (use –upgrade to upgrade): Orange in /usr/local/lib/python2.7/dist-packages (from Orange-Text) Requirement already satisfied (use –upgrade to upgrade): setuptools in /usr/local/lib/python2.7/dist-packages/setuptools-0.9.6-py2.7.egg (from Orange-Text) Requirement already satisfied (use –upgrade to upgrade): numpy in /usr/lib/python2.7/dist-packages (from Orange->Orange-Text) Installing collected packages: Orange-Text

Running setup.py install for Orange-Text

warning: no files found matching '*.txt' building '_text._orngTextWrapper' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DTMTNOZLIB=1 -DNDEBUG=1 -I/home/andor/build/Orange-Text/src -I/usr/include/python2.7 -c src/orngTextWrapper/Wrapper_wrap.cxx -o build/temp.linux-x86_64-2.7/src/orngTextWrapper/Wrapper_wrap.o -fno-strict-aliasing -Wall -Wno-sign-compare -Woverloaded-virtual cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for Ada/C/ObjC but not for C++ [enabled by default] src/orngTextWrapper/Wrapper_wrap.cxx: In function ‘void SWIG_Python_AddErrorMsg(const char*)’: src/orngTextWrapper/Wrapper_wrap.cxx:870:42: warning: format not a string literal and no format arguments [-Wformat-security] src/orngTextWrapper/Wrapper_wrap.cxx: At global scope: src/orngTextWrapper/Wrapper_wrap.cxx:2634:13: error: ‘ptrdiff_t’ does not name a type src/orngTextWrapper/Wrapper_wrap.cxx:2660:21: error: expected ‘;’ at end of member declaration src/orngTextWrapper/Wrapper_wrap.cxx:2660:39: error: expected ‘)’ before ‘n’ src/orngTextWrapper/Wrapper_wrap.cxx:2675:34: error: declaration of ‘operator+=’ as non-function src/orngTextWrapper/Wrapper_wrap.cxx:2675:30: error: expected ‘;’ at end of member declaration src/orngTextWrapper/Wrapper_wrap.cxx:2675:44: error: expected ‘)’ before ‘n’ src/orngTextWrapper/Wrapper_wrap.cxx:2680:34: error: declaration of ‘operator-=’ as non-function src/orngTextWrapper/Wrapper_wrap.cxx:2680:30: error: expected ‘;’ at end of member declaration src/orngTextWrapper/Wrapper_wrap.cxx:2680:44: error: expected ‘)’ before ‘n’ src/orngTextWrapper/Wrapper_wrap.cxx:2685:33: error: declaration of ‘operator+’ as non-function src/orngTextWrapper/Wrapper_wrap.cxx:2685:30: error: expected ‘;’ at end of member declaration src/orngTextWrapper/Wrapper_wrap.cxx:2685:43: error: expected ‘)’ before ‘n’ src/orngTextWrapper/Wrapper_wrap.cxx:2690:33: error: declaration of ‘operator-’ as non-function src/orngTextWrapper/Wrapper_wrap.cxx:2690:30: error: expected ‘;’ at end of member declaration src/orngTextWrapper/Wrapper_wrap.cxx:2690:43: error: expected ‘)’ before ‘n’ src/orngTextWrapper/Wrapper_wrap.cxx:2695:5: error: ‘ptrdiff_t’ does not name a type src/orngTextWrapper/Wrapper_wrap.cxx:2851:23: error: ‘SWIG_From_ptrdiff_t’ declared as an ‘inline’ variable src/orngTextWrapper/Wrapper_wrap.cxx:2851:23: error: ‘ptrdiff_t’ was not declared in this scope src/orngTextWrapper/Wrapper_wrap.cxx:2851:23: note: suggested alternatives: /usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ src/orngTextWrapper/Wrapper_wrap.cxx:2852:1: error: expected ‘,’ or ‘;’ before ‘{’ token src/orngTextWrapper/Wrapper_wrap.cxx:2904:39: error: ‘ptrdiff_t’ has not been declared src/orngTextWrapper/Wrapper_wrap.cxx: In function ‘int SWIG_AsVal_ptrdiff_t(PyObject*, int*)’: src/orngTextWrapper/Wrapper_wrap.cxx:2908:50: error: expected type-specifier before ‘ptrdiff_t’ src/orngTextWrapper/Wrapper_wrap.cxx:2908:50: error: expected ‘>’ before ‘ptrdiff_t’ src/orngTextWrapper/Wrapper_wrap.cxx:2908:50: error: expected ‘(’ before ‘ptrdiff_t’ src/orngTextWrapper/Wrapper_wrap.cxx:2908:50: error: ‘ptrdiff_t’ was not declared in this scope src/orngTextWrapper/Wrapper_wrap.cxx:2908:50: note: suggested alternatives: /usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ src/orngTextWrapper/Wrapper_wrap.cxx:2908:64: error: expected ‘)’ before ‘;’ token src/orngTextWrapper/Wrapper_wrap.cxx: At global scope: src/orngTextWrapper/Wrapper_wrap.cxx:3256:15: error: ‘swig::check_index’ declared as an ‘inline’ variable src/orngTextWrapper/Wrapper_wrap.cxx:3256:15: error: ‘ptrdiff_t’ was not declared in this scope src/orngTextWrapper/Wrapper_wrap.cxx:3256:15: note: suggested alternatives: /usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ src/orngTextWrapper/Wrapper_wrap.cxx:3256:35: error: expected primary-expression before ‘size’ src/orngTextWrapper/Wrapper_wrap.cxx:3256:41: error: expected primary-expression before ‘bool’ src/orngTextWrapper/Wrapper_wrap.cxx:3256:60: error: expression list treated as compound expression in initializer [-fpermissive] src/orngTextWrapper/Wrapper_wrap.cxx:3256:62: error: expected ‘,’ or ‘;’ before ‘{’ token src/orngTextWrapper/Wrapper_wrap.cxx:7793:1: error: expected ‘}’ at end of input error: command 'gcc' failed with exit status 1 Complete output from command /usr/bin/python -c "import setuptools;file='/home/andor/build/Orange-Text/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install –single-version-externally-managed –record /tmp/pip-bsvgWH-record/install-record.txt: running install

running build

running build_py

creating build

creating build/lib.linux-x86_64-2.7

creating build/lib.linux-x86_64-2.7/_text

copying _text/orngTextWrapper.py -> build/lib.linux-x86_64-2.7/_text

copying _text/init.py -> build/lib.linux-x86_64-2.7/_text

copying _text/orngText.py -> build/lib.linux-x86_64-2.7/_text

creating build/lib.linux-x86_64-2.7/_text/widgets

copying _text/widgets/OWBagofWords.py -> build/lib.linux-x86_64-2.7/_text/widgets

copying _text/widgets/OWWordNgram.py -> build/lib.linux-x86_64-2.7/_text/widgets

copying _text/widgets/OWTextPreprocess.py -> build/lib.linux-x86_64-2.7/_text/widgets

copying _text/widgets/OWLetterNgram.py -> build/lib.linux-x86_64-2.7/_text/widgets

copying _text/widgets/init.py -> build/lib.linux-x86_64-2.7/_text/widgets

copying _text/widgets/OWTextFile.py -> build/lib.linux-x86_64-2.7/_text/widgets

copying _text/widgets/OWTextFeatureSelection.py -> build/lib.linux-x86_64-2.7/_text/widgets

copying _text/widgets/OWTextDistance.py -> build/lib.linux-x86_64-2.7/_text/widgets

creating build/lib.linux-x86_64-2.7/_text/widgets/prototypes

copying _text/widgets/prototypes/init.py -> build/lib.linux-x86_64-2.7/_text/widgets/prototypes

copying _text/widgets/prototypes/OWCorrAnalysisGraph.py -> build/lib.linux-x86_64-2.7/_text/widgets/prototypes

copying _text/widgets/prototypes/OWCorrAnalysis.py -> build/lib.linux-x86_64-2.7/_text/widgets/prototypes

running egg_info

writing requirements to Orange_Text.egg-info/requires.txt

writing Orange_Text.egg-info/PKG-INFO

writing top-level names to Orange_Text.egg-info/top_level.txt

writing dependency_links to Orange_Text.egg-info/dependency_links.txt

writing entry points to Orange_Text.egg-info/entry_points.txt

warning: manifest_maker: standard file '-c' not found

reading manifest file 'Orange_Text.egg-info/SOURCES.txt'

reading manifest template 'MANIFEST.in'

warning: no files found matching '*.txt'

writing manifest file 'Orange_Text.egg-info/SOURCES.txt'

creating build/lib.linux-x86_64-2.7/_text/datasets

copying _text/datasets/lem-bg.bin -> build/lib.linux-x86_64-2.7/_text/datasets

copying _text/datasets/lem-cs.bin -> build/lib.linux-x86_64-2.7/_text/datasets

copying _text/datasets/lem-en.bin -> build/lib.linux-x86_64-2.7/_text/datasets

copying _text/datasets/lem-es.bin -> build/lib.linux-x86_64-2.7/_text/datasets

copying _text/datasets/lem-et.bin -> build/lib.linux-x86_64-2.7/_text/datasets

copying _text/datasets/lem-fr.bin -> build/lib.linux-x86_64-2.7/_text/datasets

copying _text/datasets/lem-ge.bin -> build/lib.linux-x86_64-2.7/_text/datasets

copying _text/datasets/lem-hr.fsa -> build/lib.linux-x86_64-2.7/_text/datasets

copying _text/datasets/lem-hu.bin -> build/lib.linux-x86_64-2.7/_text/datasets

copying _text/datasets/lem-it.bin -> build/lib.linux-x86_64-2.7/_text/datasets

copying _text/datasets/lem-ro.bin -> build/lib.linux-x86_64-2.7/_text/datasets

copying _text/datasets/lem-sl.bin -> build/lib.linux-x86_64-2.7/_text/datasets

copying _text/datasets/lem-sr.bin -> build/lib.linux-x86_64-2.7/_text/datasets

copying _text/datasets/stopwords_en.txt -> build/lib.linux-x86_64-2.7/_text/datasets

copying _text/datasets/stopwords_fr.txt -> build/lib.linux-x86_64-2.7/_text/datasets

copying _text/datasets/stopwords_hr.txt -> build/lib.linux-x86_64-2.7/_text/datasets

creating build/lib.linux-x86_64-2.7/_text/widgets/icons

copying _text/widgets/icons/BagOfWords.png -> build/lib.linux-x86_64-2.7/_text/widgets/icons

copying _text/widgets/icons/LetterNgram.png -> build/lib.linux-x86_64-2.7/_text/widgets/icons

copying _text/widgets/icons/TextDistance.png -> build/lib.linux-x86_64-2.7/_text/widgets/icons

copying _text/widgets/icons/TextFeatureSelection.png -> build/lib.linux-x86_64-2.7/_text/widgets/icons

copying _text/widgets/icons/TextFile.png -> build/lib.linux-x86_64-2.7/_text/widgets/icons

copying _text/widgets/icons/TextPreprocess.png -> build/lib.linux-x86_64-2.7/_text/widgets/icons

copying _text/widgets/icons/WordNgram.png -> build/lib.linux-x86_64-2.7/_text/widgets/icons

copying _text/widgets/icons/bg.png -> build/lib.linux-x86_64-2.7/_text/widgets/icons

copying _text/widgets/icons/cs.png -> build/lib.linux-x86_64-2.7/_text/widgets/icons

copying _text/widgets/icons/en.png -> build/lib.linux-x86_64-2.7/_text/widgets/icons

copying _text/widgets/icons/es.png -> build/lib.linux-x86_64-2.7/_text/widgets/icons

copying _text/widgets/icons/et.png -> build/lib.linux-x86_64-2.7/_text/widgets/icons

copying _text/widgets/icons/fr.png -> build/lib.linux-x86_64-2.7/_text/widgets/icons

copying _text/widgets/icons/ge.png -> build/lib.linux-x86_64-2.7/_text/widgets/icons

copying _text/widgets/icons/hr.png -> build/lib.linux-x86_64-2.7/_text/widgets/icons

copying _text/widgets/icons/hu.png -> build/lib.linux-x86_64-2.7/_text/widgets/icons

copying _text/widgets/icons/it.png -> build/lib.linux-x86_64-2.7/_text/widgets/icons

copying _text/widgets/icons/ro.png -> build/lib.linux-x86_64-2.7/_text/widgets/icons

copying _text/widgets/icons/sl.png -> build/lib.linux-x86_64-2.7/_text/widgets/icons

copying _text/widgets/icons/sr.png -> build/lib.linux-x86_64-2.7/_text/widgets/icons

running build_ext

building '_text._orngTextWrapper' extension

creating build/temp.linux-x86_64-2.7

creating build/temp.linux-x86_64-2.7/src

creating build/temp.linux-x86_64-2.7/src/orngTextWrapper

creating build/temp.linux-x86_64-2.7/src/tmt

creating build/temp.linux-x86_64-2.7/src/tmt/common

creating build/temp.linux-x86_64-2.7/src/tmt/lemmatization

creating build/temp.linux-x86_64-2.7/src/tmt/strings

creating build/temp.linux-x86_64-2.7/src/lemmagen

gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DTMTNOZLIB=1 -DNDEBUG=1 -I/home/andor/build/Orange-Text/src -I/usr/include/python2.7 -c src/orngTextWrapper/Wrapper_wrap.cxx -o build/temp.linux-x86_64-2.7/src/orngTextWrapper/Wrapper_wrap.o -fno-strict-aliasing -Wall -Wno-sign-compare -Woverloaded-virtual

cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for Ada/C/ObjC but not for C++ [enabled by default]

src/orngTextWrapper/Wrapper_wrap.cxx: In function ‘void SWIG_Python_AddErrorMsg(const char*)’:

src/orngTextWrapper/Wrapper_wrap.cxx:870:42: warning: format not a string literal and no format arguments [-Wformat-security]

src/orngTextWrapper/Wrapper_wrap.cxx: At global scope:

src/orngTextWrapper/Wrapper_wrap.cxx:2634:13: error: ‘ptrdiff_t’ does not name a type

src/orngTextWrapper/Wrapper_wrap.cxx:2660:21: error: expected ‘;’ at end of member declaration

src/orngTextWrapper/Wrapper_wrap.cxx:2660:39: error: expected ‘)’ before ‘n’

src/orngTextWrapper/Wrapper_wrap.cxx:2675:34: error: declaration of ‘operator+=’ as non-function

src/orngTextWrapper/Wrapper_wrap.cxx:2675:30: error: expected ‘;’ at end of member declaration

src/orngTextWrapper/Wrapper_wrap.cxx:2675:44: error: expected ‘)’ before ‘n’

src/orngTextWrapper/Wrapper_wrap.cxx:2680:34: error: declaration of ‘operator-=’ as non-function

src/orngTextWrapper/Wrapper_wrap.cxx:2680:30: error: expected ‘;’ at end of member declaration

src/orngTextWrapper/Wrapper_wrap.cxx:2680:44: error: expected ‘)’ before ‘n’

src/orngTextWrapper/Wrapper_wrap.cxx:2685:33: error: declaration of ‘operator+’ as non-function

src/orngTextWrapper/Wrapper_wrap.cxx:2685:30: error: expected ‘;’ at end of member declaration

src/orngTextWrapper/Wrapper_wrap.cxx:2685:43: error: expected ‘)’ before ‘n’

src/orngTextWrapper/Wrapper_wrap.cxx:2690:33: error: declaration of ‘operator-’ as non-function

src/orngTextWrapper/Wrapper_wrap.cxx:2690:30: error: expected ‘;’ at end of member declaration

src/orngTextWrapper/Wrapper_wrap.cxx:2690:43: error: expected ‘)’ before ‘n’

src/orngTextWrapper/Wrapper_wrap.cxx:2695:5: error: ‘ptrdiff_t’ does not name a type

src/orngTextWrapper/Wrapper_wrap.cxx:2851:23: error: ‘SWIG_From_ptrdiff_t’ declared as an ‘inline’ variable

src/orngTextWrapper/Wrapper_wrap.cxx:2851:23: error: ‘ptrdiff_t’ was not declared in this scope

src/orngTextWrapper/Wrapper_wrap.cxx:2851:23: note: suggested alternatives:

/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:156:28: note: ‘std::ptrdiff_t’

/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:156:28: note: ‘std::ptrdiff_t’

src/orngTextWrapper/Wrapper_wrap.cxx:2852:1: error: expected ‘,’ or ‘;’ before ‘{’ token

src/orngTextWrapper/Wrapper_wrap.cxx:2904:39: error: ‘ptrdiff_t’ has not been declared

src/orngTextWrapper/Wrapper_wrap.cxx: In function ‘int SWIG_AsVal_ptrdiff_t(PyObject*, int*)’:

src/orngTextWrapper/Wrapper_wrap.cxx:2908:50: error: expected type-specifier before ‘ptrdiff_t’

src/orngTextWrapper/Wrapper_wrap.cxx:2908:50: error: expected ‘>’ before ‘ptrdiff_t’

src/orngTextWrapper/Wrapper_wrap.cxx:2908:50: error: expected ‘(’ before ‘ptrdiff_t’

src/orngTextWrapper/Wrapper_wrap.cxx:2908:50: error: ‘ptrdiff_t’ was not declared in this scope

src/orngTextWrapper/Wrapper_wrap.cxx:2908:50: note: suggested alternatives:

/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:156:28: note: ‘std::ptrdiff_t’

/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:156:28: note: ‘std::ptrdiff_t’

src/orngTextWrapper/Wrapper_wrap.cxx:2908:64: error: expected ‘)’ before ‘;’ token

src/orngTextWrapper/Wrapper_wrap.cxx: At global scope:

src/orngTextWrapper/Wrapper_wrap.cxx:3256:15: error: ‘swig::check_index’ declared as an ‘inline’ variable

src/orngTextWrapper/Wrapper_wrap.cxx:3256:15: error: ‘ptrdiff_t’ was not declared in this scope

src/orngTextWrapper/Wrapper_wrap.cxx:3256:15: note: suggested alternatives:

/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:156:28: note: ‘std::ptrdiff_t’

/usr/include/c++/4.6/x86_64-linux-gnu/./bits/c++config.h:156:28: note: ‘std::ptrdiff_t’

src/orngTextWrapper/Wrapper_wrap.cxx:3256:35: error: expected primary-expression before ‘size’

src/orngTextWrapper/Wrapper_wrap.cxx:3256:41: error: expected primary-expression before ‘bool’

src/orngTextWrapper/Wrapper_wrap.cxx:3256:60: error: expression list treated as compound expression in initializer [-fpermissive]

src/orngTextWrapper/Wrapper_wrap.cxx:3256:62: error: expected ‘,’ or ‘;’ before ‘{’ token

src/orngTextWrapper/Wrapper_wrap.cxx:7793:1: error: expected ‘}’ at end of input

error: command 'gcc' failed with exit status 1

---------------------------------------- Command /usr/bin/python -c "import setuptools;file='/home/andor/build/Orange-Text/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install –single-version-externally-managed –record /tmp/pip-bsvgWH-record/install-record.txt failed with error code 1 Storing complete log in /home/andor/.pip/pip.log

Note: See TracTickets for help on using tickets.