Failing Email Test

98 views
Skip to first unread message

John Mickey

unread,
Oct 18, 2013, 10:09:15 AM10/18/13
to cauliflower...@googlegroups.com
Running on 10.8.5 with Server

Followed the admin page instructions but I am stuck on this failing test.  I would appreciate a little help.


Testing util_test
..WARNING:root:Email settings are incorrectly configured; skipping
.F.
======================================================================
FAIL: testWithDefaults (util_test.SendEmailTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "build/bdist.macosx-10.8-intel/egg/mox.py", line 1899, in new_method
    func(self, *args, **kwargs)
  File "src/tests/cauliflowervest/server/util_test.py", line 91, in testWithDefaults
    util.SendEmail(recipients, subject, body, defer=False)
  File "/Users/itadmin/cauliflowervest/src/cauliflowervest/server/util.py", line 94, in SendEmail
    _Send(recipients, subject, body, sender, reply_to, bcc_recipients)
  File "/Users/itadmin/cauliflowervest/src/cauliflowervest/server/util.py", line 58, in _Send
    body=body)
  File "build/bdist.macosx-10.8-intel/egg/mox.py", line 1002, in __call__
    expected_method = self._VerifyMethodCall()
  File "build/bdist.macosx-10.8-intel/egg/mox.py", line 1060, in _VerifyMethodCall
    raise UnexpectedMethodCallError(self, expected)
UnexpectedMethodCallError: Unexpected method call.  unexpected:-  expected:+
- Stub for <class 'google.appengine.api.mail.EmailMessage'>.__call__(body='Only a unit test.\nReally.\nNothing to see here.', reply_to=None, sender='', subject='This is only a test!', to=['fo...@example.com', 'fo...@example.com']) -> None
?                                                                                                                                      ^^^^                                                                                             ^^^^

+ Stub for <class 'google.appengine.api.mail.EmailMessage'>.__call__(body='Only a unit test.\nReally.\nNothing to see here.', reply_to='', sender='', subject='This is only a test!', to=['fo...@example.com', 'fo...@example.com']) -> <MockAnything instance>
?                                                                                                                                      ^^                                                                                             ^^^^^^^^^^^^^^^^^^^^^^^

Justin McWilliams

unread,
Oct 18, 2013, 11:20:43 AM10/18/13
to cauliflower...@googlegroups.com
I should have a fix submitting shortly...
> --
> 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/groups/opt_out.

Justin McWilliams

unread,
Oct 18, 2013, 11:35:12 AM10/18/13
to cauliflower...@googlegroups.com
This works for our internal test infrastructure, but I haven't tested
the open source code (which differs slightly). Please "git pull", try
again, and let me know:
https://code.google.com/p/cauliflowervest/source/detail?r=ab94178e72b5db6fac2640c2498a290bf3fa84c7

FYI, I don't have a 10.7 or 10.8 OS X machine available at the moment,
so I wasn't able to test this myself.

John Mickey

unread,
Oct 18, 2013, 11:41:52 AM10/18/13
to cauliflower...@googlegroups.com
myserver:cauliflowervest user$ git pull
remote: Counting objects: 13, done.
Unpacking objects: 100% (13/13), done.
   c300f53..ab94178  master     -> origin/master
Updating c300f53..ab94178
Fast-forward
 src/cauliflowervest/server/settings.py                   |  4 ++--
 src/cauliflowervest/server/templates/retrieval_email.txt | 22 +++++++++++-----------
 src/cauliflowervest/server/util.py                       |  3 ++-
 src/tests/cauliflowervest/server/util_test.py            |  5 +++--
 4 files changed, 18 insertions(+), 16 deletions(-)

