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

Commit e927195 prevents bot from starting when running without virtualenv #2834

Closed
g0wfv opened this issue Aug 7, 2016 · 4 comments
Closed

Comments

@g0wfv
Copy link

g0wfv commented Aug 7, 2016

Expected Behavior

Bot should starts

Actual Behavior

Bot doesn't start, instead says encode.so is missing.

Steps to Reproduce

Try to start the bot if you aren't using virtualenv!

Other Information

OS: Ubuntu 16.04
Git Commit: 4eb7b38
Python Version: 2.7.12

I am not using virtualenv and had the bot working previously by placing the compiled libencrypt.so into /usr/lib and symlinking it to /usr/lib/encrypt.so (I know renaming libencrypt.so to encrypt.so would have worked also!)

This commit explicitly looks for encrypt.so in the bot's directory and if it doesn't find it lets you know. What it should do is also take into account those of us not using virtualenv who have it working with a global environment.

g0wfv referenced this issue Aug 7, 2016
Fix 32bit check, darwin and linux use the same file

Make it a function

Check if file exists, if not show error

Define file_name first

Fix return

Check if file exists, if not show error

Print info about paths

Fix for 32/64bit detection
@bruvv
Copy link
Contributor

bruvv commented Aug 7, 2016

this is getting old really quickly.... @brantje can't you close the issue section and fix the wiki first?

@g0wfv
Copy link
Author

g0wfv commented Aug 7, 2016

Sorry, did I miss something (all too easy to do when info is very scarce on the ground!)

@douglascamata
Copy link
Member

Errr.... encrypt.so location has nothing to do with virtualenv. I'm running the latest dev correctly with encrypt.so in my bot's root folder and using virtualenv.

@g0wfv
Copy link
Author

g0wfv commented Aug 7, 2016

Just saying ... I'm probably not the only one to make the conscious
decision not to run virtualenv ..........

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

3 participants