pkg_resources.VersionConflict pyasn1-0.1.8

989 views
Skip to first unread message

Mark Kent

unread,
Jul 7, 2015, 11:07:47 AM7/7/15
to cauliflower...@googlegroups.com
Hi Everyone,

Im new to using Cauliflower Vest I have played around with older versions but since I saw the new version I thought it was time to have a go at implementing in our environment.

Im have everything set up I think but im getting a pkg_resources.VersionConflict when running a test.
/usr/bin/python2.7 -c 'import virtualenv' || \
sudo easy_install-2.7 -U virtualenv==1.10.1
[ -d VE ] || \
/usr/bin/python2.7 /usr/local/bin/virtualenv --no-site-packages VE
mkdir -p build
mkdir -p tmp/keycz
rm -rf ../../../build/keyczar
tar -zxf tmp/python-keyczar-0.7b.081911.tar.gz -C tmp/keycz
cd tmp/keycz/python-keyczar-* ; \
../../../VE/bin/python setup.py install
running install
running build
running build_py
running install_lib
running install_egg_info
Removing /Users/markkent/projects/CauliflowerVest/VE/lib/python2.7/site-packages/python_keyczar-0.7b-py2.7.egg-info
Writing /Users/markkent/projects/CauliflowerVest/VE/lib/python2.7/site-packages/python_keyczar-0.7b-py2.7.egg-info
# This strange import fixes some kind of race condition in the
# way that encodings.utf_8 retains its import of the codecs module.
#
# If we import encodings.utf_8 before google_test starts,
# it will import properly and be replaced between each module
# run when google_apputils does sys.modules cleanup.
#
# and the other bugs referenced there, I believe.
#
VE/bin/python -c \
'import encodings.utf_8; import sys; sys.argv=["setup.py","google_test"]; import setup' && echo ALL TESTS COMPLETED SUCCESSFULLY
running google_test
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "setup.py", line 75, in <module>
    google_test_dir='src/tests',
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/Users/markkent/projects/CauliflowerVest/VE/lib/python2.7/site-packages/setuptools/command/test.py", line 128, in run
    self.distribution.fetch_build_eggs(self.distribution.install_requires)
  File "/Users/markkent/projects/CauliflowerVest/VE/lib/python2.7/site-packages/setuptools/dist.py", line 289, in fetch_build_eggs
    parse_requirements(requires), installer=self.fetch_build_egg
  File "/Users/markkent/projects/CauliflowerVest/VE/lib/python2.7/site-packages/pkg_resources.py", line 630, in resolve
    raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (pyasn1 0.1.8 (/Users/markkent/projects/CauliflowerVest/pyasn1-0.1.8-py2.7.egg), Requirement.parse('pyasn1==0.1.7'))
make: *** [test] Error 1

John Randolph

unread,
Jul 7, 2015, 11:46:23 AM7/7/15
to cauliflower...@googlegroups.com
Hi,

this seems related/the same as the other traceback report from Chris Whittle.
it's a cascading dependency problem.

one of the dependencies we have is installing the newest pyasn1 possible, without a version specifier.
I think python_keyczar reaching for pyasn1 first and grabbing whatever's new.

just recently pyasn1 has released new versions, first 0.1.8 on June 22 and 0.1.9 on July 5.
nothing seems to suggest significant api changes in pyasn1 so this shouldn't be an issue.

...except that oauth2client 1.3 requires 0.1.7, which they just recently fixed to support >=0.1.7 in newer oauth2client versions, see

....however our cauliflowervest setup.py pegs oauth2client to 1.3, so you don't get that update:

I don't have an environment at this exact second to test this, but I would change our setup.py and instead of requiring 1.3:

    'oauth2client==1.3',

change it to the newest version:
  
   'oauth2client',

which should fix everything, assuming oauth2client didn't change its api in some way we aren't going to handle. changelog looks OK.

if that works for you please let me know.
thanks


uSwitch is a trading name of uSwitch Ltd. Registered in England and Wales (Company No. 03612689). Registered Address: Notcutt House, 36 Southwark Bridge Road, London, SE1 9EU

This communication and any attachments contains information which is confidential and may be subject to legal privilege. It is for intended recipients only. If you are not the intended recipient you must not copy, distribute, publish, rely on or otherwise use it without our consent. Some of our communications may contain confidential information which it could be a criminal offence for you to disclose or use without authority. If you have received this email in error please notify the sender immediately and delete the email from your computer.

uSwitch Ltd reserves the right to monitor all email communications for compliance with legal, regulatory and professional standards.

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.



--
John Randolph -- Google NYC -- Privacy Infrastructure Engineering

Chris Whittle

unread,
Jul 7, 2015, 12:15:32 PM7/7/15
to cauliflower...@googlegroups.com
Thanks everyone, I was hoping I wasn't crazy (at least in this instance)

I just tried what you suggested and I am still getting the error

setup.py on line 28 is now 
'oauth2client', 
 
Inline image 1

and after the build dmg on my fresh install I got the same error

Processing dependencies for cauliflowervest==0.10.1
error: pyasn1 0.1.8 is installed but pyasn1==0.1.7 is required by set(['oauth2client'])

Is there another place I need to make the change or do I need to update something else?

John Randolph

unread,
Jul 7, 2015, 4:04:13 PM7/7/15
to cauliflower...@googlegroups.com
Ok I pulled the current src and tried it myself.

Here's the combination of python modules we need:

REQUIRE = [
    'pyasn1==0.1.7',                   # required by: pycrypto
    'oauth2client',
]

After you've made this change please

  rm -rf VE *.egg
  make clean

A lot of eggs are compiled/cached and VE exists in between runs of 'make test'. It's possible our clean target should be more aggressive, but for now just do that. Then:

  make test

If everything completes fine, great, you're done.

If you get an include error for X11/Xlib.h then you encountered the same incomplete X11 includes problem I have with my 10.10 SDK.

I did the following to fix it:  (note the 10.10 version and make sure these paths actually exist)

sudo ln -sf /opt/X11/include/X11 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include//X11

With these changes to setup.py and adding this symlink 'make test' now completes for me.

We are setting pyasn1 to 0.1.7 because if we don't specify the pyasn1 version we get this fun chain of dependencies that leads to ultimate failure:
  pyasn1 0.1.8 -> six 1.9.0 -> rsa 3.1.4 -> pyasn1-modules 0.0.5 -> pyasn1 0.1.7  (error)

Starting with pyasn1 0.1.7 to begin with makes that same dependency chain work.

Let me know your results please...

Chris Whittle

unread,
Jul 7, 2015, 5:57:14 PM7/7/15
to cauliflower...@googlegroups.com
That did it! thanks
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.

To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.
--
John Randolph -- Google NYC -- Privacy Infrastructure Engineering

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.

To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.

To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

Mark Kent

unread,
Jul 8, 2015, 10:53:35 AM7/8/15
to cauliflower...@googlegroups.com
Yes that worked perfectly thanks! 
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.

To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.
--
John Randolph -- Google NYC -- Privacy Infrastructure Engineering

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.

To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.

To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

John Randolph

unread,
Jul 8, 2015, 10:55:21 AM7/8/15
to cauliflower...@googlegroups.com
great thanks both of you for testing, I'll get it into a release update.

To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.
--
John Randolph -- Google NYC -- Privacy Infrastructure Engineering

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.



--
John Randolph -- Google NYC -- Privacy Infrastructure Engineering
uSwitch is a trading name of uSwitch Ltd. Registered in England and Wales (Company No. 03612689). Registered Address: Notcutt House, 36 Southwark Bridge Road, London, SE1 9EU

This communication and any attachments contains information which is confidential and may be subject to legal privilege. It is for intended recipients only. If you are not the intended recipient you must not copy, distribute, publish, rely on or otherwise use it without our consent. Some of our communications may contain confidential information which it could be a criminal offence for you to disclose or use without authority. If you have received this email in error please notify the sender immediately and delete the email from your computer.

uSwitch Ltd reserves the right to monitor all email communications for compliance with legal, regulatory and professional standards.

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.

To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

Chris Whittle

unread,
Jul 8, 2015, 10:56:19 AM7/8/15
to cauliflower...@googlegroups.com
Ok I think I figured this and my erroneous code signing error

REQUIRE = [
    'pyasn1==0.1.7',                   # required by: pycrypto
    'oauth2client==1.4.11',
]

Do what John said to clean and re compile and you should be good.
There is an issue with the version of oauthclient it was that was fixed. pulling https://github.com/google/oauth2client/issues/72

Now it seems like it's working but I'm having a new error (Core storage must be disabled, if you just reverted, please reboot) , will start a new thread for it.

Thanks everyone!

To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.
--
John Randolph -- Google NYC -- Privacy Infrastructure Engineering

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.



--
John Randolph -- Google NYC -- Privacy Infrastructure Engineering

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.

Ted Jennings

unread,
Aug 21, 2015, 2:21:49 PM8/21/15
to cauliflowervest-discuss
Hi there,

So when I try make test I'm seeing the original issue reported by Mark above. I tried changing the Require line to 'oauth2client==1.4.11' and get farther but run into this issue:

Installed /Users/tjennings/cauliflowervest/mox-0.5.3-py2.7.egg

Searching for mock>=1.0.1

Reading https://pypi.python.org/simple/mock/

Best match: mock 1.3.0

Downloading https://pypi.python.org/packages/source/m/mock/mock-1.3.0.tar.gz#md5=73ee8a4afb3ff4da1b4afa287f39fdeb

Processing mock-1.3.0.tar.gz

Writing /var/folders/01/_sz078n15txdbmmf7tv_774h05b7w0/T/easy_install-0e6SBy/mock-1.3.0/setup.cfg

Running mock-1.3.0/setup.py -q bdist_egg --dist-dir /var/folders/01/_sz078n15txdbmmf7tv_774h05b7w0/T/easy_install-0e6SBy/mock-1.3.0/egg-dist-tmp-pweA1n

mock requires setuptools>=17.1. Aborting installation

error: Setup script exited with 1

make: *** [test] Error 1


So I tried setting mock to version 1.1 but ran into this:

Installed /private/var/folders/01/_sz078n15txdbmmf7tv_774h05b7w0/T/easy_install-kGkA_e/mock-1.1.0/pbr-1.5.0-py2.7.egg

error: Setup script exited with error in setup command: Invalid environment marker: (python_version<"3.3" and python_version>="3")

make: *** [test] Error 1


At this point I'm afraid to try any other changes and thought I'd come here for some help.


To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.
--
John Randolph -- Google NYC -- Privacy Infrastructure Engineering

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.



--
John Randolph -- Google NYC -- Privacy Infrastructure Engineering

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.

Justin McWilliams

unread,
Aug 24, 2015, 11:34:14 AM8/24/15
to cauliflower...@googlegroups.com
https://github.com/google/cauliflowervest/commit/1512cbdd48e6cc94fb6c0fdf0768e0fc16fd6da8

This got things moving for me again.  We should ultimately update setuptools, so we can update mock, but for now this builds and tests fine for me once again.

To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.
--
John Randolph -- Google NYC -- Privacy Infrastructure Engineering

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.



--
John Randolph -- Google NYC -- Privacy Infrastructure Engineering

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.

To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.

Ted Jennings

unread,
Aug 24, 2015, 2:00:48 PM8/24/15
to cauliflowervest-discuss
Well, I was able to complete the build, but now after entering the credentials in the Cvest window to start the encrypt I'm getting this:

ERROR:root:'module' object has no attribute 'webbrowser'