dosx01:cauliflowervest itadmin$ make test
/usr/bin/python2.7 -c 'import virtualenv' || \
sudo easy_install-2.7 -U virtualenv
[ -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
python-keyczar-0.7b/: Can't update time for python-keyczar-0.7b
python-keyczar-0.7b/setup.py: Can't create 'python-keyczar-0.7b/setup.py'
python-keyczar-0.7b/README: Can't create 'python-keyczar-0.7b/README'
python-keyczar-0.7b/testdata/: Can't create 'python-keyczar-0.7b/testdata'
python-keyczar-0.7b/testdata/dsa/: Can't create 'python-keyczar-0.7b/testdata/dsa'
python-keyczar-0.7b/testdata/dsa/2: Can't create 'python-keyczar-0.7b/testdata/dsa/2'
python-keyczar-0.7b/testdata/dsa/2.out: Can't create 'python-keyczar-0.7b/testdata/dsa/2.out'
python-keyczar-0.7b/testdata/dsa/meta: Can't create 'python-keyczar-0.7b/testdata/dsa/meta'
python-keyczar-0.7b/testdata/dsa/1.out: Can't create 'python-keyczar-0.7b/testdata/dsa/1.out'
python-keyczar-0.7b/testdata/dsa/1: Can't create 'python-keyczar-0.7b/testdata/dsa/1'
python-keyczar-0.7b/testdata/dsa.public/: Can't create 'python-keyczar-0.7b/testdata/dsa.public'
python-keyczar-0.7b/testdata/dsa.public/2: Can't create 'python-keyczar-0.7b/testdata/dsa.public/2'
python-keyczar-0.7b/testdata/dsa.public/meta: Can't create 'python-keyczar-0.7b/testdata/dsa.public/meta'
python-keyczar-0.7b/testdata/dsa.public/1: Can't create 'python-keyczar-0.7b/testdata/dsa.public/1'
python-keyczar-0.7b/testdata/rsa-sign/: Can't create 'python-keyczar-0.7b/testdata/rsa-sign'
python-keyczar-0.7b/testdata/rsa-sign/2: Can't create 'python-keyczar-0.7b/testdata/rsa-sign/2'
python-keyczar-0.7b/testdata/rsa-sign/2.out: Can't create 'python-keyczar-0.7b/testdata/rsa-sign/2.out'
python-keyczar-0.7b/testdata/rsa-sign/meta: Can't create 'python-keyczar-0.7b/testdata/rsa-sign/meta'
python-keyczar-0.7b/testdata/rsa-sign/1.out: Can't create 'python-keyczar-0.7b/testdata/rsa-sign/1.out'
python-keyczar-0.7b/testdata/rsa-sign/1: Can't create 'python-keyczar-0.7b/testdata/rsa-sign/1'
python-keyczar-0.7b/testdata/aes-crypted/: Can't create 'python-keyczar-0.7b/testdata/aes-crypted'
python-keyczar-0.7b/testdata/aes-crypted/2: Can't create 'python-keyczar-0.7b/testdata/aes-crypted/2'
python-keyczar-0.7b/testdata/aes-crypted/2.out: Can't create 'python-keyczar-0.7b/testdata/aes-crypted/2.out'
python-keyczar-0.7b/testdata/aes-crypted/meta: Can't create 'python-keyczar-0.7b/testdata/aes-crypted/meta'
python-keyczar-0.7b/testdata/aes-crypted/1.out: Can't create 'python-keyczar-0.7b/testdata/aes-crypted/1.out'
python-keyczar-0.7b/testdata/aes-crypted/1: Can't create 'python-keyczar-0.7b/testdata/aes-crypted/1'
python-keyczar-0.7b/testdata/aes/: Can't create 'python-keyczar-0.7b/testdata/aes'
python-keyczar-0.7b/testdata/aes/2: Can't create 'python-keyczar-0.7b/testdata/aes/2'
python-keyczar-0.7b/testdata/aes/2.out: Can't create 'python-keyczar-0.7b/testdata/aes/2.out'
python-keyczar-0.7b/testdata/aes/meta: Can't create 'python-keyczar-0.7b/testdata/aes/meta'
python-keyczar-0.7b/testdata/aes/1.out: Can't create 'python-keyczar-0.7b/testdata/aes/1.out'
python-keyczar-0.7b/testdata/aes/1: Can't create 'python-keyczar-0.7b/testdata/aes/1'
python-keyczar-0.7b/testdata/hmac/: Can't create 'python-keyczar-0.7b/testdata/hmac'
python-keyczar-0.7b/testdata/hmac/2: Can't create 'python-keyczar-0.7b/testdata/hmac/2'
python-keyczar-0.7b/testdata/hmac/2.out: Can't create 'python-keyczar-0.7b/testdata/hmac/2.out'
python-keyczar-0.7b/testdata/hmac/meta: Can't create 'python-keyczar-0.7b/testdata/hmac/meta'
python-keyczar-0.7b/testdata/hmac/1.out: Can't create 'python-keyczar-0.7b/testdata/hmac/1.out'
python-keyczar-0.7b/testdata/hmac/1: Can't create 'python-keyczar-0.7b/testdata/hmac/1'
python-keyczar-0.7b/testdata/rsa/: Can't create 'python-keyczar-0.7b/testdata/rsa'
python-keyczar-0.7b/testdata/rsa/2: Can't create 'python-keyczar-0.7b/testdata/rsa/2'
python-keyczar-0.7b/testdata/rsa/2.out: Can't create 'python-keyczar-0.7b/testdata/rsa/2.out'
python-keyczar-0.7b/testdata/rsa/meta: Can't create 'python-keyczar-0.7b/testdata/rsa/meta'
python-keyczar-0.7b/testdata/rsa/1.out: Can't create 'python-keyczar-0.7b/testdata/rsa/1.out'
python-keyczar-0.7b/testdata/rsa/1: Can't create 'python-keyczar-0.7b/testdata/rsa/1'
python-keyczar-0.7b/testdata/rsa-sign.public/: Can't create 'python-keyczar-0.7b/testdata/rsa-sign.public'
python-keyczar-0.7b/testdata/rsa-sign.public/2: Can't create 'python-keyczar-0.7b/testdata/rsa-sign.public/2'
python-keyczar-0.7b/testdata/rsa-sign.public/meta: Can't create 'python-keyczar-0.7b/testdata/rsa-sign.public/meta'
python-keyczar-0.7b/testdata/rsa-sign.public/1: Can't create 'python-keyczar-0.7b/testdata/rsa-sign.public/1'
python-keyczar-0.7b/jtestdata/: Can't create 'python-keyczar-0.7b/jtestdata'
python-keyczar-0.7b/jtestdata/dsa/: Can't create 'python-keyczar-0.7b/jtestdata/dsa'
python-keyczar-0.7b/jtestdata/dsa/2: Can't create 'python-keyczar-0.7b/jtestdata/dsa/2'
python-keyczar-0.7b/jtestdata/dsa/2.out: Can't create 'python-keyczar-0.7b/jtestdata/dsa/2.out'
python-keyczar-0.7b/jtestdata/dsa/meta: Can't create 'python-keyczar-0.7b/jtestdata/dsa/meta'
python-keyczar-0.7b/jtestdata/dsa/1.out: Can't create 'python-keyczar-0.7b/jtestdata/dsa/1.out'
python-keyczar-0.7b/jtestdata/dsa/1: Can't create 'python-keyczar-0.7b/jtestdata/dsa/1'
python-keyczar-0.7b/jtestdata/dsa.public/: Can't create 'python-keyczar-0.7b/jtestdata/dsa.public'
python-keyczar-0.7b/jtestdata/dsa.public/2: Can't create 'python-keyczar-0.7b/jtestdata/dsa.public/2'
python-keyczar-0.7b/jtestdata/dsa.public/meta: Can't create 'python-keyczar-0.7b/jtestdata/dsa.public/meta'
python-keyczar-0.7b/jtestdata/dsa.public/1: Can't create 'python-keyczar-0.7b/jtestdata/dsa.public/1'
python-keyczar-0.7b/jtestdata/rsa-sign/: Can't create 'python-keyczar-0.7b/jtestdata/rsa-sign'
python-keyczar-0.7b/jtestdata/rsa-sign/2: Can't create 'python-keyczar-0.7b/jtestdata/rsa-sign/2'
python-keyczar-0.7b/jtestdata/rsa-sign/2.out: Can't create 'python-keyczar-0.7b/jtestdata/rsa-sign/2.out'
python-keyczar-0.7b/jtestdata/rsa-sign/meta: Can't create 'python-keyczar-0.7b/jtestdata/rsa-sign/meta'
python-keyczar-0.7b/jtestdata/rsa-sign/1.out: Can't create 'python-keyczar-0.7b/jtestdata/rsa-sign/1.out'
python-keyczar-0.7b/jtestdata/rsa-sign/1: Can't create 'python-keyczar-0.7b/jtestdata/rsa-sign/1'
python-keyczar-0.7b/jtestdata/aes-crypted/: Can't create 'python-keyczar-0.7b/jtestdata/aes-crypted'
python-keyczar-0.7b/jtestdata/aes-crypted/2: Can't create 'python-keyczar-0.7b/jtestdata/aes-crypted/2'
python-keyczar-0.7b/jtestdata/aes-crypted/2.out: Can't create 'python-keyczar-0.7b/jtestdata/aes-crypted/2.out'
python-keyczar-0.7b/jtestdata/aes-crypted/meta: Can't create 'python-keyczar-0.7b/jtestdata/aes-crypted/meta'
python-keyczar-0.7b/jtestdata/aes-crypted/1.out: Can't create 'python-keyczar-0.7b/jtestdata/aes-crypted/1.out'
python-keyczar-0.7b/jtestdata/aes-crypted/1: Can't create 'python-keyczar-0.7b/jtestdata/aes-crypted/1'
python-keyczar-0.7b/jtestdata/aes/: Can't create 'python-keyczar-0.7b/jtestdata/aes'
python-keyczar-0.7b/jtestdata/aes/2: Can't create 'python-keyczar-0.7b/jtestdata/aes/2'
python-keyczar-0.7b/jtestdata/aes/2.out: Can't create 'python-keyczar-0.7b/jtestdata/aes/2.out'
python-keyczar-0.7b/jtestdata/aes/meta: Can't create 'python-keyczar-0.7b/jtestdata/aes/meta'
python-keyczar-0.7b/jtestdata/aes/1.out: Can't create 'python-keyczar-0.7b/jtestdata/aes/1.out'
python-keyczar-0.7b/jtestdata/aes/1: Can't create 'python-keyczar-0.7b/jtestdata/aes/1'
python-keyczar-0.7b/jtestdata/hmac/: Can't create 'python-keyczar-0.7b/jtestdata/hmac'
python-keyczar-0.7b/jtestdata/hmac/2: Can't create 'python-keyczar-0.7b/jtestdata/hmac/2'
python-keyczar-0.7b/jtestdata/hmac/2.out: Can't create 'python-keyczar-0.7b/jtestdata/hmac/2.out'
python-keyczar-0.7b/jtestdata/hmac/meta: Can't create 'python-keyczar-0.7b/jtestdata/hmac/meta'
python-keyczar-0.7b/jtestdata/hmac/1.out: Can't create 'python-keyczar-0.7b/jtestdata/hmac/1.out'
python-keyczar-0.7b/jtestdata/hmac/1: Can't create 'python-keyczar-0.7b/jtestdata/hmac/1'
python-keyczar-0.7b/jtestdata/rsa/: Can't create 'python-keyczar-0.7b/jtestdata/rsa'
python-keyczar-0.7b/jtestdata/rsa/2: Can't create 'python-keyczar-0.7b/jtestdata/rsa/2'
python-keyczar-0.7b/jtestdata/rsa/2.out: Can't create 'python-keyczar-0.7b/jtestdata/rsa/2.out'
python-keyczar-0.7b/jtestdata/rsa/meta: Can't create 'python-keyczar-0.7b/jtestdata/rsa/meta'
python-keyczar-0.7b/jtestdata/rsa/1.out: Can't create 'python-keyczar-0.7b/jtestdata/rsa/1.out'
python-keyczar-0.7b/jtestdata/rsa/1: Can't create 'python-keyczar-0.7b/jtestdata/rsa/1'
python-keyczar-0.7b/jtestdata/rsa-sign.public/: Can't create 'python-keyczar-0.7b/jtestdata/rsa-sign.public'
python-keyczar-0.7b/jtestdata/rsa-sign.public/2: Can't create 'python-keyczar-0.7b/jtestdata/rsa-sign.public/2'
python-keyczar-0.7b/jtestdata/rsa-sign.public/meta: Can't create 'python-keyczar-0.7b/jtestdata/rsa-sign.public/meta'
python-keyczar-0.7b/jtestdata/rsa-sign.public/1: Can't create 'python-keyczar-0.7b/jtestdata/rsa-sign.public/1'
python-keyczar-0.7b/setup.cfg: Can't create 'python-keyczar-0.7b/setup.cfg'
python-keyczar-0.7b/tests/: Can't create 'python-keyczar-0.7b/tests'
python-keyczar-0.7b/tests/keyczar/: Can't create 'python-keyczar-0.7b/tests/keyczar'
python-keyczar-0.7b/tests/keyczar/crypter_test.py: Can't create 'python-keyczar-0.7b/tests/keyczar/crypter_test.py'
python-keyczar-0.7b/tests/keyczar/keyczart_test.py: Can't create 'python-keyczar-0.7b/tests/keyczar/keyczart_test.py'
python-keyczar-0.7b/tests/keyczar/alltests.py: Can't create 'python-keyczar-0.7b/tests/keyczar/alltests.py'
python-keyczar-0.7b/tests/keyczar/signer_test.py: Can't create 'python-keyczar-0.7b/tests/keyczar/signer_test.py'
python-keyczar-0.7b/tests/keyczar/__init__.py: Can't create 'python-keyczar-0.7b/tests/keyczar/__init__.py'
python-keyczar-0.7b/tests/keyczar/openssl: Can't create 'python-keyczar-0.7b/tests/keyczar/openssl'
python-keyczar-0.7b/tests/.svn/: Can't create 'python-keyczar-0.7b/tests/.svn'
python-keyczar-0.7b/tests/.svn/entries: Can't create 'python-keyczar-0.7b/tests/.svn/entries'
python-keyczar-0.7b/tests/.svn/all-wcprops: Can't create 'python-keyczar-0.7b/tests/.svn/all-wcprops'
python-keyczar-0.7b/tests/.svn/prop-base/: Can't create 'python-keyczar-0.7b/tests/.svn/prop-base'
python-keyczar-0.7b/tests/.svn/tmp/: Can't create 'python-keyczar-0.7b/tests/.svn/tmp'
python-keyczar-0.7b/tests/.svn/tmp/prop-base/: Can't create 'python-keyczar-0.7b/tests/.svn/tmp/prop-base'
python-keyczar-0.7b/tests/.svn/tmp/props/: Can't create 'python-keyczar-0.7b/tests/.svn/tmp/props'
python-keyczar-0.7b/tests/.svn/tmp/text-base/: Can't create 'python-keyczar-0.7b/tests/.svn/tmp/text-base'
python-keyczar-0.7b/tests/.svn/props/: Can't create 'python-keyczar-0.7b/tests/.svn/props'
python-keyczar-0.7b/tests/.svn/text-base/: Can't create 'python-keyczar-0.7b/tests/.svn/text-base'
python-keyczar-0.7b/PKG-INFO: Can't create 'python-keyczar-0.7b/PKG-INFO'
python-keyczar-0.7b/src/: Can't create 'python-keyczar-0.7b/src'
python-keyczar-0.7b/src/keyczar/: Can't create 'python-keyczar-0.7b/src/keyczar'
python-keyczar-0.7b/src/keyczar/keyinfo.py: Can't create 'python-keyczar-0.7b/src/keyczar/keyinfo.py'
python-keyczar-0.7b/src/keyczar/keydata.py: Can't create 'python-keyczar-0.7b/src/keyczar/keydata.py'
python-keyczar-0.7b/src/keyczar/errors.py: Can't create 'python-keyczar-0.7b/src/keyczar/errors.py'
python-keyczar-0.7b/src/keyczar/keys.py: Can't create 'python-keyczar-0.7b/src/keyczar/keys.py'
python-keyczar-0.7b/src/keyczar/readers.py: Can't create 'python-keyczar-0.7b/src/keyczar/readers.py'
python-keyczar-0.7b/src/keyczar/__init__.py: Can't create 'python-keyczar-0.7b/src/keyczar/__init__.py'
python-keyczar-0.7b/src/keyczar/keyczar.py: Can't create 'python-keyczar-0.7b/src/keyczar/keyczar.py'
python-keyczar-0.7b/src/keyczar/util.py: Can't create 'python-keyczar-0.7b/src/keyczar/util.py'
python-keyczar-0.7b/src/keyczar/keyczart.py: Can't create 'python-keyczar-0.7b/src/keyczar/keyczart.py'
python-keyczar-0.7b/src/.svn/: Can't create 'python-keyczar-0.7b/src/.svn'
python-keyczar-0.7b/src/.svn/entries: Can't create 'python-keyczar-0.7b/src/.svn/entries'
python-keyczar-0.7b/src/.svn/all-wcprops: Can't create 'python-keyczar-0.7b/src/.svn/all-wcprops'
python-keyczar-0.7b/src/.svn/prop-base/: Can't create 'python-keyczar-0.7b/src/.svn/prop-base'
python-keyczar-0.7b/src/.svn/tmp/: Can't create 'python-keyczar-0.7b/src/.svn/tmp'
python-keyczar-0.7b/src/.svn/tmp/prop-base/: Can't create 'python-keyczar-0.7b/src/.svn/tmp/prop-base'
python-keyczar-0.7b/src/.svn/tmp/props/: Can't create 'python-keyczar-0.7b/src/.svn/tmp/props'
python-keyczar-0.7b/src/.svn/tmp/text-base/: Can't create 'python-keyczar-0.7b/src/.svn/tmp/text-base'
python-keyczar-0.7b/src/.svn/props/: Can't create 'python-keyczar-0.7b/src/.svn/props'
python-keyczar-0.7b/src/.svn/text-base/: Can't create 'python-keyczar-0.7b/src/.svn/text-base'
python-keyczar-0.7b/doc/: Can't create 'python-keyczar-0.7b/doc'
python-keyczar-0.7b/doc/pycrypt.tex: Can't create 'python-keyczar-0.7b/doc/pycrypt.tex'
python-keyczar-0.7b/doc/pycrypt.pdf: Can't create 'python-keyczar-0.7b/doc/pycrypt.pdf'
tar: Error exit delayed from previous errors.
make: *** [keyczar] Error 1

Justin McWilliams

unread,
Oct 18, 2013, 11:43:19 AM10/18/13
to cauliflower...@googlegroups.com
Seems unrelated. Try "make clean" and then "make test" again. Or
manually wipe out "tmp" in your working dir.
>> >> 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/groups/opt_out.
>
> --
> 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.

John Randolph

unread,
Oct 18, 2013, 11:45:39 AM10/18/13
to cauliflower...@googlegroups.com
Make sure you haven't tried to do this as multiple users, say earlier
you did it as root, and now are non-root, or something.
John Randolph -- Google New York

John Mickey

unread,
Oct 18, 2013, 11:53:31 AM10/18/13
to cauliflower...@googlegroups.com
Thanks to both of you.

I did try sudo after the initial test failed.

I deleted /tmp and ran "make test" without sudo

All Tests Completed Successfully

On to the next steps

>>> >> 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/groups/opt_out.
>>
>> --
>> 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
>> 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/groups/opt_out.
>
> --
> 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 Mickey

unread,
Oct 18, 2013, 12:59:14 PM10/18/13
to cauliflower...@googlegroups.com
I have made progress

I ran "make release" and see a deployment to my appspot

But I'm getting an error


I do not see a running instance

Any ideas?

Justin McWilliams

unread,
Oct 18, 2013, 1:01:31 PM10/18/13
to cauliflower...@googlegroups.com
http://appengine.google.com -> your app -> Logs. That should provide
some light into what is failing. If it's not obvious, please
copy/paste into an email to us.

- Justin
> --
> 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.

John Mickey

unread,
Oct 18, 2013, 2:05:19 PM10/18/13
to cauliflower...@googlegroups.com
Authorized the app with our Google Domain and it's up and running.  Thank you again.

I ran "make dmg" and logged the following

Writing cauliflowervest-0.9.3/setup.cfg
creating dist
Creating tar archive
removing 'cauliflowervest-0.9.3' (and everything under it)
gzip dist/cauliflowervest-0.9.3.tar
cd src/csfde ; \
xcodebuild -project csfde.xcodeproj
=== BUILD TARGET csfde OF PROJECT csfde WITH THE DEFAULT CONFIGURATION (Default) ===

Check dependencies
error: There is no SDK with the name or path '/Users/itadmin/cauliflowervest/src/csfde/macosx10.7'

** BUILD FAILED **


The following build commands failed:
Check dependencies
(1 failure)
make: *** [src/csfde/build/Default/csfde] Error 65

John




On Friday, October 18, 2013 12:01:31 PM UTC-5, Justin McWilliams wrote:
http://appengine.google.com -> your app -> Logs.  That should provide
some light into what is failing.  If it's not obvious, please
copy/paste into an email to us.

- Justin

On Fri, Oct 18, 2013 at 12:59 PM, John Mickey <jo...@dwolla.com> wrote:
> I have made progress
>
> I ran "make release" and see a deployment to my appspot
>
> But I'm getting an error
>
> https://dwolcauliflower.appspot.com/
>
> I do not see a running instance
>
> Any ideas?
>
> --
> 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

Justin McWilliams

unread,
Oct 18, 2013, 2:25:04 PM10/18/13
to cauliflower...@googlegroups.com
I responded to someone yesterday about this:
https://groups.google.com/d/msg/cauliflowervest-discuss/SGoTnDyAdmg/k1IgskzugS0J

Can you try what was suggested there, and let me know if it helps? I
will start down the path now of not building csfde if on 10.8+.
>> > 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/groups/opt_out.
>
> --
> 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,
Oct 18, 2013, 3:46:36 PM10/18/13
to cauliflower...@googlegroups.com
This may not be the most elaborate fix, so subject to change, but
build works on 10.8 lacking the 10.8 SDK with this:

https://code.google.com/p/cauliflowervest/source/detail?r=827941a15e9843f5bd0333fc3542fca8f6ae1a51

John Mickey

unread,
Oct 18, 2013, 4:21:33 PM10/18/13
to cauliflower...@googlegroups.com
Changing to 10.8 worked for me.  Thanks for your help again
>>> > 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/groups/opt_out.
>>
>> --
>> 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

John Mickey

unread,
Oct 21, 2013, 11:59:51 AM10/21/13
to cauliflower...@googlegroups.com
I have installed the package on a 10.8.5 client.

I run this: "sudo /usr/local/bin/cauliflowervest"

It loads the program, I enter my Google and local credentials, it logs in, then says it is unable to apply encryption. 

I have been looking for log files, but cannot find anything referencing CV.  Any ideas?

John Mickey

unread,
Oct 21, 2013, 2:50:25 PM10/21/13
to cauliflower...@googlegroups.com
Setup the loginhook on the same 10.8.5 client.  On reboot, I attempt a login, once I hit enter the login just spins and never completes.  To recover the machine, I reboot into command line and rename the login script so the system cannot find it.  

I'm going to test my dmg on a 10.7 client

John Mickey

unread,
Oct 21, 2013, 3:35:43 PM10/21/13
to cauliflower...@googlegroups.com
Ran the program on a 10.7 machine and see {Errno: 32] Broken pipe

Justin McWilliams

unread,
Oct 21, 2013, 3:40:13 PM10/21/13
to cauliflower...@googlegroups.com

If you want to run on 10.7, you mist build on 10.7. Otherwise csfde is not built.  Building on 10.7 will work on 10.8+ but not vice versa.

// mobile

--
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.

John Mickey

unread,
Oct 21, 2013, 3:56:39 PM10/21/13
to cauliflower...@googlegroups.com
Ok, good to know.  We're working on updating everything to 10.8.

Any ideas on why my 10.8.5 machine is not working?  Is there a logfile I should be looking at?
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.

Justin McWilliams

unread,
Oct 21, 2013, 4:04:06 PM10/21/13
to cauliflower...@googlegroups.com

Output should be in Terminal stdout/stderr if you launch from there.

// mobile

John Mickey

unread,
Oct 21, 2013, 4:13:14 PM10/21/13
to cauliflower...@googlegroups.com
Good call.  The error is permissions.  I'm running the command as sudo.  I also tried running as root and got the same error.

I'm not sure what is causing this

ERROR:root:fdesetup failed with stderr:

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:Sorry, try again.
Password:Sorry, try again.
Password:Sorry, try again.
sudo: 3 incorrect password attempts

ERROR:root:Encryption was not enabled. Please try again.
Traceback (most recent call last):
  File "/usr/local/cauliflowervest/cv/lib/python2.7/site-packages/cauliflowervest-0.9.3-py2.7.egg/cauliflowervest/client/mac/tkinter.py", line 187, in _PlainVolumeAction
    self.fvclient, username, password)
  File "/usr/local/cauliflowervest/cv/lib/python2.7/site-packages/cauliflowervest-0.9.3-py2.7.egg/cauliflowervest/client/mac/glue.py", line 173, in ApplyEncryption
    volume_uuid, recovery_token = tool.EnableEncryption()
  File "/usr/local/cauliflowervest/cv/lib/python2.7/site-packages/cauliflowervest-0.9.3-py2.7.egg/cauliflowervest/client/mac/glue.py", line 86, in EnableEncryption
    self._HandleFailure(e)
  File "/usr/local/cauliflowervest/cv/lib/python2.7/site-packages/cauliflowervest-0.9.3-py2.7.egg/cauliflowervest/client/mac/glue.py", line 104, in _HandleFailure
    'Problem running %s (exit status = %d)' % (self.NAME, e.returncode))
Error: Problem running fdesetup (exit status = 1)

Justin McWilliams

unread,
Oct 21, 2013, 4:15:31 PM10/21/13
to cauliflower...@googlegroups.com

Do not run as root or sudo.  It will automatically sudo for you when needed.

// mobile

--
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.

John Mickey

unread,
Oct 21, 2013, 4:20:19 PM10/21/13
to cauliflower...@googlegroups.com
The script will not run without sudo - permission denied: '/usr/local/cauliflowervest/cv/lib/python2.7/site-packages/google_apputils-0.4.0-py2.7.egg/EGG-INFO/namespace_packages.txt'
To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-discuss+unsub...@googlegroups.com.

Justin McWilliams

unread,
Oct 21, 2013, 4:27:48 PM10/21/13
to cauliflower...@googlegroups.com

Ah that's an issue others have reported. We need to fix.  Please manually chmod for now to fix.

// mobile

To unsubscribe from this group and stop receiving emails from it, send an email to cauliflowervest-d...@googlegroups.com.

Justin McWilliams

unread,
Oct 23, 2013, 5:11:22 PM10/23/13
to cauliflower...@googlegroups.com
John,

Did manually chmod'ing (-R)
'/usr/local/cauliflowervest/cv/lib/python2.7/site-packages/google_apputils-0.4.0-py2.7.egg'
help?

