Public bug reported:

On hardy, running:

import cups
c = cups.Connection()
c.getJobs('completed')

which return a dictionary of completed jobs where the values are
dictionaries with useful information, e.g.

{'job-name': u'lab1.pdf', 'job-printer-uri':
u'ipp://server:631/printers/lj', 'time-at-completed': 1315344646, 'job-
priority': 50, 'time-at-processing': 1315344638, 'job-state': 9, 'job-
preserved': False, 'job-k-octets': 231, 'job-media-sheets-completed': 0,
'time-at-creation': 1315344638, 'job-originating-user-name': u'user1'}

On lucid, the method returns a dictionary with empty values.
/var/spool/cups does contain files with job information. Permissions on
/var/spool/cups and its contents are the same between hardy and lucid.

# directory
drwx--x--- 3 root lp 4096 2011-09-06 15:05 /var/spool/cups
# spool file
-rw------- 1 root lp 10159 2011-09-06 14:35 c00128

The process table shows cupsd running as root.

** Affects: python-cups (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/843342

Title:
  getJobs does not return job details

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-cups/+bug/843342/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to