Re: Pycollada doesn't import, even if it is installed.

2017-12-07 Thread Carl Fink

On 11/29/2017 10:55 PM, John Hasler wrote:

Build FreeCad from source.  It's easy.  They provide exact instructions
for building on Debian.  You just copy the commands given in the
instructions and run them.


That's what I ended up doing.

It wasn't difficult but also not as easy as it should be. The current 
package

doesn't work with debuild as the FreeCAD instructions say. However, the
regular cmake/make cycle works just fine and it's very self-contained,
doesn't litter files all over the system.

It even works pretty well. It only froze on me every 30 minutes or so. Now,
Meshlab is really unstable. Certain commands are instant segfault.

Thanks, John.

--
Carl Fink  c...@finknetwork.com
Thinking and logic and stuff at Reasonably Literate
http://reasonablyliterate.com



Re: Pycollada doesn't import, even if it is installed.

2017-11-29 Thread John Hasler
Build FreeCad from source.  It's easy.  They provide exact instructions
for building on Debian.  You just copy the commands given in the
instructions and run them.
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Pycollada doesn't import, even if it is installed.

2017-11-29 Thread Carl Fink

So I wanted to use FreeCAD. Debian Testing has no FreeCAD package, so
I downloaded the AppImage from their Git page. It starts up and runs
OK, but to import Collada meshes it requires PyCollada.

So Debian also doesn't have PyCollada. It has "python-collada" but this
doesn't satisfy the FreeCAD requirement. I'm no expert, but I'm assumed
that it is a different way for Python to handle Collada meshes.

So I used pip to install PyCollada.

FreeCAD still says, "PyCollada not found, Collada support is disabled."

I tried switching between Python 2 and Python 3. No difference.

Is FreeCAD incorporating its own Python executable and libraries in the
AppImage? If so, there's no way for me to add the PyCollada library,
right? Or maybe just the wrong pythonpath so it doesn't find the library?

OK, being a resourceful guy I set up apt pinning (hadn't bothered on this
system) and installed the FreeCAD package from Unstable on my Testing
system. As you'd expect it installed dozens of Python packages. (FreeCAD
is a Python program and scripted in Python.) Only the install failed for
dependency reasons, which boiled down when I analyzed it to a missing
configparser, which I was able to trace to the fact that the shell I was
running apt from had a default Python version of 3.6. Switching to 2.7
let the installation complete.

Mind you, FreeCAD still doesn't work. Run from the Xfce menu or a shell,
it complains that, "No module named WebGUI" something. It gets cut off
there on the status bar. Switching between Python2 and Python3 has no
effect.

I can't find a Python module named "WebGUI" at all.

What the?

Any suggestions?

Running Testing on an AMD64 CPU. Add'l information if you can tell me
what would be useful.

Thanks.

--
Carl Fink  c...@finknetwork.com
Thinking and logic and stuff at Reasonably Literate
http://reasonablyliterate.com