[Stoq-users] Erro ao Executar o módulo ponto de vendas e a opção de pagamento for cartão de crédito
Alexandre Navarro
alexandrenavarro em gmail.com
Sexta Junho 15 16:22:03 BRT 2007
Senhores ao executar o módulo de Ponto de Vendas do Sotq quando eu insiro um
produto e seleciono a forma de pagamento como sendo Cartão de Crédito
acontece o erro abaixo que reportarei abaixo. Alguém sabe como resolver o
mesmo?
/usr/share/stoq/glade/SelectApplicationsSlave.glade:???: DeprecationWarning:
while loading glade file: use the gtk.Container.list_child_propertiesclassmethod
Traceback (most recent call last):
File "/var/lib/python-support/python2.4/stoq/gui/pos/pos.py", line 650, in
on_checkout_button__clicked
self._checkout()
File "/var/lib/python-support/python2.4/stoq/gui/pos/pos.py", line 417, in
_checkout
if not self._finish_coupon():
File "/var/lib/python-support/python2.4/stoq/gui/pos/pos.py", line 472, in
_finish_coupon
has_payments = self._coupon.setup_payments()
File "/var/lib/python-support/python2.4/stoqlib/gui/fiscalprinter.py",
line 213, in setup_payments
return super(FiscalCouponHelper, self).setup_payments()
File "/var/lib/python-support/python2.4/stoqlib/drivers/fiscalprinter.py",
line 437, in setup_payments
raise TypeError(
TypeError: There is the same identifier for two different payment method
interfaces. The identifier is 3
Traceback (most recent call last):
File "/var/lib/python-support/python2.4/stoq/gui/pos/pos.py", line 650, in
on_checkout_button__clicked
self._checkout()
File "/var/lib/python-support/python2.4/stoq/gui/pos/pos.py", line 416, in
_checkout
if self.run_dialog(ConfirmSaleWizard, self.conn, self.sale):
File "/var/lib/python-support/python2.4/stoqlib/gui/base/application.py",
line 117, in run_dialog
return run_dialog(dialog_class, self, *args, **kwargs)
File "/var/lib/python-support/python2.4/stoqlib/gui/base/dialogs.py", line
476, in run_dialog
dialog = get_dialog(parent, dialog, *args, **kwargs)
File "/var/lib/python-support/python2.4/stoqlib/gui/base/dialogs.py", line
445, in get_dialog
dialog = dialog(*args, **kwargs)
File
"/var/lib/python-support/python2.4/stoqlib/gui/wizards/salewizard.py", line
773, in __init__
self.model.order()
File "/var/lib/python-support/python2.4/stoqlib/domain/sale.py", line 240,
in order
assert self.can_order()
AssertionError
Traceback (most recent call last):
File "/var/lib/python-support/python2.4/stoq/gui/pos/pos.py", line 650, in
on_checkout_button__clicked
self._checkout()
File "/var/lib/python-support/python2.4/stoq/gui/pos/pos.py", line 416, in
_checkout
if self.run_dialog(ConfirmSaleWizard, self.conn, self.sale):
File "/var/lib/python-support/python2.4/stoqlib/gui/base/application.py",
line 117, in run_dialog
return run_dialog(dialog_class, self, *args, **kwargs)
File "/var/lib/python-support/python2.4/stoqlib/gui/base/dialogs.py", line
476, in run_dialog
dialog = get_dialog(parent, dialog, *args, **kwargs)
File "/var/lib/python-support/python2.4/stoqlib/gui/base/dialogs.py", line
445, in get_dialog
dialog = dialog(*args, **kwargs)
File
"/var/lib/python-support/python2.4/stoqlib/gui/wizards/salewizard.py", line
773, in __init__
self.model.order()
File "/var/lib/python-support/python2.4/stoqlib/domain/sale.py", line 240,
in order
assert self.can_order()
AssertionError
Traceback (most recent call last):
File "/var/lib/python-support/python2.4/stoq/gui/pos/pos.py", line 619, in
on_advanced_search__clicked
self._run_advanced_search()
File "/var/lib/python-support/python2.4/stoq/gui/pos/pos.py", line 257, in
_run_advanced_search
self._update_list(sellable)
File "/var/lib/python-support/python2.4/kiwi/argcheck.py", line 180, in
wrapper
return func(*args, **kwargs)
File "/var/lib/python-support/python2.4/stoq/gui/pos/pos.py", line 177, in
_update_list
self._update_added_item(sellable_item)
File "/var/lib/python-support/python2.4/stoq/gui/pos/pos.py", line 145, in
_update_added_item
if self._coupon_add_item(sellable_item) == -1:
File "/var/lib/python-support/python2.4/stoq/gui/pos/pos.py", line 492, in
_coupon_add_item
return self._coupon.add_item(sellable_item)
File "/var/lib/python-support/python2.4/kiwi/argcheck.py", line 180, in
wrapper
return func(*args, **kwargs)
File "/var/lib/python-support/python2.4/stoqlib/drivers/fiscalprinter.py",
line 317, in add_item
unit_desc=unit_desc)
File "/var/lib/python-support/python2.4/kiwi/argcheck.py", line 180, in
wrapper
return func(*args, **kwargs)
File
"/var/lib/python-support/python2.4/stoqdrivers/devices/printers/fiscal.py",
line 121, in add_item
raise AlreadyTotalized("the coupon is already totalized, you "
AlreadyTotalized: the coupon is already totalized, you can't add more items
alexandre em alexandre-desktop:~$ cl
cleanlinks clear cli cli-wrapper
cleanup-info clear_console cli-gacutil clusterdb
alexandre em alexandre-desktop:~$ clear
alexandre em alexandre-desktop:~$ stoq
/usr/share/stoq/glade/SelectApplicationsSlave.glade:???: DeprecationWarning:
while loading glade file: use the gtk.Container.list_child_propertiesclassmethod
Traceback (most recent call last):
File "/var/lib/python-support/python2.4/stoq/gui/pos/pos.py", line 650, in
on_checkout_button__clicked
self._checkout()
File "/var/lib/python-support/python2.4/stoq/gui/pos/pos.py", line 417, in
_checkout
if not self._finish_coupon():
File "/var/lib/python-support/python2.4/stoq/gui/pos/pos.py", line 472, in
_finish_coupon
has_payments = self._coupon.setup_payments()
File "/var/lib/python-support/python2.4/stoqlib/gui/fiscalprinter.py",
line 213, in setup_payments
return super(FiscalCouponHelper, self).setup_payments()
File "/var/lib/python-support/python2.4/stoqlib/drivers/fiscalprinter.py",
line 437, in setup_payments
raise TypeError(
TypeError: There is the same identifier for two different payment method
interfaces. The identifier is 3
Traceback (most recent call last):
File "/var/lib/python-support/python2.4/stoq/gui/pos/pos.py", line 650, in
on_checkout_button__clicked
self._checkout()
File "/var/lib/python-support/python2.4/stoq/gui/pos/pos.py", line 416, in
_checkout
if self.run_dialog(ConfirmSaleWizard, self.conn, self.sale):
File "/var/lib/python-support/python2.4/stoqlib/gui/base/application.py",
line 117, in run_dialog
return run_dialog(dialog_class, self, *args, **kwargs)
File "/var/lib/python-support/python2.4/stoqlib/gui/base/dialogs.py", line
476, in run_dialog
dialog = get_dialog(parent, dialog, *args, **kwargs)
File "/var/lib/python-support/python2.4/stoqlib/gui/base/dialogs.py", line
445, in get_dialog
dialog = dialog(*args, **kwargs)
File
"/var/lib/python-support/python2.4/stoqlib/gui/wizards/salewizard.py", line
773, in __init__
self.model.order()
File "/var/lib/python-support/python2.4/stoqlib/domain/sale.py", line 240,
in order
assert self.can_order()
AssertionError
Mais detalhes sobre a lista de discussão Stoq-users