Hi,
An update of my investigations:
As a workaround of a lack of Java app support I created a python
version of the same app (I read it should work).
I followed all the configuration steps and mysql tables are correctly
created in db.
I am trying to sync 3 entities (kinds):
JDO_Store
OpenCalaisSingleResult, that is contained in JDO_Store as an ArrayList
WikipediaSingleResult, that is as well contain in JDO_Store as an
ArrayList
I created the 2 indexes in index.yaml:
- kind: OpenCalaisSingleResult
ancestor: yes
properties:
- name: RawOpenCalaisResults_INTEGER_IDX
direction: asc
- kind: WikipediaSingleResult
ancestor: yes
properties:
- name: WikipediaResults_INTEGER_IDX
direction: asc
and I added the timestamp property to each entity, each initialized
with the actual date of my timezone (in java).
Then when I run daemon.py I get those 3 errors:
2010-04-28 17:08:17,941 ERROR ReplicateJDO_Store Receive JDO_Store:
error parsing response: no element found: line 1, column 0, response:
Traceback (most recent call last):
File "C:\Program Files\Google\google_appengine\smartme_approcket
\rocket\station.py", line 411, in receive_updates
xml = ElementTree.XML(response)
File "C:\Python26\lib\xml\etree\ElementTree.py", line 964, in XML
return parser.close()
File "C:\Python26\lib\xml\etree\ElementTree.py", line 1254, in close
self._parser.Parse("", 1) # end of data
ExpatError: no element found: line 1, column 0
2010-04-28 17:08:17,950 ERROR ReplicateOpenCalaisSingleResult Receive
OpenCalais
SingleResult: error parsing response: no element found: line 1, column
0, response:
Traceback (most recent call last):
File "C:\Program Files\Google\google_appengine\smartme_approcket
\rocket\station.py", line 411, in receive_updates
xml = ElementTree.XML(response)
File "C:\Python26\lib\xml\etree\ElementTree.py", line 964, in XML
return parser.close()
File "C:\Python26\lib\xml\etree\ElementTree.py", line 1254, in close
self._parser.Parse("", 1) # end of data
ExpatError: no element found: line 1, column 0
2010-04-28 17:08:17,966 INFO ReplicateJDO_Store Receive JDO_Store:
batch end, count=0
2010-04-28 17:08:17,986 ERROR ReplicateWikipediaSingleResult Receive
WikipediaSingleResult: error parsing response: no element found: line
1, column 0, response:
Traceback (most recent call last):
File "C:\Program Files\Google\google_appengine\smartme_approcket
\rocket\station.py", line 411, in receive_updates
xml = ElementTree.XML(response)
File "C:\Python26\lib\xml\etree\ElementTree.py", line 964, in XML
return parser.close()
File "C:\Python26\lib\xml\etree\ElementTree.py", line 1254, in close
self._parser.Parse("", 1) # end of data
ExpatError: no element found: line 1, column 0
2010-04-28 17:08:17,987 INFO ReplicateOpenCalaisSingleResult Receive
OpenCalaisSingleResult: batch end, count=0
2010-04-28 17:08:18,020 INFO ReplicateWikipediaSingleResult Receive
WikipediaSingleResult: batch end, count=0
Does anybody know why I am receiving no result ?
What checks can I perform to find the root problem ?
BTW, I am new to python...
Thank you,
Maxime.