First time here? Check out the FAQ!

Bug report:

In, line 89, the signature for get_posix_dir():

  def get_posix_dir(major_version):

Observe it requires one argument.

Later on, uses of this function, at line 183:

if platform == 'cygwin':
    base_dir = get_posix_dir()

And line 204:

    base_dir = get_posix_dir(major_version)

The first instance will clearly error out. I am having this problem when trying to run from cygwin - is loaded through I have been following the instructions:

And it simply doesn't work. After a lot of digging through I was able to find this error:

  • call to NP_CreateMetaImporter() at line 282 of exceptions, because it is given user_settings as None
  • NP_SetupWingHomeModule(), called at line 281, returned user_settings as None
  • Within NP_SetupWingHomeModule(), call to _NPLoadModuleFromBootstrap('minimalconfig'...) failed
  • Within _NPLoadModuleFromBootstrap(), call to _NP_LoadModuleFromDir() fails
  • Within _NP_LoadModuleFromDir() the call to imp.load_module() fails as the load involves calling get_posix_dir(). If I try to replicate this and catch a generic error, I can get the message "get_posix_dir()" takes exactly1 argument (0 given)"
ds1767's avatar
asked 2023-02-08 06:27:45 -0500
Wingware Support's avatar
Wingware Support
updated 2024-03-05 09:27:30 -0500
edit flag offensive 0 remove flag close merge delete


add a comment see more comments

1 Answer


Yes, this is a bug and we should be able to fix it soon.

Wingware Support's avatar
Wingware Support
answered 2023-02-08 09:02:05 -0500
edit flag offensive 0 remove flag delete link


add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer