← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 655611] Re: v6 TypeError and UnicodeDecodeError

 

*** This bug is a duplicate of bug 655495 ***
    https://bugs.launchpad.net/bugs/655495

** Project changed: openobject-server => openobject-client-web

** This bug has been marked a duplicate of bug 655495
   [trunk] Error when trying to install helpdesk module
 * You can subscribe to bug 655495 by following this link: https://bugs.launchpad.net/openobject-client-web/+bug/655495/+subscribe

-- 
v6 TypeError and UnicodeDecodeError
https://bugs.launchpad.net/bugs/655611
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.

Status in OpenObject Web Client: New

Bug description:
Hi,
using configurator (last sources),
I have this new errors, see log.
 with this error, the client web is unusuable, see error client web ( can you assign to client web if necessary).

log server :
[2010-10-06 11:32:15,503][admin] INFO:init:module document: loading test/document_test2.yml
[2010-10-06 11:32:15,780][admin] ERROR:addons.document.content_index:Cannot determine mime type
Traceback (most recent call last):
  File "d:\OpenERP AllInOne\Server\bin\addons\document\content_index.py", line 166, in doIndex
  File "subprocess.pyo", line 594, in __init__
  File "subprocess.pyo", line 822, in _execute_child
WindowsError: [Error 2] Le fichier spécifié est introuvable
[2010-10-06 11:32:15,838][admin] WARNING:tests.document:Assertion "NONAME" FAILED
test: file_type == 'text/plain'
values: ! False == text/plain
[2010-10-06 11:32:15,969][admin] ERROR:addons.document.content_index:Cannot determine mime type
Traceback (most recent call last):
  File "d:\OpenERP AllInOne\Server\bin\addons\document\content_index.py", line 166, in doIndex
  File "subprocess.pyo", line 594, in __init__
  File "subprocess.pyo", line 822, in _execute_child
WindowsError: [Error 2] Le fichier spécifié est introuvable
[2010-10-06 11:32:16,177][admin] INFO:i18n:module document: loading translation file for language fr
[2010-10-06 11:32:18,055][admin] INFO:init:module resource: no quality certificate
[2010-10-06 11:32:18,056][admin] INFO:init:module document_ftp: no quality certificate
[2010-10-06 11:32:18,056][admin] INFO:init:module document_ftp: loading wizard/ftp_configuration_view.xml
[2010-10-06 11:32:18,161][admin] INFO:init:module document_ftp: loading wizard/ftp_browse_view.xml
[2010-10-06 11:32:18,247][admin] INFO:init:module document_ftp: loading security/ir.model.access.csv
[2010-10-06 11:32:18,265][admin] INFO:init:module document_ftp: loading test/document_ftp_test2.yml
[2010-10-06 11:32:18,446][admin] ERROR:tests.document_ftp:connect() got an unexpected keyword argument 'timeout'
Traceback (most recent call last):
  File "tools\yaml_import.pyo", line 722, in process
  File "tools\yaml_import.pyo", line 737, in _process_node
  File "tools\yaml_import.pyo", line 412, in process_python
  File "d:\OpenERP AllInOne\Server\bin\addons\document_ftp\test\document_ftp_test2.yml", line 2, in <module>
  File "d:\OpenERP AllInOne\Server\bin\addons\document_ftp\test_easyftp.py", line 34, in get_plain_ftp
TypeError: connect() got an unexpected keyword argument 'timeout'
[2010-10-06 11:32:18,482][admin] INFO:init:module document_webdav: no quality certificate
[2010-10-06 11:32:18,516][admin] INFO:init:module wiki_faq: no quality certificate
[2010-10-06 11:32:18,516][admin] INFO:init:module wiki_faq: loading wiki_faq.xml
[2010-10-06 11:32:18,608][admin] INFO:i18n:module wiki_faq: loading translation file for language en_US
[2010-10-06 11:32:18,755][admin] INFO:i18n:module wiki_faq: loading translation file for language fr
[2010-10-06 11:32:18,903][admin] INFO:init:module wiki_quality_manual: no quality certificate
[2010-10-06 11:32:18,904][admin] INFO:init:module wiki_quality_manual: loading wiki_quality_manual.xml
[2010-10-06 11:32:18,967][admin] INFO:i18n:module wiki_quality_manual: loading translation file for language en_US
[2010-10-06 11:32:19,154][admin] INFO:i18n:module wiki_quality_manual: loading translation file for language fr
[2010-10-06 11:32:19,315][admin] INFO:init:module account_accountant: no quality certificate
[2010-10-06 11:32:19,319][admin] INFO:init:module procurement: no quality certificate
[2010-10-06 11:32:19,345][admin] WARNING:init:object mrp.workcenter (Work Center) has no access rules!
[2010-10-06 11:32:19,345][admin] WARNING:init:object mrp.routing (Routing) has no access rules!
[2010-10-06 11:32:19,345][admin] WARNING:init:object mrp.routing.workcenter (Workcenter Usage) has no access rules!
[2010-10-06 11:32:19,346][admin] WARNING:init:object mrp.bom (Bill of Material) has no access rules!
[2010-10-06 11:32:19,346][admin] WARNING:init:object mrp.bom.revision (Bill of Material Revision) has no access rules!
[2010-10-06 11:32:19,346][admin] WARNING:init:object mrp.production (Manufacturing Order) has no access rules!
[2010-10-06 11:32:19,346][admin] WARNING:init:object mrp.production.workcenter.line (Work Order) has no access rules!
[2010-10-06 11:32:19,346][admin] WARNING:init:object mrp.production.product.line (Production Scheduled Product) has no access rules!
[2010-10-06 11:32:19,348][admin] WARNING:init:object mrp.installer (mrp.installer) has no access rules!
[2010-10-06 11:32:19,348][admin] WARNING:init:object mrp.product.produce (Product Produce) has no access rules!
[2010-10-06 11:32:19,348][admin] WARNING:init:object mrp.product_price (Product Price) has no access rules!
[2010-10-06 11:32:19,348][admin] WARNING:init:object mrp.workcenter.load (Workcenter Load) has no access rules!
[2010-10-06 11:32:19,348][admin] WARNING:init:object change.production.qty (Change Quantity of Products) has no access rules!
[2010-10-06 11:32:19,348][admin] WARNING:init:object report.workcenter.load (Work Center Load) has no access rules!
[2010-10-06 11:32:19,348][admin] WARNING:init:object report.mrp.inout (Stock value variation) has no access rules!
[2010-10-06 11:32:19,348][admin] WARNING:init:object mrp.production.order (Production Order Report) has no access rules!
[2010-10-06 11:32:19,348][admin] WARNING:init:object crm.make.sale (Make sale) has no access rules!
[2010-10-06 11:32:19,348][admin] WARNING:init:object sale.order.make.line (Opportunity Sale Order Line) has no access rules!
[2010-10-06 11:32:19,903][admin] INFO:actions:getting next operation
[2010-10-06 11:32:19,904][admin] INFO:actions:getting next <base.ir.ir_actions.ir_actions_todo object at 0x04A3C7D0>
[2010-10-06 11:32:19,914][admin] INFO:actions:next action is browse_record(ir.actions.todo, 6)
[2010-10-06 11:32:56,187][admin] INFO:base.ir.module.module:Sending web content of modules [u'wiki'] to web client
[2010-10-06 11:32:56,413][admin] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
  File "osv\osv.pyo", line 57, in wrapper
  File "osv\osv.pyo", line 140, in execute
  File "osv\osv.pyo", line 130, in execute_cr
  File "d:\OpenERP AllInOne\Server\bin\addons\base\module\module.py", line 525, in get_web
  File "addons\__init__.pyo", line 229, in zip_directory
  File "addons\__init__.pyo", line 224, in _zippy
  File "zipfile.pyo", line 568, in write
  File "zipfile.pyo", line 260, in FileHeader
UnicodeDecodeError: 'ascii' codec can't decode byte 0x82 in position 11: ordinal not in range(128)

Error client web :
Unrecoverable error in the server.
Traceback (most recent call last):
  File "d:\OpenERP AllInOne\Web\python25\lib\site-packages\cherrypy-3.1.2-py2.5-win32.egg\cherrypy\_cprequest.py", line 541, in run
    self.respond(pi)
  File "d:\OpenERP AllInOne\Web\python25\lib\site-packages\cherrypy-3.1.2-py2.5-win32.egg\cherrypy\_cprequest.py", line 624, in respond
    self.handle_error()
  File "d:\OpenERP AllInOne\Web\python25\lib\site-packages\cherrypy-3.1.2-py2.5-win32.egg\cherrypy\_cprequest.py", line 746, in handle_error
    self.error_response()
  File "d:\openerp allinone\web\python25\lib\site-packages\openerp_web-6.0dev-py2.5.egg\openerp-web\addons\openerp\controllers\root.py", line 38, in _cp_on_error
    errorpage = cherrypy.request.pool.get_controller("/openerp/errorpage")
  File "d:\OpenERP AllInOne\Web\python25\lib\site-packages\cherrypy-3.1.2-py2.5-win32.egg\cherrypy\__init__.py", line 301, in __getattr__
    return getattr(child, name)
AttributeError: 'Request' object has no attribute 'pool'