Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot save as OCAD cause of internal error #1991

Closed
kadirka opened this issue Oct 7, 2021 · 18 comments
Closed

Cannot save as OCAD cause of internal error #1991

kadirka opened this issue Oct 7, 2021 · 18 comments

Comments

@kadirka
Copy link

kadirka commented Oct 7, 2021

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
Copy link
Member

dg0yt commented Oct 8, 2021

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
Copy link
Member

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.

@lpechacek lpechacek added the crash label Oct 8, 2021
@dl3sdo
Copy link
Member

dl3sdo commented Oct 8, 2021

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
Copy link
Author

kadirka commented Nov 1, 2021

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
Copy link
Member

dl3sdo commented Nov 1, 2021

@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
Copy link

d-ro commented Feb 23, 2022

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
Copy link
Member

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 #2015 (comment) .

@hakongjerde
Copy link

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
Copy link
Member

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 added a commit that referenced this issue Mar 16, 2022
…ol-export

Handle undefined symbols in .ocd export (issues GH-1991 and GH-2012)
@lpechacek
Copy link
Member

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
Copy link
Contributor

mlerjen commented Mar 16, 2022

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
Copy link
Member

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
Copy link
Member

dl3sdo commented Mar 16, 2022

@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
Copy link
Contributor

mlerjen commented Mar 16, 2022

@dl3sdo: Indeed! @lpechacek: problem solved.

@mlerjen
Copy link
Contributor

mlerjen commented Mar 16, 2022

20220316_221603
33cm ...

@Levente12345
Copy link

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
Copy link

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

@hakken21
Copy link

hakken21 commented Apr 3, 2024

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

@dg0yt dg0yt added this to the v0.9.6 milestone Apr 13, 2024
@dl3sdo dl3sdo pinned this issue Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants