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

crash under Windows // osmconvert.exe // zlib1.dll #85

Closed
treee111 opened this issue Jan 22, 2022 · 0 comments · Fixed by #91
Closed

crash under Windows // osmconvert.exe // zlib1.dll #85

treee111 opened this issue Jan 22, 2022 · 0 comments · Fixed by #91
Labels
bug Something isn't working

Comments

@treee111
Copy link
Owner

treee111 commented Jan 22, 2022

Expected Behavior

osmconvert.exe should be usable without changes in the OS of Windows

Current Behavior

  • osmconvert.exe can not be used with some Windows installations
  • the programs crashes in line 143, when calling osmconvert.exe

print(f'\n+ Converting map of {key} to o5m format')
cmd = [os.path.join(fd_fct.TOOLING_WIN_DIR, 'osmconvert')]
cmd.extend(['-v', '--hash-memory=2500', '--complete-ways',
'--complete-multipolygons', '--complete-boundaries',
'--drop-author', '--drop-version'])
cmd.append(val['map_file'])
cmd.append('-o='+out_file_o5m)
result = subprocess.run(cmd, check=True)
if result.returncode != 0:
print(f'Error in OSMConvert with country: {key}')
sys.exit()

Steps to Reproduce the Issue

  1. download release v1.0.0 or clone repo in latest state
  2. run python wahoo_map_creator.py malta

Context

Log Output / Stack Trace

first, this error occurs:
grafik

after performing the steps mentioned in the video https://www.youtube.com/watch?v=P-97qrYdqNA, still this error occurs:

grafik

@treee111 treee111 added the bug Something isn't working label Jan 22, 2022
treee111 added a commit that referenced this issue Jan 22, 2022
- might fix #85
- zlib1.dll was copied but still it errors out
@treee111 treee111 pinned this issue Jan 22, 2022
@treee111 treee111 changed the title Crash under Windows // osmconvert.exe // zlib1.dll crash under Windows // osmconvert.exe // zlib1.dll Jan 23, 2022
treee111 added a commit that referenced this issue Jan 23, 2022
- might fix #85
- zlib1.dll was copied with the osmconvert before but it errors out with another errorcode
treee111 added a commit that referenced this issue Feb 23, 2022
* revert back to the osmconvert.exe v0.8.8

- might fix #85
- zlib1.dll was copied with the osmconvert before but it errors out with another errorcode

* use 32bit or 64bit osmconvert.exe

- 64 bit with large file support
- Downloaded from https://wiki.openstreetmap.org/wiki/Osmconvert on 23.01.2022
@treee111 treee111 unpinned this issue Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant