FlatCAM Problems

Hi, there!
I am struggling in trying to get FlatCAM working again.
I had it working well after a long battle with getting the correct Python version and libraries loaded.
However, there must have been an update and now it has stopped working.
As I don’t use the application very often, I’m not sure when the changes took place.
Now when I try to run it, I get the following output in a terminal.

> Traceback (most recent call last):
>   File "/home/roger/Downloads/FlatCAM/FlatCAM_beta_8.994_sources/FlatCAM.py", line 6, in <module>
>     from app_Main import App
>   File "/home/roger/Downloads/FlatCAM/FlatCAM_beta_8.994_sources/app_Main.py", line 52, in <module>
>     from appDatabase import ToolsDB2
>   File "/home/roger/Downloads/FlatCAM/FlatCAM_beta_8.994_sources/appDatabase.py", line 4, in <module>
>     from camlib import to_dict
>   File "/home/roger/Downloads/FlatCAM/FlatCAM_beta_8.994_sources/camlib.py", line 54, in <module>
>     from appParsers.ParseDXF import *
>   File "/home/roger/Downloads/FlatCAM/FlatCAM_beta_8.994_sources/appParsers/ParseDXF.py", line 10, in <module>
>     from ezdxf.math.vector import Vector as ezdxf_vector
> ModuleNotFoundError: No module named 'ezdxf.math.vector'

I’m not a programmer and have no idea what it is telling me.

Any suggestions would be appreciated.

Regards,
Roger

I’ve never used this application, so my advice may not be worth anything.

Some options:
Have you tried rebuilding the application?
$ pamac build flatcam

Do one of the errors and solutions in the aur help you in any way?
https://aur.archlinux.org/packages/flatcam/
https://aur.archlinux.org/packages/flatcam-git/

The general rule of thumb when a program installed from the AUR does not run after an update is too rebuild the affected AUR package.

I would use flatcam-git as it’s PyQt5 . flatcam depends on the old deprecated PyQt4.


Tip: When pasting terminal output on Discourse forums, one can either…

  • Use the Preformatted text </> toolbar button.

  • Add three backticks ` above and below the text (Markdown):

    ```
    type or paste code here
    ```

  • Use HTML:

    <pre><code>
    type or paste code here
    </pre></code>

Please edit your post accordingly and remove the Quote and Bold formatting.

Hi Guys!

Thanks for your comments and help.
I have done a bit more digging on the Internet and found a soulution.
Apparently, the problem was Vispy. There was an update that broke my install.
I manually re-installed Vispy 0.7 and all is now OK.

By the way, I am not using the AUR package, but the latest 8.994 release from the developer.

Regards,
Roger

In the future, please include important details like that in the first post. :wink:

Either way, glad you found the problem. :+1:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.