Re: [OSM-dev] Reverting changesets

2016-01-25 Thread Tomas Straupis
2016-01-25 19:58 GMT+02:00 Andy Townsend:
> If it helps, I saw the same problem yesterday ("does not apply any
> changes").  What fixed it for me was to update JOSM to the latest stable
> version (the monthly plugin check had occurred earlier that morning, but I
> was running the previous stable version of JOSM). After doing that I was
> able to do a normal "full changeset revert" without problems.

  I have a wget of josm-tested.jar in my JOSM launch script, so I am
always using the latest version.

  But I managed to revert changes using perl scripts. I just had to
create a changeset separately and then provide its number to revert.pl
- then it worked ok.

  Thank you for help.

-- 
Tomas

___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Reverting changesets

2016-01-25 Thread Andy Townsend

On 25/01/2016 08:26, Tomas Straupis wrote:


   But there I have a problem, JOSM reverter plugin does not work (it
fetches info but does not apply any changes and does not complain
about anything) and there was info on weeklyosm that reverter plugin
is broken at this time.



If it helps, I saw the same problem yesterday ("does not apply any 
changes").  What fixed it for me was to update JOSM to the latest stable 
version (the monthly plugin check had occurred earlier that morning, but 
I was running the previous stable version of JOSM). After doing that I 
was able to do a normal "full changeset revert" without problems.


Cheers,

Andy


___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


[OSM-dev] Reverting changesets

2016-01-25 Thread Tomas Straupis
Hello

  Three changesets were found to be accidentally deleting quite large
amounts of correct data. I have informed the user and asked him to
wait until revert is completed. Changesets in question are: 36781121,
36781218 and 36781956.

  I'm starting with the last one and intend to revert all three.

  But there I have a problem, JOSM reverter plugin does not work (it
fetches info but does not apply any changes and does not complain
about anything) and there was info on weeklyosm that reverter plugin
is broken at this time.

  I then tried reverter scripts (as per
http://wiki.openstreetmap.org/wiki/Revert_scripts). But running:
  ./revert.pl 36781956

  fetches objects, identifies correct delete/modify operations to be
done but then fails with:

  PUT changeset//close
Use of uninitialized value $body in concatenation (.) or string at
OsmApi.pm line 227.

  I'm still running in dry mode. I wonder if I could proceed anyway or
should I ask somebody else (DWG?) for help?

  Thank you

P.S. I'm running scripts on fedora 23.

-- 
Tomas

___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev