From dwpalmer at cazenovia.edu Thu Sep 22 15:27:53 2011 From: dwpalmer at cazenovia.edu (Palmer, David W.) Date: Thu, 22 Sep 2011 09:27:53 -0400 Subject: [Tea4CUPS] Tea4Cups and OSX 10.6 Message-ID: Hello, I am trying to get Tea4Cups to work with osx 10.6 but I am having no luck. I am using version 3.11. I have put tea4cups in /usr/libexec/cups/backend and tea4cups in /private/etc/cups . When I try to print the printer pauses and I get the following in cups error log: D [21/Sep/2011:16:58:58 -0400] [Job 23] D [21/Sep/2011:16:58:58 -0400] [Job 23] Task "Insert LaserJet accounting information" complete. Processor - Accounting. Line - %%BeginProlog D [21/Sep/2011:16:58:58 -0400] [Job 23] Received SIGPIPE D [21/Sep/2011:16:58:58 -0400] [Job 23] Backend returned status 1 (failed) D [21/Sep/2011:16:58:58 -0400] [Job 23] Printer stopped due to backend errors; please consult the error_log file for details. D [21/Sep/2011:16:58:58 -0400] [Job 23] End of messages D [21/Sep/2011:16:58:58 -0400] [Job 23] printer-state=5(stopped) D [21/Sep/2011:16:58:58 -0400] [Job 23] printer-state-message="Tea4CUPS (PID 391) : IOError: [Errno 1] Operation not permitted: '/private/var/spool/cups/tea4cups-ICT_Laser-dwpalmer-23'" D [21/Sep/2011:16:58:58 -0400] [Job 23] printer-state-reasons=paused E [21/Sep/2011:16:58:59 -0400] [Job 23] Tea4CUPS (PID 396) : Traceback (most recent call last): E [21/Sep/2011:16:58:59 -0400] [Job 23] Tea4CUPS (PID 396) : File "/usr/libexec/cups/backend/tea4cups", line 857, in E [21/Sep/2011:16:58:59 -0400] [Job 23] Tea4CUPS (PID 396) : wrapper.saveDatasAndCheckSum() E [21/Sep/2011:16:58:59 -0400] [Job 23] Tea4CUPS (PID 396) : File "/usr/libexec/cups/backend/tea4cups", line 646, in saveDatasAndCheckSum E [21/Sep/2011:16:58:59 -0400] [Job 23] Tea4CUPS (PID 396) : outfile = open(self.DataFile, "wb") E [21/Sep/2011:16:58:59 -0400] [Job 23] Tea4CUPS (PID 396) : IOError: [Errno 1] Operation not permitted: '/private/var/spool/cups/tea4cups-ICT_Laser-dwpalmer-23' D [21/Sep/2011:16:58:59 -0400] [Job 23] The following messages were recorded from 16:58:59 to 16:58:59 D [21/Sep/2011:16:58:59 -0400] [Job 23] /usr/libexec/cups/backend/tea4cups:30: DeprecationWarning: the md5 module is deprecated; use hashlib instead D [21/Sep/2011:16:58:59 -0400] [Job 23] import md5 D [21/Sep/2011:16:58:59 -0400] [Job 23] hpPostProcessing launched D [21/Sep/2011:16:58:59 -0400] [Job 23] Tea4CUPS v3.11_unofficial (PID 396) : Parsing of IPP message file /var/spool/cups/c00023 begins. D [21/Sep/2011:16:58:59 -0400] [Job 23] Tea4CUPS v3.11_unofficial (PID 396) : Parsing of IPP message file /var/spool/cups/c00023 ends. D [21/Sep/2011:16:58:59 -0400] [Job 23] Tea4CUPS v3.11_unofficial (PID 396) : Duplicating data stream into /private/var/spool/cups/tea4cups-ICT_Laser-dwpalmer-23 D [21/Sep/2011:16:58:59 -0400] [Job 23] Tea4CUPS v3.11_unofficial (PID 396) : Data stream will be used as-is (no filter defined) D [21/Sep/2011:16:58:59 -0400] [Job 23] Tea4CUPS (PID 396) : ERROR: Tea4CUPS v3.11_unofficial D [21/Sep/2011:16:58:59 -0400] [Job 23] Set job-printer-state-message to "Tea4CUPS (PID 396) : Traceback (most recent call last):", current level=ERROR D [21/Sep/2011:16:58:59 -0400] [Job 23] Page = 612x792; 12,12 to 600,780 D [21/Sep/2011:16:58:59 -0400] [Job 23] slow_collate=0, slow_duplex=0, slow_order=0 D [21/Sep/2011:16:58:59 -0400] [Job 23] Before copy_comments - %!PS-Adobe-3.0 D [21/Sep/2011:17:03:14 -0400] [Job 24] Started backend /usr/libexec/cups/backend/tea4cups (PID 414) D [21/Sep/2011:17:03:14 -0400] [Job 24] /usr/libexec/cups/backend/tea4cups:30: DeprecationWarning: the md5 module is deprecated; use hashlib instead D [21/Sep/2011:17:03:14 -0400] [Job 24] import md5 D [21/Sep/2011:17:03:14 -0400] [Job 24] cgpdftops - using PPD file "/private/etc/cups/ppd/ICT_Laser.ppd"... D [21/Sep/2011:17:03:14 -0400] [Job 24] PS Matching Mode = AP_ApplicationColorMatching D [21/Sep/2011:17:03:14 -0400] [Job 24] cgpdftops - languageLevel = 3, mediaBox.size.width = 612, mediaBox.size.height = 792 D [21/Sep/2011:17:03:14 -0400] [Job 24] cgpdftops - documentMediaBox.size.width = 612, documentMediaBox.size.height = 792 D [21/Sep/2011:17:03:14 -0400] [Job 24] hpPostProcessing launched D [21/Sep/2011:17:03:14 -0400] [Job 24] WARN: Tea4CUPS v3.11_unofficial (PID 414) : Unable to open IPP message file /var/spool/cups/c00024 D [21/Sep/2011:17:03:14 -0400] [Job 24] Tea4CUPS (PID 414) : ERROR: Tea4CUPS v3.11_unofficial D [21/Sep/2011:17:03:14 -0400] [Job 24] Set job-printer-state-message to "Tea4CUPS (PID 414) : Traceback (most recent call last):", current level=ERROR D [21/Sep/2011:17:03:14 -0400] [Job 24] Page = 612x792; 12,12 to 600,780 D [21/Sep/2011:17:03:14 -0400] [Job 24] slow_collate=0, slow_duplex=0, slow_order=0 D [21/Sep/2011:17:03:14 -0400] [Job 24] Before copy_comments - %!PS-Adobe-3.0 21/Sep/2011:17:03:14 -0400] [Job 24] printer-state=5(stopped) D [21/Sep/2011:17:03:14 -0400] [Job 24] printer-state-message="Tea4CUPS (PID 414) : AttributeError: 'dict' object has no attribute 'operation_attributes'" D [21/Sep/2011:17:03:14 -0400] [Job 24] printer-state-reasons=paused E [21/Sep/2011:17:08:29 -0400] [Job 24] Stopping unresponsive job! Does anyone have any suggestions? David -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.pykota.com/pipermail/tea4cups/attachments/20110922/7dda355e/attachment.htm