Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python test file, test.py, no floatArray() #21

Open
adamaviv opened this issue Jun 3, 2013 · 1 comment
Open

Python test file, test.py, no floatArray() #21

adamaviv opened this issue Jun 3, 2013 · 1 comment

Comments

@adamaviv
Copy link

adamaviv commented Jun 3, 2013

I have the following error when running the python test.py file:

Running libxtract Python bindings test...

Traceback (most recent call last):
File "test.py", line 12, in
a = xtract.floatArray(len)
AttributeError: 'module' object has no attribute 'floatArray'

I checked out xtract.py and there is no floatArray defined, so I'm wondering if the test file might be old. If so, can you push an update? Otherwise, indicate where I've gone wrong in the compilation process?

Thanks

@adamaviv
Copy link
Author

adamaviv commented Jun 4, 2013

Ok, this is an issue with version with libxtract-0.6.6. However, when I cloned the master, the issue went away. Now floatArray()'s are changed to doubleArray()'s.

Unfortunately, there is a new issue, a segfault:

Running libxtract Python bindings test...

The mean of 0.0, 2.0, 4.0, 6.0, 8.0, 10.0, 12.0, 14.0 is: 7.00
The variance is 24.00
Computing spectrum...
0.0
1.41421356237
1.08239220029
0.0
5512.5
11025.0
16537.5
22050.0
Computing windowed subframes...
Segmentation fault

I think there may be another issue-thread about this. I test this on both Mac OSX installation and a Linux installation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant