Search found 3090 matches

Go to advanced search

by looo
Wed Dec 28, 2016 2:48 pm
Forum: Developers corner
Topic: Porting to python3
Replies: 943
Views: 96991

Re: Porting to python3

regarding this document it's fine like we have it right now:
http://www.diveintopython3.net/porting- ... .html#exec

but I will try if it solves the travis issue.
by looo
Wed Dec 28, 2016 1:17 pm
Forum: Developers corner
Topic: Porting to python3
Replies: 943
Views: 96991

Re: Porting to python3

regarding the exec error on travis:

this seems to be a conflict only with a specific python version (2.7.6) My system uses 2.7.12 and there is no error with the exec() function.
by looo
Wed Dec 28, 2016 1:08 pm
Forum: Archived Pull Requests
Topic: Qt4/Qt5 neutral compilation fixes
Replies: 35
Views: 6614

Re: Qt4/Qt5 neutral compilation fixes

regarding ui files:

we are building them, so the right pyside version should be used there.
by looo
Wed Dec 28, 2016 11:33 am
Forum: Archived Pull Requests
Topic: Qt4/Qt5 neutral compilation fixes
Replies: 35
Views: 6614

Re: Qt4/Qt5 neutral compilation fixes

nice to see this is working.
by looo
Wed Dec 28, 2016 11:27 am
Forum: Developers corner
Topic: Porting to python3
Replies: 943
Views: 96991

Re: Porting to python3

by looo
Wed Dec 28, 2016 10:18 am
Forum: Developers corner
Topic: Porting to python3
Replies: 943
Views: 96991

Re: Porting to python3

The problem with the generators is, that the ...PyImp.cpp is empty when generated with python3. This is only for files that do not exist in the src dir. eg PropertySheetPyImp.cpp in Mod/Spreadsheet/App. There must be anything wrong in the place where these files got generated.
by looo
Tue Dec 27, 2016 2:17 pm
Forum: Archived Pull Requests
Topic: Qt4/Qt5 neutral compilation fixes
Replies: 35
Views: 6614

Re: Qt4/Qt5 neutral compilation fixes

Another idea to support pyside2 without changing the python code:
Place a 'Pyside' dir somewhere at python path eg. usr/lib/freecad/Mod/pymodules. Now wrap pyside2 to the old api. Then the wrapped module should be imported and not the origin pyside module.
by looo
Tue Dec 27, 2016 1:21 pm
Forum: Developers corner
Topic: Porting to python3
Replies: 943
Views: 96991

Re: Porting to python3

qt5 didn't introduce any conflicts by now. Geom2d and extensions made some problems. And there is this stupid generator problem, which already was there in the py3-20 branch.
by looo
Tue Dec 27, 2016 10:39 am
Forum: Developers corner
Topic: Porting to python3
Replies: 943
Views: 96991

Re: Porting to python3

There is something wrong with the generators in this branch. Travis reports about generators cannot create files: Traceback (most recent call last): File "/home/travis/build/sasobadovinac/FreeCAD/src/Tools/generate.py", line 29, in <module> import generateTemplates.templateModule File "/home/travis/...
by looo
Tue Dec 27, 2016 9:38 am
Forum: Install / Compile
Topic: some vtk-modules not available in conda-forge vtk
Replies: 4
Views: 737

Re: some vtk-modules not available in conda-forge vtk

maybe switching the search paths here would solve this.

ps.: removing the system-vtk (which in my case was version 6) also solves this issue.

Go to advanced search