Projet

Général

Profil

Actions

Anomalie #649

fermé

bug sur database apres svn up rev. 654

Ajouté par Damien Gratadour il y a presque 9 ans. Mis à jour il y a presque 9 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Début:
05/12/2015
Echéance:
% réalisé:

0%

Temps estimé:

Description

brujo@brahman ~/compass/shesha/widgets $ ipython -i widget_ao.py
Python 2.7.10 |Anaconda 2.3.0 (64-bit)| (default, Oct 19 2015, 18:04:42)
Type "copyright", "credits" or "license" for more information.

IPython 3.2.0 -- An enhanced Interactive Python.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
shesha_savepath: /home/brujo/compass/shesha/data/

In [1]: Traceback (most recent call last):
File "/home/brujo/compass/shesha/widgets/widget_ao.py", line 573, in InitConfig
matricesToLoad = h5u.checkMatricesDataBase(os.environ["SHESHA_ROOT"]+"/data/",self.config,param_dict)
File "/home/brujo/compass/shesha/src/hdf5_utils.py", line 349, in checkMatricesDataBase
checkTurbuParams(savepath,config,matricesToLoad)
File "/home/brujo/compass/shesha/src/hdf5_utils.py", line 370, in checkTurbuParams
if(dataBase.loc[i,"validity"]):
File "/home/brujo/anaconda/lib/python2.7/site-packages/pandas/core/indexing.py", line 1187, in getitem
return self._getitem_tuple(key)
File "/home/brujo/anaconda/lib/python2.7/site-packages/pandas/core/indexing.py", line 700, in _getitem_tuple
return self._getitem_lowerdim(tup)
File "/home/brujo/anaconda/lib/python2.7/site-packages/pandas/core/indexing.py", line 850, in _getitem_lowerdim
return getattr(section, self.name)[new_key]
File "/home/brujo/anaconda/lib/python2.7/site-packages/pandas/core/indexing.py", line 1189, in getitem
return self._getitem_axis(key, axis=0)
File "/home/brujo/anaconda/lib/python2.7/site-packages/pandas/core/indexing.py", line 1333, in _getitem_axis
self._has_valid_type(key, axis)
File "/home/brujo/anaconda/lib/python2.7/site-packages/pandas/core/indexing.py", line 1295, in _has_valid_type
error()
File "/home/brujo/anaconda/lib/python2.7/site-packages/pandas/core/indexing.py", line 1282, in error
(key, self.obj._get_axis_name(axis)))
KeyError: 'the label [validity] is not in the [index]'

If you suspect this is an IPython bug, please report it at:
https://github.com/ipython/ipython/issues
or send an email to the mailing list at

You can print a more detailed traceback right now with "%tb", or use "%debug"
to interactively debug it.

Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
%config Application.verbose_crash=True

Actions

Formats disponibles : Atom PDF