Skip to content

c# implementation gives a bunch of exceptions #713

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

Closed
herrsa1 opened this issue Aug 8, 2018 · 4 comments
Closed

c# implementation gives a bunch of exceptions #713

herrsa1 opened this issue Aug 8, 2018 · 4 comments

Comments

@herrsa1
Copy link

herrsa1 commented Aug 8, 2018

Environment

  • Pythonnet version:2.3.0
  • Python version:3.6(Anaconda)
  • Operating System:Windows 10

Details

Im just running an empty console application on c# to test pythonnet out. it works fine and all but it takes a while to load up because of all the exceptions its throwing within those few seconds. I even just have an empty code block.

static void Main(string[] args)
        {
            using (Py.GIL())
            {

            }
            Console.ReadLine();
        }

This is the exception thrown and it goes on for around 3 seconds

Exception caught: 'System.IO.FileLoadException' in Python.Runtime.dll 
("Could not load file or assembly '__StaticArrayInitTypeSize\=44' or one of its dependencies. 
The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)")
@filmor
Copy link
Member

filmor commented Aug 9, 2018

This sounds to me like a duplicate of #703, do you agree?

@herrsa1
Copy link
Author

herrsa1 commented Aug 9, 2018

yeah thats what I was looking at but the error and language looked different so I decided to make another one. I can close it and just follow that one if you feel it's the same.

@williamrubens
Copy link

Just to clarify, I also see the FileLoadException in #703

@filmor
Copy link
Member

filmor commented Aug 19, 2018

I'll close this then, let's follow up in #703.

@filmor filmor closed this as completed Aug 19, 2018
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

3 participants