testing KeyError 'LOGNAME'
1 1

2 posts in this topic


I used source code to build ftrack_connect to my python directory, then I tried to test it by compiling py files in test/interactive directory.

Some files work fine, but some are not. This one: asset_manager.py has following compiling error:

PS E:\FtrackTest\ftrack-ftrack-connect\test\interactive> python asset_manager.py
Traceback (most recent call last):
  File "asset_manager.py", line 28, in <module>
  File "E:\FtrackTest\ftrack-ftrack-connect\test\interactive\harness.py", line 103, in run
    widget = self.constructWidget()
  File "asset_manager.py", line 19, in constructWidget
    ('69eea69c-bb2e-11e4-85e2-20c9d081909b', 'Foo')
  File "E:\FtrackTest\ftrack-ftrack-connect\test\interactive\connector.py", line 11, in __init__
    super(TestConnector, self).__init__()
  File "C:\Python27\lib\site-packages\ftrack_connect-1.1.1-py2.7.egg\ftrack_connect\connector\base.py", line 39, in __init__
    self.session = session or connect_session.get_shared_session()
  File "C:\Python27\lib\site-packages\ftrack_connect-1.1.1-py2.7.egg\ftrack_connect\session.py", line 44, in get_shared_session
  File "C:\Python27\lib\os.py", line 425, in __getitem__
    return self.data[key.upper()]

KeyError: 'LOGNAME'

Can someone help me with this? Thank you very much!


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
1 1