[Python-Dev] Fwd: [ALERT] cityoftoronto: problem saving to products table (original) (raw)

Tony Lownds tony at pagedna.com
Fri Jan 23 20:09:08 CET 2009


Hi Paulus,

Have you fixed these aerts before? We need a script to fix these alerts.

Thanks -Tony

Begin forwarded message:

From: support+dev at pagedna.com Date: January 23, 2009 11:00:01 AM PST To: problems at pagedna.com Subject: [ALERT] cityoftoronto: problem saving to products table

problem saving to products table Traceback (most recent call last): File "/opt/printra/lib/python/printra/sossite/KindManager.py", line 325, in savetoproductstable self.savetoproductstable2(kinds) File "/opt/printra/lib/python/printra/sossite/KindManager.py", line 344, in savetoproductstable2 if dbkind.update(site, kind): File "/opt/printra/lib/python/printra/sossite/KindManager.py", line 490, in update v = fn(kind) File "/opt/printra/lib/python/printra/sossite/KindManager.py", line 474, in buyprice return coerceqtyspec(kind.buyqtyspec).priceforqty(1) File "/opt/printra/lib/python/printra/sossite/Sos2qtyspec.py", line 778, in priceforqty q, p, l = qtypricesplit(q) File "/opt/printra/lib/python/printra/sossite/Sos2qtyspec.py", line 671, in qtypricesplit raise ValueError, "bad tuple to qtyonly: %s" % t ValueError: bad tuple to qtyonly: [(1000, '1000 - $67.42'), (6000, '6000 - 356.52′),(10000,′10000−356.52'), (10000, '10000 - 356.52),(10000,10000486.2')] Menu user: rolando Script: /inet/www/clients/cityoftoronto/index.cgi Machine: siteserver3 Directory: /mnt/sitenfs2clients/cityoftoronto

-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20090123/a96d9de9/attachment.htm>



More information about the Python-Dev mailing list