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

Make from pwn import * work when running python inside Emacs #126

Closed
Pilen opened this issue Sep 20, 2014 · 1 comment
Closed

Make from pwn import * work when running python inside Emacs #126

Pilen opened this issue Sep 20, 2014 · 1 comment
Assignees
Labels
Milestone

Comments

@Pilen
Copy link

Pilen commented Sep 20, 2014

Currently the following exception is thrown:

Python 2.7.8 (default, Jul  1 2014, 17:30:21) 
[GCC 4.9.0 20140604 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> >>> >>> >>> >>> Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/pilen/csaw/psifer.py", line 1, in <module>
    from pwn import *
  File "/home/pilen/code/pwntools/pwn/__init__.py", line 3, in <module>
    from .toplevel import *
  File "/home/pilen/code/pwntools/pwn/toplevel.py", line 2, in <module>
    from pwnlib                  import *
  File "/home/pilen/code/pwntools/pwnlib/__init__.py", line 10, in <module>
    from . import \
  File "/home/pilen/code/pwntools/pwnlib/dynelf.py", line 1, in <module>
    from . import elf, log, memleak
  File "/home/pilen/code/pwntools/pwnlib/elf.py", line 4, in <module>
    from .util import misc
  File "/home/pilen/code/pwntools/pwnlib/util/__init__.py", line 7, in <module>
    from . import crc, cyclic, fiddling, hashes, iters
  File "/home/pilen/code/pwntools/pwnlib/util/crc.py", line 15, in <module>
    from . import fiddling, packing
  File "/home/pilen/code/pwntools/pwnlib/util/fiddling.py", line 453, in <module>
    'marker': text.gray if text.has_gray else text.blue,
  File "/home/pilen/code/pwntools/pwnlib/term/text.py", line 98, in __getattr__
    init += self._fg_color(c())
  File "/home/pilen/code/pwntools/pwnlib/term/text.py", line 55, in _fg_color
    return termcap.get('setaf', c) or self._tc.get('setf', c)
  File "/home/pilen/code/pwntools/pwnlib/term/termcap.py", line 27, in get
    return curses.tparm(s, *args)
_curses.error: tparm() returned NULL
@Pilen Pilen changed the title Make from pwn import *work when running python inside Emacs Make from pwn import * work when running python inside Emacs Sep 20, 2014
@zachriggle
Copy link
Member

Emacs? That sounds terrible ^_^

@zachriggle zachriggle added this to the 2.3 milestone Dec 15, 2014
@br0ns br0ns closed this as completed in 9c4cfc2 Dec 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants