Hi,
Is Arch always able to work without Gui ?
I try to run a script with Arch.makeStructure() on a server. FreeCAD is compiled without Gui.
I get this :
Code: Select all
web1@woodserver:~/web/FreeCADWeb/examples/kit$ FreeCADCmd
FreeCAD 0.14, Libs: 0.14R3727 (Git)
(c) Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2011
##### #### ### ####
# # # # # #
# ## #### #### # # # # #
#### # # # # # # # ##### # #
# # #### #### # # # # #
# # # # # # # # # ## ## ##
# # #### #### ### # # #### ## ## ##
[FreeCAD Console mode <Use Ctrl-D (i.e. EOF) to exit.>]
>>> import Arch
>>> App.newDocument()
<Document object at 0x145d3f0>
>>> Arch.makeStructure()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/Mod/Arch/ArchStructure.py", line 298, in makeStructure
_ViewProviderStructure(obj.ViewObject)
File "/usr/local/Mod/Arch/ArchStructure.py", line 654, in __init__
ArchComponent.ViewProviderComponent.__init__(self,vobj)
File "/usr/local/Mod/Arch/ArchComponent.py", line 622, in __init__
vobj.Proxy = self
AttributeError: 'NoneType' object has no attribute 'Proxy'
>>>
Do I forget something?