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

Cant install bakthat due to "Could not find a version that satisfies the requirement byteformat" #48

Open
kimpellikaan opened this issue Aug 7, 2013 · 8 comments

Comments

@kimpellikaan
Copy link

Hi there,

It seems bakthat is a great backup framework and would love to test it but getting it up and running is kind of a pain till now.

I ran pip install -U bakthat

Downloading/unpacking bakthat
  Downloading bakthat-0.6.0.tar.gz
  Running setup.py egg_info for package bakthat

    warning: no files found matching 'test'
Requirement already up-to-date: aaargh in /usr/local/lib/python2.7/dist-packages (from bakthat)
Requirement already up-to-date: boto in /usr/local/lib/python2.7/dist-packages (from bakthat)
Downloading/unpacking pycrypto (from bakthat)
  Downloading pycrypto-2.6.tar.gz (443kB): 443kB downloaded
  Running setup.py egg_info for package pycrypto

Downloading/unpacking beefish (from bakthat)
  Downloading beefish-0.1.1.tar.gz
  Running setup.py egg_info for package beefish

Downloading/unpacking grandfatherson (from bakthat)
  Downloading GrandFatherSon-1.2.tar.gz
  Running setup.py egg_info for package grandfatherson

Downloading/unpacking peewee (from bakthat)
  Downloading peewee-2.1.4.tar.gz (819kB): 819kB downloaded
  Running setup.py egg_info for package peewee

Downloading/unpacking byteformat (from bakthat)
  Could not find a version that satisfies the requirement byteformat (from bakthat) (from versions: 0.1a, 0.2a)
Cleaning up...
No distributions matching the version for byteformat (from bakthat)
Storing complete log in /root/.pip/pip.log

I followed #26 which got me further but now I am stuck here.

Any idea's?

@darkfn
Copy link

darkfn commented Aug 8, 2013

I've solved this, in my case there was some troubles with compiling pycrypto module. So I installed this module from aptitude:

aptitude install python-dev
aptitude install python-crypto

After that I tried to install bakthat using pip but there was same error with byteformat.
Finally, I tried to install from sources:

pip uninstall bakthat
git clone https://github.com/tsileo/bakthat.git
cd bakthat
sudo python setup.py install

And it works for me!

$ bakthat -h
     usage: bakthat [-h]

   {delete_older_than,rotate_backups,backup,show,configure,configure_backups_rotation,restore,delete,periodic_backups,sync,reset_sync}
           ...

Hope, it would help you.

@kimpellikaan
Copy link
Author

Thanks, it worked!

Only now I am facing new issues:

bakthat configure
Traceback (most recent call last):
  File "/usr/local/bin/bakthat", line 9, in <module>
    load_entry_point('bakthat==0.6.0', 'console_scripts', 'bakthat')()
  File "/usr/local/lib/python2.7/dist-packages/bakthat-0.6.0-py2.7.egg/bakthat/__init__.py", line 649, in main
    app.run()
  File "/usr/local/lib/python2.7/dist-packages/aaargh.py", line 157, in run
    return func(**kwargs)
  File "/usr/local/lib/python2.7/dist-packages/bakthat-0.6.0-py2.7.egg/bakthat/__init__.py", line 411, in configure
    new_conf = config.copy()
AttributeError: 'NoneType' object has no attribute 'copy'

Any idea?

@kimpellikaan
Copy link
Author

Acctualy it did not work at all. Anything I try gives back the above error.

Are you sure its working for you?

Kim

@darkfn
Copy link

darkfn commented Aug 8, 2013

You should try

sudo bakthat configure

@kimpellikaan
Copy link
Author

Hero!

I was executing the script as root so never though of it, nice!

@kimpellikaan
Copy link
Author

The framework seems to work very well.

Do you have an idea how long it takes for the files to show in the vault?

@ptone
Copy link

ptone commented Aug 17, 2013

On a related note, in case others come here looking for info - the 1.4 release of pip won't install the pre-release of byteformat without the --pre flag on the pip command

@smola
Copy link

smola commented Oct 28, 2013

I'm hitting this bug too. Note that I got it installed by following @ptone's suggestion:

pip install --pre bakthat

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

4 participants