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

Trouble with song export #130

Closed
AoiMimi opened this issue May 31, 2019 · 12 comments
Closed

Trouble with song export #130

AoiMimi opened this issue May 31, 2019 · 12 comments

Comments

@AoiMimi
Copy link

AoiMimi commented May 31, 2019

Trying to export in any of the available formats (WAV, VGM, S98) makes the exported file immediately delete itself.
I tested this with the demo songs as well, and ran into the same problem.

@freq-mod
Copy link
Contributor

freq-mod commented May 31, 2019

That's weird, I can't replicate this problem, at least on Windows 10. Tried all demo songs, even my own song, every format, no success.
What OS are you using? Did you compiled tracker from source, or downloaded dev build from AppVeyor/0.2 release?

@AoiMimi
Copy link
Author

AoiMimi commented May 31, 2019

I'm using Windows 10 Home, and I've downloaded version 0.2.0 from the Releases tab.
Sorry I can't figure out what might be causing this either...

@rerrahkr
Copy link
Member

rerrahkr commented Jun 1, 2019

Thanks for your report. I could not replicated on my Windows 10. I should not have written the code to delete the file...

@freq-mod
Copy link
Contributor

freq-mod commented Jun 1, 2019

It can be a problem on the OS side, try running BambooTracker as an admin, exporting to several other directories or even flash drives, etc..
What about saving instrument or module files? They aren't being deleted after save?

@AoiMimi
Copy link
Author

AoiMimi commented Jun 1, 2019

Saving and loading instrument files works fine.
I tried running the program and exporting as admin, but still had the same issue, even with exporting to different directories.

@freq-mod
Copy link
Contributor

freq-mod commented Jun 1, 2019

Last thing you can do is trying on another PC or HDD/SSD, if you have access to it...

@AoiMimi
Copy link
Author

AoiMimi commented Jun 1, 2019

Until another solution is found, I will try that. Thank you!

@scarletbullgon
Copy link

I have this same exact issue myself, but not only it occurs when the program isn't running under administration privileges, but also when the folder you're trying to export into has special characters with diacritics in them (for example; acutes such as á, ó, and diaeresis like ü).

@jpcima
Copy link
Contributor

jpcima commented Jun 3, 2019

Oh there is an encoding anomaly for Windows. It's dubious why it would remove files though.
BT passes utf-8 strings to file opening functions but this doesn't work, it takes a conversion to Utf-16 and calling the widechar variant. It's only Windows which needs having this workaround.

@jpcima jpcima mentioned this issue Jun 3, 2019
@jpcima
Copy link
Contributor

jpcima commented Jun 3, 2019

Can you report whether the version here helps solve the problem?
https://ci.appveyor.com/project/rerrahkr/bambootracker/builds/25017454/job/iev9gb9kjupmgh6b/artifacts

@freq-mod
Copy link
Contributor

freq-mod commented Jun 4, 2019

when the folder you're trying to export into has special characters with diacritics in them

Now I'm able to replicate it, and #133 seems to fix it; thanks @jpcima!

@rerrahkr
Copy link
Member

rerrahkr commented Jun 4, 2019

I merged #133. Thanks all for reports and helps!

@rerrahkr rerrahkr closed this as completed Sep 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants