pronterface na linuxie

ZaQ
Posty: 37
Rejestracja: 18 sie 2013, 11:32
Lokalizacja: Jelenia Góra

pronterface na linuxie

Postautor: ZaQ » 24 sie 2014, 12:59

Witam
Nie ogarniam linuxa gentoo, a niestety ubuntu jest zbyt ociezale na mojego netbooka i co gorsze nie obsluguje mojej karty graficznej poprawnie.
Uruchomilem slic3ra, ale nie potrafie zainstalowac pronterface. Czy ktos z forumowiczow pracuje w gentoo i moglby pomuc?
Instrukcja na githubie odnosi sie do ubuntu i nie dziala na gentoo. W googlach niestety nic nie znalazlem.

Awatar użytkownika
syntetyczny
Posty: 2390
Rejestracja: 08 lut 2013, 23:26
Lokalizacja: Elbląg
Kontaktowanie:

Re: pronterface na linuxie

Postautor: syntetyczny » 24 sie 2014, 21:07

na gentoo się nie znam, a najnowsze ubuntu14.04 jest ciężkie dla maszyn starszych, dlatego polecam zainstalować starsze środowisko bez unity, albo przejść na xfce.
eppure si muove
sklep z akcesoriami RepRap http://www.byq3d.eu

ZaQ
Posty: 37
Rejestracja: 18 sie 2013, 11:32
Lokalizacja: Jelenia Góra

Re: pronterface na linuxie

Postautor: ZaQ » 24 sie 2014, 23:58

W netbooku siedzi potworek intela gma500, najgorszy uklad graficzny z jakim mialem doczynienia, ktorego niestety wiekszosc dystrybucji nie obsluguje. Ubuntu probowalem w roznych wersjach od 8 do najnowszego, sprawdzalem tez oczywiscie wszystkie wersje "lekkie" i dla netbookow. Xfce tez muli tylko w roznym stopniu na roznych dystrybucjach. Jak znalazlem gentoo bylem zaskoczony tym jak szybko moze dzialac ten zlom, ale niestety to system dla linuxowych hardcorow bo prawie wszystko trzeba kompilowac z kodu zrodlowego.
Odpalilem pronterface przez wine ale to rozwiazanie niezbyt dobre. Jak nic nie zdzialam to wracam na xp, chodzi tak samo wolno jak ubuntu.

drygol
Posty: 713
Rejestracja: 28 mar 2013, 13:31

Re: pronterface na linuxie

Postautor: drygol » 25 sie 2014, 7:09

