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

Fix for python 3.8 #125

Closed
wants to merge 1 commit into from
Closed

Conversation

@@ -43,6 +43,8 @@
from optparse import OptionParser
from subprocess import Popen, PIPE, call

os.add_dll_directory(os.getcwd())
Copy link
Contributor

Choose a reason for hiding this comment

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

I am in Python 64-bit v3.7.4 in Windows 10, this row throws following error and prevents isrcsubmit from running:

AttributeError: module 'os' has no attribute 'add_dll_directory'

What could we do to fix script for version 3.8 without breaking older versions?

Copy link
Contributor

@jesus2099 jesus2099 Mar 1, 2021

Choose a reason for hiding this comment

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

Same error with Python 32-bit v3.4.3 in Windows XP.

(both setups are running fine without this line)

@Freso
Copy link
Collaborator

Freso commented May 6, 2021

No response from submitter in over a year. Going to close this. I’ll keep the issue open though and may look into a way to fix this. Thanks for the PR!

@jesus2099
Copy link
Contributor

I found a way to run this fix only in Windows Python 3.8+, only when it is both required and non-breaking: #144.

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.

3 participants