(original) (raw)

Hi Paulus,

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

Thanks
-Tony

Begin forwarded message:

Date: January 23, 2009 11:00:01 AM PST
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 save\_to\_products\_table
   self.save\_to\_products\_table2(kinds)
 File "/opt/printra/lib/python/printra/sossite/KindManager.py", line 344, in save\_to\_products\_table2
   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 \_buy\_price
   return coerce\_qtyspec(kind.buy\_qtyspec).price\_for\_qty(1)
 File "/opt/printra/lib/python/printra/sossite/Sos2qtyspec.py", line 778, in price\_for\_qty
   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−67.42'), (6000, '6000 - 67.42),(6000,6000356.52'), (10000, '10000 - $486.2')\]

Menu user: rolando
Script: /inet/www/clients/cityoftoronto/index.cgi
Machine: siteserver3
Directory: /mnt/sitenfs2\_clients/cityoftoronto