Cannot install 'openerp' module

Bug #623956 reported by forstera
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web Client
Invalid
Undecided
Unassigned

Bug Description

Environment Information :
System : Windows-XP-5.1.2600-SP3
OS Name : nt
Operating System Release : XP
Operating System Version : 5.1.2600
Operating System Architecture : 32bit
Operating System Locale : fr_CH.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 6.0dev
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 431, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 626, in dispatch
    res = fn(db, uid, *params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 653, in exp_execute
    return self._execute(db, uid, wiz_id, datas, action, context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 635, in _execute
    return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/wizard/__init__.py", line 177, in execute
    res = self.execute_cr(cr, uid, data, state, context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/wizard/__init__.py", line 72, in execute_cr
    action_res = action(self, cr, uid, data, context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/module/wizard/wizard_module_upgrade.py", line 83, in _upgrade_module
    db, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/pooler.py", line 62, in restart_pool
    return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/pooler.py", line 39, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 830, in load_modules
    r = load_module_graph(cr, graph, status, report=report)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 687, in load_module_graph
    register_class(package.name)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 430, in register_class
    imp.load_module(m, *fm)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/openerp/__init__.py", line 2, in <module>
    import widgets
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/openerp/widgets/__init__.py", line 4, in <module>
    from _views import *
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/openerp/widgets/_views.py", line 3, in <module>
    from openerp.utils import rpc
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/openerp/utils/__init__.py", line 2, in <module>
    import rpc_utils
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/openerp/utils/rpc_utils.py", line 36, in <module>
    init_rpc_session()
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/openerp/utils/rpc_utils.py", line 34, in init_rpc_session
    rpc.initialize(host, port, protocol, storage=CPSessionWrapper())
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/openerp/utils/rpc.py", line 372, in initialize
    session = RPCSession(host, port, protocol, storage=storage)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/openerp/utils/rpc.py", line 244, in __init__
    raise common.message(_("Unsupported protocol."))
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/openerp/utils/common.py", line 78, in message
    raise TinyMessage(message=msg)
TinyMessage: <unprintable TinyMessage object>

Revision history for this message
Navrang Oza (noz-tiny) wrote :

Hello forstera,

You are talking about Web Client or GTK Client ?
It seems that you are trying for GTK client ?

Thanks.

Changed in openobject-client-web:
status: New → Incomplete
Revision history for this message
forstera (arnaud-forster-deactivatedaccount) wrote :

Hello noz,
yes, it's the module included in the web client,
thanks

Revision history for this message
Navrang Oza (noz-tiny) wrote :

Can you describe which steps you are following to install ?
Thanks.

Revision history for this message
forstera (arnaud-forster-deactivatedaccount) wrote :

Ok, I just downloaded the last version from the trunk and copied it to my addons directory.
From there, I'm using the gtk client. There, I updated the list of my modules. The module is dislayed in the list and I saw it requested for other modules.
Then I choosed it to be installed and when I click on upgrade, I get the error.
thanks

Revision history for this message
Navrang Oza (noz-tiny) wrote :

Hello forstera,

You are using Web Client first time ?

Revision history for this message
forstera (arnaud-forster-deactivatedaccount) wrote :

oops, good question. To be honest, I don't remember. but it's possible. If I remember, the first problem occured when creating a new database, I had to choose the kind of installation I wanted. Then the system choosed the modules to install ..

This is installed on my test server, so If you need, I can make the tests you want ...

Revision history for this message
Navrang Oza (noz-tiny) wrote :

You have to run Web Client as an individual client, not as a module.
It seems like you are running one client from another client.

I dont understand, but do you want to run Web Client ? or you want to use `openerp` module of Web Client ? in GTK client ? (Then not possible)

Thanks.

Revision history for this message
forstera (arnaud-forster-deactivatedaccount) wrote :

I probably miss something. I think i made an error. I just wanted to install the web client to be able to connect to my erp using web. So, I downloaded the files in the trunk and I started the openerp-web.py. This is working fine.
But now, in the trung there's a directory called addons, so I though I had to copy the content of this directory in the addons of the server which seems to be wrong. In this directory I found the following modules : view_calendar, view_diagram, view_graph, widget_ckeditor and widget_wiki. They all need the openerp module to work. So I think that i dont need these files ...
Thanks

Revision history for this message
Navrang Oza (noz-tiny) wrote :

Now everything fine ?

Revision history for this message
forstera (arnaud-forster-deactivatedaccount) wrote :

I removed the files from my addons directory so it's not possible anymore trying to install these modules. If it's the right way, yes everything's fine now.
Thanks

Revision history for this message
Navrang Oza (noz-tiny) wrote :

Yes, you can not install this module individually.
It is not implemented as an addon for Tiny Server supported.

Thanks.

Changed in openobject-client-web:
status: Incomplete → Invalid
milestone: none → 6.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.