Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#21 3 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
python
领域
desktop

调研方向

首先,在 Windows 10、GDAL 2.1.2、Python 2.7.5 64-bit 以及 issue 中描述的 OSGeo4W 安装环境下复现渲染阶段的失败。追踪 unpack error 的来源,并使用之前失败的输入文件验证 fix;当渲染在没有该 exception 的情况下完成时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

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).

主要语言
Python
星标
42
派生
13
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

geopython/mapslicer 的其他 Issue

查看 geopython/mapslicer 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。