Advertisement
Guest User

Untitled

a guest
May 27th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.77 KB | None | 0 0
  1. Error while processing row 2 <CSV line supplier_name=u'Cia de Roupas S\xe3o Carlos', transporter_name=u'Jos\xe9 Carlos de Carvalho', branch_name=u'Async Open Source', user_name=u'Maria Aparecida Ardana', payment_method=u'money', due_date=u'2008-01-01', sellable_list=u'*', invoice=u'1', quantity=u'5'>
  2.  
  3. Traceback (most recent call last):
  4. File "/home/silvio/devel/IPF/kiwi/kiwi/ui/wizard.py", line 111, in on_next_button__clicked
  5. self._change_step(self._current.next_step())
  6. File "/home/silvio/devel/IPF/stoq/stoq/gui/config.py", line 420, in next_step
  7. create_examples(utilities=True)
  8. File "/home/silvio/devel/IPF/stoqlib/stoqlib/importers/stoqlibexamples.py", line 72, in create
  9. _import_one(PurchaseImporter, 'purchases.csv')
  10. File "/home/silvio/devel/IPF/stoqlib/stoqlib/importers/stoqlibexamples.py", line 48, in _import_one
  11. imp.feed_file(environ.find_resource('csv', filename))
  12. File "/home/silvio/devel/IPF/stoqlib/stoqlib/importers/csvimporter.py", line 96, in feed_file
  13. self.feed(open(filename), filename, skip=skip)
  14. File "/home/silvio/devel/IPF/stoqlib/stoqlib/importers/csvimporter.py", line 131, in feed
  15. self.process_one(row, row.fields, trans)
  16. File "/home/silvio/devel/IPF/stoqlib/stoqlib/importers/purchaseimporter.py", line 80, in process_one
  17. branch=branch)
  18. File "/home/silvio/devel/IPF/stoqlib/external/sqlobject/declarative.py", line 93, in _wrapper
  19. return_value = fn(self, *args, **kwargs)
  20. File "/home/silvio/devel/IPF/stoqlib/stoqlib/domain/base.py", line 197, in __init__
  21. BaseDomain.__init__(self, *args, **kwargs)
  22. File "/home/silvio/devel/IPF/stoqlib/external/sqlobject/declarative.py", line 93, in _wrapper
  23. return_value = fn(self, *args, **kwargs)
  24. File "/home/silvio/devel/IPF/stoqlib/external/sqlobject/main.py", line 1219, in __init__
  25. self._create(id, **kw)
  26. File "/home/silvio/devel/IPF/stoqlib/stoqlib/domain/base.py", line 206, in _create
  27. BaseDomain._create(self, id, **kw)
  28. File "/home/silvio/devel/IPF/stoqlib/stoqlib/domain/base.py", line 148, in _create
  29. super(AbstractModel, self)._create(*args, **kwargs)
  30. File "/home/silvio/devel/IPF/stoqlib/external/sqlobject/main.py", line 1248, in _create
  31. self._SO_finishCreate(id)
  32. File "/home/silvio/devel/IPF/stoqlib/external/sqlobject/main.py", line 1273, in _SO_finishCreate
  33. id, names, values)
  34. File "/home/silvio/devel/IPF/stoqlib/external/sqlobject/dbconnection.py", line 817, in queryInsertID
  35. self._connection, soInstance, id, names, values)
  36. File "/home/silvio/devel/IPF/stoqlib/external/sqlobject/postgres/pgconnection.py", line 130, in _queryInsertID
  37. c.execute(q)
  38. ProgrammingError: ERRO: coluna "product_type" da relação "purchase_order" não existe
  39. LINHA 1: ..., quote_deadline, te_modified_id, is_valid_model, product_ty...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement