Bug 904769 - [abrt] hplip-3.12.11-1.fc18: hp-check-plugin:230:<module>:OSError: [Errno 2] No such file or directory: '/var/log/hp/hplip_ac.log'
Summary: [abrt] hplip-3.12.11-1.fc18: hp-check-plugin:230:<module>:OSError: [Errno 2] ...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:124dde5515f74b0d91a0015014b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-27 13:03 UTC by James Genus Jr.
Modified: 2013-03-11 12:08 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-03-11 12:08:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (22.43 KB, text/plain)
2013-01-27 13:03 UTC, James Genus Jr.
no flags Details
File: smolt_data (3.31 KB, text/plain)
2013-01-27 13:03 UTC, James Genus Jr.
no flags Details

Description James Genus Jr. 2013-01-27 13:03:43 UTC
Description of problem:
1. plugged in printer
2. problem occurred
3. reported problem

Version-Release number of selected component:
hplip-3.12.11-1.fc18

Additional info:
core_backtrace: 6d011924af1d9d9ff7bd50050ca39f333b68f22f 0xe6 <module> /usr/bin/hp-check-plugin -
executable:     /usr/bin/hp-check-plugin
kernel:         3.7.4-204.fc18.x86_64
uid:            0

Comment 1 James Genus Jr. 2013-01-27 13:03:46 UTC
Created attachment 688428 [details]
File: backtrace

Comment 2 James Genus Jr. 2013-01-27 13:03:48 UTC
Created attachment 688429 [details]
File: smolt_data

Comment 3 James Genus Jr. 2013-01-27 13:06:46 UTC
Able to print w/o problems despite error.

Comment 4 Jiri Popelka 2013-01-28 11:02:31 UTC
No idea how this could happen. The code looks like

if os.path.exists(LOG_FILE):
    os.remove(LOG_FILE)        <- Error (no such file)

Comment 5 Jiri Popelka 2013-01-28 12:25:42 UTC
What does 'ls -la /var/log/hp/' show ?

Comment 6 James Genus Jr. 2013-01-28 16:42:35 UTC
Will update when I have access to machine.

Comment 7 James Genus Jr. 2013-02-03 12:38:55 UTC
sudo ls -la /var/log/hp/
total 16
drwxrwxr--.  3 root lp   4096 Jan 28 19:32 .
drwxr-xr-x. 18 root root 4096 Feb  3 02:25 ..
-rw-rw-r--.  1 root lp    265 Jan 28 19:32 hplip_ac.log
drwxrwxr-T.  2 root lp   4096 Nov 27 07:50 tmp


The error hasn't reappeared since.

Comment 8 Tim Waugh 2013-03-11 12:08:42 UTC
Really strange.  Please re-open if it happens again.


Note You need to log in before you can comment on or make changes to this bug.