Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Error on rendering "unpack requires a string argument of length 8"

Aperta
#21 3 commenti 2 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python
Ambito
desktop

Direzione di ricerca

Inizia riproducendo il fallimento della fase di rendering su Windows 10 con GDAL 2.1.2, Python 2.7.5 64-bit e l’installazione di OSGeo4W descritta nell’issue. Individua l’origine dell’errore di decompressione e verifica il fix sui file di input che in precedenza causavano il fallimento; il lavoro è completato quando il rendering termina senza questa exception.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Thanks for this project. I am not familiar with the Linux, Python, Git world, but I am OK with using my Windows 10 machine. After a struggle I have managed to install OSGeo4W, and eventually to get MapSlicer to run.

However at the render stage I get the error message "unpack requires a string argument of length 8", and this has happened for each input file I have tried. I note that this was a reported error in 2015 that was solved by using OSGeo Live., and I want to stick to Windows

Maybe there is some version issue? I see I have GDAL 2.1.2; Python 2.7.5 64 bit, and your requisites say Python 2.5 (without a plus). I cannot see what version of wxpython I have.

I have been successful doing tiling using both MapTiler and gdal2tiles already, so using MapSlicer is not essential but it would have been nice. (As feedback I realise that, if I had noticed that OSGeo4W had wxPython as an option earlier, the installation of MapSlicer would have been easier).

Lingua principale
Python
Stelle
43
Fork
13
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di geopython/mapslicer

Tutte le issue di geopython/mapslicer

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.