PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

Unable to save build (PoB is using / instead of \ before the filename)

未关闭
#4,592 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

bug
主要语言
Lua
星标
5.4k
派生
2.4k
平均合并
1 天 12 小时
30 天内合并 PR
26

描述

Check version
  • I'm running the latest version of Path of Building and I've verified this by checking the changelog
Check for duplicates
  • I've checked for duplicate issues by using the search function of the issue tracker
What is the expected behaviour/value?

After importing a Pastebin URL into a new build, I should be able to save/save as the build.

What is the actual behaviour/value?

After clicking the save/saveas button and entering a filename, I get the following error:

Couldn't save the build file:
C:\Users\smoker\Dropbox\Home\Games\Path of Exile\Character Builds/tempi.xml
Make sure the save folder exists and is writeable.

How to reproduce the issue
  • Import a pastbin URL into a new build (I'm using https://pastebin.com/qMmKksb6)
  • Click either the Save or SaveAs button at the top of PoB
  • Enter a filename (I'm using "temp")
  • Click the Save button
Character build code
https://pastebin.com/qMmKksb6
Screenshots

https://imgur.com/a/Q9WbKcK

贡献指南

打开贡献指南

从这里开始

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

调研方向

未指定源文件或测试。复现 Pastebin 导入,然后在 Windows 上尝试 Save 和 Save As,并跟踪 build 文件名与保存文件夹组合的位置。当导入的 build 能够使用一致的 Windows 路径分隔符成功保存时,即表示完成。

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

评估

技术栈
lua
领域
desktop
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

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