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

Empty include directories make ktransw crash (Error 3: cannot find the path specified) #4

Closed
gavanderhoorn opened this issue Mar 11, 2016 · 2 comments
Labels

Comments

@gavanderhoorn
Copy link
Owner

As per subject.

Observed on a Windows XP system: the prog_x package in the rossum_example_ws has an includes entry in its manifest, which exports the prog_x/include directory (here). That directory is empty (ie: prog_x doesn't actually have any includes).

This causes ktransw to crash while setting up the temporary build directory.

@gavanderhoorn
Copy link
Owner Author

Empty directories do not appear to be an issue on Windows 7.

@gavanderhoorn
Copy link
Owner Author

Had nothing to do with Windows XP / Windows 7: the manifest of prog_x exports the prog_x/include directory, but as that directory is empty, it doesn't actually exist in the git repository. This caused os.listdir(..) to fail, resulting in the observed error.

The change in a8e24a3 makes ktransw ignore any non-existing include paths, avoiding the crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant