Topic: Python console gives errors on startup
Greetings Ivan,
I am installing Graph and Python on a new computer and am encountering issues.
OS : Windows 10 64bits pro.
Graph : 4.5 beta, build 569
Python : 3.2.5 32bits
On startup, I open the Python console (F11) and I get the following errors. Am I missing something?
Traceback (most recent call last):
File "C:\Program Files (x86)\Graph\Lib\Graph.py", line 109, in LoadPlugins
Modules.append(imp.load_module(ModuleName, fp, pathname, description))
File "C:\Program Files (x86)\Graph\Plugins\Circle.py", line 62, in <module>
Action = Graph.CreateAction(Caption=_("Insert circle..."), OnExecute=execute_action, Hint=_("Create circle from center and radius."), ShortCut="Ctrl+Shift+C", IconFile="Circle.png")
File "C:\Program Files (x86)\Graph\Lib\Graph.py", line 143, in CreateAction
Action.ImageIndex = LoadImage(IconFile)
File "C:\Program Files (x86)\Graph\Lib\Graph.py", line 166, in LoadImage
Picture.LoadFromFile(os.path.join(PluginsDir, FileName))
vcl.VclError
Traceback (most recent call last):
File "C:\Program Files (x86)\Graph\Lib\Graph.py", line 109, in LoadPlugins
Modules.append(imp.load_module(ModuleName, fp, pathname, description))
File "C:\Program Files (x86)\Graph\Plugins\Revolution.py", line 52, in <module>
Action = Graph.CreateAction(Caption="Revolution", OnExecute=Execute, Hint="Area for surface of revolution.")
File "C:\Program Files (x86)\Graph\Lib\Graph.py", line 139, in CreateAction
Action = vcl.TAction(vcl.Application, Name=OnExecute.__module__+"_"+OnExecute.__name__, Caption=Caption, OnExecute=OnExecute, Hint=Hint, ShortCut=vcl.TextToShortCut(ShortCut), Category="Plugins", OnUpdate=OnUpdate)
vcl.VclError: Invalid pointer operation
Traceback (most recent call last):
File "C:\Program Files (x86)\Graph\Lib\Graph.py", line 109, in LoadPlugins
Modules.append(imp.load_module(ModuleName, fp, pathname, description))
File "C:\Program Files (x86)\Graph\Plugins\ShowConsole.py", line 11, in <module>
Action = Graph.CreateAction(Caption="Show Python interpreter", OnExecute=Execute, OnUpdate=Update, ShortCut="F11")
File "C:\Program Files (x86)\Graph\Lib\Graph.py", line 139, in CreateAction
Action = vcl.TAction(vcl.Application, Name=OnExecute.__module__+"_"+OnExecute.__name__, Caption=Caption, OnExecute=OnExecute, Hint=Hint, ShortCut=vcl.TextToShortCut(ShortCut), Category="Plugins", OnUpdate=OnUpdate)
vcl.VclError: Invalid pointer operation
Traceback (most recent call last):
File "C:\Program Files (x86)\Graph\Lib\Graph.py", line 109, in LoadPlugins
Modules.append(imp.load_module(ModuleName, fp, pathname, description))
File "C:\Program Files (x86)\Graph\Plugins\Statistics.py", line 36, in <module>
Action = Graph.CreateAction(Caption="Statistics", OnExecute=Execute, Hint="Statistics on a point series.")
File "C:\Program Files (x86)\Graph\Lib\Graph.py", line 139, in CreateAction
Action = vcl.TAction(vcl.Application, Name=OnExecute.__module__+"_"+OnExecute.__name__, Caption=Caption, OnExecute=OnExecute, Hint=Hint, ShortCut=vcl.TextToShortCut(ShortCut), Category="Plugins", OnUpdate=OnUpdate)
vcl.VclError: Invalid pointer operation
Traceback (most recent call last):
File "C:\Program Files (x86)\Graph\Lib\Graph.py", line 109, in LoadPlugins
Modules.append(imp.load_module(ModuleName, fp, pathname, description))
File "C:\Program Files (x86)\Graph\Plugins\Transform.py", line 36, in <module>
Action = Graph.CreateAction(Caption="Transform", OnExecute=Execute, Hint="Transform point series.")
File "C:\Program Files (x86)\Graph\Lib\Graph.py", line 139, in CreateAction
Action = vcl.TAction(vcl.Application, Name=OnExecute.__module__+"_"+OnExecute.__name__, Caption=Caption, OnExecute=OnExecute, Hint=Hint, ShortCut=vcl.TextToShortCut(ShortCut), Category="Plugins", OnUpdate=OnUpdate)
vcl.VclError: Invalid pointer operation