PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding
Unable to save build (PoB is using / instead of \ before the filename)
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 5.4k
- Forks
- 2.4k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 26
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Reproduce the Pastebin import, then try Save and Save As on Windows and trace where the build filename is combined with the save folder. Done means an imported build saves successfully with consistent Windows path separators.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100