Package Details: cura-lulzbot 3.6.21-8

Git Clone URL: https://aur.archlinux.org/cura-lulzbot.git (read-only, click to copy)
Package Base: cura-lulzbot
Description: Cura LulzBot Edition for LulzBot 3D Printers by Aleph Objects, Inc.
Upstream URL: https://www.lulzbot.com/cura
Keywords: 3d aleph cura lulzbot printer slicer
Licenses: AGPL3
Conflicts: cura-lulzbot-git
Submitter: HarlemSquirrel
Maintainer: HarlemSquirrel
Last Packager: HarlemSquirrel
Votes: 4
Popularity: 0.000363
First Submitted: 2018-07-24 06:02 (UTC)
Last Updated: 2022-02-28 21:02 (UTC)

Latest Comments

DriverChief commented on 2022-03-07 02:32 (UTC) (edited on 2022-03-07 02:35 (UTC) by DriverChief)

I get this after installing from a build in a clean chroot.

Original exception was:
Traceback (most recent call last):
  File "/build/.local/lib/python3.10/site-packages/cx_Freeze/initscripts/__startup__.py", line 40, in run
  File "/build/.local/lib/python3.10/site-packages/cx_Freeze/initscripts/Console.py", line 23, in run
  File "/build/cura-lulzbot/src/curabuild-lulzbot/build/inst/bin/cura-lulzbot", line 88, in <module>
  File "/build/cura-lulzbot/src/curabuild-lulzbot/build/inst/lib/python3/dist-packages/cura/CuraApplication.py", line 7, in <module>
  File "/build/cura-lulzbot/src/curabuild-lulzbot/build/inst/lib/python3/dist-packages/UM/Qt/QtApplication.py", line 18, in <module>
  File "/build/cura-lulzbot/src/curabuild-lulzbot/build/inst/lib/python3/dist-packages/UM/FileHandler/ReadFileJob.py", line 5, in <module>
  File "/build/cura-lulzbot/src/curabuild-lulzbot/build/inst/lib/python3/dist-packages/UM/Application.py", line 9, in <module>
  File "/build/cura-lulzbot/src/curabuild-lulzbot/build/inst/lib/python3/dist-packages/UM/Controller.py", line 4, in <module>
  File "/build/cura-lulzbot/src/curabuild-lulzbot/build/inst/lib/python3/dist-packages/UM/Scene/Scene.py", line 4, in <module>
  File "/build/cura-lulzbot/src/curabuild-lulzbot/build/inst/lib/python3/dist-packages/UM/Scene/SceneNode.py", line 9, in <module>
  File "/build/cura-lulzbot/src/curabuild-lulzbot/build/inst/lib/python3/dist-packages/UM/Mesh/MeshData.py", line 16, in <module>
  File "/usr/lib/python3.10/site-packages/scipy/spatial/__init__.py", line 116, in <module>
    from . import distance, transform
  File "/usr/lib/python3.10/site-packages/scipy/spatial/transform/__init__.py", line 19, in <module>
    from ._rotation import Rotation, Slerp
  File "_rotation.pyx", line 5, in init scipy.spatial.transform._rotation
ModuleNotFoundError: No module named 'scipy.spatial.transform._rotation_groups

It sounds like this is related to part of scipy being cythonized, its possible that it may need a downgrade or that we can tell cxfreeze about it directly. Is this working for others?

I'm not too familiar with building in chroot, I pretty much only do it manually for cura-le but I'd got it scripted so I don't mess it up the few times I try...

#!/bin/bash
set -xe
#cleanup form last time
rm -rf cura-lulzbot libffi6 python-numpy-stl
mkdir -p cura-lulzbot libffi6 python-numpy-stl
wget -O libffi6/PKGBUILD "https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=libffi6"
wget -O python-numpy-stl/PKGBUILD "https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=python-numpy-stl"
wget -O cura-lulzbot/PKGBUILD "https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=cura-lulzbot"
buildDir=$(pwd)
chrootDir=${buildDir}/chroot
#clean out the old one
sudo rm -rf chroot
#setup chroot
mkdir -p ${chrootDir}
mkarchroot ${chrootDir}/root base-devel openblas
#build libffi6
(cd libffi6 && makechrootpkg -r ${chrootDir})
#build python-numpy-stl
(cd python-numpy-stl && makechrootpkg -r ${chrootDir})
#gather deps for lulzbot cura le
libffi6Version="$(pwd)/$(ls libffi6/libffi6-*x86_64.pkg.tar.zst)"
pnsVersion="$(pwd)/$(ls python-numpy-stl/python-numpy-stl-*x86_64.pkg.tar.zst)"
#build lulzbot cura le
(cd cura-lulzbot && makechrootpkg -r ${chrootDir} -I ${libffi6Version} -I ${pnsVersion})
#cleanup chroot
sudo rm -rf ${chrootDir}