Apologies for the delay; I've been on vacation for the past few days.

- Justin

Justin McWilliams

unread,
Nov 8, 2013, 2:52:45 PM11/8/13
to cauliflower...@googlegroups.com

Meenesh Kapadia

unread,
Jan 28, 2016, 11:20:55 PM1/28/16
to cauliflowervest-discuss
Running 10.11.3 getting similar errors with the below test, any help would be appreciated!! 

======================================================================

ERROR: testOk (util_test.SendEmailTest)

testOk (util_test.SendEmailTest)

----------------------------------------------------------------------

Traceback (most recent call last):

  File "build/bdist.macosx-10.6-intel/egg/mock.py", line 1618, in _inner

    return f(*args, **kw)

  File "src/tests/cauliflowervest/server/util_test.py", line 56, in testOk

    self.assertEqual(1, len(mail_stub.get_sent_messages()))

  File "/Users/meenesh.kapadia/git/cauliflowervest/src/tests/gae_server.zip/google/appengine/api/apiproxy_stub.py", line 205, in WrappedMethod

    return method(self, *args, **kwargs)

  File "/Users/meenesh.kapadia/git/cauliflowervest/src/tests/gae_server.zip/google/appengine/api/mail_stub.py", line 183, in get_sent_messages

    email_message = mail.EmailMessage(mime_message=mime_message)

  File "/Users/meenesh.kapadia/git/cauliflowervest/src/tests/gae_server.zip/google/appengine/api/mail.py", line 741, in __init__

    mime_message = _parse_mime_message(mime_message)

  File "/Users/meenesh.kapadia/git/cauliflowervest/src/tests/gae_server.zip/google/appengine/api/mail.py", line 369, in _parse_mime_message

    return email.message_from_file(mime_message)

  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/__init__.py", line 66, in message_from_file

    return Parser(*args, **kws).parse(fp)

  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/parser.py", line 68, in parse

    data = fp.read(8192)

