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

OSError: [Errno 9] Bad File Descriptor #35

Open
Matthew-Hiebing opened this issue Aug 15, 2023 · 0 comments
Open

OSError: [Errno 9] Bad File Descriptor #35

Matthew-Hiebing opened this issue Aug 15, 2023 · 0 comments

Comments

@Matthew-Hiebing
Copy link
Contributor

Hello,

I've been using this code for almost a year now. It has worked great up until a few months ago. I started getting the error message below. It seems like its having trouble with a specific commit but I can't tell. Has anyone seen or reported something like this before?

Analyzing commit at 2022-10-18 17:54:58
Commit changes: insertions: {'.xml': 100} deletions: {'.xml': 100}
Apply changes: insertions: {'.xml': 1} deletions: {'.xml': 1}
OSError: [Errno 9] Bad file descriptor

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "c:\Users\Matthew.Hiebing\Documents\1_GitHubRepos\BitbucketCommits\Contributions-Importer-For-Github\run_script.py", line 22, in
importer.import_repository()
File "c:\Users\Matthew.Hiebing\Documents\1_GitHubRepos\BitbucketCommits\Contributions-Importer-For-Github\git_contributions_importer\Importer.py", line 104, in import_repository
self.content.save()
File "c:\Users\Matthew.Hiebing\Documents\1_GitHubRepos\BitbucketCommits\Contributions-Importer-For-Github\git_contributions_importer\Content.py", line 33, in save
with open(full_path, 'w') as f:
OSError: [Errno 9] Bad file descriptor
(bitbucketToGitHub)

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

No branches or pull requests

1 participant