Skip to content
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

em -s red error #15

Closed
gaocegege opened this issue Jul 26, 2016 · 22 comments
Closed

em -s red error #15

gaocegege opened this issue Jul 26, 2016 · 22 comments
Assignees

Comments

@gaocegege
Copy link

OS: OS X 10.11.5
Python: Python 3.5.1 (default, Jun 6 2016, 15:12:24)

when I typed em -s red:

Traceback (most recent call last):
  File "/usr/local/bin/em", line 11, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.5/site-packages/em/__init__.py", line 119, in cli
    found = do_find(lookup, names[0])
  File "/usr/local/lib/python3.5/site-packages/em/__init__.py", line 73, in do_find
    for name, definition in lookup.iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'

QAQ Any suggestion about the error?

@kennethreitz
Copy link
Collaborator

Looks like you're using Python 3. I believe I just released a fix for this issue yesterday. Are you using the latest release?

@gaocegege
Copy link
Author

I installed em by pip:

---
Metadata-Version: 2.0
Name: em-keyboard
Version: 0.0.7
Summary: The CLI Emoji Keyboard
Home-page: https://github.com/kennethreitz/em
Author: Kenneth Reitz
Author-email: [email protected]
Installer: pip
License: ISC
Location: /usr/local/lib/python3.5/site-packages
Requires: xerox, docopt
Classifiers:
  Intended Audience :: Developers
  Natural Language :: English
  License :: OSI Approved :: ISC License (ISCL)
  Programming Language :: Python
  Programming Language :: Python :: 2.6
  Programming Language :: Python :: 2.7
  Programming Language :: Python :: 3
  Programming Language :: Python :: 3.3
  Programming Language :: Python :: 3.4
  Programming Language :: Python :: 3.5
  Programming Language :: Python :: Implementation :: CPython
Entry-points:
  [console_scripts]
  em = em:cli

All the requirements already up-to-date, So should I install the package from the source code?

@kennethreitz kennethreitz self-assigned this Jul 27, 2016
@kseistrup
Copy link

I just installed em-keyboard (0.0.7) from PyPI and can confirm this bug.

@Thor77
Copy link

Thor77 commented Nov 18, 2016

Can still confirm this.

@barcadad
Copy link

I get same error on Python 3.5

@proinsias
Copy link

Same error with 0.0.7.

@reverbc
Copy link

reverbc commented Jul 3, 2017

This issue has already been fixed via commit judy2k/em@186bc20 (PR #19) but not included in current published version 0.0.7 yet (looks like there's no actual difference between 0.0.6 and 0.0.7).

@c17r
Copy link

c17r commented Mar 7, 2018

Since @kennethreitz is on the Py3 train now, I'm surprised this is still busted in the released version

@kino-ngoo
Copy link

kino-ngoo commented Mar 19, 2018

Same here, I just install today.

Version: 0.0.7
Summary: The CLI Emoji Keyboard
Home-page: https://github.com/kennethreitz/em
Author: Kenneth Reitz
Author-email: [email protected]
License: ISC
Location: /Users/apple/anaconda3/lib/python3.6/site-packages
Requires: xerox, docopt

@c17r
Copy link

c17r commented Mar 20, 2018

I repackaged the master branch as em-keyboard-py3 so I can have a working install. Feel free to use that.

@joeljuca
Copy link

I just installed em-keyboard and I stumbled upon this same error when running em -s red.

@hugovk
Copy link
Owner

hugovk commented Oct 21, 2019

Kenneth Reitz recently transferred this repo to @inishchith: not-kennethreitz/team#21 (comment)

Latest master works for Python 3. Python 2 reaches EOL on 2020-01-01:

@inishchith, please could you review the open PRs and then create a new release to PyPI?

@hugovk
Copy link
Owner

hugovk commented Dec 22, 2020

Workaround

Install from master:

python3 -m pip install https://github.com/inishchith/em-keyboard/archive/master.zip

@hugovk
Copy link
Owner

hugovk commented Dec 22, 2020

@inishchith Please could you make a new release?

The maintainers listed at https://pypi.org/project/em-keyboard/ are kennethreitz and tuxtimo.

@kennethreitz42 or @timofurrer, would you be able to make a new release or give someone else access on PyPI?

Thank you!

@c17r
Copy link

c17r commented Dec 22, 2020

@hugovk The workaround for the past 2.5 years is to use python3 -m pip install em-keyboard-py3 and continue on with your business.

@inishchith
Copy link
Collaborator

@hugovk I've been busy with personal stuff. If you think you can maintain the repository, I shall hand over the ownership to you. LMK.

Thanks!

@hugovk
Copy link
Owner

hugovk commented Dec 22, 2020

@inishchith I'd be happy to help out, at least with general maintenance and releasing. Thanks!

@inishchith
Copy link
Collaborator

@hugovk I've initiated the transfer from my side.

Thanks!

@hugovk
Copy link
Owner

hugovk commented Dec 23, 2020

Done, thanks!

@kennethreitz42 @timofurrer, please could you give me access to make a release to https://pypi.org/project/em-keyboard/ on PyPI?

@timofurrer
Copy link

I've just sent you the Maintainer invitation on PyPI, @hugovk

@hugovk
Copy link
Owner

hugovk commented Dec 23, 2020

Thanks, accepted! I'll try and get a release out today, or at least by year end.

@hugovk
Copy link
Owner

hugovk commented Dec 23, 2020

@hugovk hugovk closed this as completed Dec 23, 2020
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