ethereum / aleth

Aleth – Ethereum C++ client, tools and libraries
GNU General Public License v3.0
3.97k stars 2.17k forks source link

Install Failure: ValueError, "insecure string pickle" #3016

Closed raineorshine closed 8 years ago

raineorshine commented 8 years ago

I am trying to install the Mix IDE but am getting an error when I try to install via brew. It fails at the qt5 make step. Running OSX 10.11.4.

$ brew install cpp-ethereum --with-gui

Excerpt from /Users/raine/Library/Logs/Homebrew/qt5/02.make:

...
bootstrapping ninja...
Traceback (most recent call last):
  File "configure.py", line 436, in <module>
    if has_re2c():
  File "configure.py", line 432, in has_re2c
    proc = subprocess.Popen(['re2c', '-V'], stdout=subprocess.PIPE)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1334, in _execute_child
    child_exception = pickle.loads(data)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 1382, in loads
    return Unpickler(file).load()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 858, in load
    dispatch[key](self)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 966, in load_string
    raise ValueError, "insecure string pickle"
ValueError: insecure string pickle
/private/tmp/qt5-20160504-33639-1g1pghg/qt-everywhere-opensource-src-5.6.0/qtwebengine/src/3rdparty/ninja/ninja  -C /private/tmp/qt5-20160504-33639-1g1pghg/qt-everywhere-opensource-src-5.6.0/qtwebengine/src/core/Release
make[4]: /private/tmp/qt5-20160504-33639-1g1pghg/qt-everywhere-opensource-src-5.6.0/qtwebengine/src/3rdparty/ninja/ninja: No such file or directory
make[4]: *** [invoke_ninja] Error 1
make[3]: *** [sub-gyp_run-pro-make_first] Error 2
make[2]: *** [sub-core-make_first] Error 2
make[1]: *** [sub-src-make_first] Error 2
make: *** [module-qtwebengine-make_first] Error 2
make: *** Waiting for unfinished jobs....
...

This description of the error does not offer much that I can apply to this situation.

I have even fully uninstalled homebrew and re-installed it, same problem. Could anyone offer some help?

bobsummerwill commented 8 years ago

Hey. Are you the same person as "metaraine" from ...

https://gitter.im/ethereum/cpp-ethereum?at=570eb13f3ddb73ba105bce6e

Same issue? Same machine?

raineorshine commented 8 years ago

Yes. Same machine, same face :P. On Fri, May 6, 2016 at 3:40 PM Bob Summerwill notifications@github.com wrote:

Hey. Are you the same person as "metaraine" from ...

https://gitter.im/ethereum/cpp-ethereum?at=570eb13f3ddb73ba105bce6e

Same issue? Same machine?

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/ethereum/cpp-ethereum/issues/3016#issuecomment-217565293

bobsummerwill commented 8 years ago

Did you try nuking your whole Homebrew setup? Uninstall that as a whole, and reinstall Homebrew, then packages?

raineorshine commented 8 years ago

Yes, as mentioned in the ticket, I uninstalled all of Homebrew and re-installed. Same issue. On Fri, May 6, 2016 at 4:11 PM Bob Summerwill notifications@github.com wrote:

Did you try nuking your whole Homebrew setup? Uninstall that as a whole, and reinstall Homebrew, then packages?

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/ethereum/cpp-ethereum/issues/3016#issuecomment-217575459

bobsummerwill commented 8 years ago

OK - so I think you next step needs to be logging a ticket on https://github.com/Homebrew/homebrew with regard to that Qt5 formula, asking for their help. If they don't have bright ideas (though they probably will - they are very savvy!) then you might need to talk to the Qt5 team.

Good luck! Sorry that you are hitting such a weird and unique issue :-(

Another option is trying the DMG (which is for Yosemite but might work on El Capitan too): https://github.com/ethereum/webthree-umbrella/releases/download/v1.2.4/cpp-ethereum-v1.2.4.dmg

I'm working on finishing up El Capitan automation at the moment. There is also a known issue where that DMG seems to contain an older version of Mix, but it does not. On Yosemite at least :-(

raineorshine commented 8 years ago

Thank you! I didn't know I could just try the Yosemite DMG. It installed and I was able to create a new project, so good so far!

On Fri, May 6, 2016 at 10:38 PM Bob Summerwill notifications@github.com wrote:

OK - so I think you next step needs to be logging a ticket on https://github.com/Homebrew/homebrew with regard to that Qt5 formula, asking for their help. If they don't have bright ideas (though they probably will - they are very savvy!) then you might need to talk to the Qt5 team.

Good luck! Sorry that you are hitting such a weird and unique issue :-(

Another option is trying the DMG (which is for Yosemite but might work on El Capitan too):

https://github.com/ethereum/webthree-umbrella/releases/download/v1.2.4/cpp-ethereum-v1.2.4.dmg

I'm working on finishing up El Capitan automation at the moment. There is also a known issue where that DMG seems to contain an older version of Mix, but it does not. On Yosemite at least :-(

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/ethereum/cpp-ethereum/issues/3016#issuecomment-217606346

bobsummerwill commented 8 years ago

OK - I'll close this issue. Good luck!