baruwaproject / baruwa2

Baruwa 2.0
http://www.baruwa.org
GNU General Public License v3.0
21 stars 9 forks source link

baruwa/bin/archive-download.py does not exist #71

Closed jbakuwel closed 8 years ago

jbakuwel commented 8 years ago

Hi,

I tried to install baruwa on a freshly installed 64bit Debian Jessie system (after installing MailScanner). After figuring out which dependencies I needed, I'm now stuck at:

baruwa/bin/archive-download.py does not exist

Perhaps it's an idea to add the installation of cython libpq-dev python-pip libmysqlclient-dev to the install script?

thanks, Jan

elvch01 commented 8 years ago

I too am seeing this exact issue on a Centos7 system.

I run "pip install baruwa" and get the following

Collecting baruwa
  Using cached baruwa-2.0.9.tar.bz2
Requirement already satisfied (use --upgrade to upgrade): Pylons>=1.0 in /usr/lib/python2.7/site-packages (from baruwa)
Requirement already satisfied (use --upgrade to upgrade): SQLAlchemy<0.8,>=0.7 in /usr/lib64/python2.7/site-packages (from baruwa)
Requirement already satisfied (use --upgrade to upgrade): wtforms in /usr/lib/python2.7/site-packages (from baruwa)

and a lot more of thethse then a load of "creating build/lib/..." until

creating build/scripts-2.7
    copying and adjusting bin/import-mbox.py -> build/scripts-2.7
    error: file '/tmp/pip-build-F1HoZq/baruwa/bin/archive-download.py' does not exist

    ----------------------------------------
Command "/usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-F1HoZq/baruwa/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).r
ead().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-fXreWe-record/install-record.txt --single-version-externally-managed --compile" failed with
 error code 1 in /tmp/pip-build-F1HoZq/baruwa

So I too am stuck and have no idea how I might proceed

elvch01 commented 8 years ago

I solved this by the following

pip download baruwa
bzip -dc baruwa-2.0.9.tar.bz2 | tar xvf -

edit the baruwa-2.0.9/setup.py to remove the offending line to match the setup.py in github

tar cvf baruwa-2.0.9.tar baruwa-2.0.9
bzip2 baruwa-2.0.9.tar
pip install ./baruwa-2.0.9.tar.bz2
akissa commented 8 years ago

Yes the github version