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

Handle Windows compatibility issues #718

Merged

Conversation

DiegoTavares
Copy link
Collaborator

Summarize your change.
Handle issues with rqd and pyoutline running on windows environments.

Errors fixed by this PR:

  • UnboundLocalError: local variable 'commandFile' referenced before assignment
  • AttributeError: 'RunningFrame' object has no attribute 'forkedCommand'
  • RuntimeError: Unable to rotate previous log file due to [Error 32]
  • com.imageworks.spcue.rqd.RqdClientException: failed to launch frame

Details of the implementation:

  • Although Windows lacks an uid, the backend is not prepared to handle jobs without uid. For now we're returning and arbitrary number, which will not impact the job execution down the line.
  • SysLogHandler is specific for linux based systems.
  • Windows doesn't implement SIGBUS
  • Windows handles file access exceptions under OSError

Although Windows lacks an uid, the backend is not prepared to handle jobs without uid. For now we're returning and arbitrary number, which will not impact the job execution down the line.
SysLogHandler is specific for linux based systems.
Windows doesn't implement SIGBUS
Windows handle all file access exceptions under OSError
@DiegoTavares
Copy link
Collaborator Author

@lgritz

Copy link
Collaborator

@bcipriano bcipriano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the detailed explanation -- makes sense to me.

@bcipriano bcipriano merged commit 7050e75 into AcademySoftwareFoundation:master Jun 20, 2020
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.

None yet

2 participants
  翻译: