Package Details: octoprint 1.9.3-1

Git Clone URL: https://aur.archlinux.org/octoprint.git (read-only, click to copy)
Package Base: octoprint
Description: The snappy web interface for your 3D printer on Arch Linux
Upstream URL: http://octoprint.org/
Licenses: AGPL3
Conflicts: octoprint-venv
Submitter: pa314159
Maintainer: pa314159
Last Packager: pa314159
Votes: 5
Popularity: 0.003672
First Submitted: 2021-08-08 23:00 (UTC)
Last Updated: 2023-12-05 23:34 (UTC)

Pinned Comments

pa314159 commented on 2021-08-09 09:57 (UTC) (edited on 2022-03-28 13:53 (UTC) by pa314159)

This version of OctoPrint is intended to use as many system packages as possible and the final goal is to get rid of venv for building it.

It relies on the official ARCH packages and also on AUR packages which must be installed first.

Any other dependency that is not provided by the Arch distribution or AUR, or whose version is not within the requested range is managed by venv.

The original repository is located on Github at https://github.com/pa314159/octoprint-arch.

Issues should be reported at https://github.com/pa314159/octoprint-arch/issues.

Before reporting a missing dependency, please make sure the package is not in AUR.

Latest Comments

1 2 Next › Last »

acidicX commented on 2023-08-06 19:02 (UTC)

build fails for me currently, I've opened an issue on GH https://github.com/pa314159/octoprint-arch/issues/7

salexan commented on 2022-09-20 19:39 (UTC)

I am currently getting

option --use-feature: invalid choice: 'in-tree-build' (choose from '2020-resolver', 'fast-deps', 'truststore')
==> ERROR: A failure occurred in package().
    Aborting...

during building the package. I think it's because in-tree-build has become the default, see: https://pip.pypa.io/en/stable/news/#v21-3

Removing the option resolves the issue for me. I will also create an issue on github as recommended.

EndlessEden commented on 2022-03-01 07:48 (UTC)

cant get this to build anyways, missing quite a few dependencies and favoring pip instead.

these depends are missing: python-pyaml, python-markdown, python-markups, python-flask1, python-jinja2, python-flask-babel, python-flask-assets, python-cachelib, python-watchdog, python-sentry_sdk, python-zipstream, python-feedparser, python-colorlog, python-pathtools, python-webassets, python-pytz, python-babel

and these depends are ignored: python-werkzeug(doesnt detect local, prefers version 2.0.2-3), python-itsdangerous (doesnt detect local, favoring 1.1.0), python-click (doesnt detect local, favoring 7.1.2), python-websocket-client (doesnt detect local, favoring 0.59) - These require a patch to allow/detect these versions.


note "python-jinja2" doesnt exist, and needs to be created. the setup specifically is requesting jinja version 2.x, however arch maintains version 3.x


Building on archlinuxarm, armv6h (last sync, 2022/02/06 | last day before discontinuation). Some of my system packages are a few weeks out of date from archlinux main repo's but nothing significant.

EndlessEden commented on 2022-03-01 06:37 (UTC)

sha256sum is wrong (c76fd29ea1b27acee774474db200000e5778a17790595afc63fd54a43dee100c) - file has changed upstream.

Akusari commented on 2022-01-20 22:55 (UTC)

@Jarshvor Well, the file/directory permissions are 100% fine to be honest. The user shouldn't allow to update octoprint via a webinterface, because it was installed through a package! Simple as it. However, the write permission for the octoprint user is only given for special directory and subfolder, as you noticed already, because this is the path where you can install or update plugins inside octoprint (webinterface). If you wanna install plugins via comandline, maybe before the user starts octoprint the first time, you can do that over pip of course. There is no root needed, if you do it with the predefined octoprint user, used by the process started by systemd! Just for example i'm using a simple alias to do so und use the direct urls. My .bashrc: -------schnipp-------

~/.bashrc
Copyright Daniel Mehrmann (akusari)
If not running interactively, don't do anything

[[ $- != i ]] && return

aliases

alias ls='ls --color=auto' alias grep='grep --colour=auto' alias egrep='egrep --colour=auto' alias fgrep='fgrep --colour=auto' alias vi='vim'

octo print

alias pip='/usr/lib/octoprint/bin/python -m pip' ----schnapp------

pa314159 commented on 2022-01-20 04:33 (UTC) (edited on 2022-01-20 04:38 (UTC) by pa314159)

Jarshvor, thank you for reporting this; please try again with 1.7.2-2

You can use Github to report issues, see the pinned comment on top.

Ah, and don't forget to vote for this package :)