AttributeError: MIMEMultipart instance has no attribute 'read'


======================================================================

ERROR: testWithDefaults (util_test.SendEmailTest)

testWithDefaults (util_test.SendEmailTest)

----------------------------------------------------------------------

Traceback (most recent call last):

  File "build/bdist.macosx-10.6-intel/egg/mock.py", line 1618, in _inner

    return f(*args, **kw)

  File "src/tests/cauliflowervest/server/util_test.py", line 67, in testWithDefaults

    messages = mail_stub.get_sent_messages()

  File "/Users/meenesh.kapadia/git/cauliflowervest/src/tests/gae_server.zip/google/appengine/api/apiproxy_stub.py", line 205, in WrappedMethod

    return method(self, *args, **kwargs)

  File "/Users/meenesh.kapadia/git/cauliflowervest/src/tests/gae_server.zip/google/appengine/api/mail_stub.py", line 183, in get_sent_messages

    email_message = mail.EmailMessage(mime_message=mime_message)

  File "/Users/meenesh.kapadia/git/cauliflowervest/src/tests/gae_server.zip/google/appengine/api/mail.py", line 741, in __init__

    mime_message = _parse_mime_message(mime_message)

  File "/Users/meenesh.kapadia/git/cauliflowervest/src/tests/gae_server.zip/google/appengine/api/mail.py", line 369, in _parse_mime_message

    return email.message_from_file(mime_message)

  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/__init__.py", line 66, in message_from_file

    return Parser(*args, **kws).parse(fp)

  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/parser.py", line 68, in parse

    data = fp.read(8192)

AttributeError: MIMEMultipart instance has no attribute 'read'


----------------------------------------------------------------------

Ran 5 tests in 0.027s


FAILED (errors=2)

Testing group_sync_test

.....


>>>> 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/groups/opt_out.
>>
>> --
>> 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

Maxim Ermilov

unread,
Feb 1, 2016, 10:13:25 AM2/1/16
to cauliflower...@googlegroups.com
issue was fixed in trunk.

try doing clean checkout or 
git reset --hard HEAD
git clean -d -f
git pull


Thanks,
Maxim


>>>> 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/groups/opt_out.
>>
>> --
>> 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

>> 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/groups/opt_out.

--
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.
Reply all
Reply to author
Forward
0 new messages