Package Details: printrun 1:2.0.0rc8-2

Git Clone URL: https://aur.archlinux.org/printrun.git (read-only, click to copy)
Package Base: printrun
Description: Pronterface, Pronsole, and Printcore - Pure Python 3D printing host software and GUI
Upstream URL: https://github.com/kliment/Printrun
Licenses: GPL
Conflicts: printrun-git
Provides: printrun-git
Submitter: ejona86
Maintainer: ejona86
Last Packager: ejona86
Votes: 22
Popularity: 0.030803
First Submitted: 2013-06-07 03:27 (UTC)
Last Updated: 2022-05-08 00:46 (UTC)

Latest Comments

kirkyd commented on 2022-05-15 03:52 (UTC)

fixing /etc/locale.conf did indeed fix my trouble. thanks for the help!

ejona86 commented on 2022-05-11 00:33 (UTC)

@kirkyd, seems python -c 'import locale; print(locale.getdefaultlocale())' returns (None, None) on your system. I can reproduce that if I have LANG environment variable empty or unexported. Seems you may be missing /etc/locale.conf. I suggest fixing that, but something like LANG=en_US.utf8 pronsole.py should work.

kirkyd commented on 2022-05-10 14:16 (UTC)

I'm having an issue getting this to run.

$  pronsole.py
Traceback (most recent call last):
  File "/usr/bin/pronsole.py", line 21, in <module>
    from printrun.pronsole import pronsole
  File "/usr/lib/python3.10/site-packages/printrun/pronsole.py", line 35, in <module>
    from . import printcore
  File "/usr/lib/python3.10/site-packages/printrun/printcore.py", line 44, in <module>
    install_locale('pronterface')
  File "/usr/lib/python3.10/site-packages/printrun/utils.py", line 55, in install_locale
    translation = gettext.translation(domain, shared_locale_dir, languages=[lang[0]], fallback= True)
  File "/usr/lib/python3.10/gettext.py", line 587, in translation
    mofiles = find(domain, localedir, languages, all=True)
  File "/usr/lib/python3.10/gettext.py", line 558, in find
    for nelang in _expand_lang(lang):
  File "/usr/lib/python3.10/gettext.py", line 213, in _expand_lang
    loc = locale.normalize(loc)
  File "/usr/lib/python3.10/locale.py", line 413, in normalize
    code = localename.lower()
AttributeError: 'NoneType' object has no attribute 'lower'

tried git version without success as well.

Rhinoceros commented on 2022-05-08 02:05 (UTC)

Thanks @ejona86 for the quick fix! Works perfectly now.

ejona86 commented on 2022-05-08 00:49 (UTC)

Rhinoceros, I've updated the build to backport a fix from master that fixes the issue.

Rhinoceros commented on 2022-05-08 00:26 (UTC)

This isn't working for me at the moment.

