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

Open Recent is broken on Windows (wrong path separator?) #912

Closed
julianrendell opened this issue May 23, 2020 · 1 comment · Fixed by #940
Closed

Open Recent is broken on Windows (wrong path separator?) #912

julianrendell opened this issue May 23, 2020 · 1 comment · Fixed by #940
Labels
bug for actual bugs (unsure? use type:question)

Comments

@julianrendell
Copy link

File menu -> Open Recent -> entries are listed as eg /D:/Meshroom_Dev/test-project/mostree.mg

Clicking on an entry results in:

[2020-05-23 16:12:48,660][ERROR] Traceback (most recent call last):
  File "D:\Meshroom_Src\meshroom\meshroom\ui\reconstruction.py", line 432, in load
    super(Reconstruction, self).load(filepath, setupProjectFile)
  File "D:\Meshroom_Src\meshroom\meshroom\ui\graph.py", line 314, in load
    g.load(filepath, setupProjectFile)
  File "D:\Meshroom_Src\meshroom\meshroom\core\graph.py", line 247, in load
    with open(filepath) as jsonFile:
OSError: [Errno 22] Invalid argument: '/D:/Meshroom_Dev/test-project/mostree.mg'

Path should be D:\Meshroom_Dev\test-project\mostree.mg.

Exception dialog can be closed, and the program is still usable; can manually open the project using file->open.

@julianrendell julianrendell added the bug for actual bugs (unsure? use type:question) label May 23, 2020
@skinkie
Copy link

skinkie commented May 25, 2020

https://stackoverflow.com/questions/2953834/windows-path-in-python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug for actual bugs (unsure? use type:question)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants