Bug 155654 - science/mayavi: TypeError: object of type '_tkinter.Tcl_Obj' has no len()
Summary: science/mayavi: TypeError: object of type '_tkinter.Tcl_Obj' has no len()
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-18 09:20 UTC by fmysh
Modified: 2011-03-18 10:10 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (517 bytes, patch)
2011-03-18 09:20 UTC, fmysh
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description fmysh 2011-03-18 09:20:08 UTC
	MayaVi fails to run.
	See an entry for _tkinter.Tcl_Obj in http://www.python.org/doc/2.3/whatsnew/node18.html

How-To-Repeat: 
% mayavi
Traceback (most recent call last):
  File "/usr/local/bin/mayavi", line 317, in <module>
    app = MayaViTkGUI (r)
  File "/usr/local/lib/python2.7/site-packages/mayavi/Main.py", line 1009, in __init__
    self.renwin = Misc.RenderWindow.RenderWindow (self.renwin_frame)
  File "/usr/local/lib/python2.7/site-packages/mayavi/Misc/RenderWindow.py", line 89, in __init__
    height=505)
  File "/usr/local/lib/vtk/python/vtk/tk/vtkTkRenderWidget.py", line 84, in __init__
    vtkLoadPythonTkWidgets(master.tk)
  File "/usr/local/lib/vtk/python/vtk/tk/vtkLoadPythonTkWidgets.py", line 37, in vtkLoadPythonTkWidgets
    if len(prev) > 0 and prev[0] == '{' and prev[-1] != '}':
TypeError: object of type '_tkinter.Tcl_Obj' has no len()
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2011-03-18 10:00:06 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-03-18 10:00:32 UTC
miwi        2011-03-18 09:59:55 UTC

  FreeBSD ports repository

  Modified files:
    science/mayavi       Makefile distinfo 
  Added files:
    science/mayavi/files patch-mayavi 
  Log:
  - Fix Coredump
  
  PR:             155654
  Submitted by:   TAOKA Fumiyoshi <fmysh@iijmio-mail.jp>
  
  Revision  Changes    Path
  1.16      +1 -1      ports/science/mayavi/Makefile
  1.7       +0 -1      ports/science/mayavi/distinfo
  1.1       +10 -0     ports/science/mayavi/files/patch-mayavi (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"