This did work previously.
If you attempt to upload a new node/way/relation that has a version attribute greater than zero or null.
The error message from journalctl -u pycrocosm.service is:
uwsgi-core[23269]: Version for created objects must be null or zero
This did work previously. If you attempt to upload a new node/way/relation that has a version attribute greater than zero or null. The error message from journalctl -u pycrocosm.service is: uwsgi-core[23269]: Version for created objects must be null or zero
Following is an example node:
This is an extract from gnaf address data.
If the version="1" in the node attributes is removed it will upload correctly.
Same occurs if using scanaerial external tool in josm.
I think if the following at line 128 in pycrocosm/changeset/views.py
if obj.metaData.version != 0:
is changed toif obj.metaData.version > 1:
this would resolve the issue.
It would be valid to upload a new object with a version of 1 so long as it is not incremented after upload.