Skip to content

fix #1190 ERROR: Could not create save_dir on windows with gio#1191

Merged
elelay merged 1 commit into
masterfrom
fix-1190-gio-windows
Nov 6, 2021
Merged

fix #1190 ERROR: Could not create save_dir on windows with gio#1191
elelay merged 1 commit into
masterfrom
fix-1190-gio-windows

Conversation

@elelay

@elelay elelay commented Nov 1, 2021

Copy link
Copy Markdown
Member

util.new_gio_file returned a GDummyFile, where every operation failed,
in this case make_directory_with_parents().

util.new_gio_file returned a GDummyFile, where every operation failed,
in this case make_directory_with_parents.
@dreamflasher

Copy link
Copy Markdown
Contributor

I am testing this, but it's not working. Which type is the method supposed to return?

@dreamflasher

dreamflasher commented Nov 4, 2021

Copy link
Copy Markdown
Contributor

I think what you want to do is return parsed.scheme != "" and not parsed.path.startswith("\\\\") – that's a bit better readable.

But this does not solve the initial bug.

@elelay elelay merged commit ec6b639 into master Nov 6, 2021
@auouymous auouymous deleted the fix-1190-gio-windows branch November 6, 2021 16:30
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

Successfully merging this pull request may close these issues.

2 participants