Package Details: flatcam-git r3472.a64d01b5-1

Git Clone URL: https://aur.archlinux.org/flatcam-git.git (read-only, click to copy)
Package Base: flatcam-git
Description: Generates CNC gcode from 2D PCB files (Gerber/Excellon/SVG)
Upstream URL: http://flatcam.org
Keywords: cam cnc excellon gerber milling python svg
Licenses: MIT
Conflicts: flatcam
Provides: flatcam
Submitter: Jake
Maintainer: None
Last Packager: Jake
Votes: 6
Popularity: 0.000000
First Submitted: 2016-02-13 21:55 (UTC)
Last Updated: 2021-04-11 12:25 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

mruslan commented on 2020-04-29 18:39 (UTC)

makepkg stops, looks like they changed location of some files recently. It ran fine about a week ago.

==> Starting package()... install: cannot stat 'share/flatcam_icon256.png': No such file or directory ==> ERROR: A failure occurred in package(). Aborting...

gururise commented on 2020-04-06 22:32 (UTC) (edited on 2020-04-06 22:33 (UTC) by gururise)

Getting this error, even though I have python-dill installed..

Traceback (most recent call last):
  File "/opt/flatcam/FlatCAM.py", line 6, in <module>
    from FlatCAMApp import App
  File "/opt/flatcam/FlatCAMApp.py", line 74, in <module>
    from flatcamTools import *
  File "/opt/flatcam/flatcamTools/__init__.py", line 30, in <module>
    from flatcamTools.ToolRulesCheck import RulesCheck
  File "/opt/flatcam/flatcamTools/ToolRulesCheck.py", line 14, in <module>
    from FlatCAMPool import *
  File "/opt/flatcam/FlatCAMPool.py", line 3, in <module>
    import dill
ModuleNotFoundError: No module named 'dill'

Jake commented on 2020-03-25 01:27 (UTC) (edited on 2020-03-25 01:28 (UTC) by Jake)

Ahh yes, I forgot to mention that, you have to manually update svg.path with the PKGBUILD i posted there in the comments: https://aur.archlinux.org/packages/python-svg.path#comment-735237

Okay, i see you figured it out already :D

malosasha commented on 2020-03-25 01:22 (UTC) (edited on 2020-03-25 01:24 (UTC) by malosasha)

HI it fails because of outdated python-svg.path package with error

ImportError: cannot import name 'Move' from 'svg.path.path' (/usr/lib/python3.8/site-packages/svg/path/path.py

It is necessary to manually build python-svg.path as explained here in comments :

https://aur.archlinux.org/packages/python-svg.path/

Jake commented on 2020-03-23 19:24 (UTC)

Development seems to happen in the Beta branch, so i switched to it now and updated all the dependencies... Finally QT5, but now even more dependencies and still a few big ones from AUR.

Let me know if it at least starts now. Otherwise please try to figure out the issue and propose a patch. If someone is interested i can also add you as (co) maintainer here.

gururise commented on 2020-03-23 17:20 (UTC) (edited on 2020-03-23 17:34 (UTC) by gururise)

I'm having the same exact error as @dale6998. I even tried building from a more recent git commit (on 01/01/2020) and still get the same error when trying to run flatcam.

Think it might have something to do with this bug: https://github.com/matplotlib/matplotlib/issues/16834

dale6998 commented on 2020-03-22 17:03 (UTC)

Hello, Flatcam fails with the following:

[1] % flatcam
/opt/flatcam/FlatCAMObj.py:747: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if option is not 'name':
/opt/flatcam/camlib.py:2303: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if self.apertures[current_aperture]["type"] is not "AM":
/opt/flatcam/FlatCAMDraw.py:1019: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if self.active_tool is not None and event.button is 1:
Traceback (most recent call last):
  File "/usr/bin/flatcam", line 13, in <module>
    from FlatCAMApp import App
  File "/opt/flatcam/FlatCAMApp.py", line 32, in <module>
    from PlotCanvas import PlotCanvas
  File "/opt/flatcam/PlotCanvas.py", line 13, in <module>
    mpl_use("Qt4Agg")
  File "/usr/lib/python3.8/site-packages/matplotlib/cbook/deprecation.py", line 296, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/matplotlib/cbook/deprecation.py", line 358, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/matplotlib/__init__.py", line 1280, in use
    from matplotlib import pyplot as plt
  File "/usr/lib/python3.8/site-packages/matplotlib/pyplot.py", line 2282, in <module>
    switch_backend(rcParams["backend"])
  File "/usr/lib/python3.8/site-packages/matplotlib/pyplot.py", line 221, in switch_backend
    backend_mod = importlib.import_module(backend_name)
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/usr/lib/python3.8/site-packages/matplotlib/backends/backend_qt4agg.py", line 5, in <module>
    from .backend_qt5agg import (
  File "/usr/lib/python3.8/site-packages/matplotlib/backends/backend_qt5agg.py", line 11, in <module>
    from .backend_qt5 import (
  File "/usr/lib/python3.8/site-packages/matplotlib/backends/backend_qt5.py", line 19, in <module>
    from .qt_compat import (
ImportError: cannot import name '_isdeleted' from 'matplotlib.backends.qt_compat' (/usr/lib/python3.8/site-packages/matplotlib/backends/qt_compat.py)

Any ideas on what could be causing this?

Jake commented on 2019-11-17 23:50 (UTC)

@basiliscus: It is completely fine to manually bump a package version, that is the right solution. You are just commenting on the wrong package here, the python-sip-pyqt4 package needs the update, so you can just flag that out date (i already did it now).

basiliscus commented on 2019-11-16 21:54 (UTC)

I had the same issue as toxicfeet. I know this is probably a frowned upon solution, but I just needed the software to work.

The issue appears to be in the sip module, so I had a look around the PKGBUILD for python-sip-pyqt4. It seemed to be using an older version of the package. I changed the pkgver to be pkgver=4.19.19, then ran updpkgsums. That seemed to work, the error stopped showing and flatcam booted up fine.

I imagine that this might cause other errors in the system though, I am not really certain, that is just how I made flatcam boot. I haven't come across any side effects yet.

toxicfeet commented on 2019-11-10 02:03 (UTC) (edited on 2019-11-10 16:38 (UTC) by toxicfeet)

Drawing a blank after running yay -Syu flatcam-git

I first ran pacman -Syu and updated everything followed by the above command. python-pyqt4 will not install without editing the '-f' flag out as listed in its AUR comments. I removed the '-f' flag from python-pyqt4 to get it to install.

After installing everything this is the error that prevents flatcam from running.

Traceback (most recent call last): File "/usr/bin/flatcam", line 11, in <module> from PyQt4 import QtGui RuntimeError: the sip module implements API v12.0 to v12.6 but the PyQt4.QtGui module requires API v12.7

Unforunately, flatcam does not run and gives the error above.