Issue #7 resolved

Placing text before finalizing it crashes the program

Cody Wheeland
created an issue

In Mac OS X if you try to place a text object before finalizing its value (clicking on the schematic or layout window before entering text and pressing enter) causes a crash if there is already a text object placed. It does not crash if pins or wires or even parts that include text are placed.

The crash log is as follows:

acceleratesupport.py(17):<module> - No OpenGL_accelerate module loaded: No module named OpenGL_accelerate formathandler.py(46):loadPlugin - Unable to load registered array format handler numpy: Traceback (most recent call last): File "/Applications/Razen.app/Contents/Resources/lib/python2.7/OpenGL/arrays/formathandler.py", line 35, in loadPlugin File "/Applications/Razen.app/Contents/Resources/lib/python2.7/OpenGL/plugins.py", line 14, in load File "/Applications/Razen.app/Contents/Resources/lib/python2.7/OpenGL/plugins.py", line 28, in importByName File "/Applications/Razen.app/Contents/Resources/lib/python2.7/OpenGL/arrays/numpymodule.py", line 11, in <module> ImportError: No numpy module present: No module named numpy

formathandler.py(46):loadPlugin - Unable to load registered array format handler numeric: Traceback (most recent call last): File "/Applications/Razen.app/Contents/Resources/lib/python2.7/OpenGL/arrays/formathandler.py", line 35, in loadPlugin File "/Applications/Razen.app/Contents/Resources/lib/python2.7/OpenGL/plugins.py", line 14, in load File "/Applications/Razen.app/Contents/Resources/lib/python2.7/OpenGL/plugins.py", line 28, in importByName File "/Applications/Razen.app/Contents/Resources/lib/python2.7/OpenGL/arrays/numeric.py", line 15, in <module> ImportError: No Numeric module present: No module named Numeric

formathandler.py(46):loadPlugin - Unable to load registered array format handler vbo: Traceback (most recent call last): File "/Applications/Razen.app/Contents/Resources/lib/python2.7/OpenGL/arrays/formathandler.py", line 35, in loadPlugin File "/Applications/Razen.app/Contents/Resources/lib/python2.7/OpenGL/plugins.py", line 14, in load File "/Applications/Razen.app/Contents/Resources/lib/python2.7/OpenGL/plugins.py", line 28, in importByName File "/Applications/Razen.app/Contents/Resources/lib/python2.7/OpenGL/arrays/vbo.py", line 33, in <module> ImportError: cannot import name GL

formathandler.py(46):loadPlugin - Unable to load registered array format handler vbooffset: Traceback (most recent call last): File "/Applications/Razen.app/Contents/Resources/lib/python2.7/OpenGL/arrays/formathandler.py", line 35, in loadPlugin File "/Applications/Razen.app/Contents/Resources/lib/python2.7/OpenGL/plugins.py", line 14, in load File "/Applications/Razen.app/Contents/Resources/lib/python2.7/OpenGL/plugins.py", line 28, in importByName File "/Applications/Razen.app/Contents/Resources/lib/python2.7/OpenGL/arrays/vbo.py", line 33, in <module> ImportError: cannot import name GL

support.py(60):parse_specific_config - Parsed config file /Applications/Razen.app/Contents/Resources/conf/general.py mainapp.py(43):run -


mainapp.py(44):run - Razen 0.1.0-r702 starting mainapp.py(45):run - PATH: /usr/bin:/bin:/usr/sbin:/sbin mainapp.py(46):run - PYTHONPATH: /Applications/Razen.app/Contents/Resources mainapp.py(47):run - CWD: /Applications/Razen.app/Contents/Resources mainapp.py(48):run - Arguments: /Applications/Razen.app/Contents/Resources/razen.py -psn_0_1364301 mainapp.py(50):run - OS Darwin 11.4.2 (i386) mainapp.py(51):run - Qt v4.7.4 vcfile.py(41):_gethg - Found HG at /usr/local/bin/hg vcfile.py(289):hgversion - HG v2.5.4 mainapp.py(31):initial_config - Library path: /Applications/Razen.app/Contents/Resources/libraries/ mainapp.py(35):initial_config - Project path: /Applications/Razen.app/Contents/Resources/projects support.py(60):parse_specific_config - Parsed config file /Applications/Razen.app/Contents/Resources/conf/keys.py support.py(60):parse_specific_config - Parsed config file /Applications/Razen.app/Contents/Resources/conf/layers.py glwidget.py(39):initializeGL - GL_VENDOR: ATI Technologies Inc. glwidget.py(39):initializeGL - GL_VERSION: 2.1 ATI-7.32.12 glwidget.py(39):initializeGL - GL_RENDERER: ATI Radeon HD 6750M OpenGL Engine extensions.py(92):getGLVersion - OpenGL Version: 2.1 ATI-7.32.12 support.py(60):parse_specific_config - Parsed config file /Applications/Razen.app/Contents/Resources/conf/cmd.py updater.py(37):run - Checking for updates updater.py(44):run - Latest version: 0.1.0-r702 mainapp.py(24):unhandledExceptionDialog - Traceback (most recent call last): File "/Applications/Razen.app/Contents/Resources/lib/python2.7/rzn/ui/glwidget.py", line 80, in mousePressEvent File "/Applications/Razen.app/Contents/Resources/lib/python2.7/rzn/view.py", line 171, in on_mouse_press File "/Applications/Razen.app/Contents/Resources/lib/python2.7/rzn/view.py", line 93, in on_mouse_press File "/Applications/Razen.app/Contents/Resources/lib/python2.7/rzn/tool/tooltext.py", line 34, in press File "/Applications/Razen.app/Contents/Resources/lib/python2.7/rzn/tool/tooltext.py", line 45, in _place AttributeError: 'NoneType' object has no attribute 'pos'

Note that I do have numpy and numeric installed with the enthought python distribution, so I must not have that distribution set as the default python installation.

Comments (1)

  1. Log in to comment