From: SourceForge.net <no...@so...> - 2005-02-21 03:00:06
|
Bugs item #896600, was opened at 2004-02-13 11:23 Message generated for change (Settings changed) made by ballie01 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116528&aid=896600&group_id=16528 Category: PgSQL Group: None >Status: Pending >Resolution: Fixed Priority: 6 Submitted By: Dick Kniep (dickkniep) Assigned to: Billy G. Allie (ballie01) Summary: Simple calling error Initial Comment: Enclosed an error listing which looks very easy to fix File "/home/dick/Clienten/src/Hoofdframe.py", line 297, in self.FactuurProductlist.BldList(clear=Opendb.TableObjs.RebuildFactList) File "/home/dick/Clienten/src/DefColumns.py", line 479, in BldList self.ShowScrn = self.VulScherm() File "/home/dick/Clienten/src/DefColumns.py", line 528, in VulScherm self.Vulrij(rec, self.n) File "/home/dick/Clienten/src/DefColumns.py", line 576, in Vulrij self.VulSchermKolommen(rec, teller) File "/home/dick/Clienten/src/DefColumns.py", line 658, in VulSchermKolommen strfld = self.GetField(kolom, fetchroutine, h, rec) File "/home/dick/Clienten/src/DefColumns.py", line 676, in GetField strfld = fetchroutine(rec, kolom) File "/home/dick/Clienten/src/Hoofdframe.py", line 65, in <lambda> ("regelprijs", lambda rec, veld: self.getRegelPrijs(rec),"Regelprijs")) File "/home/dick/Clienten/src/Hoofdframe.py", line 127, in getRegelPrijs return str(rec.contractprijs * rec.aantal) File "/usr/lib/python2.3/site-packages/pyPgSQL/PgSQL.py", line 1598, in __rmul__ return self.__mul__(self, other) TypeError: __mul__() takes exactly 2 arguments (3 given) Obviously this should be: return self.__mul__(other) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116528&aid=896600&group_id=16528 |