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

pip lies #1

Closed
illuzen opened this issue Oct 1, 2014 · 2 comments
Closed

pip lies #1

illuzen opened this issue Oct 1, 2014 · 2 comments

Comments

@illuzen
Copy link

illuzen commented Oct 1, 2014

$ pip --version
pip 1.5.4 from /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages (python 3.4)

Downloading/unpacking opendig
Downloading opendig-0.1.0.tar.gz
Running setup.py (path:/private/tmp/pip_build_root/opendig/setup.py) egg_info for package opendig

Downloading/unpacking cement==2.2.2 (from opendig)
Downloading cement-2.2.2.tar.gz (101kB): 101kB downloaded
Running setup.py (path:/private/tmp/pip_build_root/cement/setup.py) egg_info for package cement

Downloading/unpacking dnspython==1.11.1 (from opendig)
Downloading dnspython-1.11.1.zip (220kB): 220kB downloaded
Running setup.py (path:/private/tmp/pip_build_root/dnspython/setup.py) egg_info for package dnspython

Installing collected packages: opendig, cement, dnspython
Running setup.py install for opendig
changing mode of build/scripts-3.4/opendig from 644 to 755

changing mode of /Library/Frameworks/Python.framework/Versions/3.4/bin/opendig to 755

Running setup.py install for cement

Running setup.py install for dnspython
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/dns/dnssec.py", line 117
raise UnsupportedAlgorithm, 'unsupported algorithm "%s"' % algorithm
^
SyntaxError: invalid syntax

Sorry: TabError: inconsistent use of tabs and spaces in indentation (edns.py, line 117)
  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/dns/entropy.py", line 104
    if size > 4294967296L:
                        ^
SyntaxError: invalid syntax

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/dns/message.py", line 176
    return '<DNS message, ID ' + `self.id` + '>'
                                 ^
SyntaxError: invalid syntax

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/dns/name.py", line 171
    h = 0L
         ^
SyntaxError: invalid syntax

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/dns/node.py", line 172
    raise ValueError, 'replacement is not an rdataset'
                    ^
SyntaxError: invalid syntax

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/dns/query.py", line 118
    except select.error, e:
                       ^
SyntaxError: invalid syntax

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/dns/rdataclass.py", line 103
    text = 'CLASS' + `value`
                     ^
SyntaxError: invalid syntax

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/dns/rdatatype.py", line 213
    text = 'TYPE' + `value`
                    ^
SyntaxError: invalid syntax

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/dns/rdtypes/ANY/LOC.py", line 22
    _pows = (1L, 10L, 100L, 1000L, 10000L, 100000L, 1000000L, 10000000L,
              ^
SyntaxError: invalid syntax

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/dns/renderer.py", line 221
    ednsflags &= 0xFF00FFFFL
                           ^
SyntaxError: invalid syntax

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/dns/tokenizer.py", line 491
    if value < 0 or value > 4294967296L:
                                      ^
SyntaxError: invalid syntax

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/dns/tsig.py", line 96
    long_time = time + 0L
                        ^
SyntaxError: invalid syntax

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/dns/ttl.py", line 39
    total = 0L
             ^
SyntaxError: invalid syntax

  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/dns/zone.py", line 874
    except dns.exception.SyntaxError, detail:
                                    ^
SyntaxError: invalid syntax

Successfully installed opendig cement dnspython
Cleaning up...

$ opendig
ERROR: opendig is not installed. Try 'sudo pip install opendig'

@muneeb-ali
Copy link
Contributor

We haven't tested opendig with Python 3+ and at the moment it is only tested with Python 2.7. The problem you're reporting seems to be with dnspython (a requirement for opendig) with Python 3.

muneeb-ali added a commit that referenced this issue Aug 18, 2015
@muneeb-ali
Copy link
Contributor

This is no longer relevant to this repo, since opendig was deprecated and blockstore-cli is the new cli. Closing the issue.

muneeb-ali pushed a commit that referenced this issue Sep 17, 2016
This reverts commit 4f711580aa171e88d37c0b414e3a9a2b7418d0fe.
muneeb-ali pushed a commit that referenced this issue Mar 22, 2017
add support for profile schema validation
muneeb-ali pushed a commit that referenced this issue Mar 22, 2017
update package name to blockstack auth
muneeb-ali pushed a commit that referenced this issue Mar 22, 2017
muneeb-ali pushed a commit that referenced this issue Mar 22, 2017
muneeb-ali pushed a commit that referenced this issue Mar 22, 2017
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

2 participants