Skip to content

Carbon 'module' object has no attribute 'Evt' (OSX 10.9.3) #1

@ekweible

Description

@ekweible

In trying to use your python inquirer library, I'm running into this error in readchar_osx.py:

Traceback (most recent call last):
  File "bootstrap.py", line 46, in <module>
    main()
  File "/Users/evanweible/dev/config/workspaces/dotfiles/py/decorators.py", line 12, in wrapper
    f(*args, **kwargs)
  File "bootstrap.py", line 42, in main
    bootstrap.run()
  File "/Users/evanweible/dev/config/workspaces/dotfiles/py/bootstrap.py", line 10, in run
    print inquirer.prompt(questions)
  File "/Users/evanweible/.virtualenvs/dotfiles/lib/python2.7/site-packages/inquirer/prompt.py", line 11, in prompt
    answers[question.name] = render.render(question, answers)
  File "/Users/evanweible/.virtualenvs/dotfiles/lib/python2.7/site-packages/inquirer/render/console/__init__.py", line 34, in render
    result = render.render(question)
  File "/Users/evanweible/.virtualenvs/dotfiles/lib/python2.7/site-packages/inquirer/render/console/text.py", line 18, in render
    pressed = self._key_gen()
  File "/Users/evanweible/.virtualenvs/dotfiles/lib/python2.7/site-packages/readchar/readchar.py", line 20, in readkey
    c1 = getchar()
  File "/Users/evanweible/.virtualenvs/dotfiles/lib/python2.7/site-packages/readchar/readchar_osx.py", line 9, in readchar
    if Carbon.Evt.EventAvail(key_down_mask)[0] == 0:
AttributeError: 'module' object has no attribute 'Evt'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions