Opened 10 years ago

Closed 10 years ago

#145 closed defect (fixed)

"movie formats" command gives traceback

Reported by: Elaine Meng Owned by: Tom Goddard
Priority: minor Milestone:
Component: Graphics Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: chimera

Description

chimera2 wiki programmer docs suggest that "movie formats" commands exists, but trying it gives the following traceback:

movie formats
Traceback (most recent call last):
File "/Users/chimera/Applications/Chimera2_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/chimera/cmd_line/gui.py", line 117, in on_enter
cmd.execute()
File "/Users/chimera/Applications/Chimera2_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/chimera/core/commands/cli.py", line 1442, in execute
results.append(ci.function(session, kw_args))
File "/Users/chimera/Applications/Chimera2_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/chimera/movie/moviecmd.py", line 253, in movie_formats
for name, f in formats.formats.items())
File "/Users/chimera/Applications/Chimera2_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/chimera/movie/moviecmd.py", line 253, in <genexpr>
for name, f in formats.formats.items())
NameError: name 'n' is not defined

Traceback (most recent call last):
File "/Users/chimera/Applications/Chimera2_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/chimera/core/ui/mousemodes.py", line 34, in <lambda>
lambda e: self.dispatch_mouse_event(e, "left", "mouse_up"))
File "/Users/chimera/Applications/Chimera2_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/chimera/core/ui/mousemodes.py", line 55, in dispatch_mouse_event
self.graphics_window.opengl_canvas.ReleaseMouse()
wx._core.wxAssertionError: C++ assertion "!wxMouseCapture::stack.empty()" failed at /private/var/tmp/chimera2_build/develop/chimera2/build/tmp/wxPython_Phoenix-3.0.3.dev1830+0b5f910/ext/wxWidgets/src/common/wincmn.cpp(3319) in ReleaseMouse(): Releasing mouse capture but capture stack empty?

Change History (2)

comment:1 by Elaine Meng, 10 years ago

Priority: blockerminor

comment:2 by Tom Goddard, 10 years ago

Resolution: fixed
Status: newclosed

Fixed. But I suspect it reports more formats than are actually supported.

Note: See TracTickets for help on using tickets.