CentOS - NET-RPC : socket throws float conversion error

Bug #410301 reported by os33
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo GTK Client (MOVED TO GITHUB)
Won't Fix
Undecided
Unassigned

Bug Description

In OpenERP Client the Analytic Chart of Accounts show only several lines with 0,00 (it's correct in web client= name of the account+dates).
Cliking on a line : bug could'nt convert string to float

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello Olivier Sommier,

Tell us which environment are you using?
Would you please send us the traceback?

Thank you.

Changed in openobject-client:
status: New → Incomplete
Revision history for this message
os33 (olivier-sommier) wrote :

Hello Jay
I'm using OpenERP - GTK Client - v5.0.1

The bug occurs only in NET-RPC not in XML-RPC

Traceback (most recent call last):
  File "modules\gui\window\tree.pyo", line 194, in sig_open
  File "modules\gui\window\tree.pyo", line 188, in sig_action
  File "modules\action\main.pyo", line 182, in exec_keyword
  File "modules\action\main.pyo", line 128, in _exec_action
  File "modules\gui\window\__init__.pyo", line 51, in create
  File "modules\gui\window\form.pyo", line 137, in __init__
  File "widget\screen\screen.pyo", line 202, in search_filter
  File "widget\screen\screen.pyo", line 532, in load
  File "widget\model\group.pyo", line 186, in load
  File "rpc.pyo", line 335, in __call__
  File "rpc.pyo", line 169, in rpc_exec_auth
  File "rpc.pyo", line 112, in exec_auth
  File "rpc.pyo", line 118, in execute
  File "tiny_socket.pyo", line 77, in myreceive
ValueError: could not convert string to float

The same bug in the Project structure view :
Traceback (most recent call last):
  File "modules\gui\window\tree.pyo", line 194, in sig_open
  File "modules\gui\window\tree.pyo", line 188, in sig_action
  File "modules\action\main.pyo", line 182, in exec_keyword
  File "modules\action\main.pyo", line 128, in _exec_action
  File "modules\gui\window\__init__.pyo", line 51, in create
  File "modules\gui\window\form.pyo", line 137, in __init__
  File "widget\screen\screen.pyo", line 202, in search_filter
  File "widget\screen\screen.pyo", line 532, in load
  File "widget\model\group.pyo", line 186, in load
  File "rpc.pyo", line 335, in __call__
  File "rpc.pyo", line 169, in rpc_exec_auth
  File "rpc.pyo", line 112, in exec_auth
  File "rpc.pyo", line 118, in execute
  File "tiny_socket.pyo", line 77, in myreceive
ValueError: could not convert string to float

Changed in openobject-client:
status: Incomplete → New
Changed in openobject-client:
assignee: nobody → ssi(Tiny/Axelor) (ssi)
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello Olivier Sommier,

We tried with various ways, but could not reproduce the same.

Can you please check with 5.0.2 ? and describe your problem in detail?

Tell us the exact flow you are following.

Thanks.

Changed in openobject-client:
status: New → Incomplete
Revision history for this message
os33 (olivier-sommier) wrote :
Download full text (3.3 KiB)

Hello Jay,

I tried with 5.0.3.

 Financial management>charts>Analytic Account Charts
*with XML RPC :works fine
*with Net RPC :still empty fields or 0,00 but when clicking on a line an error occurs only (?) if the account contains severals entries :

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_FR.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 5.0.3
Last revision No. & ID :Bazaar Package not Found !could not convert string to float

log of the day
C:\Program Files\OpenERP Client\library.zip\modules\gui\main.py:1095: GtkWarning: Failed to set text from markup due to error parsing markup: Erreur à la ligne 2, caractère 57 : L'élément « markup » a été fermé, mais l'élément actuellement ouvert est « b »
Traceback (most recent call last):
  File "modules\gui\window\tree.pyo", line 194, in sig_open
  File "modules\gui\window\tree.pyo", line 188, in sig_action
  File "modules\action\main.pyo", line 180, in exec_keyword
  File "modules\action\main.pyo", line 128, in _exec_action
  File "modules\gui\window\__init__.pyo", line 51, in create
  File "modules\gui\window\form.pyo", line 137, in __init__
  File "widget\screen\screen.pyo", line 202, in search_filter
  File "widget\screen\screen.pyo", line 532, in load
  File "widget\model\group.pyo", line 186, in load
  File "rpc.pyo", line 341, in __call__
  File "rpc.pyo", line 169, in rpc_exec_auth
  File "rpc.pyo", line 112, in exec_auth
  File "rpc.pyo", line 118, in execute
  File "tiny_socket.pyo", line 77, in myreceive
ValueError: could not convert string to float
Traceback (most recent call last):
  File "modules\gui\window\tree.pyo", line 194, in sig_open
  File "modules\gui\window\tree.pyo", line 188, in sig_action
  File "modules\action\main.pyo", line 180, in exec_keyword
  File "modules\action\main.pyo", line 128, in _exec_action
  File "modules\gui\window\__init__.pyo", line 51, in create
  File "modules\gui\window\form.pyo", line 137, in __init__
  File "widget\screen\screen.pyo", line 202, in search_filter
  File "widget\screen\screen.pyo", line 532, in load
  File "widget\model\group.pyo", line 186, in load
  File "rpc.pyo", line 341, in __call__
  File "rpc.pyo", line 169, in rpc_exec_auth
  File "rpc.pyo", line 112, in exec_auth
  File "rpc.pyo", line 118, in execute
  File "tiny_socket.pyo", line 77, in myreceive
ValueError: could not convert string to float
Traceback (most recent call last):
  File "modules\gui\window\tree.pyo", line 194, in sig_open
  File "modules\gui\window\tree.pyo", line 188, in sig_action
  File "modules\action\main.pyo", line 180, in exec_keyword
  File "modules\action\main.pyo", line 128, in _exec_action
  File "modules\gui\window\__init__.pyo", line 51, in create
  File "modules\gui\window\form.pyo", line 137, in __init__
  File "widget\screen\screen.pyo", line 202, in search_filter
  File "widget\screen\screen.pyo", line 532, in load
  File "widget\model\group.pyo", line 186, in load
  File "rpc.pyo", line 341, in __call__
  File "rpc.pyo", line 169, in rpc_exec_auth
  File "rpc.pyo", line ...

Read more...

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello Olivier Sommier,

We still couldn't find the similar error.

Can you confirm again please? So we can investigate more.

Thank you.

Revision history for this message
os33 (olivier-sommier) wrote :

Hello Jay,

I tried with GTK 5.0.6 and it's ok now :-).

You can close this bug.

I think it was a CentOS issue. We moved to unbutu to avoid this kind of problem.

Thanks for your help

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Thank you for your kind response.

Changed in openobject-client:
status: Incomplete → Invalid
Revision history for this message
jpb (b-jph) wrote :

Hello,

I've just been reading these comments and I've exactly the same problem
whatever I use : client GTK 5.0.6 or openerp-web.
The problem occurs only in NET-RPC not in XML-RPC
openerp-server runs on a centos 5.4 (x64)

It occurs when I go to the form : partner>configuration>partner events>states of mind
The database was created with demonstration data and with default language is french

Traceback (most recent call last):
  File "modules\gui\main.pyo", line 1028, in sig_login
  File "modules\gui\main.pyo", line 1157, in sig_home_new
  File "modules\gui\main.pyo", line 1145, in sig_win_new
  File "modules\action\main.pyo", line 79, in execute
  File "modules\action\main.pyo", line 128, in _exec_action
  File "modules\gui\window\__init__.pyo", line 51, in create
  File "modules\gui\window\form.pyo", line 77, in __init__
  File "widget\screen\screen.pyo", line 101, in __init__
  File "widget\screen\screen.pyo", line 544, in display
  File "widget\view\form.pyo", line 400, in display
  File "widget\view\form.pyo", line 44, in display
  File "widget\view\form_gtk\action.pyo", line 106, in display
  File "widget\screen\screen.pyo", line 532, in load
  File "widget\model\group.pyo", line 186, in load
  File "rpc.pyo", line 341, in __call__
  File "rpc.pyo", line 169, in rpc_exec_auth
  File "rpc.pyo", line 112, in exec_auth
  File "rpc.pyo", line 118, in execute
  File "tiny_socket.pyo", line 77, in myreceive
ValueError: could not convert string to float

If someone have a clue or advice to solve this problem, by advance thank you

summary: - Analytic Chart of Accounts (tree view)
+ CentOS - NET-RPC : socket throws float conversion error
Changed in openobject-client:
status: Invalid → New
Changed in openobject-client:
assignee: ssi (Open ERP) (ssi) → nobody
status: New → Won't Fix
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

Bug attachments

Remote bug watches

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