Ticket #3589 (new defect)

Opened 3 years ago

Last modified 3 years ago

Cannot upload data from Potlatch 2

Reported by: Pfad-Finder Owned by: potlatch-dev@…
Priority: major Milestone:
Component: potlatch2 Version:
Keywords: Potlatch 2 Cc:

Description

Got the following message when trying to upload:

"An unexpected error occurred, probably due to a bug in Potlatch 2. Do you want to retry? (The server said: Placeholder Relation not found for reference -465 in relation -466.)"

I tried to delete the relations -465 and -466 as I don't need them necessarily, but could not find a way to do so.

How can I at least save the data? Are they stored somewhere on my harddisk?

Best regards

Mat

Change History

comment:1 Changed 3 years ago by stevage

Mat, I can't help you, but I've thought for a while that there ought to be a way to of dumping all local, unsaved data to disk (or clipboard, or ...) There are many reasons why it could become impossible to save one's work, and being able to save it in some format would mitigate that.

comment:2 Changed 3 years ago by Richard

Could you say what these relations were and how you created them?

comment:3 Changed 3 years ago by thbz

I am receving the same error message when I click on "Save" :

"Failure when uploading data.

Error.

An unexpected error occurred, probably due to a bug in Potlatch 2. Do you want to retry? (The server said: Placeholder Way not found for reference -16 in relation 1663196.)"

Before that, I added house numbers which I related to a street. When I display the members of that relation In the members of that relation, a strange Way with reference -16 appears, but I don't remember creating it (maybe by mistake?).

I don't know how to remove that Way from the list of members of the relation (the form that displays the members lets me edit their Role, not remove them), so that prevents me from saving all of my edits.

Here are my data:

<osmChange version="0.6">
  <create version="0.6">
    <node id="-14" version="0" lat="48.82174959271857" lon="2.3591733393154146" changeset="8721232">
      <tag k="source" v="www.cadastre.gouv.fr"/>
      <tag k="addr:housenumber" v="121"/>
    </node>
    <node id="-27" version="0" lat="48.82166500234912" lon="2.359189432569504" changeset="8721232">
      <tag k="source" v="www.cadastre.gouv.fr"/>
      <tag k="addr:housenumber" v="127"/>
    </node>
    <node id="-52" version="0" lat="48.820365047933485" lon="2.359300207801819" changeset="8721232">
      <tag k="source" v="www.cadastre.gouv.fr"/>
      <tag k="addr:housenumber" v="143-145"/>
    </node>
    <node id="-55" version="0" lat="48.82024142600418" lon="2.3593350765190126" changeset="8721232">
      <tag k="source" v="www.cadastre.gouv.fr"/>
      <tag k="addr:housenumber" v="147"/>
    </node>
    <node id="-73" version="0" lat="48.819630375992205" lon="2.359522831150055" changeset="8721232">
      <tag k="source" v="www.cadastre.gouv.fr"/>
      <tag k="addr:housenumber" v="159"/>
    </node>
    <node id="-65" version="0" lat="48.81973987105083" lon="2.3594906446418764" changeset="8721232">
      <tag k="source" v="www.cadastre.gouv.fr"/>
      <tag k="addr:housenumber" v="155-157"/>
    </node>
    <node id="-24" version="0" lat="48.82184107021063" lon="2.359147858329773" changeset="8721232">
      <tag k="source" v="www.cadastre.gouv.fr"/>
      <tag k="addr:housenumber" v="123"/>
    </node>
    <node id="-37" version="0" lat="48.82132928851359" lon="2.3592438814125063" changeset="8721232">
      <tag k="source" v="www.cadastre.gouv.fr"/>
      <tag k="addr:housenumber" v="131"/>
    </node>
    <node id="-15" version="0" lat="48.821911885679384" lon="2.3591371294937136" changeset="8721232">
      <tag k="source" v="www.cadastre.gouv.fr"/>
      <tag k="addr:housenumber" v="125"/>
    </node>
    <node id="-81" version="0" lat="48.81745896893414" lon="2.359273922153473" changeset="8721232"/>
    <node id="-47" version="0" lat="48.820686286919546" lon="2.3591902372322084" changeset="8721232">
      <tag k="source" v="www.cadastre.gouv.fr"/>
      <tag k="addr:housenumber" v="141"/>
    </node>
    <node id="-70" version="0" lat="48.81950639905218" lon="2.359555554100037" changeset="8721232">
      <tag k="source" v="www.cadastre.gouv.fr"/>
      <tag k="addr:housenumber" v="161"/>
    </node>
    <node id="-32" version="0" lat="48.82150571074913" lon="2.359201502510071" changeset="8721232">
      <tag k="source" v="www.cadastre.gouv.fr"/>
      <tag k="addr:housenumber" v="129"/>
    </node>
    <node id="-60" version="0" lat="48.820001421988934" lon="2.359414738126755" changeset="8721232">
      <tag k="source" v="www.cadastre.gouv.fr"/>
      <tag k="addr:housenumber" v="149-153"/>
    </node>
    <node id="-3" version="0" lat="48.82200707143266" lon="2.3591103074035646" changeset="8721232">
      <tag k="source" v="www.cadastre.gouv.fr"/>
      <tag k="addr:housenumber" v="119"/>
    </node>
    <node id="-78" version="0" lat="48.819390192445134" lon="2.3595925685844423" changeset="8721232">
      <tag k="source" v="www.cadastre.gouv.fr"/>
      <tag k="addr:housenumber" v="161"/>
    </node>
    <node id="-42" version="0" lat="48.82111012850141" lon="2.359270703502655" changeset="8721232">
      <tag k="source" v="www.cadastre.gouv.fr"/>
      <tag k="addr:housenumber" v="133-139"/>
    </node>
  </create>
  
  
  <modify version="0.6">
    <node id="1361264894" version="1" lat="48.8221398" lon="2.3587889" changeset="8721232">
      <tag k="source" v="www.cadastre.gouv.fr"/>
      <tag k="addr:housenumber" v="115"/>
      <tag k="addr:street" v="avenue d'Italie"/>
    </node>
    <node id="1361264898" version="1" lat="48.8220674" lon="2.358813" changeset="8721232">
      <tag k="source" v="www.cadastre.gouv.fr"/>
      <tag k="addr:housenumber" v="117"/>
      <tag k="addr:street" v="avenue d'Italie"/>
    </node>
    <node id="1361270346" version="1" lat="48.8223602" lon="2.3587156" changeset="8721232">
      <tag k="source" v="www.cadastre.gouv.fr"/>
      <tag k="addr:housenumber" v="111"/>
      <tag k="addr:street" v="avenue d'Italie"/>
    </node>
  </modify>
  
  <modify version="0.6">
    <relation id="1663196" version="3" changeset="8721232">
      <tag k="name" v="avenue d'Italie"/>
      <tag k="type" v="associatedStreet"/>
      <member ref="41486595" type="way" role="street"/>
      <member ref="1361264894" type="node" role="house"/>
      <member ref="1361264898" type="node" role="house"/>
      <member ref="1361270346" type="node" role="house"/>
      <member ref="-3" type="node" role="house"/>
      <member ref="-14" type="node" role="house"/>
      <member ref="-16" type="way" role="street"/>
      <member ref="-15" type="node" role="house"/>
      <member ref="-24" type="node" role="house"/>
      <member ref="-27" type="node" role="house"/>
      <member ref="-37" type="node" role="house"/>
      <member ref="-42" type="node" role="house"/>
      <member ref="-32" type="node" role="house"/>
      <member ref="-47" type="node" role="house"/>
      <member ref="-52" type="node" role="house"/>
      <member ref="-55" type="node" role="house"/>
      <member ref="-60" type="node" role="house"/>
      <member ref="-65" type="node" role="house"/>
      <member ref="-70" type="node" role="house"/>
      <member ref="-73" type="node" role="house"/>
      <member ref="-78" type="node" role="house"/>
    </relation>
  </modify>
  
  
  
  
  
  
</osmChange>
Note: See TracTickets for help on using tickets.