Help Installing

Help
zosX
2004-07-27
2013-04-17
  • zosX
    zosX
    2004-07-27

    Forgive me, but I've never installed python scripts before. Where should I put the files and why when I run ./btqueue.py do I get the following?

    thanatos:/usr/local/src/BTQueue-0.0.13# ./btqueue.py add /home/maggie/*.torrent
    Traceback (most recent call last):
      File "./btqueue.py", line 26, in ?
        from BitQueue import policy
      File "./BitQueue/policy.py", line 59, in ?
        from ip2cc import inet_aton
      File "./BitQueue/ip2cc.py", line 2
        from __future__ import generators
    SyntaxError: future feature generators is not defined
    thanatos:/usr/local/src/BTQueue-0.0.13#

    THANKS!

     
    • [fredrik@dras BTQueue-0.0.17]$ ./btqueue.py add ~/*.torrent
      Socket error - problem connecting to web service

      i get this one

       
    • Stingray
      Stingray
      2004-11-01

      u start it with ./btqueue.py scheduler

      then u write "help"

      (when its started u will see ">>>"

      thats when u know its running

      u should use "screen btqueue.py scheduler"

      so u get a virutal screen, so u can leave it on if u wanna get to it from ssh client... :)

       
    • Which version of python you are using? I recommend 2.2 or later. BTQueue 0.0.17 provides daemon mode to eliminate the use of screen.

       
    • vilero
      vilero
      2005-11-19

      I'm having this error on lastest version of btqueue..
      what i'm doing wrong?
      i started with ./btqueue.py scheduler
      thnx

      Traceback (most recent call last):
        File "./btqueue.py", line 47, in ?
          pol = policy.Policy(root_path)
        File "./BitQueue/policy.py", line 309, in __init__
          self.file = self.get_path(POLICY_FILE)
        File "./BitQueue/policy.py", line 444, in get_path
          os.mkdir(self.root_path)
      OSError: [Errno 13] Permission denied: '/.btqueue'

       
    • What is your operating system? It seems you don't have HOME environment setting properly.

       
    • Luigi Lenzi
      Luigi Lenzi
      2005-11-24

      I got this:

      Traceback (most recent call last):
        File "./btqueue.py", line 46, in ?
          from BitQueue import policy
        File "/Users/rebus/Downloads/BTQueue-0.0.18/BitQueue/policy.py", line 91, in ?
          from ip2cc import inet_aton
        File "/Users/rebus/Downloads/BTQueue-0.0.18/BitQueue/ip2cc.py", line 3, in ?
          from bsddb import btopen
        File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/bsddb/__init__.py", line 40, in ?
          import _bsddb
      ImportError: No module named _bsddb

      Any suggestions? Thanks!!

       
      • What is your OS? It seems your system don't have bsddb.

         
        • Luigi Lenzi
          Luigi Lenzi
          2005-11-26

          Mac OS X 10.3

          Thank you!

           
    • Luigi Lenzi
      Luigi Lenzi
      2005-11-29

      Thanks! But it seems to need Mac OS 10.4