Unicode Errors: Cups Log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Morning,

I am getting this seemingly random Unicode Decode error and can't really pin
point where to go for a fix. Some days I get this error on a printer once,
other days mulitple times. The only way to get the printer back from a
'paused' or 'stopped' state, that I have found is to clear out the log and
delete / reinstall the printer. (I made a script on the server to quickly
regenerate a cups / pykota printer).

Below is a log snippet from /var/log/cups/error_log and having the cups
error log setting on debug.

E [24/Oct/2006:12:52:24 -0500] [Job 14527] File
"/usr/lib/python2.4/site-packages/pykota/storages/mysqlstorage.py", line
131, in doModify
E [24/Oct/2006:12:52:24 -0500] [Job 14527] self.cursor.execute(query)
E [24/Oct/2006:12:52:24 -0500] [Job 14527] File
"/usr/lib/python2.4/site-packages/MySQLdb/cursors.py", line 146, in execute
E [24/Oct/2006:12:52:24 -0500] [Job 14527] query = query.encode(charset)
E [24/Oct/2006:12:52:24 -0500] [Job 14527] UnicodeDecodeError: 'ascii' codec
can't decode byte 0xe2 in position 389: ordinal
not in range(128)

Fedora Core 4
cups-1.1.23-15.4
python-2.4.1-2
Pykota  Megapack 2006-06-03
mysql-4.1.16-1.FC4.1

Any direction or advise would be greatly appreciated.

Thanks,

Aaron




-----------------------------------------
Disclaimer

If you have received this email in error, please delete it and do not  
divulge this information in any way.

Troy C.C.S.D. 30-C cannot accept responsibility for any loss or 
damage arising from the transmission to the recipient or from 
the recipient's use of this email or its attachments.

Any opinions presented in this email are solely those of the author
and do not necessarily represent those of Troy.  The person who sent
this email is personally responsible for any damages or other liability 
arising from its contents and the distribution of that content to others.
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux