View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014196VTK(No Category)public2013-07-30 10:022014-09-15 11:58
Reporterdiego0020 
Assigned ToDavid Gobbi 
PrioritylowSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version6.0.0 
Target VersionFixed in Version6.2.0 
Summary0014196: exception in vtkLoadPythonTkWidgets.py when running from ipython %run magic
DescriptionThe complete text of the exception is:

C:\Users\da.angulo39\Documents\VTK\Build6\Wrapping\Python\vtk\tk\vtkLoadPythonTkWidgets.pyc in vtkLoadPythonTkWidgets(interp)
     57 # Tkinter path object.
     58 if type(path) != str:
---> 59 path = path.string
     60 # try block needed when one uses Gordon McMillan's Python
     61 # Installer.

AttributeError: 'unicode' object has no attribute 'string'


It appears that when running through the ipython %run magic some of the items in the pathlist are of unicode type. Therefore in line 58 comparisson to str doesn't return the expecter result

Note: I am running a windows 7 machine in spanish
TagsNo tags attached.
ProjectTBD
Typecrash
Attached Files

 Relationships

  Notes
(0032174)
David Gobbi (developer)
2014-01-14 14:40

http://review.source.kitware.com/#/c/14045/ [^]

 Issue History
Date Modified Username Field Change
2013-07-30 10:02 diego0020 New Issue
2014-01-14 14:40 David Gobbi Note Added: 0032174
2014-01-14 14:40 David Gobbi Assigned To => David Gobbi
2014-01-14 14:40 David Gobbi Status backlog => gerrit review
2014-09-15 11:58 David Gobbi Status gerrit review => closed
2014-09-15 11:58 David Gobbi Resolution open => fixed
2014-09-15 11:58 David Gobbi Fixed in Version => 6.2.0


Copyright © 2000 - 2018 MantisBT Team