OpenOrienteering / mapper

OpenOrienteering Mapper is a software for creating maps for the orienteering sport.
https://www.openorienteering.org/apps/mapper/
GNU General Public License v3.0
402 stars 106 forks source link

Cannot save as OCAD cause of internal error #1991

Closed kadirka closed 2 years ago

kadirka commented 3 years ago

Steps to reproduce

1.After terrain work I took my omapper file from tablet to PC 2.I opened file in Omapper 3.when I save as Ocad, it doesnt save, directly closes Omapper app by saving useless file named "mapname.ocd.HzKvio"

How can I save my work safely?

Configuration

Mapper Version:0.9.5 Operating System:Windows 10 64-bit

dg0yt commented 3 years ago

Sorry for the inconvenience. There seems to be a feature in the map which triggers some exceptional case in saving to OCD. I cannot look at the cause unless you provide the map, at least on a private channel, e.g. direct e-mail.

"mapname.ocd.HzKvio" is the temporary file which will replace the OCD file once writing was successful. This prevents loosing an existing file due to a rare crash like this one.

lpechacek commented 3 years ago

This reminded me about #1856 but that bug is fixed in 0.9.5 release. @kadirka, you may still check the symbol set for "unusual" symbols while Kai is looking into the crash.

dl3sdo commented 3 years ago

Maybe it's related to #1985. @kadirka: which is the Ocad Version you wanted to export to? Does the map contain a lot of templates?

kadirka commented 3 years ago

Thank you for advices.I solved the problem after I changed all the symbols into another symbol set.

Best Regards Abdulkadir Köseoğlu

dl3sdo commented 3 years ago

@kadirka: which symbol set caused the error (and which is the scale of your map)? Using a workaround does not solve the underlying issue which we would like to solve.

d-ro commented 2 years ago

I am running into the same issue, even after replacing the symbol set. Is there any more guidance on which symbol(s) may be causing issues and a process to replace the set that solves this? Happy to provide map files securely. image

lpechacek commented 2 years ago

Thanks for the comment and screenshot, @d-ro. The symptoms resemble a known problem described in issue #2015. You may try the workaround described at https://github.com/OpenOrienteering/mapper/issues/2015#issuecomment-1001419495 .

hakongjerde commented 2 years ago

image I am also running into the same problem as above. I have tried the workarounds suggested, but no luck. I have changed the symbolset to ISSprOM 2019-2 and the map is 1:4000. The map was originally created by someone else, while I am revising it. I am happy to provide a copy if anyone can take a look at it. thanks

lpechacek commented 2 years ago

I am happy to provide a copy if anyone can take a look at it. thanks

Sure! Please send the copy to the email listed on my profile and I'll have a look. Thanks!

lpechacek commented 2 years ago

The fix for this issue has been merged into the main code branch and will be released in the next update.

In the meantime, Mapper development builds with this fix are available at https://dev.azure.com/OpenOrienteering/Mapper/_build/results?buildId=2528&view=artifacts&pathAsName=false&type=publishedArtifacts .

mlerjen commented 2 years ago

That seems just to be a list of the artifacts. But how do I get the actual installation files? If I click on an item nothing happens...

lpechacek commented 2 years ago

Ummm, there used to be a link to the .zip file containing all the artifacts on the page. I'll check it tomorrow and will let you know.

dl3sdo commented 2 years ago

@mlerjen: I first had the same problem as you. If you highlight an artifact that you want to download, just observe the 3 dots at the very right side, where you then can download the zip file.

mlerjen commented 2 years ago

@dl3sdo: Indeed! @lpechacek: problem solved.

mlerjen commented 2 years ago

20220316_221603 33cm ...

Levente12345 commented 1 year ago

Hi, Im having a similar problem by not being able to save my work in OCAD, only in OOM format. I tried to change symbol sets, but nothing helped. It was originally a foot-O map, but i had to change and modify it to an MTBO map. Anyone has an idea how to save it in OCAD? Thank you in advance! Levente issue screenshoot

DuncSMTBO commented 1 year ago

I had similar issues to hakongjerde above. Removed all unsymbolised objects that came with dxf contour data, and gps traces. Problem solved

hakken21 commented 7 months ago

I have the same problem as hakongjerde above. Tried out some of the tips without luck. Would happily share the file if someone could take a look at it