HarlemSquirrel commented on 2021-10-15 12:52 (UTC)

@bnalohim I think this needs to be built in a clean chroot. See the comments at the bottom of the PKGBUILD.

Also, this looks like an issue with your DNS: "fatal: unable to access 'https://gitlab.com/lulzbot3d/cura-le/cura-binary-data.git/': Could not resolve host: gitlab.com"

bnalohim commented on 2021-10-13 22:44 (UTC) (edited on 2021-10-13 22:45 (UTC) by bnalohim)

Hi! I'm getting an error with an undeclared GetArenaForAllocation...

I'm on manjaro and failed both on graphical installer and in console with pamac and yay

pamac results of the process: https://pastebin.com/3UfpF1U7

HarlemSquirrel commented on 2021-10-12 12:53 (UTC)

Thanks davidalb97, I've updated the dependencies and verified I can build the package.

davidalb97 commented on 2021-10-10 18:23 (UTC)

Most sip recent updates require you to install sip4 so this package compiles.

HarlemSquirrel commented on 2021-06-04 03:46 (UTC) (edited on 2021-06-04 03:48 (UTC) by HarlemSquirrel)

Well I started work on 3.6.23 a while ago and ran into some issues. I made some progress today and was able to build but there's an issue with scipy now when running :-/ This project doesn't seem to have much activity so there's been no package updates and dependencies are not managed with venv or pip in the build scripts.

Miwer commented on 2021-06-03 14:10 (UTC)

Any plans of updating this package? I see there is a tag for 3.6.23 now, and even 3.6.24

Sife-ops commented on 2021-05-20 06:14 (UTC)

does not work

==> Starting build()...
Collecting cx_freeze==6.0
  Downloading cx_Freeze-6.0.tar.gz (88 kB)
     |████████████████████████████████| 88 kB 365 kB/s
