New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hplipWithPlugin: various commands broken by .py wrapping #24263
Comments
|
Sometimes Python devs give modules a shebang and makes them executable. This way they can be executed, and still remain importable. When we add wrappers the files are no longer importable. |
What we need to do to solve this is implement the proposal I wrote at https://gist.github.com/FRidh/c3e974e34eac738405af699786b462d5. In short:
|
I was just looking at hplip again, and found that I could not reproduce this issue. Could you confirm whether the issue is still present? |
FWIW, I cannot reproduce either. In my case however, it turns out that my printer (LaserJet Pro MFP M125nw) requires a binary plug-in, which
For now I am just using a VirtualBox image of Ubuntu to get around this, but maybe my data point can still help someone. |
My general printing solution won't work for everybody, but I have been relying on Cloud Print for the past while. Chrome can send jobs there directly, and for other apps I "print" to a PDF, then open the pdf in chrome and hit print. I think there's a way to have CUPS send jobs straight to Cloud Print too, but I haven't taken the time to set that up yet. |
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:
|
guys, i'll close this issue. i cannot reproduce, and it's 3+ years old. FTR, |
For some reason, various .py files in hplip appear to be wrapped in bash startup wrappers as though they were standalone binaries. For example,
${hplipWithPlugin}/share/hplip/hpssd.py}
contains the following:hpdio.py
and probably other files are similarly munged. The net effect is that some of the hplip utilities don't work:Steps to reproduce
In configuration.nix on nixos-17.03:
Run
/etc/cups/path/bin/hp-info
.Technical details
The text was updated successfully, but these errors were encountered: