1 | | I just installed py26-pywavelets. The install was fine, but I have been trying some simple tests, and code from the site, and I have gotten either Segmentation faults or other errors. |
2 | | I am not really sure if this is a port issue, or rather just a pywavelets issue. |
3 | | But, I can't seem to get an inverse wavelet transform to work. For example, just trying to run this simple example fails: |
4 | | |
5 | | [http://projects.scipy.org/wavelets/browser/pywt/tags/release_0_1_6/demo/wavedec.py] |
6 | | |
7 | | |
8 | | {{{ |
9 | | Traceback (most recent call last): |
10 | | File "wavedec.py", line 30, in <module> |
11 | | print [("%.4f" % val) for val in pywt.waverec(dec, wavelet, mode)] |
12 | | File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pywt/multilevel.py", line 70, in waverec |
13 | | a = idwt(a, d, wavelet, mode, 1) |
14 | | File "_pywt.pyx", line 530, in _pywt.idwt |
15 | | RuntimeError: C idwt failed |
16 | | |
17 | | }}} |
18 | | |
19 | | And this one: |
20 | | [http://projects.scipy.org/wavelets/browser/pywt/tags/release_0_1_6/demo/plot_wavelets.py] |
21 | | Causes a Segmentation fault |
22 | | |
23 | | Has anyone had any luck getting this port to actually run? |
24 | | |
25 | | Thanks, |
26 | | |
27 | | --Adam |
| 1 | There's an update available for py26-pywavelets. The present MacPorts version installs fine but has known runtime errors. |