Using legacy 'setup.py install' for cx-freeze, since package 'wheel' is not installed.
Installing collected packages: cx-freeze
    Running setup.py install for cx-freeze ... error
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-yptj_l43/cx-freeze_2e9dd30657c14740bdcdebf43f987b9d/setup.py'"'"'; __file__='"'"'/tmp/pip-install-yptj_l43/cx-freeze_2e9dd30657c14740bdcdebf43f987b9d/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-qcq12c87/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/wyatt/.local/include/python3.9/cx-freeze
         cwd: /tmp/pip-install-yptj_l43/cx-freeze_2e9dd30657c14740bdcdebf43f987b9d/
    Complete output (84 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.9
    creating build/lib.linux-x86_64-3.9/cx_Freeze
    copying cx_Freeze/windist.py -> build/lib.linux-x86_64-3.9/cx_Freeze
    copying cx_Freeze/setupwriter.py -> build/lib.linux-x86_64-3.9/cx_Freeze
    copying cx_Freeze/main.py -> build/lib.linux-x86_64-3.9/cx_Freeze
    copying cx_Freeze/macdist.py -> build/lib.linux-x86_64-3.9/cx_Freeze
    copying cx_Freeze/hooks.py -> build/lib.linux-x86_64-3.9/cx_Freeze
    copying cx_Freeze/freezer.py -> build/lib.linux-x86_64-3.9/cx_Freeze
    copying cx_Freeze/finder.py -> build/lib.linux-x86_64-3.9/cx_Freeze
    copying cx_Freeze/dist.py -> build/lib.linux-x86_64-3.9/cx_Freeze
    copying cx_Freeze/common.py -> build/lib.linux-x86_64-3.9/cx_Freeze
    copying cx_Freeze/__init__.py -> build/lib.linux-x86_64-3.9/cx_Freeze
    creating build/lib.linux-x86_64-3.9/cx_Freeze/initscripts
    copying cx_Freeze/initscripts/__startup__.py -> build/lib.linux-x86_64-3.9/cx_Freeze/initscripts
    copying cx_Freeze/initscripts/SharedLibSource.py -> build/lib.linux-x86_64-3.9/cx_Freeze/initscripts
    copying cx_Freeze/initscripts/SharedLib.py -> build/lib.linux-x86_64-3.9/cx_Freeze/initscripts
    copying cx_Freeze/initscripts/ConsoleSetLibPath.py -> build/lib.linux-x86_64-3.9/cx_Freeze/initscripts
    copying cx_Freeze/initscripts/Console.py -> build/lib.linux-x86_64-3.9/cx_Freeze/initscripts
    creating build/lib.linux-x86_64-3.9/cx_Freeze/samples
    creating build/lib.linux-x86_64-3.9/cx_Freeze/samples/zope
    copying cx_Freeze/samples/zope/setup.py -> build/lib.linux-x86_64-3.9/cx_Freeze/samples/zope
    copying cx_Freeze/samples/zope/qotd.py -> build/lib.linux-x86_64-3.9/cx_Freeze/samples/zope
    creating build/lib.linux-x86_64-3.9/cx_Freeze/samples/wx
    copying cx_Freeze/samples/wx/wxapp.py -> build/lib.linux-x86_64-3.9/cx_Freeze/samples/wx
    copying cx_Freeze/samples/wx/setup.py -> build/lib.linux-x86_64-3.9/cx_Freeze/samples/wx
    creating build/lib.linux-x86_64-3.9/cx_Freeze/samples/simple
    copying cx_Freeze/samples/simple/setup.py -> build/lib.linux-x86_64-3.9/cx_Freeze/samples/simple
    copying cx_Freeze/samples/simple/hello.py -> build/lib.linux-x86_64-3.9/cx_Freeze/samples/simple
    creating build/lib.linux-x86_64-3.9/cx_Freeze/samples/service
    copying cx_Freeze/samples/service/setup.py -> build/lib.linux-x86_64-3.9/cx_Freeze/samples/service
    copying cx_Freeze/samples/service/ServiceHandler.py -> build/lib.linux-x86_64-3.9/cx_Freeze/samples/service
    copying cx_Freeze/samples/service/Config.py -> build/lib.linux-x86_64-3.9/cx_Freeze/samples/service
    creating build/lib.linux-x86_64-3.9/cx_Freeze/samples/relimport
    copying cx_Freeze/samples/relimport/setup.py -> build/lib.linux-x86_64-3.9/cx_Freeze/samples/relimport
    copying cx_Freeze/samples/relimport/relimport.py -> build/lib.linux-x86_64-3.9/cx_Freeze/samples/relimport
    creating build/lib.linux-x86_64-3.9/cx_Freeze/samples/openpyxl
    copying cx_Freeze/samples/openpyxl/test_openpyxl.py -> build/lib.linux-x86_64-3.9/cx_Freeze/samples/openpyxl
    copying cx_Freeze/samples/openpyxl/setup.py -> build/lib.linux-x86_64-3.9/cx_Freeze/samples/openpyxl
    creating build/lib.linux-x86_64-3.9/cx_Freeze/samples/matplotlib
    copying cx_Freeze/samples/matplotlib/setup.py -> build/lib.linux-x86_64-3.9/cx_Freeze/samples/matplotlib
    copying cx_Freeze/samples/matplotlib/matplotlib_eg.py -> build/lib.linux-x86_64-3.9/cx_Freeze/samples/matplotlib
    creating build/lib.linux-x86_64-3.9/cx_Freeze/samples/importlib
    copying cx_Freeze/samples/importlib/wsgiserver.py -> build/lib.linux-x86_64-3.9/cx_Freeze/samples/importlib
    copying cx_Freeze/samples/importlib/web_srv.py -> build/lib.linux-x86_64-3.9/cx_Freeze/samples/importlib
    copying cx_Freeze/samples/importlib/setup.py -> build/lib.linux-x86_64-3.9/cx_Freeze/samples/importlib
    copying cx_Freeze/samples/importlib/server_simple.py -> build/lib.linux-x86_64-3.9/cx_Freeze/samples/importlib
    copying cx_Freeze/samples/importlib/get_examples.py -> build/lib.linux-x86_64-3.9/cx_Freeze/samples/importlib
    creating build/lib.linux-x86_64-3.9/cx_Freeze/samples/asmodule
    copying cx_Freeze/samples/asmodule/setup.py -> build/lib.linux-x86_64-3.9/cx_Freeze/samples/asmodule
    copying cx_Freeze/samples/asmodule/asmodule.py -> build/lib.linux-x86_64-3.9/cx_Freeze/samples/asmodule
    creating build/lib.linux-x86_64-3.9/cx_Freeze/samples/advanced
    copying cx_Freeze/samples/advanced/setup.py -> build/lib.linux-x86_64-3.9/cx_Freeze/samples/advanced
    copying cx_Freeze/samples/advanced/advanced_2.py -> build/lib.linux-x86_64-3.9/cx_Freeze/samples/advanced
    copying cx_Freeze/samples/advanced/advanced_1.py -> build/lib.linux-x86_64-3.9/cx_Freeze/samples/advanced
    creating build/lib.linux-x86_64-3.9/cx_Freeze/samples/Tkinter
    copying cx_Freeze/samples/Tkinter/setup.py -> build/lib.linux-x86_64-3.9/cx_Freeze/samples/Tkinter
    copying cx_Freeze/samples/Tkinter/SimpleTkApp.py -> build/lib.linux-x86_64-3.9/cx_Freeze/samples/Tkinter
    creating build/lib.linux-x86_64-3.9/cx_Freeze/samples/PyQt5
    copying cx_Freeze/samples/PyQt5/setup.py -> build/lib.linux-x86_64-3.9/cx_Freeze/samples/PyQt5
    copying cx_Freeze/samples/PyQt5/PyQt5app.py -> build/lib.linux-x86_64-3.9/cx_Freeze/samples/PyQt5
    creating build/lib.linux-x86_64-3.9/cx_Freeze/samples/PyQt4
    copying cx_Freeze/samples/PyQt4/setup.py -> build/lib.linux-x86_64-3.9/cx_Freeze/samples/PyQt4
    copying cx_Freeze/samples/PyQt4/PyQt4app.py -> build/lib.linux-x86_64-3.9/cx_Freeze/samples/PyQt4
    running build_ext
    building 'cx_Freeze.util' extension
    creating build/temp.linux-x86_64-3.9
    creating build/temp.linux-x86_64-3.9/source
    gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fno-semantic-interposition -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2,-D_GLIBCXX_ASSERTIONS -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python3.9 -c source/util.c -o build/temp.linux-x86_64-3.9/source/util.o
    gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fno-semantic-interposition -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2,-D_GLIBCXX_ASSERTIONS -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection build/temp.linux-x86_64-3.9/source/util.o -L/usr/lib -o build/lib.linux-x86_64-3.9/cx_Freeze/util.cpython-39-x86_64-linux-gnu.so
    creating build/temp.linux-x86_64-3.9/source/bases
    gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fno-semantic-interposition -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2,-D_GLIBCXX_ASSERTIONS -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python3.9 -c source/bases/Console.c -o build/temp.linux-x86_64-3.9/source/bases/Console.o
    creating build/lib.linux-x86_64-3.9/cx_Freeze/bases
    gcc -pthread build/temp.linux-x86_64-3.9/source/bases/Console.o -L/usr/lib/python3.9/config-3.9-x86_64-linux-gnu -L/usr/lib -lpython3.9 -o build/lib.linux-x86_64-3.9/cx_Freeze/bases/Console -Xlinker -export-dynamic -lcrypt -lpthread -ldl -lutil -lm -lm -s
    lto1: fatal error: bytecode stream in file ‘/usr/lib/python3.9/config-3.9-x86_64-linux-gnu/libpython3.9.a’ generated with LTO version 9.0 instead of the expected 11.0
    compilation terminated.
    lto-wrapper: fatal error: /usr/bin/gcc returned 1 exit status
    compilation terminated.
    /usr/bin/ld: error: lto-wrapper failed
    collect2: error: ld returned 1 exit status
    error: command '/usr/bin/gcc' failed with exit code 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-yptj_l43/cx-freeze_2e9dd30657c14740bdcdebf43f987b9d/setup.py'"'"'; __file__='"'"'/tmp/pip-install-yptj_l43/cx-freeze_2e9dd30657c14740bdcdebf43f987b9d/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-qcq12c87/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/wyatt/.local/include/python3.9/cx-freeze Check the logs for full command output.
==> ERROR: A failure occurred in build().
    Aborting...
error making: cura-lulzbot

HarlemSquirrel commented on 2021-02-17 04:39 (UTC)

Thanks, RaisbowAsteroids. I'm looking to update this for 3.6.23 but there's a missing tag https://gitlab.com/lulzbot3d/cura-le/curabuild-lulzbot/-/issues/3

RainbowAsteroids commented on 2021-02-12 19:13 (UTC) (edited on 2021-02-12 19:13 (UTC) by RainbowAsteroids)

You probably want to add the sip4 package as a dependency, as that's the package that creates the /usr/bin/sip file.

I also got this traceback when running the program:

rainbow ~ $ cura-lulzbot
Error in sys.excepthook:
Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 790, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/home/rainbow/.cache/yay/cura-lulzbot/src/curabuild-lulzbot/build/inst/lib/python3/dist-packages/cura/CrashHandler.py", line 20, in <module>
  File "/home/rainbow/.cache/yay/cura-lulzbot/src/curabuild-lulzbot/build/inst/lib/python3/dist-packages/UM/Application.py", line 9, in <module>
  File "/home/rainbow/.cache/yay/cura-lulzbot/src/curabuild-lulzbot/build/inst/lib/python3/dist-packages/UM/Controller.py", line 4, in <module>
  File "/home/rainbow/.cache/yay/cura-lulzbot/src/curabuild-lulzbot/build/inst/lib/python3/dist-packages/UM/Scene/Scene.py", line 4, in <module>
  File "/home/rainbow/.cache/yay/cura-lulzbot/src/curabuild-lulzbot/build/inst/lib/python3/dist-packages/UM/Scene/SceneNode.py", line 9, in <module>
  File "/home/rainbow/.cache/yay/cura-lulzbot/src/curabuild-lulzbot/build/inst/lib/python3/dist-packages/UM/Mesh/MeshData.py", line 16, in <module>
  File "/usr/lib/python3.9/site-packages/scipy/spatial/__init__.py", line 107, in <module>
    from . import distance, transform
  File "/usr/lib/python3.9/site-packages/scipy/spatial/transform/__init__.py", line 19, in <module>
    from .rotation import Rotation, Slerp
  File "rotation.pyx", line 5, in init scipy.spatial.transform.rotation
ModuleNotFoundError: No module named 'scipy.spatial.transform._rotation_groups'

Original exception was:
Traceback (most recent call last):
  File "/home/rainbow/.local/lib/python3.9/site-packages/cx_Freeze/initscripts/__startup__.py", line 40, in run
    module.run()
  File "/home/rainbow/.local/lib/python3.9/site-packages/cx_Freeze/initscripts/Console.py", line 23, in run
    exec(code, {'__name__': '__main__'})
  File "/home/rainbow/.cache/yay/cura-lulzbot/src/curabuild-lulzbot/build/inst/bin/cura-lulzbot", line 88, in <module>
  File "/home/rainbow/.cache/yay/cura-lulzbot/src/curabuild-lulzbot/build/inst/lib/python3/dist-packages/cura/CuraApplication.py", line 7, in <module>
  File "/home/rainbow/.cache/yay/cura-lulzbot/src/curabuild-lulzbot/build/inst/lib/python3/dist-packages/UM/Qt/QtApplication.py", line 18, in <module>
  File "/home/rainbow/.cache/yay/cura-lulzbot/src/curabuild-lulzbot/build/inst/lib/python3/dist-packages/UM/FileHandler/ReadFileJob.py", line 5, in <module>
  File "/home/rainbow/.cache/yay/cura-lulzbot/src/curabuild-lulzbot/build/inst/lib/python3/dist-packages/UM/Application.py", line 9, in <module>
  File "/home/rainbow/.cache/yay/cura-lulzbot/src/curabuild-lulzbot/build/inst/lib/python3/dist-packages/UM/Controller.py", line 4, in <module>
  File "/home/rainbow/.cache/yay/cura-lulzbot/src/curabuild-lulzbot/build/inst/lib/python3/dist-packages/UM/Scene/Scene.py", line 4, in <module>
  File "/home/rainbow/.cache/yay/cura-lulzbot/src/curabuild-lulzbot/build/inst/lib/python3/dist-packages/UM/Scene/SceneNode.py", line 9, in <module>
  File "/home/rainbow/.cache/yay/cura-lulzbot/src/curabuild-lulzbot/build/inst/lib/python3/dist-packages/UM/Mesh/MeshData.py", line 16, in <module>
  File "/usr/lib/python3.9/site-packages/scipy/spatial/__init__.py", line 107, in <module>
    from . import distance, transform
  File "/usr/lib/python3.9/site-packages/scipy/spatial/transform/__init__.py", line 19, in <module>
    from .rotation import Rotation, Slerp
  File "rotation.pyx", line 5, in init scipy.spatial.transform.rotation
ModuleNotFoundError: No module named 'scipy.spatial.transform._rotation_groups'

I pulled up a python shell and I could import the module so I have no clue what is going on.

HarlemSquirrel commented on 2020-10-01 23:39 (UTC)

I think that's caused by https://github.com/marcelotduarte/cx_Freeze/issues/730

HarlemSquirrel commented on 2020-07-31 23:30 (UTC)

That's a new one. I think the situation is only going to get worse while until development resumes on this app :-/

quinquice commented on 2020-07-31 21:42 (UTC)

I get this error when I follow the clean chroot instructions:

copying /usr/lib/python3.8/site-packages/numpy/random/_common.cpython-38-x86_64-linux-gnu.so -> dist/lib/numpy/random/_common.cpython-38-x86_64-linux-gnu.so
Traceback (most recent call last):
  File "setup_linux.py", line 124, in <module>
    setup(
  File "/usr/lib/python3.8/site-packages/cx_Freeze/dist.py", line 342, in setup
    distutils.core.setup(**attrs)
  File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.8/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.8/site-packages/cx_Freeze/dist.py", line 217, in run
    freezer.Freeze()
  File "/usr/lib/python3.8/site-packages/cx_Freeze/freezer.py", line 645, in Freeze
    self._WriteModules(fileName, self.finder)
  File "/usr/lib/python3.8/site-packages/cx_Freeze/freezer.py", line 536, in _WriteModules
    sourcePackageDir = os.path.dirname(module.file)
  File "/usr/lib/python3.8/posixpath.py", line 152, in dirname
    p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType
make[2]: *** [CMakeFiles/build_app.dir/build.make:79: build_app] Error 1
make[1]: *** [CMakeFiles/Makefile2:551: CMakeFiles/build_app.dir/all] Error 2
make: *** [Makefile:125: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /var/lib/archbuild/extra-x86_64/NAME/build

HarlemSquirrel commented on 2020-06-26 05:59 (UTC)

Since this application has not been updated in quite a while, I've found that that more issues when building have shown up. I've updated the PKGBUILD now so it should work using a clean chroot. See comments in PKGBUILD.

HarlemSquirrel commented on 2020-05-31 17:24 (UTC)

Thanks, @ventrue! Updated.

ventrue commented on 2020-05-30 00:10 (UTC)

I had to add qt5-svg to get the icons to properly display. May want to make that a dependency.

HarlemSquirrel commented on 2020-03-10 05:52 (UTC) (edited on 2020-03-10 05:52 (UTC) by HarlemSquirrel)

Interesting. This failed to load for me just now as well. I've not had this problems with other files so far.

2020-03-10 01:50:28,350 - ERROR - [(139623808362240)-Thread-8] UM.Logger.logException [82]: Exception: Exception occurred while loading file /home/hs/Downloads/3DBenchy.stl
2020-03-10 01:50:28,358 - ERROR - [(139623808362240)-Thread-8] UM.Logger.logException [86]: Traceback (most recent call last):
2020-03-10 01:50:28,359 - ERROR - [(139623808362240)-Thread-8] UM.Logger.logException [86]:   File "/home/hs/builds/cura-lulzbot/src/curabuild-lulzbot/build/inst/lib/python3/dist-packages/UM/FileHandler/ReadFileJob.py", line 66, in run
2020-03-10 01:50:28,360 - ERROR - [(139623808362240)-Thread-8] UM.Logger.logException [86]:   File "/home/hs/builds/cura-lulzbot/src/curabuild-lulzbot/build/inst/lib/python3/dist-packages/UM/Mesh/MeshFileHandler.py", line 28, in readerRead
2020-03-10 01:50:28,364 - ERROR - [(139623808362240)-Thread-8] UM.Logger.logException [86]:   File "/usr/share/cura-lulzbot/plugins/plugins/FileHandlers/STLReader/STLReader.py", line 56, in read
2020-03-10 01:50:28,365 - ERROR - [(139623808362240)-Thread-8] UM.Logger.logException [86]:     self.load_file(file_name, mesh_builder, _use_numpystl = use_numpystl)
2020-03-10 01:50:28,366 - ERROR - [(139623808362240)-Thread-8] UM.Logger.logException [86]:   File "/usr/share/cura-lulzbot/plugins/plugins/FileHandlers/STLReader/STLReader.py", line 35, in load_file
2020-03-10 01:50:28,372 - ERROR - [(139623808362240)-Thread-8] UM.Logger.logException [86]:     self._loadWithNumpySTL(file_name, mesh_builder)
2020-03-10 01:50:28,375 - ERROR - [(139623808362240)-Thread-8] UM.Logger.logException [86]:   File "/usr/share/cura-lulzbot/plugins/plugins/FileHandlers/STLReader/STLReader.py", line 87, in _loadWithNumpySTL
2020-03-10 01:50:28,377 - ERROR - [(139623808362240)-Thread-8] UM.Logger.logException [86]:     for loaded_data in stl.mesh.Mesh.from_multi_file(file_name):
2020-03-10 01:50:28,378 - ERROR - [(139623808362240)-Thread-8] UM.Logger.logException [86]:   File "/home/hs/.local/lib/python3.8/site-packages/stl/stl.py", line 348, in from_multi_file
2020-03-10 01:50:28,379 - ERROR - [(139623808362240)-Thread-8] UM.Logger.logException [86]:     raw_data = cls.load(fh, mode=mode, speedups=speedups)
2020-03-10 01:50:28,391 - ERROR - [(139623808362240)-Thread-8] UM.Logger.logException [86]:   File "/home/hs/.local/lib/python3.8/site-packages/stl/stl.py", line 70, in load
2020-03-10 01:50:28,394 - ERROR - [(139623808362240)-Thread-8] UM.Logger.logException [86]:     name, data = cls._load_ascii(
2020-03-10 01:50:28,396 - ERROR - [(139623808362240)-Thread-8] UM.Logger.logException [86]:   File "/home/hs/.local/lib/python3.8/site-packages/stl/stl.py", line 214, in _load_ascii
2020-03-10 01:50:28,397 - ERROR - [(139623808362240)-Thread-8] UM.Logger.logException [86]:     return _speedups.ascii_read(fh, header)
2020-03-10 01:50:28,398 - ERROR - [(139623808362240)-Thread-8] UM.Logger.logException [86]:   File "stl/_speedups.pyx", line 142, in stl._speedups.ascii_read
2020-03-10 01:50:28,400 - ERROR - [(139623808362240)-Thread-8] UM.Logger.logException [86]: RuntimeError: (0, "Cannot read normals (2:b'\\xd7\\xd3@')")

DriverChief commented on 2020-03-10 04:35 (UTC)

Anyone else fail to load 3dbenchy after building this? I get an stl error, but if I use it on windows cura-LE it's fine. I know this is being built from source now, is that different from the git one because it uses the latest "release" tags? Benchy's stl https://www.thingiverse.com/download:1223854

ubuntourist commented on 2020-02-14 14:46 (UTC)

I had to temporarily remove cura-plugin-octoprint-git, cura, uranium, curaengine, and arcus (and temporarily rename ~/.gitconfig because I have it set to turn CRLF int LF for text files, and that upset the build.)

I was able to reinstall all of the above after the build.

HarlemSquirrel commented on 2020-02-14 04:19 (UTC)

I think that's conflicting with the version built during the build. You might try building with a clean chroot if you cannot remove arcus.

https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_clean_chroot

ubuntourist commented on 2020-02-12 23:56 (UTC)

arcus 4.4.0-1

HarlemSquirrel commented on 2020-02-12 22:58 (UTC)

Looks like maybe an issue with Arcus. What version do you have installed?

ubuntourist commented on 2020-02-12 15:20 (UTC)

Still failing. A more complete listing of the error I previously mentioned:

...
[ 53%] Building CXX object CMakeFiles/_CuraEngine.dir/src/communication/ArcusCommunication.cpp.o
~/.cache/yay/cura-lulzbot/src/curabuild-lulzbot/build/CuraEngine-prefix/src/CuraEngine/src/communication/ArcusCommunication.cpp: In member function ‘virtual void cura::ArcusCommunication::sliceNext()’:
~/.cache/yay/cura-lulzbot/src/curabuild-lulzbot/build/CuraEngine-prefix/src/CuraEngine/src/communication/ArcusCommunication.cpp:484:81: error: no matching function for call to ‘Arcus::Socket::takeNextMessage(bool)’
  484 |     const Arcus::MessagePtr message = private_data->socket->takeNextMessage(true);
      |                                                                                 ^
In file included from ~/.cache/yay/cura-lulzbot/src/curabuild-lulzbot/build/CuraEngine-prefix/src/CuraEngine/src/communication/ArcusCommunication.cpp:6:
/usr/include/Arcus/Socket.h:136:28: note: candidate: ‘virtual Arcus::MessagePtr Arcus::Socket::takeNextMessage()’
  136 |         virtual MessagePtr takeNextMessage();
      |                            ^~~~~~~~~~~~~~~
/usr/include/Arcus/Socket.h:136:28: note:   candidate expects 0 arguments, 1 provided
make[5]: *** [CMakeFiles/_CuraEngine.dir/build.make:565: CMakeFiles/_CuraEngine.dir/src/communication/ArcusCommunication.cpp.o] Error 1
make[5]: Leaving directory '~/.cache/yay/cura-lulzbot/src/curabuild-lulzbot/build/CuraEngine-prefix/src/CuraEngine-build'
make[4]: *** [CMakeFiles/Makefile2:83: CMakeFiles/_CuraEngine.dir/all] Error 2
make[4]: Leaving directory '~/.cache/yay/cura-lulzbot/src/curabuild-lulzbot/build/CuraEngine-prefix/src/CuraEngine-build'
make[3]: *** [Makefile:152: all] Error 2
make[3]: Leaving directory '~/.cache/yay/cura-lulzbot/src/curabuild-lulzbot/build/CuraEngine-prefix/src/CuraEngine-build'
make[2]: *** [CMakeFiles/CuraEngine.dir/build.make:113: CuraEngine-prefix/src/CuraEngine-stamp/CuraEngine-build] Error 2
make[2]: Leaving directory '~/.cache/yay/cura-lulzbot/src/curabuild-lulzbot/build'
make[1]: *** [CMakeFiles/Makefile2:541: CMakeFiles/CuraEngine.dir/all] Error 2
make[1]: Leaving directory '~/.cache/yay/cura-lulzbot/src/curabuild-lulzbot/build'
make: *** [Makefile:106: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
Error making: cura-lulzbot
$

ubuntourist commented on 2020-01-21 18:28 (UTC)

The last several days, the build dies with:

ArcusCommunication.cpp:484:81: error: no matching function for call to ‘Arcus::Socket::takeNextMessage(bool)’

HarlemSquirrel commented on 2020-01-20 01:20 (UTC)

python-cx_freeze is now required

rew1red commented on 2020-01-17 05:02 (UTC)

I've encountered an error building on two systems now--

5.4.11-arch1-1 cura-lulzbot 3.6.21-2

Traceback (most recent call last):
  File "setup_linux.py", line 4, in <module>
    from cx_Freeze import setup, Executable, hooks
ModuleNotFoundError: No module named 'cx_Freeze'
make[2]: *** [CMakeFiles/build_app.dir/build.make:60: build_app] Error 1
make[1]: *** [CMakeFiles/Makefile2:622: CMakeFiles/build_app.dir/all] Error 2
make: *** [Makefile:106: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

I assume a python build dependency (cx_freeze) is missing (now that we're building from source), but I'm not familiar enough with the build process to speculate. If I find an answer, I'll provide an update.

HarlemSquirrel commented on 2020-01-16 03:26 (UTC)

This package is now built from source rather than using the pre-built Debian package.

HarlemSquirrel commented on 2019-12-20 23:45 (UTC)

Looks like download links are broken at the moment. https://forum.lulzbot.com/t/lulzbot-cura-download-links-broken-and-alephobjects-com-appears-to-be-down/20158

HarlemSquirrel commented on 2018-12-02 00:06 (UTC)

Thank you for pointing this out! I've updated the PKGBUILD.

cyanide commented on 2018-12-01 23:22 (UTC) (edited on 2018-12-01 23:31 (UTC) by cyanide)

For me, your fortran_lib_dir returns multiple lines and causes the sed command to fail:

sed: -e expression #1, char 73: unterminated `s' command
==> ERROR: A failure occurred in prepare().
    Aborting...
> dirname $(find /usr/lib/gcc/x86_64-pc-linux-gnu/ -name libgfortran.so.3)
/usr/lib/gcc/x86_64-pc-linux-gnu/5.5.0
/usr/lib/gcc/x86_64-pc-linux-gnu/6.5.0

Recommend you change the line to:

fortran_lib_dir=`dirname $(find /usr/lib/gcc/x86_64-pc-linux-gnu/6* -name libgfortran.so.3)`
> dirname $(find /usr/lib/gcc/x86_64-pc-linux-gnu/6* -name libgfortran.so.3)
/usr/lib/gcc/x86_64-pc-linux-gnu/6.5.0

HarlemSquirrel commented on 2018-11-26 00:52 (UTC)

Thanks for the heads up, @rew1red! I've updated this package to be more nimble with different versions of gcc6-fortran

rew1red commented on 2018-11-21 16:23 (UTC) (edited on 2018-11-21 16:33 (UTC) by rew1red)

There seems to be an issue building right now. The dependency gcc6-fortran currently installs version 6.5.0-1 without an explicit version pin-- but the PKGBUILD edits cura-lulzbot so the LD_LIBRARY_PATH includes only 6.4.1.

For now, I'd recommend a version pin in the depends (if cura-lulzbot really needs 6.4.1), an updated LD_LIBRARY_PATH, or a better way of setting the path, so that an update to the AUR package gcc6-fortran does not break this package, as it is a strong dependency.

A potential "quick-fix" that incorporates both solutions:

diff --git i/PKGBUILD w/PKGBUILD
index 1f89931..125e26a 100644
--- i/PKGBUILD
+++ w/PKGBUILD
@@ -9,14 +9,14 @@ url='https://www.lulzbot.com/cura'
 license=('AGPLv3')
 source=("http://download.alephobjects.com/ao/aodeb/dists/stretch/main/binary-amd64/cura-lulzbot_${pkgver}_amd64.deb")
 md5sums=('321673809f286161e4b4198877dce3d1')
-depends=('gcc6-fortran')
+depends=('gcc6-fortran=6.5.0')

 prepare() {
   # Unpack the tarball containing the 'usr/' directory,
   # where all the essentials reside within the debian package
   tar zxf "${srcdir}/data.tar".gz -C "${srcdir}"

-  sed -i 's;LD_LIBRARY_PATH=;LD_LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1:;' "${srcdir}/usr/bin/cura-lulzbot"
+  sed -i 's;LD_LIBRARY_PATH=;LD_LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/6.5.0:;' "${srcdir}/usr/bin/cura-lulzbot"
 }

 package() {

HarlemSquirrel commented on 2018-09-18 22:08 (UTC)

Note: It may be necessary to remove previous configuration files in ~/.local/share/cura-lulzbot/ when upgrading from 2.x to 3.x