LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-01-2016, 03:50 PM   #31
reclusivewriter
Member
 
Registered: Jun 2014
Location: Midwest, USA
Distribution: Slackware
Posts: 80

Original Poster
Rep: Reputation: 55

OK, assuming I'm testing it right, Pat's patch works here, too.

I commented out LC_ALL=C in /etc/profile/lang.sh to set the sorting rules back to en_US like they're supposed to be, applied Pat's patch (That's the first patch I've ever applied, ever, so thanks for making me learn how to do that, btw) and hp-setup -i 192.168.1.65 found the ppd and offered to set up the new printer cue.

so for the problems that I and others have had, it looks like we got 3 solutions to fix them:

1. export LANG=en before running hp-setup -i
2. export LC_ALL=C before running hp-setup -i
3. use Pat's patch on /usr/share/hplip/setup.py

Kudos and thanks to kjhambrick and Pat for taking the time to look at the problem and finding the answer.
 
1 members found this post helpful.
Old 06-01-2016, 04:09 PM   #32
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,515

Rep: Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481
Quote:
Originally Posted by Launfal View Post
OK, assuming I'm testing it right, Pat's patch works here, too.
Awesome, thanks for testing it! Since I'm a bit of a Luddite, that's the only line of Python I've ever written.
 
3 members found this post helpful.
Old 06-01-2016, 04:35 PM   #33
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Thanks all !

I certainly learned a lot about hplip.

I never needed it before my wife got her MFP printer / FAX / scanner.

Now it all 'just' works for me.

Thanks again !

-- kjh

p.s. as for being a python luddite -- I am still a complete luddite having never written a single line of python code
 
Old 06-01-2016, 07:48 PM   #34
reclusivewriter
Member
 
Registered: Jun 2014
Location: Midwest, USA
Distribution: Slackware
Posts: 80

Original Poster
Rep: Reputation: 55
OK, my final, final, super final last test:

Clean install of latest current, didn't touch any LANG or LC settings. I had backed up the patched setup.py, so all I did was copy that over to /usr/share/hplip and run hp-setup -i 192.168.1.65 and ...

it worked exactly the same way that I've come to expect from other distros. Found the printer, downloaded the ppd, setup the print cue and printed the test page. I finished it off with a lpoptions -d [printer] and Bob was my uncle. (A generic Bob, not THE Bob.)

So now this thread is finally, super-duper really solved, hopefully for the rest of forever.
 
1 members found this post helpful.
Old 06-10-2016, 06:27 PM   #35
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
Loooks like there were a couple of updates. I'll be doing a fresh -current install on a laptop and will see if that fixes this issue here.
Quote:
Thu Jun 2 19:08:13 UTC 2016
...
ap/hplip-3.16.5-x86_64-3.txz: Rebuilt.
Patched setup.py to set LC_ALL=C, which should fix parsing CUPS output.
...
+--------------------------+
Tue May 31 20:05:12 UTC 2016
...
ap/hplip-3.16.5-x86_64-2.txz: Rebuilt.
Recompiled with these changed paths:
--with-hpppddir=/usr/share/ppd/HP
--with-drvdir=/usr/share/cups/drv/HP
This matches what is expected for Slackware in the distros.dat file and is
hardcoded in core_install.py. Thanks to kjhambrick.
EDIT: I really need to refresh my browser pages more often....

Last edited by kingbeowulf; 06-10-2016 at 06:31 PM. Reason: slow neural activity
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HPlip woes on --current ; Sharing printer gets broken if the hplip gui is launched Old_Fogie Slackware 2 10-28-2010 10:23 AM
Autokey and current64 charlie_lab Slackware 4 03-20-2010 03:56 PM
[SOLVED] SBo SlackBuilds fail at make install under latest -current64 rmjohnso Slackware 2 03-04-2010 11:13 AM
[SOLVED] Dbus and wicd in -current64 manwichmakesameal Slackware 7 07-08-2009 04:39 PM
Install latest hplip driver mikieboy Linux - Software 1 04-04-2008 08:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration