erlichmen / voiceid

Automatically exported from code.google.com/p/voiceid
0 stars 0 forks source link

LIUM_SpkDiarization-4.7.jar not correctly installed #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. start vid on command line

What is the expected output? What do you see instead?
Verification that software is installed correctly.
Received an error instead.

What version of the product are you using? On what operating system?
Voiceid .2
Python 2.7

Please provide any additional information below.

Voiceid is referencing an incorrect pathway. 
- the wrong pathway Voiceid is trying to access: 
/Library/Frameworks/Python.framework/Versions/2.7/local/share/voiceid/
- the correct pathway is: 
/Library/Frameworks/Python.framework/Versions/2.7/share/voiceid/

Traceback: 
$ vid
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.7/bin/vid", line 126, in <module>
    utils.check_deps()
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/voiceid/utils.py", line 132, in check_deps
    ensure_file_exists(CONFIGURATION.LIUM_JAR)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/voiceid/utils.py", line 102, in ensure_file_exists
    % filename)
IOError: File 
/Library/Frameworks/Python.framework/Versions/2.7/local/share/voiceid/LIUM_SpkDi
arization-4.7.jar doesn't exist or not correctly created

Original issue reported on code.google.com by actongor...@gmail.com on 8 Sep 2013 at 5:04

GoogleCodeExporter commented 8 years ago
We are providing to correct a wrong pathway. If you want you can modify the 
file src/voiceid/__init__.py and replace the row 125 as 

if sys.platform == 'win32' or sys.platform == 'darwin':
            local = ''

Same thing in the file script/voiceidplayer at row 49.

Original comment by michelaf...@gmail.com on 11 Sep 2013 at 12:08

GoogleCodeExporter commented 8 years ago
Thanks so much! I'll give you some feedback as soon as I can.

Original comment by actongor...@gmail.com on 13 Sep 2013 at 5:33

GoogleCodeExporter commented 8 years ago
local is also wrong on centos sys.prefix is sufficient... 

Original comment by Todd.Fis...@calltrackingmetrics.com on 8 Nov 2013 at 9:09

GoogleCodeExporter commented 8 years ago
Fixed the issue about paths in CentOS, Fedora and Red Hat in revision 274.
Thanks for the feedback.

Original comment by maurome...@gmail.com on 20 Nov 2013 at 3:24