[SOLVED] FreeCAD 0.17 doesn't start

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
lu27
Posts: 12
Joined: Fri Oct 20, 2017 8:00 am

[SOLVED] FreeCAD 0.17 doesn't start

Post by lu27 »

Hello,

I searched in the forum and found several topics related to this problem, but I think it's not exactly the same so I open another thread.

I've installed two versions of FreeCAD (0.15 and 0.17) and a few weeks ago the two versions worked correctly; but, now, the 0.17 doesn't start (only show the splash screen).
If I run FreeCAD 0.17 from another user there is no problem. I tried to re install FreeCAD 0.17 but it doesn't work.

->>> Log from my user:

Log: Init: Initializing C:\Program Files\FreeCAD 0.17\Mod\Drawing... done
Log: Init: Initializing freecad.pip
Err: Error in FreeCADGuiInit.py: invalid syntax (app.py, line 11)
Log: Destruct Gui::Application
Err: Traceback (most recent call last):
File "<string>", line 168, in <module>
File "<string>", line 145, in InitApplications
File "C:\Program Files\FreeCAD 0.17\bin\lib\importlib\__init__.py", line 37, in import_module
__import__(name)
File "C:\Users\lucia.alonso\AppData\Roaming\Python\Python27\site-packages\freecad\pip\init_gui.py", line 12, in <module>
from freecad.pip.gui import PipWidget
File "C:\Users\lucia.alonso\AppData\Roaming\Python\Python27\site-packages\freecad\pip\gui.py", line 3, in <module>
from freecad.pip.app import pip
<type 'exceptions.SyntaxError'>: invalid syntax (app.py, line 11)


->>> Log from another user:

Log: Init: Loading FreeCAD GUI
Log: Init: Running FreeCADGuiInit.py start script... done
Log: Init: Activating default workbench StartWorkbench
Log: Loading GUI of Web module... done
Log: Loading GUI of Start module... done
Log: Loading Start module... done




OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13541 (Git)
Build type: Release
Branch: releases/FreeCAD-0-17
Hash: 9948ee4f1570df9216862a79705afb367b2c6ffb
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: Spanish/Spain (es_ES)
Last edited by lu27 on Fri Mar 22, 2019 1:58 pm, edited 1 time in total.
User avatar
HarryGeier
Veteran
Posts: 1231
Joined: Mon Jul 10, 2017 12:36 pm
Location: Hof Germany

Re: FreeCAD 0.17 doesn't start

Post by HarryGeier »

Hello Lucia

Try to remove/rename the users FreeCAD Folder from his appdata/roaming folder , it´s hidden and you need to make visible first, look at the picture of my post in this thread:

https://forum.freecadweb.org/viewtopic. ... 0&start=10

It´s german, but the structure should be clear
Kaum macht man´s richtig , gehts´s
My Video Tutorials on Youtube: https://www.youtube.com/channel/UCoe3B ... p8Q/videos
My FreeCAD Stuff on Hidrive: https://my.hidrive.com/share/qr3l1yddy6#$/
lu27
Posts: 12
Joined: Fri Oct 20, 2017 8:00 am

Re: FreeCAD 0.17 doesn't start

Post by lu27 »

I forgot to comment in the first post that I had also tried that. I usually work with the configuration files (user.cfg and system.cfg) and thought the error could also be there, but it's not.
But, I just tried it again and the program still hasn't started.
User avatar
PrzemoF
Veteran
Posts: 3520
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: FreeCAD 0.17 doesn't start

Post by PrzemoF »

Hi Lucia, your user name is with an accent over i?
lu27
Posts: 12
Joined: Fri Oct 20, 2017 8:00 am

Re: FreeCAD 0.17 doesn't start

Post by lu27 »

No. But, I don't understand why weeks ago FreeCAD 0.17 runs perfectly... could be a Windows update, driver update or something like this?
chrisb
Veteran
Posts: 54197
Joined: Tue Mar 17, 2015 9:14 am

Re: FreeCAD 0.17 doesn't start

Post by chrisb »

We have seen such issues after Windows updates. Usually the graphics card driver is the culprit. Try an older/newer/from manufacturer/thirdparty.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
HarryGeier
Veteran
Posts: 1231
Joined: Mon Jul 10, 2017 12:36 pm
Location: Hof Germany

Re: FreeCAD 0.17 doesn't start

Post by HarryGeier »

What about trying 0.18 , the CONDA PY3 Version ?

just as the error comes along in app.py
Kaum macht man´s richtig , gehts´s
My Video Tutorials on Youtube: https://www.youtube.com/channel/UCoe3B ... p8Q/videos
My FreeCAD Stuff on Hidrive: https://my.hidrive.com/share/qr3l1yddy6#$/
User avatar
PrzemoF
Veteran
Posts: 3520
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: FreeCAD 0.17 doesn't start

Post by PrzemoF »

@Lu27, how did you install FreeCAD? I don't see anything like PipWidget in the current FreeCAD source...
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: FreeCAD 0.17 doesn't start

Post by triplus »

Hi @lu27

You likely installed pip-integration at some point? Or maybe it got installed automatically with Conda based Windows build.

https://github.com/looooo/freecad.pip

That seems to be causing some issues. Best if you ask here:

https://forum.freecadweb.org/viewtopic.php?f=22&t=29584
lu27
Posts: 12
Joined: Fri Oct 20, 2017 8:00 am

Re: FreeCAD 0.17 doesn't start

Post by lu27 »

Thanks for the answers.
@triplus is right, the problem was the installation of Pip-integration. I renamed the folder where the module "freecad" was called "AppData/Roaming/Python" and FreeCAD runs correctly.
Post Reply