$ pronterface.py
Traceback (most recent call last):
  File "/usr/bin/pronterface.py", line 62, in <module>
    app = PronterApp(False)
  File "/usr/lib/python3.10/site-packages/printrun/pronterface.py", line 2455, in __init__
    self.mainwindow = PronterWindow(self)
  File "/usr/lib/python3.10/site-packages/printrun/pronterface.py", line 219, in __init__
    self.reload_ui()
  File "/usr/lib/python3.10/site-packages/printrun/pronterface.py", line 293, in reload_ui
    self.createGui(self.settings.uimode == _("Compact"),
  File "/usr/lib/python3.10/site-packages/printrun/gui/__init__.py", line 259, in createGui
    viz_pane = VizPane(self, vizpanel)
  File "/usr/lib/python3.10/site-packages/printrun/gui/viz.py", line 115, in __init__
    root.gwindow = gviz.GvizWindow(build_dimensions = root.build_dimensions_list,
  File "/usr/lib/python3.10/site-packages/printrun/gviz.py", line 77, in __init__
    self.p = Gviz(panel, size = size, build_dimensions = build_dimensions, grid = grid, extrusion_width = extrusion_width, bgcolor = bgcolor, realparent = self)
  File "/usr/lib/python3.10/site-packages/printrun/gviz.py", line 197, in __init__
    self.mainpen = wx.Pen(wx.Colour(0, 0, 0), penwidth)
TypeError: Pen(): arguments did not match any overloaded call:
  overload 1: too many arguments
  overload 2: argument 2 has unexpected type 'float'
  overload 3: argument 1 has unexpected type 'Colour'

I'm not sure if it's an upstream bug since printrun-git works fine. If it is upstream, it would be good to patch this package. Cheers.

ejona86 commented on 2022-04-03 23:48 (UTC)

Yeah, https://lists.archlinux.org/pipermail/aur-requests/2022-March/068505.html . I'm not sure if I'll recreate it because it was deleted prematurely or not. Unfortunately it is hard to tell how many other things in AUR still depend on it.

marcn commented on 2022-04-03 21:14 (UTC)

@ejona86 currently the installation is not possible, due to python2-pyglet could not be found in AUR.

bossi commented on 2021-04-14 09:38 (UTC)

Package maintainers: FYI, python2-pyserial is an obsolete dependency (Python 2 now dead).

ejona86 commented on 2019-01-07 15:25 (UTC)

@patrickelectric, added numpy as a dependency. It appears the change was introduced in 1.6. https://github.com/kliment/Printrun/issues/976

patrickelectric commented on 2018-12-16 22:36 (UTC) (edited on 2018-12-16 22:36 (UTC) by patrickelectric)

numpy is not optional if pronterface is installed.

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/printrun/gui/viz.py", line 70, in __init__
    import printrun.gcview
  File "/usr/lib/python2.7/site-packages/printrun/gcview.py", line 22, in <module>
    from .gl.panel import wxGLPanel
  File "/usr/lib/python2.7/site-packages/printrun/gl/panel.py", line 21, in <module>
    import numpy
ImportError: No module named numpy

Traceback (most recent call last):
  File "/usr/bin/pronterface.py", line 66, in <module>
    app = PronterApp(False)
  File "/usr/lib/python2.7/site-packages/printrun/pronterface.py", line 2296, in __init__
    self.mainwindow = PronterWindow(self)
  File "/usr/lib/python2.7/site-packages/printrun/pronterface.py", line 220, in __init__
    self.reload_ui()
  File "/usr/lib/python2.7/site-packages/printrun/pronterface.py", line 282, in reload_ui
    self.settings.controlsmode == "Mini")
  File "/usr/lib/python2.7/site-packages/printrun/gui/__init__.py", line 256, in createGui

    viz_pane = VizPane(self, vizpanel)
  File "/usr/lib/python2.7/site-packages/printrun/gui/viz.py", line 79, in __init__
    from printrun import gviz
  File "/usr/lib/python2.7/site-packages/printrun/gviz.py", line 18, in <module>
    import numpy
ImportError: No module named numpy

ejona86 commented on 2018-03-09 15:14 (UTC)

I've swapped the pyglet dependency to python2-pyglet.

Rhinoceros commented on 2018-03-09 07:01 (UTC)

python2-pyglet now no longer provides pyglet, so printrun cannot be installed any more. I guess you just need to change the dependency.

xoan commented on 2017-11-24 09:53 (UTC)

As said in the Printrun README [1], you should add: python2 setup.py build_ext --inplace to build() in order to use the optimized cython based G-Code parser (if not, cython2 shuldn't be a make dependency) [1] https://github.com/kliment/Printrun#cython-based-g-code-parser

swiftgeek commented on 2017-11-18 14:58 (UTC)

https://github.com/kliment/Printrun/releases/tag/printrun-1.6.0

ejona86 commented on 2017-11-07 15:38 (UTC)

It looks like there is a release coming, but there isn't a tag for it yet: https://github.com/kliment/Printrun/issues/862

ivanovp commented on 2017-10-14 05:42 (UTC)

Hi, it looks that python2-numpy is missing from dependencies.

kalsan commented on 2017-07-15 13:49 (UTC)

Please add armv6h and armv7h for Raspberry Pi support. It compiles fine on these archs.

ejona86 commented on 2015-11-07 20:06 (UTC)

arch=any is not appropriate for this package; it has binary python modules (like gcoder_line).

greyltc commented on 2015-10-14 14:03 (UTC)

Could you please change arch=('i686' 'x86_64') to arch=('any') Thanks.

ivanovp commented on 2015-06-01 15:22 (UTC)

The most recent one generates segfault during print. :( I'm looking for PKGBUILD of previous printrun.

ivanovp commented on 2015-06-01 14:25 (UTC)

python2-numpy is missing from depends.

swiftgeek commented on 2015-05-02 21:45 (UTC)

For teacup reverting this change is needed https://github.com/kliment/Printrun/pull/547/files

ivanovp commented on 2015-03-01 07:48 (UTC)

arch is wrong. i686 should be instead of x86 like this: arch=('i686' 'x86_64')

ivanovp commented on 2014-12-03 08:03 (UTC)

It would be easier to find this package, if you would put 'pronterface' word in the description.

katta commented on 2014-05-18 07:10 (UTC)

python2-cairosvg possible missing dependency ?

commented on 2014-04-10 15:34 (UTC)

Please add python2-dbus from [extra] to the dependencies, otherwise pronterface.py won't start