-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I'm trying to go through the ImportPythonModel.ipynb notebook in the examples. I do, however, get an error which I think needs to be solved in the package itself.

I made a local copy of the package files and I changed line 150 in writeJSONFiles.py to
modeler = getpass.getuser()
Someone recommended getpass.getuser() to me since it checks the environment variables LOGNAME or USERNAME to find out who the user is, and falls back to pwd.getpwuid(os.getuid())[0] to get the login name of the current real user id.
I tested it in my environment and it works like a charm. Maybe it would be an option in the pzmm package as well?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working