[Erp5-users] ERP5SyncML

Petar Petrovic wono76 at yahoo.co.uk
Fri Jun 24 13:42:11 CEST 2005


I ran tests for erp5syncml (cvs from 19.06) and
everything is passed ok

Yes, i looked at the documentation at : 
ERP5SyncML/help/install.stx

On server side i have publication:
Title :	Person
Publication Url :http://192.168.0.177:9080/erp5
Destination Path :/erp5/person
Query :objectValues
XML mapping :asXML
Conduit :
GPG key name :
Id Generator :
Gid Generator :

On client subscription:
Title :Persone
Publication Url :http://192.168.0.177:9080/erp5
Subscription Url :http://192.168.0.191:8080/erp5
Destination path :/erp5/person
Query :objectValues
XML mapping :asXML
Conduit :
GPG key name :
Id Generator :
Gid Generator :

i conigured my zope_tic_loop like this(on server side
only) ofcourse script running all the time:
#!/bin/bash
while true; do
# Master site
wget -O /tmp/zope_distribute.out
http://pera:*pass*@192.168.0.177:9080/erp5/portal_activities/distribute?node_count:int=1
wget -O /tmp/zope_tic.out
http://pera:*pass*@192.168.0.177:9080/erp5/portal_activities/tic?processing_node:int=1
# Client site
wget -O /tmp/zope_distribute.out
http://pera:*pass*@192.168.0.191:8080/erp5/portal_activities/distribute?node_count:int=1
wget -O /tmp/zope_tic.out
http://pera:*pass*@192.168.0.191:8080/erp5/portal_activities/tic?processing_node:int=1

sleep 5
done

Do i need to have syncml(manager) user on both sides ?
Maybe the problem is in files (zope_distribute.out,
zope_tic.out) ?

I found errors in my server side log and after
commented line in file
ERP5SyncML/SinhroniztionTool.py:
line nr. 872 in 
def ReadResponse(....):
	...
	#user = uf.GetUserById('syncml').__of__(uf)
	...	
	
after that my server is working just fine but still on
the client im having error:

2005-06-24T12:39:16 INFO(0) WARNING ActivityTool Could
not call method sendHttpResponse on object ('',
'erp5', 'portal_synchronizations')
Traceback (most recent call last):
  File
"/home/erpX6/Products/CMFActivity/ActivityTool.py",
line 102, in __call__
    result = getattr(object,
self.method_id)(*self.args, **self.kw)
  File
"/home/erpX6/Products/ERP5SyncML/SynchronizationTool.py",
line 821, in sendHttpResponse
    result = urllib2.urlopen(request).read()
  File "/usr/local/lib/python2.3/urllib2.py", line
129, in urlopen
    return _opener.open(url, data)
  File "/usr/local/lib/python2.3/urllib2.py", line
326, in open
    '_open', req)
  File "/usr/local/lib/python2.3/urllib2.py", line
306, in _call_chain
    result = func(*args)
  File "/usr/local/lib/python2.3/urllib2.py", line
901, in http_open
    return self.do_open(httplib.HTTP, req)
  File "/usr/local/lib/python2.3/urllib2.py", line
895, in do_open
    return self.parent.error('http', req, fp, code,
msg, hdrs)
  File "/usr/local/lib/python2.3/urllib2.py", line
352, in error
    return self._call_chain(*args)
  File "/usr/local/lib/python2.3/urllib2.py", line
306, in _call_chain
    result = func(*args)
  File "/usr/local/lib/python2.3/urllib2.py", line
412, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg,
hdrs, fp)
HTTPError: HTTP Error 204: No Content



		
___________________________________________________________

How much free photo storage do you get? Store your
holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com


	
	
		
___________________________________________________________ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com



More information about the Erp5-users mailing list