I have following two problems:

   1. I get error on Country when I run tryton_demo.py script. How do I 
   correct it?
   2. I get warning signs Unable to load plugin 'chart'
     warnings.warn("Unable to load plugin '%s'" % name)     => Is that OK? 
   How to resolve it?
   
Error message below:


./tryton_demo.py sqlite:///demo

/home/ubuntu/Envs/tryton/local/lib/python2.7/site-packages/relatorio/templates/__init__.py:29:
 
UserWarning: Unable to load plugin 'chart'
  warnings.warn("Unable to load plugin '%s'" % name)
/home/ubuntu/Envs/tryton/local/lib/python2.7/site-packages/trytond/backend/sqlite/table.py:244:
 
UserWarning: Unable to drop foreign key with SQLite backend
  warnings.warn('Unable to drop foreign key with SQLite backend')
/home/ubuntu/Envs/tryton/local/lib/python2.7/site-packages/trytond/backend/sqlite/table.py:279:
 
UserWarning: Unable to remove not null with SQLite backend
  warnings.warn('Unable to remove not null with SQLite backend')
/home/ubuntu/Envs/tryton/local/lib/python2.7/site-packages/trytond/backend/sqlite/table.py:277:
 
UserWarning: Unable to set not null with SQLite backend
  warnings.warn('Unable to set not null with SQLite backend')
/home/ubuntu/Envs/tryton/local/lib/python2.7/site-packages/trytond/backend/sqlite/table.py:241:
 
UserWarning: Unable to add foreign key with SQLite backend
  warnings.warn('Unable to add foreign key with SQLite backend')
/home/ubuntu/Envs/tryton/local/lib/python2.7/site-packages/trytond/backend/sqlite/table.py:177:
 
UserWarning: Unable to set default on column with SQLite backend
  warnings.warn('Unable to set default on column with SQLite backend')
No handlers could be found for logger "trytond.backend.sqlite.table"
/home/ubuntu/Envs/tryton/local/lib/python2.7/site-packages/trytond/backend/sqlite/table.py:284:
 
UserWarning: Unable to add constraint with SQLite backend
  warnings.warn('Unable to add constraint with SQLite backend')
/home/ubuntu/Envs/tryton/local/lib/python2.7/site-packages/trytond/backend/sqlite/table.py:290:
 
UserWarning: Unable to drop column with SQLite backend
  warnings.warn('Unable to drop column with SQLite backend')
/home/ubuntu/Envs/tryton/local/lib/python2.7/site-packages/trytond/backend/sqlite/table.py:287:
 
UserWarning: Unable to drop constraint with SQLite backend
  warnings.warn('Unable to drop constraint with SQLite backend')
Traceback (most recent call last):
  File "./tryton_demo.py", line 733, in <module>
    main(database, options.modules, options.demo_password)
  File "./tryton_demo.py", line 657, in main
    customers, suppliers = setup_party(config, modules)
  File "./tryton_demo.py", line 53, in setup_party
    us, = Country.find([('code', '=', 'US')])
ValueError: need more than 0 values to unpack
(tryton) ubuntu@ip-172-30-0-170:~/sumpurn/tryton$ 

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/5a4ee9bb-dbc7-466c-9934-d75e63013a0e%40googlegroups.com.

Reply via email to