Giter VIP home page Giter VIP logo

torrentbox's People

Contributors

artembernatskyy avatar carpedm20 avatar myeonggyunhan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

torrentbox's Issues

Need help!

hey hi i found your app on the github and it look awesome but i cannot deploy it to pythonanywhere please help me asap.

heroku error

please check the heroku logs,


-----> Installing python-3.6.6

-----> Installing pip

-----> Installing SQLite3

-----> Installing requirements with pip

       Collecting amqp==1.4.9 (from -r /tmp/build_15be41c7cc8b487700c45537806cb028/requirements.txt (line 1))

         Downloading https://files.pythonhosted.org/packages/ed/09/314d2788aba0aa91f2578071a6484f87a615172a98c309c2aad3433da90b/amqp-1.4.9-py2.py3-none-any.whl (51kB)

       Collecting anyjson==0.3.3 (from -r /tmp/build_15be41c7cc8b487700c45537806cb028/requirements.txt (line 2))

         Downloading https://files.pythonhosted.org/packages/c3/4d/d4089e1a3dd25b46bebdb55a992b0797cff657b4477bc32ce28038fdecbc/anyjson-0.3.3.tar.gz

       Collecting billiard==3.3.0.23 (from -r /tmp/build_15be41c7cc8b487700c45537806cb028/requirements.txt (line 3))

         Downloading https://files.pythonhosted.org/packages/64/a6/d7b6fb7bd0a4680a41f1d4b27061c7b768c673070ba8ac116f865de4e7ca/billiard-3.3.0.23.tar.gz (151kB)

       Collecting celery==3.1.23 (from -r /tmp/build_15be41c7cc8b487700c45537806cb028/requirements.txt (line 4))

         Downloading https://files.pythonhosted.org/packages/de/df/59f5df67082ef46b86bc754b82f8cf187b835eea8a56ea8907813e75ad6d/celery-3.1.23-py2.py3-none-any.whl (520kB)

       Collecting Django==1.9.2 (from -r /tmp/build_15be41c7cc8b487700c45537806cb028/requirements.txt (line 5))

         Downloading https://files.pythonhosted.org/packages/26/49/c51f94a3940b3dee47f5a4a423fe50df7b9120bccda424f092269c083898/Django-1.9.2-py2.py3-none-any.whl (6.6MB)

       Collecting django-celery==3.1.17 (from -r /tmp/build_15be41c7cc8b487700c45537806cb028/requirements.txt (line 6))

         Downloading https://files.pythonhosted.org/packages/56/cc/6b9731091887dcb1c76ef48521e580bb2b0f469e6f4934072aac75a478f3/django-celery-3.1.17.tar.gz (79kB)

       Collecting kombu==3.0.35 (from -r /tmp/build_15be41c7cc8b487700c45537806cb028/requirements.txt (line 7))

         Downloading https://files.pythonhosted.org/packages/34/e6/a81b9cbcb107fc45af2d77b9f4b9745448be42b9952cc4c974f69a9239e7/kombu-3.0.35-py2.py3-none-any.whl (240kB)

       Collecting pytz==2016.6.1 (from -r /tmp/build_15be41c7cc8b487700c45537806cb028/requirements.txt (line 8))

         Downloading https://files.pythonhosted.org/packages/ba/c7/3d54cad4fb6cf7bf375d39771e67680ec779a541c68459210fcfdc3ba952/pytz-2016.6.1-py2.py3-none-any.whl (481kB)

       Collecting requests==2.11.0 (from -r /tmp/build_15be41c7cc8b487700c45537806cb028/requirements.txt (line 9))

         Downloading https://files.pythonhosted.org/packages/f8/90/42d5e0d9b5c4c3629a3d99823bbc3748fb85616f0f7a45e79ba7908d4642/requests-2.11.0-py2.py3-none-any.whl (514kB)

       Installing collected packages: amqp, anyjson, billiard, kombu, pytz, celery, Django, django-celery, requests

         Running setup.py install for anyjson: started

           Running setup.py install for anyjson: finished with status 'done'

         Running setup.py install for billiard: started

           Running setup.py install for billiard: finished with status 'done'

         Running setup.py install for django-celery: started

           Running setup.py install for django-celery: finished with status 'done'

       Successfully installed Django-1.9.2 amqp-1.4.9 anyjson-0.3.3 billiard-3.3.0.23 celery-3.1.23 django-celery-3.1.17 kombu-3.0.35 pytz-2016.6.1 requests-2.11.0

-----> $ python manage.py collectstatic --noinput

       Traceback (most recent call last):

         File "manage.py", line 10, in <module>

           execute_from_command_line(sys.argv)

         File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/__init__.py", line 353, in execute_from_command_line

           utility.execute()

         File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/__init__.py", line 345, in execute

           self.fetch_command(subcommand).run_from_argv(self.argv)

         File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/__init__.py", line 195, in fetch_command

           klass = load_command_class(app_name, subcommand)

         File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/__init__.py", line 40, in load_command_class

           return module.Command()

         File "/app/.heroku/python/lib/python3.6/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 32, in __init__

           self.storage.path('')

         File "/app/.heroku/python/lib/python3.6/site-packages/django/contrib/staticfiles/storage.py", line 48, in path

           raise ImproperlyConfigured("You're using the staticfiles app "

       django.core.exceptions.ImproperlyConfigured: You're using the staticfiles app without having set the STATIC_ROOT setting to a filesystem path.

 !     Error while running '$ python manage.py collectstatic --noinput'.

       See traceback above for details.

       You may need to update application code to resolve this error.

       Or, you can disable collectstatic for this application:

          $ heroku config:set DISABLE_COLLECTSTATIC=1

       https://devcenter.heroku.com/articles/django-assets

 !     Push rejected, failed to compile Python app.

 !     Push failed

Help to Instalation

Error:
from django.core.management import execute_from_command_line
ImportError: No module named django.core.management

Commands:
python manage.py runserver 0.0.0.0:8000
python manage.py celeryd -l info -c 2

UnicodeEncodeError: 'ascii' codec can't encode characters in position 44-49: ordinal not in range(128)

Here bellow is output:
it happens when we trying to load file with name in russian or ukrainian cyrillic languages

[2016-06-15 12:45:20,294: WARNING/MainProcess] celery@Ant-Server ready.
[2016-06-15 12:47:56,135: INFO/MainProcess] Received task: tasks.TorrentDownload[a46e1eb3-8188-426c-b347-6e0741c2a49e]
[2016-06-15 12:55:27,649: ERROR/MainProcess] Task tasks.TorrentDownload[a46e1eb3-8188-426c-b347-6e0741c2a49e] raised unexpected: UnicodeEncodeError('ascii', u'/webapps/torrent/code/static/TorrentStorage/\u0414\u044d\u0434\u043f\u0443\u043b.720p. Ton.mkv', 44, 50, 'ordinal not in range(128)')
Traceback (most recent call last):
  File "/webapps/torrent/env/local/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/webapps/torrent/env/local/lib/python2.7/site-packages/celery/app/trace.py", line 438, in __protected_call__
    return self.run(*args, **kwargs)
  File "/webapps/torrent/code/api/tasks.py", line 118, in TorrentDownload
    if os.path.isdir(filePath):
  File "/webapps/torrent/env/lib/python2.7/genericpath.py", line 41, in isdir
    st = os.stat(s)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 44-49: ordinal not in range(128)

404 Not Found error when Debug set to False

I set DEBUG to False, then in log, there are 404 error for some files.

[20/Aug/2015 16:29:54]"GET /static/semantic/dist/semantic.min.css HTTP/1.1" 404 111
[20/Aug/2015 16:29:54]"GET /static/css/TorrentBOX.css HTTP/1.1" 404 99
[20/Aug/2015 16:29:54]"GET /static/semantic/dist/semantic.min.js HTTP/1.1" 404 110                                          
[20/Aug/2015 16:29:54]"GET /static/assets/logo.png HTTP/1.1" 404 96
[20/Aug/2015 16:29:55]"GET /static/assets/logo.png HTTP/1.1" 404 96                                                           /home/torrent/TorrentBOX/static/TorrentStorage                

Help to instalation

cabox@box-codeanywhere:/workspace/TorrentBOX$ sudo pip install django==1.8.3
Downloading/unpacking django==1.8.3
Downloading Django-1.8.3-py2.py3-none-any.whl (6.2MB): 6.2MB downloaded
Installing collected packages: django
Successfully installed django
Cleaning up...
cabox@box-codeanywhere:
/workspace/TorrentBOX$ python manage.py runserver 0.0.0.0:8000
Traceback (most recent call last):
File "manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 338, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 303, in execute
settings.INSTALLED_APPS
File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 48, in getattr
self._setup(name)
File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 44, in _setup
self._wrapped = Settings(settings_module)
File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py", line 92, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "/home/cabox/workspace/TorrentBOX/TorrentBOX/init.py", line 5, in
from .celery import app as celery_app # noqa
File "/home/cabox/workspace/TorrentBOX/TorrentBOX/celery.py", line 5, in
from celery import Celery
ImportError: No module named celery
cabox@box-codeanywhere:/workspace/TorrentBOX$ python3 manage.py migrate
Traceback (most recent call last):
File "manage.py", line 8, in
from django.core.management import execute_from_command_line
ImportError: No module named 'django'
cabox@box-codeanywhere:
/workspace/TorrentBOX$

Can't add .torrent on raspberry

When i add a .torrent and it get Http 200 error,and celery can't get the worker.In database, I can find the .torrent,and its status is 'queued'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.