umvarma / pynastran

Automatically exported from code.google.com/p/pynastran
1 stars 0 forks source link

ValueError: invalid literal for int() with base 10: 'd' #132

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Make sure you attach a *small* sample file if you have it.  Otherwise, it's
almost impossible to debug a problem.

What is the expected output? What do you see instead?

What steps will reproduce the problem?
1. Install latest pyNastran
2. Run pyNastranGUI
Traceback (most recent call last):
  File "/home/nils/local/bin/pyNastranGUI", line 9, in <module>
    load_entry_point('pyNastran==0.6.2', 'console_scripts', 'pyNastranGUI')()
  File "/home/nils/local/lib/python2.7/site-packages/pyNastran-0.6.2-py2.7.egg/pyNastran/gui/gui.py", line 23, in main
    from pyNastran.gui.gui_qt import main as main2
  File "/home/nils/local/lib/python2.7/site-packages/pyNastran-0.6.2-py2.7.egg/pyNastran/gui/gui_qt.py", line 35, in <module>
    from pyNastran.gui.formats import (NastranIO, Cart3dIO, PanairIO, LaWGS_IO, STL_IO, TetgenIO, Usm3dIO, Plot3d_io,
  File "/home/nils/local/lib/python2.7/site-packages/pyNastran-0.6.2-py2.7.egg/pyNastran/gui/formats.py", line 2, in <module>
    from pyNastran.converters.nastran.nastranIO import NastranIO
  File "/home/nils/local/lib/python2.7/site-packages/pyNastran-0.6.2-py2.7.egg/pyNastran/converters/nastran/nastranIO.py", line 26, in <module>
    from pyNastran.bdf.bdf import (BDF, CAERO1, CAERO2, CAERO3, CAERO4, CAERO5,
  File "/home/nils/local/lib/python2.7/site-packages/pyNastran-0.6.2-py2.7.egg/pyNastran/bdf/bdf.py", line 29, in <module>
    from .cards.elements.solid import (CTETRA4, CTETRA10, CPENTA6, CPENTA15,
  File "/home/nils/local/lib/python2.7/site-packages/pyNastran-0.6.2-py2.7.egg/pyNastran/bdf/cards/elements/solid.py", line 20, in <module>
    from pyNastran.utils.mathematics import Area, gauss
  File "/home/nils/local/lib/python2.7/site-packages/pyNastran-0.6.2-py2.7.egg/pyNastran/utils/mathematics.py", line 34, in <module>
    numpy_version = tuple([int(i) for i in numpy.__version__ if i != '.'])
ValueError: invalid literal for int() with base 10: 'd'

What version of the product are you using? On what operating system?  Note:
if you're using a development version, the __version__ parameter is not
accurate.  What version did you checkout from subversion?

r1696

Please provide any additional information below.

Original issue reported on code.google.com by nils...@googlemail.com on 10 Jan 2014 at 5:41

GoogleCodeExporter commented 9 years ago
Please type the following...

>>> import numpy
>>> print '%r' % numpy.__version__

Original comment by mesheb82 on 10 Jan 2014 at 6:58

GoogleCodeExporter commented 9 years ago
'1.9.0.dev-d1dbf8e'

Original comment by nils...@googlemail.com on 11 Jan 2014 at 12:06

GoogleCodeExporter commented 9 years ago
r1719 fixes the bug

Thanks!

Original comment by mesheb82 on 11 Jan 2014 at 6:32

GoogleCodeExporter commented 9 years ago
Issue 133 has been merged into this issue.

Original comment by mesheb82 on 12 Jan 2014 at 9:19