Closed thisisthechris closed 8 years ago
Hi Chris,
Thank you. Could you try running Classification.py instead of Classifier.py? It should run and ask you to provide two input directories (possibly with a warning).
Thanks, Adam
On Mon, Jan 4, 2016 at 7:18 PM, Chris Hunt notifications@github.com wrote:
Hi All,
I'm working on creating a reusable development environment for this project using Virtualbox, Vagrant and Ansible. I'm very close, but at the moment at get the following error whenever I try to run Classifer.py:
Process Process-1: Traceback (most recent call last): File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run self._target(_self._args, _self._kwargs) File "/vagrant/src/Classifier.py", line 41, in classifier scaling(dir,emo) File "/vagrant/src/Classifier.py", line 12, in scaling subprocess.call(cmd2, stdout=outfile2) File "/usr/lib/python2.7/subprocess.py", line 493, in call return Popen(_popenargs, _kwargs).wait() File "/usr/lib/python2.7/subprocess.py", line 679, in init errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1259, in _execute_child raise child_exception OSError: [Errno 8] Exec format error
This occurs for both the web interface and the command line tool. It's also repeated another four times (I assume for each emotion). The scripts then hang and become unresponsive.
I think it's an issue with the output files. I'm going to try removing them and see what happens.
C
— Reply to this email directly or view it on GitHub https://github.com/bluemonk482/emotionannotate/issues/1.
I think I've figured it out. LibSVM in the repo is a local compiled version, so it won't execute under my vagrant environment. I'll swap this for: https://packages.debian.org/squeeze/libsvn-dev
If you want to take a look for yourself the branch I'm currently working on is here: https://github.com/i-DAT/emotionannotate/tree/add-vagrant-development-env
Have got it working by installing https://packages.debian.org/wheezy/devel/libsvm-tools and tweaking the code to use those libs rather than the ones committed into the repo.
Hi All,
I'm working on creating a reusable development environment for this project using Virtualbox, Vagrant and Ansible. I'm very close, but at the moment at get the following error whenever I try to run Classifer.py:
This occurs for both the web interface and the command line tool. It's also repeated another four times (I assume for each emotion). The scripts then hang and become unresponsive.
I think it's an issue with the output files. I'm going to try removing them and see what happens.
C