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

Error: FileHandle.__init__() got some positional-only arguments passed as keyword arguments: 'file' #18

Open
din14970 opened this issue Jun 9, 2022 · 2 comments

Comments

@din14970
Copy link
Owner

din14970 commented Jun 9, 2022

From an e-mail I received:

Everytime I try to select a TVIPS-video file in "STEP 1" I get the following error, which I also attached as a screenshot:

Error: FileHandle.__init__() got some positional-only arguments passed as keyword arguments: 'file'

It does not matter if I click "update preview" or "start conversion" - the error keeps occuring.

Do you have a suggestion what I could do?

@tiarnan-doherty
Copy link

@din14970 by any chance did you ever get to the bottom of this? I'm having a similar issue

@din14970
Copy link
Owner Author

Unfortunately I don't have the time to do a deep dive on this and can't tell you when I would. If you really need it and have the time to dig into it I would welcome a pull request with a fix. Alternatively you can have a look at @harripj 's fork, as he seems to have done quite a lot of development since I last touched this project. However, I think also he is no longer actively working on it. You may also try to install an earlier version of this tool from pypy if the latest version is broken for you. If you just need a way to open the TVIPS file, I would recommend the TVIPS file reader in hyperspy which I wrote. The main usecase for this tool is if you need to re-assemble the scan grid in the 4D-STEM experiment.

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

2 participants