Odpal z pronterface z terminala z root`a poleceniem - python pronterface.py
i wklej tu jaki jest traceback bo pewnie brakuje ci modulow w pythonie.

chodzi mi o cos w stylu:

Traceback (most recent call last):
File "/root/bin/Printrun-master/printrun/gui.py", line 317, in __init__
import printrun.gcview
File "/root/bin/Printrun-master/printrun/gcview.py", line 22, in <module>
from .gl.panel import wxGLPanel
File "/root/bin/Printrun-master/printrun/gl/panel.py", line 23, in <module>
import pyglet
ImportError: No module named pyglet
3D view mode requested, but we failed to initialize it.
Falling back to 2D view, and here is the backtrace:
Traceback (most recent call last):
File "/root/bin/Printrun-master/printrun/gui.py", line 337, in __init__
import printrun.gcview
File "/root/bin/Printrun-master/printrun/gcview.py", line 22, in <module>
from .gl.panel import wxGLPanel
File "/root/bin/Printrun-master/printrun/gl/panel.py", line 23, in <module>
import pyglet
ImportError: No module named pyglet

ZaQ
Posty: 37
Rejestracja: 18 sie 2013, 11:32
Lokalizacja: Jelenia Góra

Re: pronterface na linuxie

Postautor: ZaQ » 25 sie 2014, 9:32

Podczas proby instalacji printruna dostaje takie cos (uwaga sciana tekstu)

Kod: Zaznacz cały

pixielive@pixielive ~ $ su root
Password:
pixielive pixielive # emerge printrun

 * IMPORTANT: 17 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies... done!
[ebuild  NS    ] dev-lang/python-exec-2.0.1-r1 [0.3.1] PYTHON_TARGETS="(jython2_5) (jython2_7) (pypy) (python2_7) (python3_2) (python3_3) (-python3_4)"
[ebuild  r  U  ] dev-python/pygobject-2.28.6-r55 [2.28.6-r53]
[ebuild  NS    ] dev-lang/python-3.3.5-r1 [2.7.5-r3, 3.2.5-r3] USE="gdbm ipv6 ncurses readline ssl threads xml -build -doc -examples -hardened -sqlite -tk -wininst"
[ebuild     U  ] dev-python/setuptools-2.2 [0.8-r1] PYTHON_TARGETS="python3_3* (-pypy) -python3_2* (-python3_4)"
[ebuild  N     ] dev-python/pyserial-2.7  PYTHON_TARGETS="python2_7 python3_3 (-pypy) -python3_2"
[ebuild     U  ] dev-python/lxml-3.3.5 [3.2.1] PYTHON_TARGETS="python3_3* -python3_2* (-python3_4)"
[ebuild   R    ] dev-python/cssselect-0.7.1-r1  PYTHON_TARGETS="python3_3* -python3_2*"
[ebuild  N     ] dev-python/py-1.4.20  USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_3 (-pypy) -python3_2 (-python3_4)"
[ebuild  N     ] dev-python/ply-3.4-r1  USE="-examples" PYTHON_TARGETS="python2_7 python3_3 (-pypy) -python3_2 (-python3_4)"
[ebuild  N    ~] dev-python/tinycss-0.3  PYTHON_TARGETS="python2_7 python3_3 -python3_2 -python3_4"
[ebuild  N     ] dev-python/pycparser-2.10  USE="{-test}" PYTHON_TARGETS="python2_7 python3_3 (-pypy) -python3_2 (-python3_4)"
[ebuild  N     ] dev-python/pytest-2.4.2  USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_3 (-pypy) -python3_2"
[ebuild  N     ] dev-python/cffi-0.8.1  USE="-doc" PYTHON_TARGETS="python2_7 python3_3 (-pypy) -python3_2"
[ebuild   R    ] dev-python/pycairo-1.10.0-r4  PYTHON_TARGETS="python3_3* -python3_2* (-python3_4)"
[ebuild  N    ~] dev-python/cairocffi-0.5.4  USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_3 -python3_2 -python3_4"
[ebuild  N    ~] media-gfx/cairosvg-1.0.7  PYTHON_TARGETS="python2_7 python3_3 -python3_2 -python3_4"
[ebuild  N     ] app-arch/libarchive-3.1.2-r1  USE="acl bzip2 e2fsprogs iconv lzma zlib -expat -lzo -nettle -static-libs -xattr"
[ebuild  N     ] dev-util/cmake-2.8.12.2-r1  USE="ncurses -emacs -qt4 (-qt5) {-test}"
[ebuild  N     ] media-libs/openal-1.15.1-r2  USE="-alsa (-coreaudio) -debug (-neon) -oss -portaudio -pulseaudio -sse"
[ebuild  N     ] dev-python/pyglet-1.1.4  USE="openal -alsa -doc -examples -gtk"
[ebuild  N     ] dev-python/wxpython-2.8.12.1-r2  USE="-cairo -doc -examples -opengl" PYTHON_TARGETS="python2_7"
[ebuild  N    ~] media-gfx/printrun-20140730  PYTHON_TARGETS="python2_7"

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-python/setuptools:0

  (dev-python/setuptools-2.2::gentoo, ebuild scheduled for merge) pulled in by
    dev-python/setuptools[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] required by (dev-python/py-1.4.20::gentoo, ebuild scheduled for merge)
    dev-python/setuptools[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] required by (dev-python/lxml-3.3.5::gentoo, ebuild scheduled for merge)
    dev-python/setuptools[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_pypy(-)] required by (dev-python/pytest-2.4.2::gentoo, ebuild scheduled for merge)
    dev-python/setuptools[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] required by (dev-python/ply-3.4-r1::gentoo, ebuild scheduled for merge)
    dev-python/setuptools[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] required by (dev-python/cairocffi-0.5.4::gentoo, ebuild scheduled for merge)
    dev-python/setuptools[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)] required by (dev-python/cssselect-0.7.1-r1::gentoo, ebuild scheduled for merge)

  (dev-python/setuptools-0.8-r1::gentoo, installed) pulled in by
    dev-python/setuptools[python_targets_python2_7(-),python_targets_python3_2(-),-python_single_target_python2_6(-),-python_single_target_python2_7(-),-python_single_target_python3_2(-)] required by (dev-python/numpy-1.6.2-r2::gentoo, installed)


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by media-gfx/printrun-20140730
# required by printrun (argument)
=media-gfx/cairosvg-1.0.7 ~x86
# required by printrun (argument)
=media-gfx/printrun-20140730 ~x86
# required by media-gfx/cairosvg-1.0.7
# required by media-gfx/printrun-20140730
# required by printrun (argument)
=dev-python/cairocffi-0.5.4 ~x86
# required by media-gfx/cairosvg-1.0.7
# required by media-gfx/printrun-20140730
# required by printrun (argument)
=dev-python/tinycss-0.3 ~x86

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.

!!! The following installed packages are masked:
- sys-power/upower-0.9.21::gentoo (masked by: package.mask)
/usr/portage/profiles/base/package.mask:
# Rick Farina <zerochaos@gentoo.org> (6 Jun 2013)
# Pm-utils based hibernate and suspend support has discontinued.
# For continued support, use the upower-pm-utils fork or systemd.
# Systemd users can switch to a systemd profile or unmask <sys-power/upower-0.99.0
# Openrc users can "emerge -C upower && emerge -1 upower-pm-utils"

- www-plugins/adobe-flash-11.2.202.310::gentoo (masked by: AdobeFlash-11.x license(s))
A copy of the 'AdobeFlash-11.x' license is located at '/usr/portage/licenses/AdobeFlash-11.x'.

- net-im/skype-4.2.0.11-r1::gentoo (masked by: skype-4.0.0.7-copyright license(s))
A copy of the 'skype-4.0.0.7-copyright' license is located at '/usr/portage/licenses/skype-4.0.0.7-copyright'.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

Awatar użytkownika
syntetyczny
Posty: 2390
Rejestracja: 08 lut 2013, 23:26
Lokalizacja: Elbląg
Kontaktowanie:

Re: pronterface na linuxie

Postautor: syntetyczny » 25 sie 2014, 9:49

Archlinux spróbuj. Jest to dystrybucja przygotowana pod drukarki 3D i ma wszystko w repozytoriach. Poza tym, pronterface jest aplikacją pythonową, więc teoretycznie wymaga zainstalowania odpowiednich bibliotek python:

Kod: Zaznacz cały

python-serial python-wxgtk2.8 python-pyglet python-tornado python-setuptools python-libxml2 python-gobject avahi-daemon libavahi-compat-libdnssd1 python-dbus python-psutil

To są biblioteki python minimum jakie muszą się znaleźć w systemie.
eppure si muove
sklep z akcesoriami RepRap http://www.byq3d.eu

ZaQ
Posty: 37
Rejestracja: 18 sie 2013, 11:32
Lokalizacja: Jelenia Góra

Re: pronterface na linuxie

Postautor: ZaQ » 25 sie 2014, 11:11

Nie ma tych bibliotek w drzewie portage, albo ja jestem za cienki w te klocki. Dzieki za proby pomocy. Wracam do xp, szkoda czasu na szarpanine.

drygol
Posty: 713
Rejestracja: 28 mar 2013, 13:31

Re: pronterface na linuxie

Postautor: drygol » 25 sie 2014, 12:32

Heh panie , w gentoo to nie tak prosto , masz nie update`owany system.

Generalnie dajesz emerge --sync a potem emerge -upv printrun i tam bedziesz mial wypisane moduly wymagane do instalki.
Dodatkowo z tego co widac to masz duzo USE flag do zmiany.
Powiem tak , jak nie ogarniasz portage gentoo to z doswiadczenia ci powiem ze na szybko to nie pojdzie - szczegolnie przy update starego OS.

Mozliwe tez ze masz juz wiekszosc lib`ow wiec mozesz tez sciagnac source z git`a i probowac odpalic.


Wróć do „Hosty”

Kto jest online

Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 1 gość