globaleaks / APAF

Anonymous Python Application Framework
33 stars 15 forks source link

Remove zinniablog from default services in APAF #43

Closed aagbsn closed 11 years ago

aagbsn commented 11 years ago

Running on fedora 17 inside a virtualenv, here are the instructions for replicating:

(install virtualenv, virtualenvwrapper -- yum install python-virtualenv python-virtualenvwrapper) mkvirtualenv VIRTUAL_ENVIRONMENT (will automatically activate this virtualenv) (install dependencies and apaf) cd /path/to/APAF; python apaf/main.py

APAF starts with this message:

(timestamp) [-] 'Cannot import service zinniablog'

Since this package is a package that can be built with APAF it should not be a hard coded dependency.

mmaker commented 11 years ago

That's because you have not installed zinniablog, which is required for the blog to run. Otherwise, APAF is simply refusing to run that service and print out the error message.

fpietrosanti commented 11 years ago

Are there a configuration file where the developer can configure which APAF service has to be enabled or not, and/or built at build-time or not?

If not, what do you think of something like that?

fpietrosanti commented 11 years ago

ah shit, i didn't see the commit :P