Skip to content

fixed windows file errors and java check#126

Open
nathanhilbert wants to merge 1 commit into
SEL-Columbia:masterfrom
nathanhilbert:winfixes
Open

fixed windows file errors and java check#126
nathanhilbert wants to merge 1 commit into
SEL-Columbia:masterfrom
nathanhilbert:winfixes

Conversation

@nathanhilbert

Copy link
Copy Markdown

When uploading the tutorial file in formhub, I was getting a permission denied to my temp directory. This was because pyxform was creating and opening a tempfile, then trying to open it again. This works fine in Linux, but not so great in Windows (https://docs.python.org/2/library/tempfile.html#tempfile.NamedTemporaryFile). I also noticed a "which" command, which always returns true in Windows based on the logic. Checking for the os name and using "where", then checking for the INFO error will work better.

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.

1 participant