[7.0] [Windows] Error "no module named numbers" on views that group by date/datetime fields (e.g project dashboard, some graph views, etc.)

Bug #1089801 reported by tienlvc
46
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Medium
OpenERP's Framework R&D

Bug Description

Hi all,

After setup a database with project module and OpenERP default demo data. Then I go to "Reporting\Dashboards\Project" to see Project dashboard, but it display an errors with the latest line is "no module named numbers" (The error dialog display 4 times).

This bug is just occur on windows environment, not on runbot server.

Thanks & Best regards,

Revision history for this message
Amit Bhavsar (Open ERP) (amb-openerp) wrote : Re: [Windows] Project dashboard errors : no module named numbers
summary: - Project dashboard errors on windows: no module named numbers
+ [Windows] Project dashboard errors : no module named numbers
affects: openobject-addons → openobject-server
Changed in openobject-server:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
Revision history for this message
Carlos Pueyo (cpueyo) wrote :

I have the same problem. Any solutions?

Thanks in advance.

Revision history for this message
Carlos Pueyo (cpueyo) wrote :

I see is something related with psycopg2

Revision history for this message
Carlos Pueyo (cpueyo) wrote :

After searching hours of internet information, I have found the problem.
The module "Numbers" is in the library "psycopg2" of python, released in version 2.6.
Are the libraries of openerp upgrade? Otherwise, how can we update them?

Revision history for this message
Marco (m-rauchenstein) wrote :

Are there any release notes about the frequently build night updates available?

Otherwise some Feedback about the status from the developers would be very helpful.

Revision history for this message
Marco (m-rauchenstein) wrote :

Any news on this issue?

regards
Marco

Revision history for this message
maopenerp (maopenerp) wrote :

Hi every body,

What should we do to update them : The module "Numbers" is in the library "psycopg2" of python?

Thanks in advance

Revision history for this message
Marco (m-rauchenstein) wrote :

Subject: OpenERP 7.0

As already described above this error only occurs on Windows based installation. On Linux this issue does not occur.

Is someone working on a solution for this issue?

regards
Marco

Revision history for this message
Andreas Brueckl (andreas-brueckl) wrote :

It seems that the file numbers.pyo is missing within the folder "Server\server\babel".

I have found the file in the linux version, but not in the windows version.

Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

A number of Python source files are missing in the Windows package, from inside the "babel" module, among which the "babel/numbers.py". This is because they are not directly imported by babel but only used at runtime to interpret the "locale" data. We need to fix the windows packaging to force py2exe to include these files nevertheless.

See also: http://www.py2exe.org/index.cgi/FAQ#How_does_py2exe_decide_which_modules_you_need.3F

In the mean time you can fix the issue by copying the "babel/numbers.py" into the "server\babel\" directory in your Windows installation. You can grab a copy of the number.py file from the babel source directly here:
   http://babel.edgewall.org/export/596/tags/0.9.6/babel/numbers.py

Changed in openobject-server:
milestone: none → 7.0
status: Confirmed → In Progress
summary: - [Windows] Project dashboard errors : no module named numbers
+ [7.0] [Windows] Project dashboard errors : no module named numbers
summary: - [7.0] [Windows] Project dashboard errors : no module named numbers
+ [7.0] [Windows] Error "no module named numbers" on views that group by
+ date/datetime fields (e.g project dashboard, some graph views, etc.)
Revision history for this message
Vo Minh Thu (thu) wrote :

This should be fixed in tomorrow's nightly build.

Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

The correction for the packaging script has landed in server 7.0 at rev. 4875 (rev-id: <email address hidden>), and should be available in the installation packages as of tomorrow, as Thu said.

Thanks for reporting!

Changed in openobject-server:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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