Bugs item #1705205, was opened at 2007-04-22 21:53
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=723099&aid=1705205&group_id=132078

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: tpclient-pywx
Group: Bug - Protocol
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Lee Begg (llnz)
Assigned to: Tim Ansell (mithro)
Summary: Can not add orders

Initial Comment:
tpclient-pywx (master/stable) can not add orders. When trying to add an order, 
this traceback is given:

Traceback (most recent call last):
  File "/home/lee/oss_projects/tp-py/tpclient-pywx/windows/winOrder.py", line 
488, in OnOrderNew
    new = objects.Order(*args)
  File "/home/lee/oss_projects/tp-py/tpclient-pywx/tp/netlib/objects/Order.py", 
line 53, in __init__
    apply(self.__class__.__init__, args)
  File 
"/home/lee/oss_projects/tp-py/tpclient-pywx/tp/netlib/objects/OrderDesc.py", 
line 93, in __init__
    self.length = len(self.__str__()) - Header.size
  File 
"/home/lee/oss_projects/tp-py/tpclient-pywx/tp/netlib/objects/OrderDesc.py", 
line 106, in __str__
    output = Order.__str__(self)
  File "/home/lee/oss_projects/tp-py/tpclient-pywx/tp/netlib/objects/Order.py", 
line 73, in __str__
    output = Describable.__str__(self)
  File 
"/home/lee/oss_projects/tp-py/tpclient-pywx/tp/netlib/objects/Header.py", line 
100, in __str__
    output = pack(Header.struct, self.protocol, self.sequence, self._type, 
self.length)
  File "/home/lee/oss_projects/tp-py/tpclient-pywx/tp/netlib/xstruct.py", line 
144, in pack
    raise TypeError("Argument must be positive (to pack to %s) not %s" % (char, 
a))
TypeError: Argument must be positive (to pack to I) not -1



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=723099&aid=1705205&group_id=132078
_______________________________________________
tp-bugs mailing list
[email protected]
http://mail.thousandparsec.net/cgi-bin/mailman/listinfo/tp-bugs

Reply via email to