six-pack / Axis-Mundi

A secure, resilient, distributed and open communication platform.
59 stars 21 forks source link

re: windows(10) install: wxpython dependency, issues with pysqlcipher / openSSL #24

Closed kumrzz closed 8 years ago

kumrzz commented 8 years ago

hi guys, I think wxpython shd be added to dependencies/a note added in the readme to be installed(http://www.wxpython.org/download.php) as u load this in axismundi.py

Also pls note I had a lot of trouble doing the init. install due to stoopid pysqlcipher and it might help to add to your install instructions that users must already have openSSL for win (https://www.openssl.org/source/) and set the corresponding PATH variable.

Everything still good with tails though, was just trying out win.

El--Presidente commented 8 years ago

@kumrzz - you are experienceing exactly the same pain we have been experiencing for the last 72 hours. That is getting this working again on Windows.

For some reason we are having issues with pysqlcipher too - these seem to stem from the stupid amalgam libraries being held on an HTTPS server with invslid certifcates hence breaking the Python setup installer.

This was not the case a few months ago when the WIndows build was painless.

The wxpython dependency is detailed in the README.Windows file however last time we looked.

Bottom line - we are working at the moment to fix the build on Windows. So issue accepted - thank you.

PS We do have the build working OK under Wine with the exception of one small problem which is gettinng fixed upstream in Puthonn 2.7.11 due out in the next few days. We would rather build the Axismundi.exe for Windows using Wine if possible.

thanks

EP

El--Presidente commented 8 years ago

The download which fails during pysqlcipher installation is amalgamation here: https://downloads.leap.se/libs/pysqlcipher/amalgamation-sqlcipher-2.1.0.zip

It looks like the issue is a certificate validation issue on downloads.leap.se which is using a LetsEncrypt generated SSL certificate.

six-pack commented 8 years ago

That was fun. We can build Windows Axis Mundi again now, including under Wine. There is a new Windows spec file for Pyinstaller which fixes the issue with pysqlcipher pyd file. Documents have been updated to show the build of pysqlcipher from source rather than pip until they fix the above certificate issue.

I'll post a commit shortly

six-pack commented 8 years ago

Done and comitted as 01fa1d5

I will watch pysqlcipher and see about raising a bug with them regarding the download but at least everything works again now.

kumrzz commented 8 years ago

suweet! installs successfully now thanks, very thorough work ! hey so I think I chose incorrect PGP credentials at setup the last time and now even the new install remembers those settings: any tips on how to(in a Windows environment) to fully purge Axis-Mundi so I can reinstall ? I doubt flushing the db is gunna work.

six-pack commented 8 years ago

Hi @kumrzz

On windows you just need to delete the axis mundi data directory which you should find in your users home directory like so:

C:\Users\USERNAME.dnmng

Then you should be back to the "create new identity" screen when you next start Axis Mundi

Thanks

Six