Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: rullolex on February 28, 2021, 03:15:07 AM
-
Hi to everyone,
I'm trying to install hplip to load my printer but dbus-python3.6.tcz seem do not be available
-
dbus-python3.6 copied to the tc-12.x x86 and x86_64 repos - thanks for reporting this.
-
dbus-python3.6 copied to the tc-12.x x86 and x86_64 repos - thanks for reporting this.
you're welcome
-
Hi,
I have followed the instructions but:
no root password is asked me after
hp-setup -i
and I have some errors.
I do someting wrong?
Thanks
-
The problem looks to be here:
$ hp-setup -i
Traceback (most recent call last):
File "/usr/local/bin/hp-setup", line 48, in <module>
from base import device, utils, tui, models, module, services, os_utils
File "/tmp/tcloop/hplip/usr/local/share/hplip/base/device.py", line 42, in <module>
from . import status
File "/tmp/tcloop/hplip/usr/local/share/hplip/base/status.py", line 33, in <module>
import cup.t
ImportError: libnetsnmp.so.35: cannot open shared object file: No such file or directory
-
I created a net-snmp35 extension and added it to the hplip dep file in the tc-12.x x86 and x86_64 repos.
It tested OK in x86_64, so I presume it will work in x86.
Note that you will need to download the net-snmp35 extension and modify hplip.tcz.dep locally for future use.
-
Hi Juanito,
works :)
Thank you
-
Hello,
Version
tc@box:~$ version
13.0.3
i am on a PI and like to use a HP Laserjet P1102.
i need a propetery driver for that.
Ik have a working solution on Raspbian, but Tiny Core is a LOT faster.
I found this forum and it looks like i have the same problem on different achitecture. X86-64 vs Arm6
Hp-**** The all give me the same error.
hp-setup -i
/tmp/tcloop/hplip/usr/local/share/hplip/base/utils.py:2042: SyntaxWarning: "is" with a literal. Did you mean "=="?
if weburl is "" or weburl is None:
Traceback (most recent call last):
File "/usr/local/bin/hp-setup", line 48, in <module>
from base import device, utils, tui, models, module, services, os_utils
File "/tmp/tcloop/hplip/usr/local/share/hplip/base/device.py", line 42, in <module>
from . import status
File "/tmp/tcloop/hplip/usr/local/share/hplip/base/status.py", line 33, in <module>
import cup.t
ImportError: libnetsnmp.so.35: cannot open shared object file: No such file or directory
this is the one (hp-plugin) i need to work to fix the CUPS "filter failed" message
tc@box:~$ hp-plugin
/tmp/tcloop/hplip/usr/local/share/hplip/base/utils.py:2042: SyntaxWarning: "is" with a literal. Did you mean "=="?
if weburl is "" or weburl is None:
Traceback (most recent call last):
File "/usr/local/bin/hp-plugin", line 41, in <module>
from base import device, utils, tui, module, services
File "/tmp/tcloop/hplip/usr/local/share/hplip/base/device.py", line 42, in <module>
from . import status
File "/tmp/tcloop/hplip/usr/local/share/hplip/base/status.py", line 33, in <module>
import cup.t
ImportError: libnetsnmp.so.35: cannot open shared object file: No such file or directory
tc@box:~$
Is there any hope in fixing this?
i wil happely give other information if i know what it is you need.
Sorry for my terrible english
-
In piCore you can use the net-snmp extension from 11.x
In CorePure64 you can use the net-snmp extension from 10.x
If you can confirm that this works, a legacy extension can be made.
-
Hi Juanito
In piCore you can use the net-snmp extension from 11.x ...
net-snmp depends on openssl. piCore 11.x has version 1.1.1.g while 13.x has 1.1.1.k. Will that be a problem?
In x86_64 it changed from 1.1.1b to 1.1.1j.
-
I don't know for sure, the op would need to try (using the old version of net-snmp with the current openssl).
In fact in the CorePure64 repo, hplip already depends on net-snmp35, which tends to suggest it worked for me.
-
net-snmp35 added to piCore-13.x repos, hplip dep file adjusted.
-
Hi Juanito
I created a net-snmp35 extension and added it to the hplip dep file in the tc-12.x x86 and x86_64 repos.
It tested OK in x86_64, ...
Look at that. Had I scrolled up a few posts, I could have answered my own question. :-[
-
I thought the reason we made the hplip-plugins extension was because "hp-setup -i" doesn't work on TC, and probably never will. There should be something to this effect in the hplip description.
-
hp-setup does work, but perhaps not if you need plugins..
-
didn't know what "hp-setup -i" did. thought this might help future readers.
https://developers.hp.com/hp-linux-imaging-and-printing/tech_docs/man_pages/setup
modified/updated to add a link to another thread.
http://forum.tinycorelinux.net/index.php/topic,23667.0.html