Jarshvor commented on 2022-01-18 17:02 (UTC) (edited on 2022-01-18 17:19 (UTC) by Jarshvor)

Sorry to use the comments for help, but my octoprint instance complains that /usr/lib/octoprint/lib/python3.10/site-packages is not writable and thus cannot use pip.

Im also noticing that the venv dir /usr/lib/octoprint is owned by root, as are all files and folder under it, except the /us/lib/octoprint/lib folder. But only that folder. All files and dirs under it are again owned by root. That means that python3.XX/site-packages is indeed not writable by user octoprint by default.

How is everyone here using pip and plugins with octoprint? Should the entire venv dir (/usr/lib/octoprint) be owned by user octoprint or is there some proper way to allow pip to install things to site-packages?

(apologies for my limited knowledge of python and virtual envs management).

ryanobeirne commented on 2021-11-08 01:32 (UTC)

diff --git a/.SRCINFO b/.SRCINFO
index 8796c3e..c07372e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = octoprint
        pkgdesc = The snappy web interface for your 3D printer on Arch Linux
-       pkgver = 1.7.1
+       pkgver = 1.7.2
        pkgrel = 1
        url = http://octoprint.org/
        install = octoprint.install
@@ -38,12 +38,12 @@ pkgbase = octoprint
        options = !distcc
        options = !ccache
        backup = etc/conf.d/octoprint
-       source = octoprint-1.7.1.tar.gz::https://github.com/OctoPrint/OctoPrint/archive/refs/tags/1.7.1.tar.gz
+       source = octoprint-1.7.2.tar.gz::https://github.com/OctoPrint/OctoPrint/archive/refs/tags/1.7.2.tar.gz
        source = octoprint.sysusers
        source = octoprint.service
        source = octoprint-serve
        source = octoprint.conf
-       sha256sums = 2eca217f16e93c3fd2bc8cb5ea2f8bb3d173f51e9a049d10a35fc0dc77aade48
+       sha256sums = 7b0447d33b7b593f096a9b9da02244f659a21d0d9bab14f7625e6d04be41a0c7
        sha256sums = bd9b7f989aefb02da1ac414f306861f21f084d886f0283eea11516482b407d65
        sha256sums = 231685e84b0241a466766c766f8d3ba31efda3238f19e9adedea380e7b861737
        sha256sums = 08e6ff10fb7f61c40e5770b67e8f7201d02d82d3bd46c5441a7f2b0435fbe9c2
diff --git a/PKGBUILD b/PKGBUILD
index 88fa9d7..7bf914d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: pappy <pa314159@users.noreply.github.com>

 pkgname=octoprint
-pkgver=1.7.1
+pkgver=1.7.2
 pkgrel=1
 pkgdesc="The snappy web interface for your 3D printer on Arch Linux"
 arch=(any)
@@ -49,7 +49,7 @@ source=("${pkgname}-${pkgver}.tar.gz::https://github.com/OctoPrint/OctoPrint/arc
                octoprint.conf
                )
 options=(!distcc !ccache)
-sha256sums=('2eca217f16e93c3fd2bc8cb5ea2f8bb3d173f51e9a049d10a35fc0dc77aade48'
+sha256sums=('7b0447d33b7b593f096a9b9da02244f659a21d0d9bab14f7625e6d04be41a0c7'
             'bd9b7f989aefb02da1ac414f306861f21f084d886f0283eea11516482b407d65'
             '231685e84b0241a466766c766f8d3ba31efda3238f19e9adedea380e7b861737'
             '08e6ff10fb7f61c40e5770b67e8f7201d02d82d3bd46c5441a7f2b0435fbe9c2'

horrovac commented on 2021-08-27 21:10 (UTC) (edited on 2021-08-27 21:11 (UTC) by horrovac)

The sha256sum for octoprint-1.7.0rc1.tar.gz changed to 9dfecc2a6d289a18175b805cce2a3d384a34df98893e857f47b8bd0fcdd0d235 on github and the one in PKGBUILD isn't correct any more.

pa314159 commented on 2021-08-09 09:57 (UTC) (edited on 2022-03-28 13:53 (UTC) by pa314159)

This version of OctoPrint is intended to use as many system packages as possible and the final goal is to get rid of venv for building it.

It relies on the official ARCH packages and also on AUR packages which must be installed first.

Any other dependency that is not provided by the Arch distribution or AUR, or whose version is not within the requested range is managed by venv.

The original repository is located on Github at https://github.com/pa314159/octoprint-arch.

Issues should be reported at https://github.com/pa314159/octoprint-arch/issues.

Before reporting a missing dependency, please make sure the package is not in AUR.