Hello, I've been trying to play around with the PyPy source and work on fixing some bugs. One of the things I wanted to look at was the graph files generated by the shell. I installed PyGame and GraphViz and when I run a "t.view" on a Translation object, I get the following crazy thing.
Has anyone see this? Is this something I should bring up to the PyGame guys? Does anyone have this working on Lion (assuming yes)? Best, Mitchell Aug 20 00:57:14 picochip.local python[58716] <Error>: kCGErrorInvalidConnection: CGSGetCurrentCursorLocation: Invalid connection Aug 20 00:57:14 picochip.local python[58716] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged. Aug 20 00:57:14 picochip.local python[58716] <Error>: kCGErrorInvalidConnection: CGSGetCurrentCursorLocation: Invalid connection Aug 20 00:57:14 picochip.local python[58716] <Error>: kCGErrorInvalidConnection: CGSNewWindowWithOpaqueShape: Invalid connection 2011-08-20 00:57:14.130 python[58716:707] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error (1002) creating CGSWindow on line 262' *** First throw call stack: ( 0 CoreFoundation 0x00007fff81445986 __exceptionPreprocess + 198 1 libobjc.A.dylib 0x00007fff88125d5e objc_exception_throw + 43 2 CoreFoundation 0x00007fff814457ba +[NSException raise:format:arguments:] + 106 3 CoreFoundation 0x00007fff81445744 +[NSException raise:format:] + 116 4 AppKit 0x00007fff8a686e78 _NSCreateWindowWithOpaqueShape2 + 788 5 AppKit 0x00007fff8a5d4c80 -[NSWindow _commonAwake] + 1875 6 AppKit 0x00007fff8a5d3894 -[NSWindow _commonInitFrame:styleMask:backing:defer:] + 1871 7 AppKit 0x00007fff8a5d28e0 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1502 8 AppKit 0x00007fff8a5d22b1 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 47 9 libSDL-1.2.0.dylib 0x00000001081d5cfd -[SDL_QuartzWindow initWithContentRect:styleMask:backing:defer:] + 285 10 libSDL-1.2.0.dylib 0x00000001081d30a4 QZ_SetVideoMode + 1076 11 libSDL-1.2.0.dylib 0x00000001081c9e8a SDL_SetVideoMode + 602 12 display.so 0x000000010824f489 set_mode + 361 13 python 0x0000000107d63bab PyEval_EvalFrameEx + 18011 14 python 0x0000000107d66f43 fast_function + 179 15 python 0x0000000107d63c5d PyEval_EvalFrameEx + 18189 16 python 0x0000000107d66e07 PyEval_EvalCodeEx + 2103 17 python 0x0000000107d66fb8 fast_function + 296 18 python 0x0000000107d63c5d PyEval_EvalFrameEx + 18189 19 python 0x0000000107d66e07 PyEval_EvalCodeEx + 2103 20 python 0x0000000107cf480b function_call + 347 21 python 0x0000000107ccc141 PyObject_Call + 97 22 python 0x0000000107cdddf7 instancemethod_call + 503 23 python 0x0000000107ccc141 PyObject_Call + 97 24 python 0x0000000107d2798a slot_tp_init + 106 25 python 0x0000000107d203a5 type_call + 229 26 python 0x0000000107ccc141 PyObject_Call + 97 27 python 0x0000000107d63e75 PyEval_EvalFrameEx + 18725 28 python 0x0000000107d66f43 fast_function + 179 29 python 0x0000000107d63c5d PyEval_EvalFrameEx + 18189 30 python 0x0000000107d66e07 PyEval_EvalCodeEx + 2103 31 python 0x0000000107cf480b function_call + 347 32 python 0x0000000107ccc141 PyObject_Call + 97 33 python 0x0000000107d6451a PyEval_EvalFrameEx + 20426 34 python 0x0000000107d66f43 fast_function + 179 35 python 0x0000000107d63c5d PyEval_EvalFrameEx + 18189 36 python 0x0000000107d66e07 PyEval_EvalCodeEx + 2103 37 python 0x0000000107d66fb8 fast_function + 296 38 python 0x0000000107d63c5d PyEval_EvalFrameEx + 18189 39 python 0x0000000107d66e07 PyEval_EvalCodeEx + 2103 40 python 0x0000000107d66e86 PyEval_EvalCode + 54 41 python 0x0000000107d851a4 PyRun_FileExFlags + 164 42 python 0x0000000107d86458 PyRun_SimpleFileExFlags + 392 43 python 0x0000000107d99729 Py_Main + 2969 44 python 0x0000000107cc5f84 start + 52 45 ??? 0x0000000000000004 0x0 + 4 ) terminate called throwing an exceptionTraceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/mitchellh/code/3rdparty/python/pypy/pypy/translator/interactive.py", line 36, in view self.context.view() File "/Users/mitchellh/code/3rdparty/python/pypy/pypy/translator/translator.py", line 151, in view FlowGraphPage(self).display() File "/Users/mitchellh/code/3rdparty/python/pypy/dotviewer/graphpage.py", line 32, in display graphclient.display_page(self, save_tmp_file=self.save_tmp_file) File "/Users/mitchellh/code/3rdparty/python/pypy/dotviewer/graphclient.py", line 44, in display_page reload(0) File "/Users/mitchellh/code/3rdparty/python/pypy/dotviewer/graphclient.py", line 40, in reload send_graph_messages(io, messages) File "/Users/mitchellh/code/3rdparty/python/pypy/dotviewer/graphclient.py", line 98, in send_graph_messages raise ioerror IOError: connection unexpectedly closed (graphserver crash?)
_______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev