scanner not working

Asked by james boulger

I am having an issue similar to this poster https://answers.launchpad.net/hplip/+question/207476.
I have an hp deskjet2512. Its printer worked, and the scanner used to work. However, today it refuses to detect the scanner device now. Hp device manager does not detect the all-in-one printer itself, but it does show in the "printers" section. I am using linux mint 13.
From previous posts, I have gathered that you could use this:
$su -c "hp-logcapture"

However, I get this in response:

$ su -c "hp-logcapture"
Password:
Archiving system logs (i.e. syslog, message, error_log). Press (y=yes*, n=no, q=quit):y
Existing /var/log/syslog log file copied to /var/log/syslog.8.gz
Existing /var/log/cups/error_log log file copied to /var/log/cups/error_log.8.gz
Traceback (most recent call last):
  File "/usr/bin/hp-logcapture", line 224, in <module>
    File_list, File_list_str =utils.expand_list('%s/*.bmp'%TMP_DIR)
AttributeError: 'module' object has no attribute 'expand_list'

For this command:
 "hp-check -t"

However the terminal reports the command is not found.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Amarnath Chitumalla
Solved:
Last query:
Last reply:
Revision history for this message
Best Amarnath Chitumalla (amarnath-chitumalla) said :
#1

Hi James,

As per the above error message, utils module is missing or some files are corrupted. Please let us know how this scenario happened.

Please re-install the HPLIP as mentioned in http://hplipopensource.com/hplip-web/install/install/index.html.

Thanks & Regards,
Amarnath

Revision history for this message
james boulger (jjboulger) said :
#2

Sorry, it went to my spam folder and I forgot about this question! Its still an issue however, and I will try what you suggested sometime in the next couple days when I get spare moment so I can confirm this solved my issue. Thanks!

Revision history for this message
james boulger (jjboulger) said :
#3

Thanks Amarnath Chitumalla, that solved my question.