Modify

Opened 10 years ago

Closed 10 years ago

#11239 closed defect (duplicate)

Unable to import OSM file

Reported by: philipz Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Open JOSM
  2. Open a OSM file that used to work fine in version 7000

What is the expected result?

To load the osm file

What happens instead?

I get an error message like "Could not read file 'xxx.osm'. Error is: Unsupported version: 0.5 (at line 2, column 47). 91 bytes have been read"

Please provide any additional information below. Attach a screenshot if possible.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2015-03-02 02:30:58
Last Changed Author: Don-vip
Revision: 8109
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Relative URL: ^/trunk
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2015-03-02 00:13:51 +0100 (Mon, 02 Mar 2015)
Last Changed Rev: 8109

Identification: JOSM/1.5 (8109 en) Linux Mint 13 Maya
Memory Usage: 64 MB / 494 MB (36 MB allocated, but free)
Java version: 1.7.0_75, Oracle Corporation, OpenJDK Client VM
Java package: openjdk-7-jre:i386-7u75-2.5.4-1~precise1

Plugins:
- undelete (30892)

Last errors/warnings:
- E: Failed to locate image 'onclick/120.png'
- W: Could not get presets icon onclick/120.png
- E: Failed to locate image 'onclick/120.png'
- W: Could not get presets icon onclick/120.png
- E: org.openstreetmap.josm.io.IllegalDataException: Unsupported version: 0.5 (at line 2, column 47). 91 bytes have been read. Cause: org.openstreetmap.josm.io.OsmReader$OsmParsingException: Unsupported version: 0.5 (at line 2, column 47). 91 bytes have been read

Attachments (1)

speed 80.osm (280 bytes ) - added by philipz 10 years ago.
example osm file

Download all attachments as: .zip

Change History (2)

by philipz, 10 years ago

Attachment: speed 80.osm added

example osm file

comment:1 by Don-vip, 10 years ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #9975.
API 0.5 support has been disabled a while ago. You can try to manually set the version to 0.6 directly in the osm file.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.