[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#706664: marked as done (python-pocketsphinx: exception importing Decoder: ValueError: PyCapsule_GetPointer called with invalid PyCapsule object)



Your message dated Wed, 22 May 2013 23:33:34 +0000
with message-id <E1UfIXG-0006tu-2C@franck.debian.org>
and subject line Bug#706664: fixed in sphinxbase 0.8-2
has caused the Debian Bug report #706664,
regarding python-pocketsphinx: exception importing Decoder: ValueError: PyCapsule_GetPointer called with invalid PyCapsule object
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
706664: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=706664
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: python-pocketsphinx
Version: 0.8-2
Severity: normal

Importing just the decoder module fails, the module itself should handle
any initialisation that is needed to make this work. Importing the whole
pocketsphinx module and then calling the decoder from that works though.

pabs@chianamo ~/tmp/speech-test $ cat test.py 
from pocketsphinx import Decoder
HMM = "/usr/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k"
LM = "/usr/share/pocketsphinx/model/lm/en_US/hub4.5000.DMP"
DICT = "/usr/share/pocketsphinx/model/lm/en_US/cmu07a.dic"
WAV = "test.wav"
decoder = Decoder(hmm=HMM, lm=LM, dict=DICT)
fh = open(WAV)
fh.seek(44) # skip the WAV header
decoder.decode_raw(fh)
print decoder.get_hyp() # short for hypothesis

pabs@chianamo ~/tmp/speech-test $ python test.py 
Traceback (most recent call last):
  File "test.py", line 1, in <module>
    from pocketsphinx import Decoder
  File "sphinxbase.pxd", line 150, in init pocketsphinx (pocketsphinx.c:7935)
ValueError: PyCapsule_GetPointer called with invalid PyCapsule object

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable'), (550, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.8-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-pocketsphinx depends on:
ii  libc6             2.13-38
ii  libpocketsphinx1  0.8-2
ii  libsphinxbase1    0.8-1
ii  python            2.7.3-4

-- 
bye,
pabs

http://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
--- Begin Message ---
Source: sphinxbase
Source-Version: 0.8-2

We believe that the bug you reported is fixed in the latest version of
sphinxbase, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 706664@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Samuel Thibault <sthibault@debian.org> (supplier of updated sphinxbase package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 23 May 2013 01:07:47 +0200
Source: sphinxbase
Binary: libsphinxbase-dev sphinxbase-utils libsphinxbase1 python-sphinxbase python-sphinxbase-dbg
Architecture: source amd64
Version: 0.8-2
Distribution: unstable
Urgency: low
Maintainer: Debian Accessibility Team <debian-accessibility@lists.debian.org>
Changed-By: Samuel Thibault <sthibault@debian.org>
Description: 
 libsphinxbase-dev - Speech recognition tool - development files
 libsphinxbase1 - Speech recognition tool - shared library
 python-sphinxbase - Speech recognition tool - python bindings
 python-sphinxbase-dbg - Speech recognition tool - python bindings (debug version)
 sphinxbase-utils - Speech recognition tool - development files
Closes: 706664
Changes: 
 sphinxbase (0.8-2) unstable; urgency=low
 .
   * control: Make libsphinxbase-dev Multi-Arch: same.
   * Remove useless README file.
   * rules: remove python/sphinxbase.c on clean to make it regenerated with
     fixed cython (Closes: #706664)
Checksums-Sha1: 
 b590763113899ed2c2530fec4d3c67952478a050 2341 sphinxbase_0.8-2.dsc
 b6059480866d0c546796d16fe721627ec26c2e47 5957 sphinxbase_0.8-2.debian.tar.gz
 1345d845db6332e1f70e518e4d32e1c5c46ae69a 1702494 libsphinxbase-dev_0.8-2_amd64.deb
 1d3be7d20390a6013a27d072f71e44208b07de4d 44250 sphinxbase-utils_0.8-2_amd64.deb
 3e628d6e32babf1c2d15b651d5f9ac6730602dcf 131980 libsphinxbase1_0.8-2_amd64.deb
 3e176c508f726dec7700ef5b2f48e790a08d879c 39534 python-sphinxbase_0.8-2_amd64.deb
 20f8af66db7cd2a74b4b4b4bb98bb5d1ee1a27aa 45130 python-sphinxbase-dbg_0.8-2_amd64.deb
Checksums-Sha256: 
 0e5e40249f3f60806a99f56fbb28b08cbca22a2b7bb1f5ea5c5362ff9a4d0755 2341 sphinxbase_0.8-2.dsc
 b6e365b7c509f29dc5552b232229caea49a729aa7c8e54eb0b2eefc5744ab35d 5957 sphinxbase_0.8-2.debian.tar.gz
 aa2d81d38de1ed17bac2fff13651f183d9eb9d42901891ffdc98f1faf9a39dd7 1702494 libsphinxbase-dev_0.8-2_amd64.deb
 58669cb5b2597d06acb18e7bc8e0329e55fe232c39754f0ec18eb87ba094ee90 44250 sphinxbase-utils_0.8-2_amd64.deb
 abd3ffdc5fdd6e06cd286620ff5cec044118bda42e781744a70dccfddf9e5aa8 131980 libsphinxbase1_0.8-2_amd64.deb
 7fc0ed084b1be77acaf87048f45f76bcdab60e95531d9b4940e6d308e9bde001 39534 python-sphinxbase_0.8-2_amd64.deb
 1db1e91370c80b8c0dda3e85fca31707dabc02499ec7cc73677d3eaa54b204c8 45130 python-sphinxbase-dbg_0.8-2_amd64.deb
Files: 
 f9c19d4321d9b6d7f306bedd8cab281d 2341 sound optional sphinxbase_0.8-2.dsc
 8e9b19657f27c2811bf13063958fd4f9 5957 sound optional sphinxbase_0.8-2.debian.tar.gz
 b3055b285a50487166d868879bd65a21 1702494 libdevel optional libsphinxbase-dev_0.8-2_amd64.deb
 70e31e34a0ec975a4c03e38ad30c78f9 44250 sound optional sphinxbase-utils_0.8-2_amd64.deb
 2136c2b551814e5b7841b76003fa50c4 131980 libs optional libsphinxbase1_0.8-2_amd64.deb
 689652d27f6537ef1f0d26ba6adf46bf 39534 python optional python-sphinxbase_0.8-2_amd64.deb
 4acdbac13ab157993f20899f08ccd59f 45130 debug extra python-sphinxbase-dbg_0.8-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCgAGBQJRnVH3AAoJECqpogBB8bdXZ+4QAIHFwghoStQNMw5ZjfU5rIVk
xZDJZ4ak9H8ZLavLsd+Sdjdn+Syyux4Wg6iGCVqj30oPsWZcL85RN5wgaP5A0ro8
3gYud+2a4HESr7HvErGg7RKEt4K/8ln35dcjsNTDTmfdfamqpxzxzLn7BkYISLPz
tJVqt8dpw9ZVVLMN7NirGPXGNbaggQJF8usmxwU3He5A7z8fRYZt8azbZZNjQr9z
Co5kp5ZYNR+LZY9minxpYfzGsmDMMb3ZdZ9JVpUmaK8bCPFMotAa94XPf3mqs4Gy
IUUhaCx61JD2nfhv38tLP4fSspwJC9aMyz/YbMEbVWA3hEDmoEyuOuUTnfa0xVnk
fb9fiUCSM5btRppiwn2fiTmmt6aeOkvBHkP8xbr2VkHQ8ZsVOMQ0N7Vxi+G7X0Fn
iDrThHV7Tni0Me+64VbBV6mRhgSSJpWT4D9lzw7jgHO1qF/PtXbVZMRnxESse8rX
dtIVLtPLw4/JM+6Xz8E6l80VLYsYoFSqEIHo/yoUUYAZuNsSYyFmJx4TI+z7gp+p
3whDC75JavalnDrNJGALlNdcBUA/8tLkJRzzXolqX9qu1PkGWaideWACXYBQsGaf
SwpkSt7YGkK81TmBdDu1MX253iSu4rPYLVDagc5l/HGT9RVuKY85OCrbbd0WEXZg
u+WYIoJMQoMDO0IfB9fJ
=5ZbU
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: