[Bug 509100] [NEW] Missing Cython makes import pytables fail on importing utilsExtension module

rawphi raphael at ist.sowasvon.org
Mon Jan 18 11:52:24 UTC 2010


Public bug reported:

Pytables package is missing the dependency on the Cython package, and
thus (if cython happens to not be installed otherwise) will fail to
load. this bug is in both 2.0.3-1ubuntu1 (karmic) and 2.1.2-3 (lucid)
packages

fix: install cython package manually (apt-get install cython)

Error message when loading tabels:

In [60]: import tables
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)

/home/raphael/Desktop/simulation/sparserandommatrix.py in <module>()
----> 1
      2
      3
      4
      5

/usr/lib/python2.6/dist-packages/tables/__init__.pyc in <module>()
     74 # Import the user classes from the proper modules

     75 from tables.exceptions import *
---> 76 from tables.file import File, openFile, copyFile
     77 from tables.node import Node
     78 from tables.group import Group

/usr/lib/python2.6/dist-packages/tables/file.py in <module>()
     42
     43 import tables.misc.proxydict
---> 44 from tables import hdf5Extension
     45 from tables import utilsExtension
     46 from tables.parameters import \

/home/raphael/Desktop/simulation/hdf5Extension.pyx in hdf5Extension()
      9
     10
---> 11
     12
     13

ImportError: No module named utilsExtension

** Affects: pytables (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  Pytables package is missing the dependency on the Cython package, and
  thus (if cython happens to not be installed otherwise) will fail to
  load. this bug is in both 2.0.3-1ubuntu1 (karmic) and 2.1.2-3 (lucid)
  packages
  
  fix: install cython module manually (apt-get install cython)
  
  Error message when loading tabels:
  
  In [60]: import tables
  ---------------------------------------------------------------------------
  ImportError                               Traceback (most recent call last)
  
  /home/raphael/Desktop/simulation/sparserandommatrix.py in <module>()
- ----> 1 
-       2 
-       3 
-       4 
-       5 
+ ----> 1
+       2
+       3
+       4
+       5
  
  /usr/lib/python2.6/dist-packages/tables/__init__.pyc in <module>()
-      74 # Import the user classes from the proper modules
+      74 # Import the user classes from the proper modules
  
-      75 from tables.exceptions import *
+      75 from tables.exceptions import *
  ---> 76 from tables.file import File, openFile, copyFile
-      77 from tables.node import Node
-      78 from tables.group import Group
+      77 from tables.node import Node
+      78 from tables.group import Group
  
  /usr/lib/python2.6/dist-packages/tables/file.py in <module>()
-      42 
-      43 import tables.misc.proxydict
+      42
+      43 import tables.misc.proxydict
  ---> 44 from tables import hdf5Extension
-      45 from tables import utilsExtension
-      46 from tables.parameters import \
+      45 from tables import utilsExtension
+      46 from tables.parameters import \
  
  /home/raphael/Desktop/simulation/hdf5Extension.pyx in hdf5Extension()
-       9 
-      10 
- ---> 11 
-      12 
-      13 
+       9
+      10
+ ---> 11
+      12
+      13
  
  ImportError: No module named utilsExtension
- </cite

** Description changed:

  Pytables package is missing the dependency on the Cython package, and
  thus (if cython happens to not be installed otherwise) will fail to
  load. this bug is in both 2.0.3-1ubuntu1 (karmic) and 2.1.2-3 (lucid)
  packages
  
- fix: install cython module manually (apt-get install cython)
+ fix: install cython package manually (apt-get install cython)
  
  Error message when loading tabels:
  
  In [60]: import tables
  ---------------------------------------------------------------------------
  ImportError                               Traceback (most recent call last)
  
  /home/raphael/Desktop/simulation/sparserandommatrix.py in <module>()
  ----> 1
        2
        3
        4
        5
  
  /usr/lib/python2.6/dist-packages/tables/__init__.pyc in <module>()
       74 # Import the user classes from the proper modules
  
       75 from tables.exceptions import *
  ---> 76 from tables.file import File, openFile, copyFile
       77 from tables.node import Node
       78 from tables.group import Group
  
  /usr/lib/python2.6/dist-packages/tables/file.py in <module>()
       42
       43 import tables.misc.proxydict
  ---> 44 from tables import hdf5Extension
       45 from tables import utilsExtension
       46 from tables.parameters import \
  
  /home/raphael/Desktop/simulation/hdf5Extension.pyx in hdf5Extension()
        9
       10
  ---> 11
       12
       13
  
  ImportError: No module named utilsExtension

-- 
Missing Cython makes import pytables fail on importing utilsExtension module
https://bugs.launchpad.net/bugs/509100
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


More information about the universe-bugs mailing list