xmlrpc protocol error

Bug #333776 reported by Shah Japan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

in windows openerp-server 5 release is not working....not even trunk version....

older version of openerp and tinyerp 4.x servers are working fine with the xmlrpc protocol.

here is the traceback....

d:\Axelor\bzr_workspace>python
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import xmlrpclib
>>> sock= xmlrpclib.ServerProxy("http://localhost:8069/xmlrpc/common")
>>> sock.login('outlook','admin','admin')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "c:\python25\lib\xmlrpclib.py", line 1148, in __call__
    return self.__send(self.__name, args)
  File "c:\python25\lib\xmlrpclib.py", line 1438, in __request
    verbose=self.__verbose
  File "c:\python25\lib\xmlrpclib.py", line 1192, in request
    headers
xmlrpclib.ProtocolError: <ProtocolError for localhost:8069/xmlrpc/common: 404 Not Found>
>>>

Revision history for this message
Shah Japan (jsh.axelor) wrote :

Here is the temporary solution see the attached patch for the netsvc.py

Revision history for this message
Shah Japan (jsh.axelor) wrote :

Here is the temporary solution see the attached patch for the netsvc.py

Revision history for this message
Christophe Simonis (OpenERP) (kangol) wrote :

can you provide the traceback of the server ?

Changed in openobject-server:
status: New → Incomplete
Revision history for this message
Shah Japan (jsh.axelor) wrote :

there are no errors / warnings.

neither on server not on client, nothing is working.

Revision history for this message
ken (kva-axelor) wrote :

OpenERP server not working on windows..

Seems there is a problem in netsvc.py file

Scenario:
    OpenERP server..Platform->Windows
    OpenERP Client..Platform ->Widows

Problems faced :
     xmlrpc protocol not working (seems there is a break in connectivity with windows)

Thing want to do:
     I want to call xmlrpc service of OpenERP server from .Net using xmlrpc protocol.

Alternative solution Tried:
     If i revert my netsvc.py file to 1692 it works fine for DB creation and module installation. Then i need to update netsvc.py to new version in order to make it work well.

Please Please and again Please solve this problem as alternate solution is eating my developing speed.

I am waiting for solution...

Thank you in advance.

Revision history for this message
Shah Japan (jsh.axelor) wrote :

it seems problem has been solved on the revision 1777 for stable 5.0 server.

thanks.

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

Thanks.

Changed in openobject-server:
status: Incomplete → Fix Released
Revision history for this message
satishsukka (satish-tkmr) wrote :

Hi,

Looks like problem not resolved with stable 5.0 version as I am using the same and facing the similar issue.

Please look into the issue and let me know the solution as quick as possible,.

Thank You.

Satish

Revision history for this message
Stephane Wirtel (OpenERP) (stephane-openerp) wrote :

with the lp:~openerp/openerp/win-installer-trunk you can create your own installer to test the server with the last patches.

Regards,

Stephane

Revision history for this message
ken (kva-axelor) wrote :

brother check out the following link..

https://code.launchpad.net/~openerp/openobject-server/5.0

bzr branch lp:openobject-server/5.0

I have checked it..Its working in the above source.

Revision history for this message
Gaurav (gaurav-jain) wrote :

Hi,

I am also getting the same error.My xml-rpc services are not up when i started the server.

Kindly suggest.

Revision history for this message
Shah Japan (jsh.axelor) wrote : Re: [Bug 333776] Re: xmlrpc protocol error

still Windows installer (.EXE) on the openerp web is not updated, it
contains old one, in which xmlrpc is not working !

On Wed, May 27, 2009 at 5:10 PM, Gaurav <email address hidden> wrote:

> Hi,
>
> I am also getting the same error.My xml-rpc services are not up when i
> started the server.
>
>
> Kindly suggest.
>
> --
> xmlrpc protocol error
> https://bugs.launchpad.net/bugs/333776
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in OpenObject Server: Fix Released
>
> Bug description:
> in windows openerp-server 5 release is not working....not even trunk
> version....
>
> older version of openerp and tinyerp 4.x servers are working fine with the
> xmlrpc protocol.
>
> here is the traceback....
>
> d:\Axelor\bzr_workspace>python
> Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit
> (Intel)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import xmlrpclib
> >>> sock= xmlrpclib.ServerProxy("http://localhost:8069/xmlrpc/common")
> >>> sock.login('outlook','admin','admin')
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "c:\python25\lib\xmlrpclib.py", line 1148, in __call__
> return self.__send(self.__name, args)
> File "c:\python25\lib\xmlrpclib.py", line 1438, in __request
> verbose=self.__verbose
> File "c:\python25\lib\xmlrpclib.py", line 1192, in request
> headers
> xmlrpclib.ProtocolError: <ProtocolError for localhost:8069/xmlrpc/common:
> 404 Not Found>
> >>>
>

--
--
Thanks,
Japan Shah

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.