Traceback (most recent call last):

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/Tkinter.py", line 1536, in __call__

    return self.func(*args)

  File "/usr/local/cauliflowervest/cv/lib/python2.7/site-packages/cauliflowervest-0.10.1-py2.7.egg/cauliflowervest/client/mac/tkinter.py", line 164, in _PlainVolumeAction

    client_ = self._Authenticate(self._EncryptAuth)

  File "/usr/local/cauliflowervest/cv/lib/python2.7/site-packages/cauliflowervest-0.10.1-py2.7.egg/cauliflowervest/client/mac/tkinter.py", line 345, in _Authenticate

    credentials = base_client.GetOauthCredentials()

  File "/usr/local/cauliflowervest/cv/lib/python2.7/site-packages/cauliflowervest-0.10.1-py2.7.egg/cauliflowervest/client/base_client.py", line 284, in GetOauthCredentials

    oauth2client.tools.webbrowser.open(authorize_url, new=1, autoraise=True)

AttributeError: 'module' object has no attribute 'webbrowser'

To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.
--
John Randolph -- Google NYC -- Privacy Infrastructure Engineering

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.



--
John Randolph -- Google NYC -- Privacy Infrastructure Engineering

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.

To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.

Justin McWilliams

unread,
Aug 24, 2015, 2:28:11 PM8/24/15
to cauliflower...@googlegroups.com
Did you revert your oauth2client==1.4.11 config?  I think 1.4.12 should be selected by default, and should work... (but admittedly I haven't tested this far along...)

To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.
--
John Randolph -- Google NYC -- Privacy Infrastructure Engineering

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.



--
John Randolph -- Google NYC -- Privacy Infrastructure Engineering

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.

To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.

To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.

Justin McWilliams

unread,
Aug 24, 2015, 6:06:13 PM8/24/15
to cauliflower...@googlegroups.com

Ted Jennings

unread,
Aug 24, 2015, 7:12:35 PM8/24/15
to cauliflowervest-discuss
Getting close. It looks like it kicks off the encryption process and generates the recovery key, but then this happens:

ERROR:root:do_open() got an unexpected keyword argument 'context'

Traceback (most recent call last):

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/Tkinter.py", line 1536, in __call__

    return self.func(*args)

  File "/usr/local/cauliflowervest/cv/lib/python2.7/site-packages/cauliflowervest-0.10.1-py2.7.egg/cauliflowervest/client/mac/tkinter.py", line 177, in _PlainVolumeAction

    client_.UploadPassphrase(volume_uuid, recovery_token)

  File "/usr/local/cauliflowervest/cv/lib/python2.7/site-packages/cauliflowervest-0.10.1-py2.7.egg/cauliflowervest/client/base_client.py", line 227, in UploadPassphrase

    xsrf_token = self._FetchXsrfToken(base_settings.SET_PASSPHRASE_ACTION)

  File "/usr/local/cauliflowervest/cv/lib/python2.7/site-packages/cauliflowervest-0.10.1-py2.7.egg/cauliflowervest/client/base_client.py", line 172, in _FetchXsrfToken

    response = self._RetryRequest(request, 'Fetching XSRF token')

  File "/usr/local/cauliflowervest/cv/lib/python2.7/site-packages/cauliflowervest-0.10.1-py2.7.egg/cauliflowervest/client/base_client.py", line 181, in _RetryRequest

    return self.opener.open(request)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 431, in open

    response = self._open(req, data)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 449, in _open

    '_open', req)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain

    result = func(*args)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1240, in https_open

    context=self._context)

TypeError: do_open() got an unexpected keyword argument 'context'


and the recovery key doesn't show up on the app engine site.

To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.
--
John Randolph -- Google NYC -- Privacy Infrastructure Engineering

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.



--
John Randolph -- Google NYC -- Privacy Infrastructure Engineering

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.

To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.

To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.

Dan O'Boyle

unread,
Sep 10, 2015, 6:54:19 PM9/10/15
to cauliflowervest-discuss
I'm also seeing the behavior Ted describes on a fresh pull from the current repo. 
Encryptoin begins, but the key fails to pass to the GAE instance, same stack trace as above.

Justin McWilliams

unread,
Sep 10, 2015, 6:57:25 PM9/10/15
to cauliflower...@googlegroups.com
Are you also able to reproduce the problem a couple of updates prior, with this change? https://github.com/google/cauliflowervest/commit/1512cbdd48e6cc94fb6c0fdf0768e0fc16fd6da8  (or, after manually reverting the changes in https://github.com/google/cauliflowervest/commit/00bbe110aa5a8e74c70b8da16e5f45d40e3ce9c6)

To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.
--
John Randolph -- Google NYC -- Privacy Infrastructure Engineering

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.



--
John Randolph -- Google NYC -- Privacy Infrastructure Engineering

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.

To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.

To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.

To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.

Dan O'Boyle

unread,
Sep 11, 2015, 10:04:56 AM9/11/15
to cauliflowervest-discuss
Justin -
I can verify that stepping back to pyasn1 0.1.7 breaks tests with a version mis-match error. 
Something other than setup.py is looking for pyasn1>=0.1.8  
grepping the project returns nothing but the error seems to indicate something in the google_test_dir?

I'm just starting to dig into this, will share more as I find it.

Traceback (most recent call last):
 
File "<string>", line 1, in <module>

 
File "setup.py", line 76, in <module>
    google_test_dir
='src/tests',
 
File "/Users/doboyle/.pythonz/pythons/CPython-2.7.10/lib/python2.7/distutils/core.py", line 151, in setup
    dist
.run_commands()
 
File "/Users/doboyle/.pythonz/pythons/CPython-2.7.10/lib/python2.7/distutils/dist.py", line 953, in run_commands
   
self.run_command(cmd)
 
File "/Users/doboyle/.pythonz/pythons/CPython-2.7.10/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj
.run()
 
File "/Users/doboyle/code/cauliflowervest/VE/lib/python2.7/site-packages/setuptools/command/test.py", line 132, in run
   
self.distribution.install_requires)
 
File "/Users/doboyle/code/cauliflowervest/VE/lib/python2.7/site-packages/setuptools/dist.py", line 313, in fetch_build_eggs
    replace_conflicting
=True,
 
File "/Users/doboyle/code/cauliflowervest/VE/lib/python2.7/site-packages/pkg_resources/__init__.py", line 844, in resolve
   
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources
.ContextualVersionConflict: (pyasn1 0.1.7 (/Users/doboyle/code/cauliflowervest/.eggs/pyasn1-0.1.7-py2.7.egg), Requirement.parse('pyasn1>=0.1.8'), set(['pyasn1-modules']))

make
: *** [test] Error 1
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.
--
John Randolph -- Google NYC -- Privacy Infrastructure Engineering

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.



--
John Randolph -- Google NYC -- Privacy Infrastructure Engineering

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.

To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.

To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.

To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.

John Randolph

unread,
Sep 14, 2015, 10:40:44 AM9/14/15
to cauliflower...@googlegroups.com
As far as I know this was the original problem. I think this is further up in the thread.

if you allow setuptools to pull the newest pyasn1 it grabs 0.1.8.
then this dep tree is used, at least the last time I checked:

pyasn1
 0.1.8 -> six 1.9.0 -> rsa 3.1.4 -> pyasn1-modules 0.0.5 -> \
pyasn1 0.1.7 (error)

I don't know why pyasn1-modules 0.0.5 pulls 0.1.7 but it does.

another note I had was
"using a newer oauth2client (now at 1.4.3) allows the use of a newer pyasn1."

However in pyasn1-modules 1.17 it looks like they start dep'ing on pyasn 0.1.8 so this shouldn't be an issue:


can you build from a fresh directory to make sure lingering deps aren't around?


To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.
--
John Randolph -- Google NYC -- Privacy Infrastructure Engineering

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.
To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.



--
John Randolph -- Google NYC -- Privacy Infrastructure Engineering

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.

To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.

To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.

To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.

To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "cauliflowervest-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.

To post to this group, send email to cauliflower...@googlegroups.com.
Visit this group at http://groups.google.com/group/cauliflowervest-discuss.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages