joelgraff / freecad.trails

Trails is the Transportation Engineering workbench for FreeCAD
GNU Lesser General Public License v2.1
68 stars 12 forks source link

Installation problem #54

Open sweco-sekrsv opened 4 years ago

sweco-sekrsv commented 4 years ago

Using Freecad 0.18 in Windows 10 I can see the workbench showing up in Freecad if I put the package in the following folder: FreeCAD 0.18\Ext\freecad\trails folder

When activating I get an error saying: No module named "pivy_trackers"

Not sure how fix it, any ideas?

joelgraff commented 4 years ago

Sorry for the slow response.

'pivy_trackers' is a 2D geometry library I wrote which is based on pivy. Pivy is the Coin3D Python bindings library. Coin3D is the scenegraph renderer used by FreeCAD.

In order to use it, you'll need to install pivy_trackers into your FreeCAD/Mod (or /Ext) folder. From there, it should work. I haven't been working on Trails for a couple of months since my focus has shifted to FreeCAD/Turns for the moment, so it's possible there may be an issue or two.

While I've never used /Ext for workbenches, it would be good to know if it works correctly. It should.
Whether you use /Mod or /Ext, your structure for freecad trails and pivy_trackers should be:

/Mod (/Ext) -> freecad_trails -> freecad -> trails -> (project files) /Mod (/Ext) -> pivy_trackers -> pivy_trackers -> (project files)

Simply using 'git clone ' in either the /Mod or /Ext folders should be sufficient.

https://github.com/joelgraff/pivy_trackers

fenem commented 4 years ago

This is Michael Fene. I am afraid I too have had no joy regards to successfully installing trails WB. Any help would be great.

Kind Regards...Michael Fene' Carlsbad, California

joelgraff commented 3 years ago

Just guessing, but it may be that the submodules are not being cloned. You can do that with git clone and the --recursive switch. I incorporate other git repos as submodules to help manage code better. If --recursive isn't used, those submodules are not cloned. This eliminates the need to clone pivy_trackers (and one other repo) separately as indicated above.

Thus, from the /Mod folder, you want to run:

git clone --recursive https://github.com/joelgraff/freecad.trails.git

fenem commented 3 years ago

Joel,

Thanks very much for your prompt reply. I am still a freecad newbie; (but I am a GIS expert/instructor).

I am running Freecad on WIN10.

Does the git clone command get executed at the parent level of the c:\program files\freecad\Mod directory or under the ...\users\Appsdata\Freecad\Mod directory.

Ultimately I am working to render a 3d Cad representation of my back yard slope from NOAA lidar data.

I am working to design back yard slope modifications and want to engineer the effort.

Any guidance in that regard would be most helpful.

Kind Regards,

Michael Fene'

fenem commented 3 years ago

Joel,

I ran the git clone both ways: from users app data location then cleaned-up and retried from the program files path.

In both cases the freecad.trails directory is created as a direct child directory under the /mod directory.

In both cases: the freecad.trails install prevents Freecad from starting. When I delete the freecad.trails freecad is able to start.

I think we are close...there is some dependency and directory structure that I do not understand.

Thanks again for your help.

Michael Fene'

joelgraff commented 3 years ago

Right, you should call git clone --recursive from the /Mod folder.

It shouldn't keep FreeCAD from starting - worst case is it puts errors in the report view. Try running FreeCAD from the command line. That will report errors to the console so you can get at least a little information before the application crashes.

Then copy/paste them here. I can take a look, but I can't make a lot of promises. I gave up Windows years ago for Linux, and I haven't been able to test it on a Win10 machine in several months.

fenem commented 3 years ago

Joel,

thanks again for your prompt reply.

Actually Inwould prefer linux as well. But at first glance I did not see a straight forward path to freecad installmon centos 7. Any guidance is that regard? thx m

Michael Fene’


From: Joel Graff notifications@github.com Sent: Tuesday, July 28, 2020 4:11 AM To: joelgraff/freecad.trails Cc: fenem; Comment Subject: Re: [joelgraff/freecad.trails] Installation problem (#54)

Right, you should call git clone --recursive from the /Mod folder.

It shouldn't keep FreeCAD from starting - worst case is it puts errors in the report view. Try running FreeCAD from the command line. That will report errors to the console so you can get at least a little information before the application crashes.

Then copy/paste them here. I can take a look, but I can't make a lot of promises. I gave up Windows years ago for Linux, and I haven't been able to test it on a Win10 machine in several months.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/joelgraff/freecad.trails/issues/54#issuecomment-664979041, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADB5SADHE2QE4UXUNMCCQETR52W47ANCNFSM4KA2QQEQ.

joelgraff commented 3 years ago

I used Centos once. Honestly, I'd recommend a vanilla Ubuntu install for best compatibility. Otherwise, ask on the FreeCAD forums. I guarantee someone there can direct you through it.

fenem commented 3 years ago

thx m

Michael Fene’


From: Joel Graff notifications@github.com Sent: Tuesday, July 28, 2020 8:32:27 AM To: joelgraff/freecad.trails freecad.trails@noreply.github.com Cc: fenem mfene5101@gmail.com; Comment comment@noreply.github.com Subject: Re: [joelgraff/freecad.trails] Installation problem (#54)

I used Centos once. Honestly, I'd recommend a vanilla Ubuntu install for best compatibility. Otherwise, ask on the FreeCAD forums. I guarantee someone there can direct you through it.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/joelgraff/freecad.trails/issues/54#issuecomment-665110419, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADB5SACPQMZVSPNNRATEDHDR53VQXANCNFSM4KA2QQEQ.

fenem commented 3 years ago

Joel,

I took your advise, and now have a dedicated machine with latest Ubuntu installed...specifically to get my freecad based tasks done.

Request for clarification: Does the Trails WB have Geodata WB built in?

Thx

M

On Mon, Jul 27, 2020 at 7:17 PM Joel Graff notifications@github.com wrote:

Just guessing, but it may be that the submodules are not being cloned. You can do that with git clone and the --recursive switch. I incorporate other git repos as submodules to help manage code better. If --recursive isn't used, those submodules are not cloned. This eliminates the need to clone pivy_trackers (and one other repo) separately as indicated above.

Thus, from the /Mod folder, you want to run:

git clone --recursive https://github.com/joelgraff/freecad.trails.git

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/joelgraff/freecad.trails/issues/54#issuecomment-664736010, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADB5SAHUG2OELDOQ3MTJNUTR5YYM7ANCNFSM4KA2QQEQ .

joelgraff commented 3 years ago

Yes, it does.

On Mon, Aug 3, 2020 at 6:26 PM fenem notifications@github.com wrote:

Joel,

I took your advise, and now have a dedicated machine with latest Ubuntu installed...specifically to get my freecad based tasks done.

Request for clarification: Does the Trails WB have Geodata WB built in?

Thx

M

On Mon, Jul 27, 2020 at 7:17 PM Joel Graff notifications@github.com wrote:

Just guessing, but it may be that the submodules are not being cloned. You can do that with git clone and the --recursive switch. I incorporate other git repos as submodules to help manage code better. If --recursive isn't used, those submodules are not cloned. This eliminates the need to clone pivy_trackers (and one other repo) separately as indicated above.

Thus, from the /Mod folder, you want to run:

git clone --recursive https://github.com/joelgraff/freecad.trails.git

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/joelgraff/freecad.trails/issues/54#issuecomment-664736010 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/ADB5SAHUG2OELDOQ3MTJNUTR5YYM7ANCNFSM4KA2QQEQ

.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/joelgraff/freecad.trails/issues/54#issuecomment-668288575, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2VMSWQKLOCSCJAGNOSJXTR65BRFANCNFSM4KA2QQEQ .

fenem commented 3 years ago

Joel,

Thanks for your prompt reply. Thats awesome.

On Ubuntu linux ... what is the recommended location to deploy the installation package. As documented in the forum the add-on manager no longer works.

Thanks again.

Kind Regards,

Michael Fene'

On Mon, Aug 3, 2020 at 7:40 PM Joel Graff notifications@github.com wrote:

Yes, it does.

On Mon, Aug 3, 2020 at 6:26 PM fenem notifications@github.com wrote:

Joel,

I took your advise, and now have a dedicated machine with latest Ubuntu installed...specifically to get my freecad based tasks done.

Request for clarification: Does the Trails WB have Geodata WB built in?

Thx

M

On Mon, Jul 27, 2020 at 7:17 PM Joel Graff notifications@github.com wrote:

Just guessing, but it may be that the submodules are not being cloned. You can do that with git clone and the --recursive switch. I incorporate other git repos as submodules to help manage code better. If --recursive isn't used, those submodules are not cloned. This eliminates the need to clone pivy_trackers (and one other repo) separately as indicated above.

Thus, from the /Mod folder, you want to run:

git clone --recursive https://github.com/joelgraff/freecad.trails.git

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <

https://github.com/joelgraff/freecad.trails/issues/54#issuecomment-664736010

, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ADB5SAHUG2OELDOQ3MTJNUTR5YYM7ANCNFSM4KA2QQEQ

.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub < https://github.com/joelgraff/freecad.trails/issues/54#issuecomment-668288575 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AA2VMSWQKLOCSCJAGNOSJXTR65BRFANCNFSM4KA2QQEQ

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/joelgraff/freecad.trails/issues/54#issuecomment-668346790, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADB5SAHMZUBHRH4PMEQDTITR65YINANCNFSM4KA2QQEQ .

joelgraff commented 3 years ago

After installing FreeCAD, open a terminal, install git (if you haven't already), navigate to the .FreeCAD/Mod directory, and install the workbench from the repository as follows:

sudo apt install git
cd ~/.FreeCAD/Mod
git clone --recursive https://github.com/joelgraff/freecad.trails

Generally, you may use this technique to clone any workbench from github directly into the /Mod folder rather than use the Add-On Manager.

fenem commented 3 years ago

Joel,

I think I tried that - but will repeat.

On latest ubuntu Freecad appears to be within directory named /snap.

will report back whether that worked. I am using ubuntu 20.x

Michael Fene’


From: Joel Graff notifications@github.com Sent: Tuesday, August 4, 2020 4:34 AM To: joelgraff/freecad.trails Cc: fenem; Comment Subject: Re: [joelgraff/freecad.trails] Installation problem (#54)

After installing FreeCAD, open a terminal, install git (if you haven't already), navigate to the .FreeCAD/Mod directory, and install the workbench from the repository as follows:

sudo apt install git cd ~/.FreeCAD/Mod git clone --recursive https://github.com/joelgraff/freecad.trails

Generally, you may use this technique to clone any workbench from github directly into the /Mod folder rather than use the Add-On Manager.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/joelgraff/freecad.trails/issues/54#issuecomment-668543191, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADB5SABVUG3MVLQI7NFLLADR67W4PANCNFSM4KA2QQEQ.

joelgraff commented 3 years ago

Not sure what to say there - I've never installed FreeCAD as a snap. Always downloaded the latest 0.19 release either as an AppImage or directly from the FreeCAD Daily PPA.

All of FreeCAD's configuration and other workbenches should be under your home directory in a directory called .FreeCAD...

fenem commented 3 years ago

Joel,

Just so you know what I did:

Installed Freecad through Ubuntu software installer system application Freecad starts OK after than plain vanilla install

The installation path that Ubuntu installer put Freecad is: /snap/Freecad

Within my user home directory there is a directory entitled: ~/snap/freecad

this folder in turn has three directories:

~/snap/freecad/16 ~/snap/freecad/common ~/snap/freecad/current

the directory: ~/snap/freecad/16 contents are:

.cache/ ,config/ .FreeCAD

the directory: ~/snap/freecad/16/.FreeCAD contents are: cookies webdata/

I created a directory at my home root entitled: ~/.FreeCAD created subdirectory /Mod and executed the trails git clone command within this /Mod directory

Still no joy?!

Thoughts?

There must be something fundamental that I am missing.

Is there a preference setting within FreeCAD to direct the application to look for workbenches at a particular path.

(I also tried installing trails in the Mod directory where the core application is located at /snap/freecad/current/opt/local/FreeCAD-0.18/Mod)

I am very much looking forward to using trails for my current project...been struggling with the Trails install for a couple of weeks now. Had same symptoms on Windows.

could there be a pathing problem with dependencies?

If you have the bandwidth I would be happy to get onto a shared screen environment with you to resolve.

Thx

M

On Tue, Aug 4, 2020 at 11:15 AM Joel Graff notifications@github.com wrote:

Not sure what to say there - I've never installed FreeCAD as a snap. Always downloaded the latest 0.19 release either as an AppImage or directly from the FreeCAD Daily PPA.

All of FreeCAD's configuration and other workbenches should be under your home directory in a directory called .FreeCAD...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/joelgraff/freecad.trails/issues/54#issuecomment-668749012, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADB5SACMMTHP7DKLEWAMYHDR7BF23ANCNFSM4KA2QQEQ .

fenem commented 3 years ago

Joel,

I think we are getting closer.

I removed the install that I did last night (via Ubuntu App Installer) and cleaned up file system.

After reinstalling using Stable PPA console (below); and after first Freecad start; Freecad created the .FreeCAD directory in my home path.

With today's install approach: After Trails WB install; Freecad starts but closes immediately.

So I think we are close I suspect a dependency issue here because: if I delete the freecad.trails directory within .FreeCAD/Mod directory Freecad starts no problem.

The directory structure under my home is very different (than using the Ubuntu Application installer; in this case (as you pointed out) /snap is not relevant using PPA console install).

Contents of .FreeCAD directory immediately after install

-rw-rw-r-- 1 fenem fenem 0 Aug 4 14:11 cookies drwxrwxr-x 3 fenem fenem 4096 Aug 4 14:15 Mod -rw-rw-r-- 1 fenem fenem 924 Aug 4 14:11 system.cfg -rw-rw-r-- 1 fenem fenem 3535 Aug 4 14:11 user.cfg

---------------------------------------------------------------------------------------------

I install freecad.trails WB after creating a Mod directoy which now contains:

fenem@opacad1:~/.FreeCAD/Mod/freecad.trails$ ls -latotal 112drwxrwxr-x 8 fenem fenem 4096 Aug 4 14:15 .drwxrwxr-x 3 fenem fenem 4096 Aug 4 14:15 ..drwxrwxr-x 3 fenem fenem 4096 Aug 4 14:15 freecaddrwxrwxr-x 3 fenem fenem 4096 Aug 4 14:15 freecad_python_supportdrwxrwxr-x 9 fenem fenem 4096 Aug 4 14:15 .git-rw-rw-r-- 1 fenem fenem 1407 Aug 4 14:15 .gitignore-rw-rw-r-- 1 fenem fenem 315 Aug 4 14:15 .gitmodules-rw-rw-r-- 1 fenem fenem 564 Aug 4 14:15 .lgtm.yml-rw-rw-r-- 1 fenem fenem 26526 Aug 4 14:15 LICENSE-rw-rw-r-- 1 fenem fenem 151 Aug 4 14:15 Pipfile-rw-rw-r-- 1 fenem fenem 5469 Aug 4 14:15 Pipfile.lockdrwxrwxr-x 4 fenem fenem 4096 Aug 4 14:15 pivy_trackers-rw-rw-r-- 1 fenem fenem 16970 Aug 4 14:15 pylintrcdrwxrwxr-x 3 fenem fenem 4096 Aug 4 14:15 py_test_mod-rw-rw-r-- 1 fenem fenem 2949 Aug 4 14:15 README.md-rw-rw-r-- 1 fenem fenem 2360 Aug 4 14:15 test_tracker.pydrwxrwxr-x 2 fenem fenem 4096 Aug 4 14:15 .vscode

On Tue, Aug 4, 2020 at 11:15 AM Joel Graff notifications@github.com wrote:

Not sure what to say there - I've never installed FreeCAD as a snap. Always downloaded the latest 0.19 release either as an AppImage or directly from the FreeCAD Daily PPA.

All of FreeCAD's configuration and other workbenches should be under your home directory in a directory called .FreeCAD...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/joelgraff/freecad.trails/issues/54#issuecomment-668749012, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADB5SACMMTHP7DKLEWAMYHDR7BF23ANCNFSM4KA2QQEQ .

fenem commented 3 years ago

Joel,

After some poking around; I am 85% sure that the root cause of my issues are that the git recursive command is not placing files and directories in the correct spot.

I do not understand the underlying Freecad architecture; so I do not know what the correct structure is. Thats where I need help

Thx

M

On Tue, Aug 4, 2020 at 2:41 PM Michael Fene mfene5101@gmail.com wrote:

Joel,

I think we are getting closer.

I removed the install that I did last night (via Ubuntu App Installer) and cleaned up file system.

After reinstalling using Stable PPA console (below); and after first Freecad start; Freecad created the .FreeCAD directory in my home path.

With today's install approach: After Trails WB install; Freecad starts but closes immediately.

So I think we are close I suspect a dependency issue here because: if I delete the freecad.trails directory within .FreeCAD/Mod directory Freecad starts no problem.

The directory structure under my home is very different (than using the Ubuntu Application installer; in this case (as you pointed out) /snap is not relevant using PPA console install).

Contents of .FreeCAD directory immediately after install

-rw-rw-r-- 1 fenem fenem 0 Aug 4 14:11 cookies drwxrwxr-x 3 fenem fenem 4096 Aug 4 14:15 Mod -rw-rw-r-- 1 fenem fenem 924 Aug 4 14:11 system.cfg -rw-rw-r-- 1 fenem fenem 3535 Aug 4 14:11 user.cfg

---------------------------------------------------------------------------------------------

I install freecad.trails WB after creating a Mod directoy which now contains:

fenem@opacad1:~/.FreeCAD/Mod/freecad.trails$ ls -latotal 112drwxrwxr-x 8 fenem fenem 4096 Aug 4 14:15 .drwxrwxr-x 3 fenem fenem 4096 Aug 4 14:15 ..drwxrwxr-x 3 fenem fenem 4096 Aug 4 14:15 freecaddrwxrwxr-x 3 fenem fenem 4096 Aug 4 14:15 freecad_python_supportdrwxrwxr-x 9 fenem fenem 4096 Aug 4 14:15 .git-rw-rw-r-- 1 fenem fenem 1407 Aug 4 14:15 .gitignore-rw-rw-r-- 1 fenem fenem 315 Aug 4 14:15 .gitmodules-rw-rw-r-- 1 fenem fenem 564 Aug 4 14:15 .lgtm.yml-rw-rw-r-- 1 fenem fenem 26526 Aug 4 14:15 LICENSE-rw-rw-r-- 1 fenem fenem 151 Aug 4 14:15 Pipfile-rw-rw-r-- 1 fenem fenem 5469 Aug 4 14:15 Pipfile.lockdrwxrwxr-x 4 fenem fenem 4096 Aug 4 14:15 pivy_trackers-rw-rw-r-- 1 fenem fenem 16970 Aug 4 14:15 pylintrcdrwxrwxr-x 3 fenem fenem 4096 Aug 4 14:15 py_test_mod-rw-rw-r-- 1 fenem fenem 2949 Aug 4 14:15 README.md-rw-rw-r-- 1 fenem fenem 2360 Aug 4 14:15 test_tracker.pydrwxrwxr-x 2 fenem fenem 4096 Aug 4 14:15 .vscode

On Tue, Aug 4, 2020 at 11:15 AM Joel Graff notifications@github.com wrote:

Not sure what to say there - I've never installed FreeCAD as a snap. Always downloaded the latest 0.19 release either as an AppImage or directly from the FreeCAD Daily PPA.

All of FreeCAD's configuration and other workbenches should be under your home directory in a directory called .FreeCAD...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/joelgraff/freecad.trails/issues/54#issuecomment-668749012, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADB5SACMMTHP7DKLEWAMYHDR7BF23ANCNFSM4KA2QQEQ .

joelgraff commented 3 years ago

Ok. I'm pretty sure you're right about the dependency issue.

Open a terminal and launch FreeCAD that way. It should dump the error on screen. Highlight, copy, paste. Maybe it's a Python thing? idk.

fenem commented 3 years ago

Joel,

I am working your request now.

Also I am a seasoned developed (not Freecad developer though)...but I am a quick study. I have a 35 year background in CAD (microstation and autocad) and GIS - as a developer, education, and user; in languages including Fortran, Cobol, C, Python, lots of scripting and BASIC variants, lots of different OS's.

That said I am happy to help work through and correct some of the issues.

Another approach (if you're are comfortable with it) is to zip up your local (presumably working) ../Mod/Trails directory structure; and I will identify the differences and see if I can't get it to work. This may be a quick and dirty way of identifying the regression and mitigating.

Here is my linked-in profile if you want to get a feel for my background: https://www.linkedin.com/in/michael-fene-0a853313/

thx

M

On Tue, Aug 4, 2020 at 8:19 PM Joel Graff notifications@github.com wrote:

Ok. I'm pretty sure you're right about the dependency issue.

Open a terminal and launch FreeCAD that way. It should dump the error on screen. Highlight, copy, paste. Maybe it's a Python thing? idk.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/joelgraff/freecad.trails/issues/54#issuecomment-668956426, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADB5SADJT6QCEMKKMVISG23R7DFUZANCNFSM4KA2QQEQ .

fenem commented 3 years ago

Joel here are my results and here is what I did:

I captured the freecad log using freecad -l in terminal.

I attempted to install trails two different approaches:

Before running each cases I cleaned things up; removing any references of Trails in either the /home/user/.Freecad/Mod path or the /usr/share/freecad/Mod path; to assure we have a pure view of each case.

I captured four logs for you:

Log 1: Just a plain vanilla startup log (no trails): FreeCAD.log.beforeTrailsInstall Log 2: log captured post trails install; Approach A: FreeCAD.log.afterTrails.unixhomedir Log 3: log captured post trails install; Approach B: FreeCAD.log.afteraddonmanagerinstall Log 4: is an (in freecad) console log during Approach B: FreeCADaddonmanager.console.log

Please confirm receipt of four attachments.

On Tue, Aug 4, 2020 at 8:48 PM Michael Fene mfene5101@gmail.com wrote:

Joel,

I am working your request now.

Also I am a seasoned developed (not Freecad developer though)...but I am a quick study. I have a 35 year background in CAD (microstation and autocad) and GIS - as a developer, education, and user; in languages including Fortran, Cobol, C, Python, lots of scripting and BASIC variants, lots of different OS's.

That said I am happy to help work through and correct some of the issues.

Another approach (if you're are comfortable with it) is to zip up your local (presumably working) ../Mod/Trails directory structure; and I will identify the differences and see if I can't get it to work. This may be a quick and dirty way of identifying the regression and mitigating.

Here is my linked-in profile if you want to get a feel for my background: https://www.linkedin.com/in/michael-fene-0a853313/

thx

M

On Tue, Aug 4, 2020 at 8:19 PM Joel Graff notifications@github.com wrote:

Ok. I'm pretty sure you're right about the dependency issue.

Open a terminal and launch FreeCAD that way. It should dump the error on screen. Highlight, copy, paste. Maybe it's a Python thing? idk.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/joelgraff/freecad.trails/issues/54#issuecomment-668956426, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADB5SADJT6QCEMKKMVISG23R7DFUZANCNFSM4KA2QQEQ .

fenem commented 3 years ago

Also Joel,

For the moment I have a dedicated UBUNTU V20 box dedicated to Freecad install (so it is a very clean environment for isolating issues).

M

On Tue, Aug 4, 2020 at 9:16 PM Michael Fene mfene5101@gmail.com wrote:

Joel here are my results and here is what I did:

I captured the freecad log using freecad -l in terminal.

I attempted to install trails two different approaches:

  • A) via git clone --recursive ....
  • B) via freecad addon manager

Before running each cases I cleaned things up; removing any references of Trails in either the /home/user/.Freecad/Mod path or the /usr/share/freecad/Mod path; to assure we have a pure view of each case.

I captured four logs for you:

Log 1: Just a plain vanilla startup log (no trails): FreeCAD.log.beforeTrailsInstall Log 2: log captured post trails install; Approach A: FreeCAD.log.afterTrails.unixhomedir Log 3: log captured post trails install; Approach B: FreeCAD.log.afteraddonmanagerinstall Log 4: is an (in freecad) console log during Approach B: FreeCADaddonmanager.console.log

Please confirm receipt of four attachments.

On Tue, Aug 4, 2020 at 8:48 PM Michael Fene mfene5101@gmail.com wrote:

Joel,

I am working your request now.

Also I am a seasoned developed (not Freecad developer though)...but I am a quick study. I have a 35 year background in CAD (microstation and autocad) and GIS - as a developer, education, and user; in languages including Fortran, Cobol, C, Python, lots of scripting and BASIC variants, lots of different OS's.

That said I am happy to help work through and correct some of the issues.

Another approach (if you're are comfortable with it) is to zip up your local (presumably working) ../Mod/Trails directory structure; and I will identify the differences and see if I can't get it to work. This may be a quick and dirty way of identifying the regression and mitigating.

Here is my linked-in profile if you want to get a feel for my background: https://www.linkedin.com/in/michael-fene-0a853313/

thx

M

On Tue, Aug 4, 2020 at 8:19 PM Joel Graff notifications@github.com wrote:

Ok. I'm pretty sure you're right about the dependency issue.

Open a terminal and launch FreeCAD that way. It should dump the error on screen. Highlight, copy, paste. Maybe it's a Python thing? idk.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/joelgraff/freecad.trails/issues/54#issuecomment-668956426, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADB5SADJT6QCEMKKMVISG23R7DFUZANCNFSM4KA2QQEQ .

joelgraff commented 3 years ago

I didn't see any attachments, unfortunately.

The simplest approach is to open a terminal and just run FreeCAD directly from it. Any errors will be dumped directly to the terminal, even if FreeCAD crashes immediately.

You can copy / paste those into a comment on here. I suggest putting the log dump inside code tags (the <> symbol) to make it easier to read.

I suspect it's a simple package issue, really. The other thing to try would be to download the latest FreeCAD AppImage from the releases page

fenem commented 3 years ago

Freecad in-app console log; post trails install attempt using add on manager

Msg: FreeCAD 0.18.4, Libs: 0.18.4R © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019

Log: Time = Tue Aug 4 21:01:41 2020 Log: AppDataSkipVendor = true Log: AppHomePath = /usr/lib/freecad/ Log: AppIcon = freecad Log: AppTempPath = /tmp/ Log: BinPath = /usr/lib/freecad/bin/ Log: BuildRepositoryURL = https://code.launchpad.net/~vcs-imports/freecad/trunk Log: BuildRevision = Log: BuildRevisionDate = 2020/07/25 22:04:23 Log: BuildVersionMajor = 0 Log: BuildVersionMinor = 18.4 Log: Console = 0 Log: CopyrightInfo = © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019

Log: Debug = 0 Log: DocPath = /usr/lib/freecad/doc/ Log: ExeName = FreeCAD Log: ExeVendor = FreeCAD Log: ExeVersion = 0.18.4 Log: LoggingFile = 1 Log: LoggingFileName = /home/fenem/.FreeCAD/FreeCAD.log Log: MaintainerUrl = http://www.freecadweb.org/wiki/Main_Page Log: PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin Log: PYTHONPATH = Log: PythonSearchPath = /usr/lib/python38.zip:/usr/lib/python3.8:/usr/lib/python3.8/lib-dynload Log: RunMode = Gui Log: SplashAlignment = Bottom|Left Log: SplashInfoColor = #c8c8c8 Log: SplashScreen = freecadsplash Log: SplashTextColor = #ffffff Log: StartWorkbench = StartWorkbench Log: SystemParameter = /home/fenem/.FreeCAD/system.cfg Log: UserAppData = /home/fenem/.FreeCAD/ Log: UserHomePath = /home/fenem Log: UserParameter = /home/fenem/.FreeCAD/user.cfg Log: Verbose = Log: Create Application Log: Run App init script Log: Init: starting App::FreeCADInit.py Log: Init: Searching for modules... Log: Init: Initializing /usr/share/freecad/Mod/Show(Init.py not found)... ignore Log: Init: Initializing /usr/share/freecad/Mod/Drawing... done Log: Init: Initializing /usr/share/freecad/Mod/Points... done Log: Init: Initializing /usr/share/freecad/Mod/Idf... done Log: Init: Initializing /usr/share/freecad/Mod/Material... done Log: Init: Initializing /usr/share/freecad/Mod/Spreadsheet... done Log: Init: Initializing /usr/share/freecad/Mod/Image... done Log: Init: Initializing /usr/share/freecad/Mod/Import... done Log: Init: Initializing /usr/share/freecad/Mod/ReverseEngineering... done Log: Init: Initializing /usr/share/freecad/Mod/Fem... done Log: Init: Initializing /usr/share/freecad/Mod/Sketcher... done Log: Init: Initializing /usr/share/freecad/Mod/Robot... done Log: Init: Initializing /usr/share/freecad/Mod/Plot(Init.py not found)... ignore Log: Init: Initializing /usr/share/freecad/Mod/Surface... done Log: Init: Initializing /usr/share/freecad/Mod/Tux(Init.py not found)... ignore Log: Init: Initializing /usr/share/freecad/Mod/Draft... done Log: Init: Initializing /usr/share/freecad/Mod/AddonManager... done Log: Init: Initializing /usr/share/freecad/Mod/Measure... done Log: Init: Initializing /usr/share/freecad/Mod/Ship(Init.py not found)... ignore Log: Init: Initializing /usr/share/freecad/Mod/Test... done Log: Init: Initializing /usr/share/freecad/Mod/Part... done Log: Init: Initializing /usr/share/freecad/Mod/OpenSCAD... done Log: Init: Initializing /usr/share/freecad/Mod/Path... done Log: Init: Initializing /usr/share/freecad/Mod/Web... done Log: Init: Initializing /usr/share/freecad/Mod/Mesh... done Log: Init: Initializing /usr/share/freecad/Mod/Inspection... done Log: Init: Initializing /usr/share/freecad/Mod/TechDraw... done Log: Init: Initializing /usr/share/freecad/Mod/Start... done Log: Init: Initializing /usr/share/freecad/Mod/MeshPart... done Log: Init: Initializing /usr/share/freecad/Mod/PartDesign... done Log: Init: Initializing /usr/share/freecad/Mod/Arch... done Log: Init: Initializing /usr/share/freecad/Mod/Raytracing... done Log: Init: Initializing /usr/share/freecad/Mod/Complete... done Log: Init: Initializing /home/fenem/.FreeCAD/Mod/trails(Init.py not found)... ignore Log: Init: Initializing freecad.trails Log: Init: No init module found in freecad.trails, skipping Log: Using /usr/share/freecad/Mod as module path! Log: System path after init: Log: /usr/lib/freecad/bin Log: /usr/share/freecad/Mod/Show Log: /usr/share/freecad/Mod/Drawing Log: /usr/share/freecad/Mod/Points Log: /usr/share/freecad/Mod/Idf Log: /usr/share/freecad/Mod/Material Log: /usr/share/freecad/Mod/Spreadsheet Log: /usr/share/freecad/Mod/Image Log: /usr/share/freecad/Mod/Import Log: /usr/share/freecad/Mod/ReverseEngineering Log: /usr/share/freecad/Mod/Fem Log: /usr/share/freecad/Mod/Sketcher Log: /usr/share/freecad/Mod/Robot Log: /usr/share/freecad/Mod/Plot Log: /usr/share/freecad/Mod/Surface Log: /usr/share/freecad/Mod/Tux Log: /usr/share/freecad/Mod/Draft Log: /usr/share/freecad/Mod/AddonManager Log: /usr/share/freecad/Mod/Measure Log: /usr/share/freecad/Mod/Ship Log: /usr/share/freecad/Mod/Test Log: /usr/share/freecad/Mod/Part Log: /usr/share/freecad/Mod/OpenSCAD Log: /usr/share/freecad/Mod/Path Log: /usr/share/freecad/Mod/Web Log: /usr/share/freecad/Mod/Mesh Log: /usr/share/freecad/Mod/Inspection Log: /usr/share/freecad/Mod/TechDraw Log: /usr/share/freecad/Mod/Start Log: /usr/share/freecad/Mod/MeshPart Log: /usr/share/freecad/Mod/PartDesign Log: /usr/share/freecad/Mod/Arch Log: /usr/share/freecad/Mod/Raytracing Log: /usr/share/freecad/Mod/Complete Log: /home/fenem/.FreeCAD/Mod/trails Log: /usr/local/sbin Log: /usr/local/bin Log: /usr/sbin Log: /usr/bin Log: /sbin Log: /bin Log: /usr/games Log: /usr/local/games Log: /snap/bin Log: Init: App::FreeCADInit.py done Log: Init: Creating Gui::Application and QApplication Log: Local server 'FreeCAD' started Log: Attribute Qt::AA_EnableHighDpiScaling must be set before QCoreApplication is created. Log: OpenGL version is: 3.0 (3.0 Mesa 20.0.8) Log: Run Gui init script Log: Init: Running FreeCADGuiInit.py start script... Log: Init: Searching modules... Log: Init: Initializing /usr/share/freecad/Mod/Show(InitGui.py not found)... ignore Log: Init: Initializing /usr/share/freecad/Mod/Drawing... done Log: Init: Initializing /usr/share/freecad/Mod/Points... done Log: Init: Initializing /usr/share/freecad/Mod/Idf(InitGui.py not found)... ignore Log: Init: Initializing /usr/share/freecad/Mod/Material... done Log: Init: Initializing /usr/share/freecad/Mod/Spreadsheet... done Log: Init: Initializing /usr/share/freecad/Mod/Image... done Log: Init: Initializing /usr/share/freecad/Mod/Import... done Log: Init: Initializing /usr/share/freecad/Mod/ReverseEngineering... done Log: Init: Initializing /usr/share/freecad/Mod/Fem... done Log: Init: Initializing /usr/share/freecad/Mod/Sketcher... done Log: Init: Initializing /usr/share/freecad/Mod/Robot... done Log: Init: Initializing /usr/share/freecad/Mod/Plot... done Log: Init: Initializing /usr/share/freecad/Mod/Surface... done Log: Init: Initializing /usr/share/freecad/Mod/Tux... done Log: Init: Initializing /usr/share/freecad/Mod/Draft... done Log: Init: Initializing /usr/share/freecad/Mod/AddonManager... done Log: Init: Initializing /usr/share/freecad/Mod/Measure(InitGui.py not found)... ignore Log: Init: Initializing /usr/share/freecad/Mod/Ship... done Log: Init: Initializing /usr/share/freecad/Mod/Test... done Log: Init: Initializing /usr/share/freecad/Mod/Part... done Log: Init: Initializing /usr/share/freecad/Mod/OpenSCAD... done Log: Init: Initializing /usr/share/freecad/Mod/Path... done Log: Init: Initializing /usr/share/freecad/Mod/Web... done Log: Init: Initializing /usr/share/freecad/Mod/Mesh... done Log: Init: Initializing /usr/share/freecad/Mod/Inspection... done Log: Init: Initializing /usr/share/freecad/Mod/TechDraw... done Log: Init: Initializing /usr/share/freecad/Mod/Start... done Log: Init: Initializing /usr/share/freecad/Mod/MeshPart... done Log: Init: Initializing /usr/share/freecad/Mod/PartDesign... done Log: Init: Initializing /usr/share/freecad/Mod/Arch... done Log: Init: Initializing /usr/share/freecad/Mod/Raytracing... done Log: Init: Initializing /usr/share/freecad/Mod/Complete... done Log: Init: Initializing /home/fenem/.FreeCAD/Mod/trails(InitGui.py not found)... ignore Log: Init: Initializing freecad.trails Err: During initialization the error No module named 'freecad.trails.project.support' occurred in freecad.trails Err:

Err: Traceback (most recent call last): File "", line 145, in InitApplications File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 783, in exec_module File "", line 219, in _call_with_frames_removed File "/home/fenem/.FreeCAD/Mod/trails/freecad/trails/init_gui.py", line 29, in from .corridor.template import ViewTemplateLibrary File "/home/fenem/.FreeCAD/Mod/trails/freecad/trails/corridor/template/ViewTemplateLibrary.py", line 31, in from . import TemplateLibrary, SketchTemplate File "/home/fenem/.FreeCAD/Mod/trails/freecad/trails/corridor/template/TemplateLibrary.py", line 47, in from ...project.support import document_properties ModuleNotFoundError: No module named 'freecad.trails.project.support' Err:

Log: Init: Initializing freecad.trails... failed Log:

Log: Traceback (most recent call last): File "", line 145, in InitApplications File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 783, in exec_module File "", line 219, in _call_with_frames_removed File "/home/fenem/.FreeCAD/Mod/trails/freecad/trails/init_gui.py", line 29, in from .corridor.template import ViewTemplateLibrary File "/home/fenem/.FreeCAD/Mod/trails/freecad/trails/corridor/template/ViewTemplateLibrary.py", line 31, in from . import TemplateLibrary, SketchTemplate File "/home/fenem/.FreeCAD/Mod/trails/freecad/trails/corridor/template/TemplateLibrary.py", line 47, in from ...project.support import document_properties ModuleNotFoundError: No module named 'freecad.trails.project.support' Log:

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 Log: Init: Showing main window Log: Main window restored Log: Show main window Log: Toolbars restored Log: Couldn't connect to spacenav daemon Log: Init: Entering event loop Log: Init: Processing command line files Log: Hide main window Log: Hide main window Log: Finish: Event loop left Log: Destruct Gui::Application Log: Couldn't disconnect from spacenav daemon Log: FreeCAD terminating... Log: Saving system parameter... Log: Saving system parameter...done Log: Saving user parameter... Log: Saving user parameter...done

On Mon, Jul 27, 2020 at 7:17 PM Joel Graff notifications@github.com wrote:

Just guessing, but it may be that the submodules are not being cloned. You can do that with git clone and the --recursive switch. I incorporate other git repos as submodules to help manage code better. If --recursive isn't used, those submodules are not cloned. This eliminates the need to clone pivy_trackers (and one other repo) separately as indicated above.

Thus, from the /Mod folder, you want to run:

git clone --recursive https://github.com/joelgraff/freecad.trails.git

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/joelgraff/freecad.trails/issues/54#issuecomment-664736010, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADB5SAHUG2OELDOQ3MTJNUTR5YYM7ANCNFSM4KA2QQEQ .

fenem commented 3 years ago

Freecad startup log. No trails or other addons installed. (Baseline)

Msg: FreeCAD 0.18.4, Libs: 0.18.4R © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019

Log: Time = Tue Aug 4 20:51:36 2020 Log: AppDataSkipVendor = true Log: AppHomePath = /usr/lib/freecad/ Log: AppIcon = freecad Log: AppTempPath = /tmp/ Log: BinPath = /usr/lib/freecad/bin/ Log: BuildRepositoryURL = https://code.launchpad.net/~vcs-imports/freecad/trunk Log: BuildRevision = Log: BuildRevisionDate = 2020/07/25 22:04:23 Log: BuildVersionMajor = 0 Log: BuildVersionMinor = 18.4 Log: Console = 0 Log: CopyrightInfo = © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019

Log: Debug = 0 Log: DocPath = /usr/lib/freecad/doc/ Log: ExeName = FreeCAD Log: ExeVendor = FreeCAD Log: ExeVersion = 0.18.4 Log: LoggingFile = 1 Log: LoggingFileName = /home/fenem/.FreeCAD/FreeCAD.log Log: MaintainerUrl = http://www.freecadweb.org/wiki/Main_Page Log: PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin Log: PYTHONPATH = Log: PythonSearchPath = /usr/lib/python38.zip:/usr/lib/python3.8:/usr/lib/python3.8/lib-dynload Log: RunMode = Gui Log: SplashAlignment = Bottom|Left Log: SplashInfoColor = #c8c8c8 Log: SplashScreen = freecadsplash Log: SplashTextColor = #ffffff Log: StartWorkbench = StartWorkbench Log: SystemParameter = /home/fenem/.FreeCAD/system.cfg Log: UserAppData = /home/fenem/.FreeCAD/ Log: UserHomePath = /home/fenem Log: UserParameter = /home/fenem/.FreeCAD/user.cfg Log: Verbose = Log: Create Application Log: Run App init script Log: Init: starting App::FreeCADInit.py Log: Init: Searching for modules... Log: Init: Initializing /usr/share/freecad/Mod/Show(Init.py not found)... ignore Log: Init: Initializing /usr/share/freecad/Mod/Drawing... done Log: Init: Initializing /usr/share/freecad/Mod/Points... done Log: Init: Initializing /usr/share/freecad/Mod/Idf... done Log: Init: Initializing /usr/share/freecad/Mod/Material... done Log: Init: Initializing /usr/share/freecad/Mod/Spreadsheet... done Log: Init: Initializing /usr/share/freecad/Mod/Image... done Log: Init: Initializing /usr/share/freecad/Mod/Import... done Log: Init: Initializing /usr/share/freecad/Mod/ReverseEngineering... done Log: Init: Initializing /usr/share/freecad/Mod/Fem... done Log: Init: Initializing /usr/share/freecad/Mod/Sketcher... done Log: Init: Initializing /usr/share/freecad/Mod/Robot... done Log: Init: Initializing /usr/share/freecad/Mod/Plot(Init.py not found)... ignore Log: Init: Initializing /usr/share/freecad/Mod/Surface... done Log: Init: Initializing /usr/share/freecad/Mod/Tux(Init.py not found)... ignore Log: Init: Initializing /usr/share/freecad/Mod/Draft... done Log: Init: Initializing /usr/share/freecad/Mod/AddonManager... done Log: Init: Initializing /usr/share/freecad/Mod/Measure... done Log: Init: Initializing /usr/share/freecad/Mod/Ship(Init.py not found)... ignore Log: Init: Initializing /usr/share/freecad/Mod/Test... done Log: Init: Initializing /usr/share/freecad/Mod/Part... done Log: Init: Initializing /usr/share/freecad/Mod/OpenSCAD... done Log: Init: Initializing /usr/share/freecad/Mod/Path... done Log: Init: Initializing /usr/share/freecad/Mod/Web... done Log: Init: Initializing /usr/share/freecad/Mod/Mesh... done Log: Init: Initializing /usr/share/freecad/Mod/Inspection... done Log: Init: Initializing /usr/share/freecad/Mod/TechDraw... done Log: Init: Initializing /usr/share/freecad/Mod/Start... done Log: Init: Initializing /usr/share/freecad/Mod/MeshPart... done Log: Init: Initializing /usr/share/freecad/Mod/PartDesign... done Log: Init: Initializing /usr/share/freecad/Mod/Arch... done Log: Init: Initializing /usr/share/freecad/Mod/Raytracing... done Log: Init: Initializing /usr/share/freecad/Mod/Complete... done Log: Using /usr/share/freecad/Mod as module path! Log: System path after init: Log: /usr/lib/freecad/bin Log: /usr/share/freecad/Mod/Show Log: /usr/share/freecad/Mod/Drawing Log: /usr/share/freecad/Mod/Points Log: /usr/share/freecad/Mod/Idf Log: /usr/share/freecad/Mod/Material Log: /usr/share/freecad/Mod/Spreadsheet Log: /usr/share/freecad/Mod/Image Log: /usr/share/freecad/Mod/Import Log: /usr/share/freecad/Mod/ReverseEngineering Log: /usr/share/freecad/Mod/Fem Log: /usr/share/freecad/Mod/Sketcher Log: /usr/share/freecad/Mod/Robot Log: /usr/share/freecad/Mod/Plot Log: /usr/share/freecad/Mod/Surface Log: /usr/share/freecad/Mod/Tux Log: /usr/share/freecad/Mod/Draft Log: /usr/share/freecad/Mod/AddonManager Log: /usr/share/freecad/Mod/Measure Log: /usr/share/freecad/Mod/Ship Log: /usr/share/freecad/Mod/Test Log: /usr/share/freecad/Mod/Part Log: /usr/share/freecad/Mod/OpenSCAD Log: /usr/share/freecad/Mod/Path Log: /usr/share/freecad/Mod/Web Log: /usr/share/freecad/Mod/Mesh Log: /usr/share/freecad/Mod/Inspection Log: /usr/share/freecad/Mod/TechDraw Log: /usr/share/freecad/Mod/Start Log: /usr/share/freecad/Mod/MeshPart Log: /usr/share/freecad/Mod/PartDesign Log: /usr/share/freecad/Mod/Arch Log: /usr/share/freecad/Mod/Raytracing Log: /usr/share/freecad/Mod/Complete Log: /usr/local/sbin Log: /usr/local/bin Log: /usr/sbin Log: /usr/bin Log: /sbin Log: /bin Log: /usr/games Log: /usr/local/games Log: /snap/bin Log: Init: App::FreeCADInit.py done Log: Init: Creating Gui::Application and QApplication Log: Local server 'FreeCAD' started Log: Attribute Qt::AA_EnableHighDpiScaling must be set before QCoreApplication is created. Log: OpenGL version is: 3.0 (3.0 Mesa 20.0.8) Log: Run Gui init script Log: Init: Running FreeCADGuiInit.py start script... Log: Init: Searching modules... Log: Init: Initializing /usr/share/freecad/Mod/Show(InitGui.py not found)... ignore Log: Init: Initializing /usr/share/freecad/Mod/Drawing... done Log: Init: Initializing /usr/share/freecad/Mod/Points... done Log: Init: Initializing /usr/share/freecad/Mod/Idf(InitGui.py not found)... ignore Log: Init: Initializing /usr/share/freecad/Mod/Material... done Log: Init: Initializing /usr/share/freecad/Mod/Spreadsheet... done Log: Init: Initializing /usr/share/freecad/Mod/Image... done Log: Init: Initializing /usr/share/freecad/Mod/Import... done Log: Init: Initializing /usr/share/freecad/Mod/ReverseEngineering... done Log: Init: Initializing /usr/share/freecad/Mod/Fem... done Log: Init: Initializing /usr/share/freecad/Mod/Sketcher... done Log: Init: Initializing /usr/share/freecad/Mod/Robot... done Log: Init: Initializing /usr/share/freecad/Mod/Plot... done Log: Init: Initializing /usr/share/freecad/Mod/Surface... done Log: Init: Initializing /usr/share/freecad/Mod/Tux... done Log: Init: Initializing /usr/share/freecad/Mod/Draft... done Log: Init: Initializing /usr/share/freecad/Mod/AddonManager... done Log: Init: Initializing /usr/share/freecad/Mod/Measure(InitGui.py not found)... ignore Log: Init: Initializing /usr/share/freecad/Mod/Ship... done Log: Init: Initializing /usr/share/freecad/Mod/Test... done Log: Init: Initializing /usr/share/freecad/Mod/Part... done Log: Init: Initializing /usr/share/freecad/Mod/OpenSCAD... done Log: Init: Initializing /usr/share/freecad/Mod/Path... done Log: Init: Initializing /usr/share/freecad/Mod/Web... done Log: Init: Initializing /usr/share/freecad/Mod/Mesh... done Log: Init: Initializing /usr/share/freecad/Mod/Inspection... done Log: Init: Initializing /usr/share/freecad/Mod/TechDraw... done Log: Init: Initializing /usr/share/freecad/Mod/Start... done Log: Init: Initializing /usr/share/freecad/Mod/MeshPart... done Log: Init: Initializing /usr/share/freecad/Mod/PartDesign... done Log: Init: Initializing /usr/share/freecad/Mod/Arch... done Log: Init: Initializing /usr/share/freecad/Mod/Raytracing... done Log: Init: Initializing /usr/share/freecad/Mod/Complete... done 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 Log: Init: Showing main window Log: Main window restored Log: Show main window Log: Toolbars restored Log: Couldn't connect to spacenav daemon Log: Init: Entering event loop Log: Init: Processing command line files Log: Hide main window Log: Hide main window Log: Finish: Event loop left Log: Destruct Gui::Application Log: Couldn't disconnect from spacenav daemon Log: FreeCAD terminating... Log: Saving system parameter... Log: Saving system parameter...done Log: Saving user parameter... Log: Saving user parameter...done

On Mon, Jul 27, 2020 at 7:17 PM Joel Graff notifications@github.com wrote:

Just guessing, but it may be that the submodules are not being cloned. You can do that with git clone and the --recursive switch. I incorporate other git repos as submodules to help manage code better. If --recursive isn't used, those submodules are not cloned. This eliminates the need to clone pivy_trackers (and one other repo) separately as indicated above.

Thus, from the /Mod folder, you want to run:

git clone --recursive https://github.com/joelgraff/freecad.trails.git

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/joelgraff/freecad.trails/issues/54#issuecomment-664736010, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADB5SAHUG2OELDOQ3MTJNUTR5YYM7ANCNFSM4KA2QQEQ .

fenem commented 3 years ago

Freecad startup log after Trails install attempt using git clone --recursive in the /homedir/.../.Freecad/Mod directory

Msg: FreeCAD 0.18.4, Libs: 0.18.4R © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019

Log: Time = Tue Aug 4 20:55:41 2020 Log: AppDataSkipVendor = true Log: AppHomePath = /usr/lib/freecad/ Log: AppIcon = freecad Log: AppTempPath = /tmp/ Log: BinPath = /usr/lib/freecad/bin/ Log: BuildRepositoryURL = https://code.launchpad.net/~vcs-imports/freecad/trunk Log: BuildRevision = Log: BuildRevisionDate = 2020/07/25 22:04:23 Log: BuildVersionMajor = 0 Log: BuildVersionMinor = 18.4 Log: Console = 0 Log: CopyrightInfo = © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019

Log: Debug = 0 Log: DocPath = /usr/lib/freecad/doc/ Log: ExeName = FreeCAD Log: ExeVendor = FreeCAD Log: ExeVersion = 0.18.4 Log: LoggingFile = 1 Log: LoggingFileName = /home/fenem/.FreeCAD/FreeCAD.log Log: MaintainerUrl = http://www.freecadweb.org/wiki/Main_Page Log: PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin Log: PYTHONPATH = Log: PythonSearchPath = /usr/lib/python38.zip:/usr/lib/python3.8:/usr/lib/python3.8/lib-dynload Log: RunMode = Gui Log: SplashAlignment = Bottom|Left Log: SplashInfoColor = #c8c8c8 Log: SplashScreen = freecadsplash Log: SplashTextColor = #ffffff Log: StartWorkbench = StartWorkbench Log: SystemParameter = /home/fenem/.FreeCAD/system.cfg Log: UserAppData = /home/fenem/.FreeCAD/ Log: UserHomePath = /home/fenem Log: UserParameter = /home/fenem/.FreeCAD/user.cfg Log: Verbose = Log: Create Application Log: Run App init script Log: Init: starting App::FreeCADInit.py Log: Init: Searching for modules... Log: Init: Initializing /usr/share/freecad/Mod/Show(Init.py not found)... ignore Log: Init: Initializing /usr/share/freecad/Mod/Drawing... done Log: Init: Initializing /usr/share/freecad/Mod/Points... done Log: Init: Initializing /usr/share/freecad/Mod/Idf... done Log: Init: Initializing /usr/share/freecad/Mod/Material... done Log: Init: Initializing /usr/share/freecad/Mod/Spreadsheet... done Log: Init: Initializing /usr/share/freecad/Mod/Image... done Log: Init: Initializing /usr/share/freecad/Mod/Import... done Log: Init: Initializing /usr/share/freecad/Mod/ReverseEngineering... done Log: Init: Initializing /usr/share/freecad/Mod/Fem... done Log: Init: Initializing /usr/share/freecad/Mod/Sketcher... done Log: Init: Initializing /usr/share/freecad/Mod/Robot... done Log: Init: Initializing /usr/share/freecad/Mod/Plot(Init.py not found)... ignore Log: Init: Initializing /usr/share/freecad/Mod/Surface... done Log: Init: Initializing /usr/share/freecad/Mod/Tux(Init.py not found)... ignore Log: Init: Initializing /usr/share/freecad/Mod/Draft... done Log: Init: Initializing /usr/share/freecad/Mod/AddonManager... done Log: Init: Initializing /usr/share/freecad/Mod/Measure... done Log: Init: Initializing /usr/share/freecad/Mod/Ship(Init.py not found)... ignore Log: Init: Initializing /usr/share/freecad/Mod/Test... done Log: Init: Initializing /usr/share/freecad/Mod/Part... done Log: Init: Initializing /usr/share/freecad/Mod/OpenSCAD... done Log: Init: Initializing /usr/share/freecad/Mod/Path... done Log: Init: Initializing /usr/share/freecad/Mod/Web... done Log: Init: Initializing /usr/share/freecad/Mod/Mesh... done Log: Init: Initializing /usr/share/freecad/Mod/Inspection... done Log: Init: Initializing /usr/share/freecad/Mod/TechDraw... done Log: Init: Initializing /usr/share/freecad/Mod/Start... done Log: Init: Initializing /usr/share/freecad/Mod/MeshPart... done Log: Init: Initializing /usr/share/freecad/Mod/PartDesign... done Log: Init: Initializing /usr/share/freecad/Mod/Arch... done Log: Init: Initializing /usr/share/freecad/Mod/Raytracing... done Log: Init: Initializing /usr/share/freecad/Mod/Complete... done Log: Init: Initializing /home/fenem/.FreeCAD/Mod/freecad.trails(Init.py not found)... ignore Log: Init: Initializing freecad.trails Err: Error in InitApplications module 'pivy.coin' has no attribute 'SoGeoCoordinate' Err:

Err: Traceback (most recent call last): File "", line 241, in File "", line 159, in InitApplications File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 783, in exec_module File "", line 219, in _call_with_frames_removed File "/home/fenem/.FreeCAD/Mod/freecad.trails/freecad/trails/init.py", line 52, in ContextTracker = import_class( File "/home/fenem/.FreeCAD/Mod/freecad.trails/freecad/trails/init.py", line 50, in import_class return getattr(import_module(path, name), name) File "/home/fenem/.FreeCAD/Mod/freecad.trails/freecad/trails/init.py", line 43, in import_module return import(path, globals(), locals(), _name_list) File "/home/fenem/.FreeCAD/Mod/freecad.trails/pivy_trackers/pivy_trackers/tracker/context_tracker.py", line 27, in from ..trait.base import Base File "/home/fenem/.FreeCAD/Mod/freecad.trails/pivy_trackers/pivy_trackers/trait/base.py", line 26, in from ..coin.coin_enums import NodeTypes as Nodes File "/home/fenem/.FreeCAD/Mod/freecad.trails/pivy_trackers/pivy_trackers/coin/coin_enums.py", line 332, in class NodeTypes(Const): File "/home/fenem/.FreeCAD/Mod/freecad.trails/pivy_trackers/pivy_trackers/coin/coin_enums.py", line 342, in NodeTypes GEO_COORDINATE = coin.SoGeoCoordinate AttributeError: module 'pivy.coin' has no attribute 'SoGeoCoordinate' Err:

Log: Init: App::FreeCADInit.py done Log: Init: Creating Gui::Application and QApplication Log: Local server 'FreeCAD' started Log: Attribute Qt::AA_EnableHighDpiScaling must be set before QCoreApplication is created. Log: OpenGL version is: 3.0 (3.0 Mesa 20.0.8) Log: Run Gui init script Log: Init: Running FreeCADGuiInit.py start script... Log: Init: Searching modules... Log: Init: Initializing /usr/share/freecad/Mod/Show(InitGui.py not found)... ignore Log: Init: Initializing /usr/share/freecad/Mod/Drawing... done Log: Init: Initializing /usr/share/freecad/Mod/Points... done Log: Init: Initializing /usr/share/freecad/Mod/Idf(InitGui.py not found)... ignore Log: Init: Initializing /usr/share/freecad/Mod/Material... done Log: Init: Initializing /usr/share/freecad/Mod/Spreadsheet... done Log: Init: Initializing /usr/share/freecad/Mod/Image... done Log: Init: Initializing /usr/share/freecad/Mod/Import... done Log: Init: Initializing /usr/share/freecad/Mod/ReverseEngineering... done Log: Init: Initializing /usr/share/freecad/Mod/Fem... done Log: Init: Initializing /usr/share/freecad/Mod/Sketcher... done Log: Init: Initializing /usr/share/freecad/Mod/Robot... done Log: Init: Initializing /usr/share/freecad/Mod/Plot... done Log: Init: Initializing /usr/share/freecad/Mod/Surface... done Log: Init: Initializing /usr/share/freecad/Mod/Tux... done Log: Init: Initializing /usr/share/freecad/Mod/Draft... done Log: Init: Initializing /usr/share/freecad/Mod/AddonManager... done Log: Init: Initializing /usr/share/freecad/Mod/Measure(InitGui.py not found)... ignore Log: Init: Initializing /usr/share/freecad/Mod/Ship... done Log: Init: Initializing /usr/share/freecad/Mod/Test... done Log: Init: Initializing /usr/share/freecad/Mod/Part... done Log: Init: Initializing /usr/share/freecad/Mod/OpenSCAD... done Log: Init: Initializing /usr/share/freecad/Mod/Path... done Log: Init: Initializing /usr/share/freecad/Mod/Web... done Log: Init: Initializing /usr/share/freecad/Mod/Mesh... done Log: Init: Initializing /usr/share/freecad/Mod/Inspection... done Log: Init: Initializing /usr/share/freecad/Mod/TechDraw... done Log: Init: Initializing /usr/share/freecad/Mod/Start... done Log: Init: Initializing /usr/share/freecad/Mod/MeshPart... done Log: Init: Initializing /usr/share/freecad/Mod/PartDesign... done Log: Init: Initializing /usr/share/freecad/Mod/Arch... done Log: Init: Initializing /usr/share/freecad/Mod/Raytracing... done Log: Init: Initializing /usr/share/freecad/Mod/Complete... done Log: Init: Initializing /home/fenem/.FreeCAD/Mod/freecad.trails(InitGui.py not found)... ignore Log: Init: Initializing freecad.trails Err: Error in FreeCADGuiInit.py: module 'pivy.coin' has no attribute 'SoGeoCoordinate' Log: Destruct Gui::Application Log: Couldn't disconnect from spacenav daemon Err: Traceback (most recent call last): File "", line 175, in File "", line 142, in InitApplications File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 783, in exec_module File "", line 219, in _call_with_frames_removed File "/home/fenem/.FreeCAD/Mod/freecad.trails/freecad/trails/init.py", line 52, in ContextTracker = import_class( File "/home/fenem/.FreeCAD/Mod/freecad.trails/freecad/trails/init.py", line 50, in import_class return getattr(import_module(path, name), name) File "/home/fenem/.FreeCAD/Mod/freecad.trails/freecad/trails/init.py", line 43, in import_module return import(path, globals(), locals(), _name_list) File "/home/fenem/.FreeCAD/Mod/freecad.trails/pivy_trackers/pivy_trackers/tracker/context_tracker.py", line 27, in from ..trait.base import Base File "/home/fenem/.FreeCAD/Mod/freecad.trails/pivy_trackers/pivy_trackers/trait/base.py", line 26, in from ..coin.coin_enums import NodeTypes as Nodes File "/home/fenem/.FreeCAD/Mod/freecad.trails/pivy_trackers/pivy_trackers/coin/coin_enums.py", line 332, in class NodeTypes(Const): File "/home/fenem/.FreeCAD/Mod/freecad.trails/pivy_trackers/pivy_trackers/coin/coin_enums.py", line 342, in NodeTypes GEO_COORDINATE = coin.SoGeoCoordinate <class 'AttributeError'>: module 'pivy.coin' has no attribute 'SoGeoCoordinate'

On Mon, Jul 27, 2020 at 7:17 PM Joel Graff notifications@github.com wrote:

Just guessing, but it may be that the submodules are not being cloned. You can do that with git clone and the --recursive switch. I incorporate other git repos as submodules to help manage code better. If --recursive isn't used, those submodules are not cloned. This eliminates the need to clone pivy_trackers (and one other repo) separately as indicated above.

Thus, from the /Mod folder, you want to run:

git clone --recursive https://github.com/joelgraff/freecad.trails.git

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/joelgraff/freecad.trails/issues/54#issuecomment-664736010, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADB5SAHUG2OELDOQ3MTJNUTR5YYM7ANCNFSM4KA2QQEQ .

fenem commented 3 years ago

Freecad Console Log after addon manager attempt (I labeled the previous email incorrectly). The previous email labeled console log was actually the startup log post install attempt via add on manager.

OpenGL version is: 3.0 (3.0 Mesa 20.0.8) Run Gui init script Init: Running FreeCADGuiInit.py start script... Init: Searching modules... Init: Initializing /usr/share/freecad/Mod/Show(InitGui.py not found)... ignore Init: Initializing /usr/share/freecad/Mod/Drawing... done Init: Initializing /usr/share/freecad/Mod/Points... done Init: Initializing /usr/share/freecad/Mod/Idf(InitGui.py not found)... ignore Init: Initializing /usr/share/freecad/Mod/Material... done Init: Initializing /usr/share/freecad/Mod/Spreadsheet... done Init: Initializing /usr/share/freecad/Mod/Image... done Init: Initializing /usr/share/freecad/Mod/Import... done Init: Initializing /usr/share/freecad/Mod/ReverseEngineering... done Init: Initializing /usr/share/freecad/Mod/Fem... done Init: Initializing /usr/share/freecad/Mod/Sketcher... done Init: Initializing /usr/share/freecad/Mod/Robot... done Init: Initializing /usr/share/freecad/Mod/Plot... done Init: Initializing /usr/share/freecad/Mod/Surface... done Init: Initializing /usr/share/freecad/Mod/Tux... done Init: Initializing /usr/share/freecad/Mod/Draft... done Init: Initializing /usr/share/freecad/Mod/AddonManager... done Init: Initializing /usr/share/freecad/Mod/Measure(InitGui.py not found)... ignore Init: Initializing /usr/share/freecad/Mod/Ship... done Init: Initializing /usr/share/freecad/Mod/Test... done Init: Initializing /usr/share/freecad/Mod/Part... done Init: Initializing /usr/share/freecad/Mod/OpenSCAD... done Init: Initializing /usr/share/freecad/Mod/Path... done Init: Initializing /usr/share/freecad/Mod/Web... done Init: Initializing /usr/share/freecad/Mod/Mesh... done Init: Initializing /usr/share/freecad/Mod/Inspection... done Init: Initializing /usr/share/freecad/Mod/TechDraw... done Init: Initializing /usr/share/freecad/Mod/Start... done Init: Initializing /usr/share/freecad/Mod/MeshPart... done Init: Initializing /usr/share/freecad/Mod/PartDesign... done Init: Initializing /usr/share/freecad/Mod/Arch... done Init: Initializing /usr/share/freecad/Mod/Raytracing... done Init: Initializing /usr/share/freecad/Mod/Complete... done Init: Loading FreeCAD GUI Init: Running FreeCADGuiInit.py start script... done Init: Activating default workbench StartWorkbench Loading GUI of Web module... done Loading GUI of Start module... done Loading Start module... done Init: Showing main window Main window restored Show main window Toolbars restored Couldn't connect to spacenav daemon Init: Entering event loop Init: Processing command line files No module named 'git' GitPython not found. Using standard download instead. Downloading https://github.com/joelgraff/freecad.trails/archive/master.zip No module named 'git' GitPython not found. Using standard download instead. Downloading https://github.com/joelgraff/freecad.trails/archive/master.zip

On Mon, Jul 27, 2020 at 7:17 PM Joel Graff notifications@github.com wrote:

Just guessing, but it may be that the submodules are not being cloned. You can do that with git clone and the --recursive switch. I incorporate other git repos as submodules to help manage code better. If --recursive isn't used, those submodules are not cloned. This eliminates the need to clone pivy_trackers (and one other repo) separately as indicated above.

Thus, from the /Mod folder, you want to run:

git clone --recursive https://github.com/joelgraff/freecad.trails.git

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/joelgraff/freecad.trails/issues/54#issuecomment-664736010, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADB5SAHUG2OELDOQ3MTJNUTR5YYM7ANCNFSM4KA2QQEQ .

joelgraff commented 3 years ago

Ok, so I see two errors. One doesn't quite make sense to me, the other does.

The error that's probably crashing everything for you is this one: File

"/home/fenem/.FreeCAD/Mod/freecad.trails/pivy_trackers/pivy_trackers/coin/coin_enums.py",
line 342, in NodeTypes
    GEO_COORDINATE = coin.SoGeoCoordinate
<class 'AttributeError'>: module 'pivy.coin' has no attribute
'SoGeoCoordinate'

The issue, here, is with your pivy library. Pivy is a python wrapper that provides access to the Coin scenegraph, which is written in C++. This is what's used to render geometry onscreen at a low level. The 'SoGeoCoordinate' object was not supported in pivy until late March of this year. So, that means you have an outdated version of pivy.

You can fix it by installing FreeCAD-Daily from the PPA. I see you're using version 18 (the current release). You need to be on v19, the development release. Using FreeCAD-Daily or the conda AppImage should eliminate this problem.

The other issue is this:

Log: Traceback (most recent call last):
  File "<string>", line 145, in InitApplications
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in
import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
  File "/home/fenem/.FreeCAD/Mod/trails/freecad/trails/init_gui.py", line
29, in <module>
    from .corridor.template import ViewTemplateLibrary
  File
"/home/fenem/.FreeCAD/Mod/trails/freecad/trails/corridor/template/ViewTemplateLibrary.py",
line 31, in <module>
    from . import TemplateLibrary, SketchTemplate
  File
"/home/fenem/.FreeCAD/Mod/trails/freecad/trails/corridor/template/TemplateLibrary.py",
line 47, in <module>
    from ...project.support import document_properties
ModuleNotFoundError: No module named 'freecad.trails.project.support'

At the moment, I have no idea why it's not finding the file, but I see your path to the offending file is trails/freecad/trails/cooridor/template/ViewTemplateLibrary.py

it should be: freecad.trails/freecad/trails/corridor/template/TemplateLibrary.py

Your current path is an old convention that was changed some time ago. Not sure why you have that, but it certainly shouldn't cause FreeCAD to crash hard like it is.

fenem commented 3 years ago

Joel,

Which scenario log did you use?

thx m

Michael Fene’


From: Joel Graff notifications@github.com Sent: Saturday, August 8, 2020 6:19 AM To: joelgraff/freecad.trails Cc: fenem; Comment Subject: Re: [joelgraff/freecad.trails] Installation problem (#54)

Ok, so I see two errors. One doesn't quite make sense to me, the other does.

The error that's probably crashing everything for you is this one: File

"/home/fenem/.FreeCAD/Mod/freecad.trails/pivy_trackers/pivy_trackers/coin/coin_enums.py", line 342, in NodeTypes GEO_COORDINATE = coin.SoGeoCoordinate <class 'AttributeError'>: module 'pivy.coin' has no attribute 'SoGeoCoordinate'

The issue, here, is with your pivy library. Pivy is a python wrapper that provides access to the Coin scenegraph, which is written in C++. This is what's used to render geometry onscreen at a low level. The 'SoGeoCoordinate' object was not supported in pivy until late March of this year. So, that means you have an outdated version of pivy.

You can fix it by installing FreeCAD-Daily from the PPA. I see you're using version 18 (the current release). You need to be on v19, the development release. Using FreeCAD-Daily or the conda AppImage should eliminate this problem.

The other issue is this:

Log: Traceback (most recent call last): File "", line 145, in InitApplications File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 783, in exec_module File "", line 219, in _call_with_frames_removed File "/home/fenem/.FreeCAD/Mod/trails/freecad/trails/init_gui.py", line 29, in from .corridor.template import ViewTemplateLibrary File "/home/fenem/.FreeCAD/Mod/trails/freecad/trails/corridor/template/ViewTemplateLibrary.py", line 31, in from . import TemplateLibrary, SketchTemplate File "/home/fenem/.FreeCAD/Mod/trails/freecad/trails/corridor/template/TemplateLibrary.py", line 47, in from ...project.support import document_properties ModuleNotFoundError: No module named 'freecad.trails.project.support'

At the moment, I have no idea why it's not finding the file, but I see your path to the offending file is trails/freecad/trails/cooridor/template/ViewTemplateLibrary.py

it should be: freecad.trails/freecad/trails/corridor/template/TemplateLibrary.py

Your current path is an old convention that was changed some time ago. Not sure why you hvae that.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/joelgraff/freecad.trails/issues/54#issuecomment-670928367, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADB5SAFYP4TS7M5OPZMHI4DR7VGFTANCNFSM4KA2QQEQ.

joelgraff commented 3 years ago

Not sure what you mean. The errors show up in the first two logs you posted...

fenem commented 3 years ago

OK...got it; each if those logs were conpleted using two different installation scenarios.

One scenario was via addin manager; the other scenario was using git at the command line. (I cleaned up between both). I provided the two separate scenarios to give you a complete view.

M

Michael Fene’


From: Joel Graff notifications@github.com Sent: Saturday, August 8, 2020 9:41 AM To: joelgraff/freecad.trails Cc: fenem; Comment Subject: Re: [joelgraff/freecad.trails] Installation problem (#54)

Not sure what you mean. The errors show up in the first two logs you posted...

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/joelgraff/freecad.trails/issues/54#issuecomment-670948984, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADB5SAANBRUBM5USD4TLCQLR7V54FANCNFSM4KA2QQEQ.

joelgraff commented 3 years ago

Oh, I see.

Ok. So the addon manager must be pointing to an older commit. I'll have to look at that.

Your git clone version didn't have the first issue, obviously. So it hit a real issue - the fact that this isn't backwards compatible with v.18. There's a thread in the open discussion on the forums I'm having rn about this. I may try to see if I can remove the SoGeoCoordinate dependency if you're running v.18, but I'm not sure I'll get that done atm.

So, try running the latest development versions - either Conda AppImage or from the FreeCAD-Daily PPA.

fenem commented 3 years ago

Joel,

Today I will start over and grab v 0.19 per your guidance. m

Michael Fene’


From: Joel Graff notifications@github.com Sent: Saturday, August 8, 2020 10:14 AM To: joelgraff/freecad.trails Cc: fenem; Comment Subject: Re: [joelgraff/freecad.trails] Installation problem (#54)

Oh, I see.

Ok. So the addon manager must be pointing to an older commit. I'll have to look at that.

Your git clone version didn't have the first issue, obviously. So it hit a real issue - the fact that this isn't backwards compatible with v.18. There's a thread in the open discussion on the forums I'm having rn about this. I may try to see if I can remove the SoGeoCoordinate dependency if you're running v.18, but I'm not sure I'll get that done atm.

So, try running the latest development versions - either Conda AppImage or from the FreeCAD-Daily PPA.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/joelgraff/freecad.trails/issues/54#issuecomment-670952188, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADB5SAEARJ3NTZXYRHCQAJLR7WBWNANCNFSM4KA2QQEQ.

fenem commented 3 years ago

Joel,

I cleaned up from Freecad 0.18 and installed the 0.19 appimag. Loaded trails into /home/.Freecad/Mod using git clone recursive.

Trails appears to be installed and up.

here is the traceback when attempting to use GeoData | Import Lidar:

15:59:55 Running the Python command 'Import LIDAR' failed:

Traceback (most recent call last):

File "/home/fenem/.FreeCAD/Mod/freecad.trails/freecad/trails/GeoData.py", line 129, in Activated

from .GeoDataWB import import_lidar

File "/home/fenem/.FreeCAD/Mod/freecad.trails/freecad/trails/GeoDataWB/import_lidar.py", line 15, in

from laspy.file import File

No module named 'laspy'

thx

M

On Sat, Aug 8, 2020 at 10:23 AM Michael Fene mfene5101@gmail.com wrote:

Joel,

Today I will start over and grab v 0.19 per your guidance. m

Michael Fene’


From: Joel Graff notifications@github.com Sent: Saturday, August 8, 2020 10:14 AM To: joelgraff/freecad.trails Cc: fenem; Comment Subject: Re: [joelgraff/freecad.trails] Installation problem (#54)

Oh, I see.

Ok. So the addon manager must be pointing to an older commit. I'll have to look at that.

Your git clone version didn't have the first issue, obviously. So it hit a real issue - the fact that this isn't backwards compatible with v.18. There's a thread in the open discussion on the forums I'm having rn about this. I may try to see if I can remove the SoGeoCoordinate dependency if you're running v.18, but I'm not sure I'll get that done atm.

So, try running the latest development versions - either Conda AppImage or from the FreeCAD-Daily PPA.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/joelgraff/freecad.trails/issues/54#issuecomment-670952188, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADB5SAEARJ3NTZXYRHCQAJLR7WBWNANCNFSM4KA2QQEQ .

joelgraff commented 3 years ago

GeoData isn't my baby, I'm afraid, so I can't be of great use here. However, after a quick google, laspy appears to be a library for loading Lidar data.

You can pip install it from the command line or find it on pypi.org: https://pypi.org/project/laspy/

fenem commented 3 years ago

ok thx m

Michael Fene’


From: Joel Graff notifications@github.com Sent: Sunday, August 9, 2020 11:51 AM To: joelgraff/freecad.trails Cc: fenem; Comment Subject: Re: [joelgraff/freecad.trails] Installation problem (#54)

GeoData isn't my baby, I'm afraid, so I can't be of great use here. However, after a quick google, laspy appears to be a library for loading Lidar data.

You can pip install it from the command line or find it on pypi.org: https://pypi.org/project/laspy/

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/joelgraff/freecad.trails/issues/54#issuecomment-671087904, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADB5SAGXIU6VC4LLCKXIRA3R73VZNANCNFSM4KA2QQEQ.