Giter Site home page Giter Site logo

jkbrzt / cloudtunes Goto Github PK

View Code? Open in Web Editor NEW
2.5K 101.0 244.0 12.6 MB

Web-based music player for the cloud :cloud: :notes: Play music from YouTube, Dropbox, etc.

Home Page: https://twitter.com/jakubroztocil

License: Other

Python 32.02% CoffeeScript 52.11% Shell 0.24% HTML 2.00% Dockerfile 0.96% Sass 8.62% Handlebars 4.04%
music dropbox youtube web webapp spa backbone coffeescript python mongodb

cloudtunes's People

Contributors

dalareo avatar elgalu avatar hardcoder80 avatar jkbrzt avatar lsferreira42 avatar mhor avatar petems avatar raphaelr avatar richardpetithory avatar sammcj avatar suzyelbow 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  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  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  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

cloudtunes's Issues

Dropbox "sync" runs indefinitely without visible result

I finally gave up on Docker on Windows, and built everything under Cygwin. It went very smoothly, although I have to say that building and running cloudtunes for development requires a lot of reading between the lines.
In any case, everything built without error, I figured out how to get everything running without error, brought up the web page in Firefox with no issues, signed into Last.fm, and connected to Dropbox (which actually ended up requiring me to hack the keys into the Mongo DB, as they weren't being stored for some reason).
Then I started a Dropbox sync--which ran for 3 days and one night with no visible result in Firefox. I had each process running in its own terminal so I could watch them all, and aside from seeing a message about syncing with Dropbox when I click the refresh button in FF, the only evidence I saw that anything was happening was from redis:

[12608] 08 Dec 09:53:57.200 * 100 changes in 300 seconds. Saving...
[12608] 08 Dec 09:53:57.250 * Background saving started by pid 13580
[13580] 08 Dec 09:53:57.307 * DB saved on disk
[12608] 08 Dec 09:53:57.350 * Background saving terminated with success

repeated at ~30 minute intervals.

I should probably mention that I have ~2500 music files, and almost 200GB of general stuff. Given that cloudtunes seems to be searching all of Dropbox... that's got to take a while.

no error message, nothing happens

i installed cloudtunes using docker following the instructions in the readme.

i think everything works:

bash-4.3$ docker ps
CONTAINER ID        IMAGE                   COMMAND                CREATED             STATUS              PORTS                    NAMES
7790f8dd374f        cloudtunes-img:latest   "supervisord --nodae   3 seconds ago       Up 2 seconds        0.0.0.0:8000->8000/tcp   cloudtunes  

but i tried going to localhost:8000/ or 0.0.0.0/8000 or 127.0.0.1:/8000 but I get a generic "server not found message"

help?

Could not open requirements file: [Errno 2]

Quoting:

# Install cloudtunes-server
$ pip install -r requirements

Could not open requirements file: [Errno 2] No such file or directory: 'requirements'

Should be pip install -r requirements.txt

Missing local.py file.

During the docker img build.

Step 24 : ADD cloudtunes-server/cloudtunes/settings/local.py /home/cloudtunes/cloudtunes-server/cloudtunes/settings/local.py
INFO[0000] cloudtunes-server/cloudtunes/settings/local.py: no such file or directory 

Cannot push my code to Github

User@LAPTOP-PESODE6F MINGW64 ~/Desktop/Gmail/gmail-clone (master)
$ git push -u origin master
Logon failed, use ctrl+c to cancel basic credential prompt.
remote: Permission to yanshiuh/gmail-clone.git denied to yanshiuh.
fatal: unable to access 'https://github.com/yanshiuh/gmail-clone.git/': The requested URL returned error: 403

It's totally okay when I pushed few days before. But suddenly I couldn't push the code.
I already deleted some Generic Credentials but still couldn't work.
Hope can help me.

Authentication with facebook not working - facebook application - 500 internal error

I just followed steps from manual and install server, after login from facebook, 500 internarl error.

[I 140908 14:58:53 server:86] Starting up tornadio server on port '8001'
[I 140908 14:58:53 server:93] Starting Flash policy server on port '10843'
[I 140908 14:58:53 server:103] Entering IOLoop...
[I 140908 14:59:00 web:1856] 200 GET / (127.0.0.1) 3.70ms
[I 140908 14:59:00 web:1856] 304 GET /homepage/dropbox.png (127.0.0.1) 6.70ms
[I 140908 14:59:00 web:1856] 304 GET /homepage/top-tracks.png (127.0.0.1) 1.43ms
[I 140908 14:59:00 web:1856] 304 GET /homepage/cloudtunes.png (127.0.0.1) 1.21ms
[I 140908 14:59:00 web:1856] 304 GET /homepage/lastfm.png (127.0.0.1) 1.64ms
[I 140908 14:59:00 web:1856] 304 GET /homepage/subtle_surface.png (127.0.0.1) 0.82ms
[I 140908 14:59:02 web:1856] 302 GET /auth/facebook (127.0.0.1) 1.64ms
[W 140908 14:59:11 auth:85] Error response HTTP 400: Bad Request fetching https://graph.facebook.com/me?access_token=xxxx&fields=username%2Cpicture%2Cfirst_name%2Clast_name%2Cname%2Clocale%2Clink%2Cid
[E 140908 14:59:11 web:1433] Uncaught exception GET /auth/facebook?code=xxxx (127.0.0.1)
    HTTPRequest(protocol='http', host='music.nucleodigital.cc', method='GET', uri='/auth/facebook?code=xxxxx', version='HTTP/1.0', remote_ip='127.0.0.1', headers={'Accept-Language': 'en-US,en;q=0.8,pt;q=0.6', 'Accept-Encoding': 'gzip,deflate,sdch', 'X-Scheme': 'http', 'Host': 'music.nucleodigital.cc', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.94 Safari/537.36', 'Connection': 'close', 'Cookie': '_="2|1:0|10:1410202740|1:_|48:MmFkNGM4ZTgtZjViNS00YjBiLWE1MzMtYWY1MjMxYmY5Yjhh|d25c31dfdec29292d6d62f790a61972d350240dede8a3f00bd88f1adc943b7c6"', 'X-Real-Ip': '201.13.47.175'})
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1250, in wrapper
        return callback(*args, **kwargs)
      File "/usr/local/lib/python2.7/dist-packages/tornado/auth.py", line 1288, in _on_get_user_info
        future.set_result(None)
      File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 83, in set_result
        self._set_done()
      File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 97, in _set_done
        cb(self)
      File "/usr/local/lib/python2.7/dist-packages/tornado/auth.py", line 87, in _auth_future_to_callback
        callback(result)
      File "/home/hacker/music/cloudtunes-server/cloudtunes/services/facebook/handlers.py", line 48, in _on_login
        user = User.objects.get(facebook__id=fb_data['id'])
    TypeError: 'NoneType' object has no attribute '__getitem__'

I believe that this problem is related with missing permissions from app that i ve created.

Could you provide more info about setup facebook app to use with?

Cannot build docker image

$ docker build --tag=cloudtunes-img .
Sending build context to Docker daemon
2014/11/10 17:13:48 Post http:///var/run/docker.sock/v1.15/build?rm=1&t=cloudtunes-img: dial unix /var/run/docker.sock: no such file or directory

Allow login using Last.fm

For people who don't have a Facebook account, it would be nice to be able to login with Last.fm too.

Support for S3 stored music?

Hi, the Dropbox integration is great. But I'm also wondering if there are any plans for reading from AWS S3 buckets?

Thanks for the great project!

LastFM account with no picture raises exception

cloudtunes-server raises an exception if lastfm user has no profile picture even after successful login

raise ValidationError(message, errors=errors) ValidationError: ValidationError (User:None) (Invalid URL: : ['picture'])

Interface don't build!

Brunch watch:

leandro@crednote1:~/cloudtunes/cloudtunes-webapp$ brunch watch
08 Sep 19:34:07 - error: Compiling of 'app/sass/application.sass' failed. Error: File to import not found or unreadable: compass/css3/user-interface.
Load paths:
/home/leandro/cloudtunes/cloudtunes-webapp
/home/leandro/cloudtunes/cloudtunes-webapp/app/sass
on line 1 of standard input
Use --trace for backtrace.

Brunch build:
leandro@crednote1:~/cloudtunes/cloudtunes-webapp$ brunch build --optimize --config=config-dt.coffee
08 Sep 19:35:14 - warn: -c, --config option is deprecated. Use --env and config.overrides instead
08 Sep 19:35:14 - warn: -o, --optimize option is deprecated. Use -P, --production instead
08 Sep 19:35:16 - error: Compiling of 'app/sass/application.sass' failed. Error: File to import not found or unreadable: compass/css3/user-interface.
Load paths:
/home/leandro/cloudtunes/cloudtunes-webapp
/home/leandro/cloudtunes/cloudtunes-webapp/app/sass
on line 1 of standard input
Use --trace for backtrace.

More info:

leandro@crednote1:~/cloudtunes/cloudtunes-webapp$ brunch -V
1.7.14

leandro@crednote1:~/cloudtunes/cloudtunes-webapp$ npm -v
1.4.23

leandro@crednote1:~/cloudtunes/cloudtunes-webapp$ nodejs -v
v0.10.31

leandro@crednote1:~/cloudtunes/cloudtunes-webapp$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty

Issue with Dockerfile

Full log here: https://gist.github.com/petems/16607146d42be8747d9b

Most relevant bits:

 ---> Running in 24511ff5ff2a
npm WARN engine [email protected]: wanted: {"node":"~0.6.10 || 0.8 || 0.9"} (current: {"node":"0.10.31","npm":"1.4.23"})
 ---> Running in 489b658b526f
11 Sep 13:32:36 - warn: `-c, --config` option is deprecated. Use `--env` and `config.overrides` instead

/usr/lib/node_modules/brunch/lib/watch.js:428
            throw new Error("You probably need to execute `npm install` to ins
                  ^
Error: You probably need to execute `npm install` to install brunch plugins. Error: Cannot find module '/home/cloudtunes/cloudtunes-webapp/node_modules/javascript-brunch'
  at /usr/lib/node_modules/brunch/lib/watch.js:428:19
  at Array.map (native)
  at loadDeps (/usr/lib/node_modules/brunch/lib/watch.js:413:10)
  at loadPackages (/usr/lib/node_modules/brunch/lib/watch.js:433:15)
  at /usr/lib/node_modules/brunch/lib/watch.js:453:19
  at /usr/lib/node_modules/brunch/lib/helpers.js:517:16
  at /usr/lib/node_modules/brunch/lib/helpers.js:473:14
  at /usr/lib/node_modules/brunch/node_modules/read-components/index.js:263:16
  at /usr/lib/node_modules/brunch/node_modules/read-components/index.js:72:14
  at Object.cb [as oncomplete] (fs.js:168:19)

Failed to build docker image

When trying to build docker image I got following error:

npm WARN engine [email protected]: wanted: {"iojs":">= 1.0.0","node":">= 0.12.0"} (current: {"node":"0.10.48","npm":"2.15.1"})

> [email protected] install /home/cloudtunes/cloudtunes-webapp/node_modules/sass-brunch/node_modules/node-sass
> node scripts/install.js


/home/cloudtunes/cloudtunes-webapp/node_modules/sass-brunch/node_modules/node-sass/node_modules/request/node_modules/hawk/node_modules/boom/lib/index.js:5
const Hoek = require('hoek');
^^^^^
SyntaxError: Use of const in strict mode.
    at Module._compile (module.js:439:25)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/home/cloudtunes/cloudtunes-webapp/node_modules/sass-brunch/node_modules/node-sass/node_modules/request/node_modules/hawk/lib/index.js:5:33)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
npm ERR! Linux 4.10.0-26-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v0.10.48
npm ERR! npm  v2.15.1
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node scripts/install.js`
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the [email protected] install script 'node scripts/install.js'.
npm ERR! This is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node scripts/install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs node-sass
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls node-sass
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/cloudtunes/cloudtunes-webapp/npm-debug.log
The command '/bin/sh -c cd cloudtunes-webapp     && npm install     && brunch b --env config-dist.coffee' returned a non-zero code: 1

ERR_CONNECTION_REFUSED

The whole installation worked perfect without any errors, but when I want to open http://localhost:8000/ in my browser, I always get the message ERR_CONNECTION_REFUSED and nothing happens. Is that a configuration problem of my system (OSX Yosemite) or is there are problem in my cloudtunes installation? I tried it with Chrome, Safari, Firefox.
I don't know where to search for a solution because, as I said, the installation worked fine.
Sorry for being a github-newbie, this was my first try in working with the terminal since I'm using a Mac.

boot2docker url not working

Hi,

I've followed the instructions in the readme to build the image and run it as a container, all of that went well.

I have an issue where when running the container, I cannot view the web application in my browser.

Boot2Docker reports 192.168.59.103 as my IP, when using this IP with the port specified in the readme 8000 I get a page not found error message from the browser.

Is there anyway to debug this on my side at all?

Please make sure you have the correct access rights and the repository exists.

I have this error :

root@u12-49330:/data# git [email protected]:jakubroztocil/cloudtunes.git
git: '[email protected]:jakubroztocil/cloudtunes.git' is not a git command. See 'git --help'.
root@u12-49330:/data# git clone [email protected]:jakubroztocil/cloudtunes.git
Cloning into 'cloudtunes'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists

your github is still good?

Failed to start cloudtunes-worker [AttributeError: 'NoneType' object has no attribute 'on_soft_timeout']

I used the docker mode to start cloudtunes-server. The following things went OK
supervisord
redis-server
mongdb
Except cloudtunes-worker.
The error messages were as follows:

2017-04-18T07:28:57.650+0000 [initandlisten] connection accepted from 127.0.0.1:44944 #2 (1 connection now open)
/usr/local/lib/python2.7/dist-packages/celery/apps/worker.py:169: RuntimeWarning: Running celeryd with superuser privileges is discouraged!
'Running celeryd with superuser privileges is discouraged!'))

-------------- celery@4b460f042a3a v3.0.11 (Chiastic Slide)
---- **** -----
--- * *** * -- [Configuration]
-- * - **** --- . broker: redis://localhost:6379/1

  • ** ---------- . app: tasks:0x7fa7f774b390
  • ** ---------- . concurrency: 20 (processes)
  • ** ---------- . events: OFF (enable -E to monitor this worker)
  • ** ----------
  • *** --- * --- [Queues]
    -- ******* ---- . celery: exchange:celery(direct) binding:celery
    --- ***** -----

[2017-04-18 07:28:57,786: ERROR/MainProcess] Unrecoverable error: AttributeError("'NoneType' object has no attribute 'on_soft_timeout'",)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/celery/worker/init.py", line 347, in start
component.start()
File "/usr/local/lib/python2.7/dist-packages/celery/concurrency/base.py", line 111, in start
self.on_start()
File "/usr/local/lib/python2.7/dist-packages/celery/concurrency/processes/init.py", line 79, in on_start
self.on_soft_timeout = P._timeout_handler.on_soft_timeout
AttributeError: 'NoneType' object has no attribute 'on_soft_timeout'

cloudtunes-worker and cloudtunes-8000 exiting status 1 when using docker

Successfully built 505b6bb4e9e1
root@test:~/cloudtunes-master# docker images
REPOSITORY             TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
cloudtunes-img         latest              505b6bb4e9e1        12 seconds ago      946.7 MB
dockerfile/ubuntu      latest              29775a775590        10 hours ago        416.2 MB
tleyden5iwx/open-ocr   latest              a9fa81953639        5 days ago          1.566 GB
tutum/rabbitmq         latest              4c56c7f92bf7        7 days ago          264.2 MB
ubuntu                 latest              826544226fdc        7 days ago          194.2 MB
root@test:~/cloudtunes-master# docker run --name=cloudtunes --publish=8000:8000  --detach --tty cloudtunes-img
96d8da51aabff9de3800755a884e322c31e1c6980007c02f3886f62f42d72276
root@test:~/cloudtunes-master# docker logs 96d8
/usr/lib/python2.7/dist-packages/supervisor/options.py:295: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
  'Supervisord is running as root and it is searching '
2014-09-12 17:12:42,533 CRIT Supervisor running as root (no user in config file)
2014-09-12 17:12:42,533 WARN Included extra file "/etc/supervisor/conf.d/cloudtunes.conf" during parsing
2014-09-12 17:12:42,567 INFO RPC interface 'supervisor' initialized
2014-09-12 17:12:42,567 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2014-09-12 17:12:42,567 INFO supervisord started with pid 1
2014-09-12 17:12:43,575 INFO spawned: 'cloudtunes-worker' with pid 8
2014-09-12 17:12:43,582 INFO spawned: 'redis' with pid 9
2014-09-12 17:12:43,589 INFO spawned: 'mongod' with pid 10
2014-09-12 17:12:43,596 INFO spawned: 'cloudtunes-8000' with pid 11
2014-09-12 17:12:43,805 INFO exited: cloudtunes-worker (exit status 1; not expected)
2014-09-12 17:12:43,805 INFO exited: cloudtunes-8000 (exit status 1; not expected)
2014-09-12 17:12:45,070 INFO spawned: 'cloudtunes-worker' with pid 28
2014-09-12 17:12:45,071 INFO success: redis entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2014-09-12 17:12:45,071 INFO success: mongod entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2014-09-12 17:12:45,077 INFO spawned: 'cloudtunes-8000' with pid 29
2014-09-12 17:12:45,258 INFO exited: cloudtunes-worker (exit status 1; not expected)
2014-09-12 17:12:45,259 INFO exited: cloudtunes-8000 (exit status 1; not expected)
2014-09-12 17:12:47,267 INFO spawned: 'cloudtunes-worker' with pid 34
2014-09-12 17:12:47,272 INFO spawned: 'cloudtunes-8000' with pid 35
2014-09-12 17:12:47,442 INFO exited: cloudtunes-worker (exit status 1; not expected)
2014-09-12 17:12:47,445 INFO exited: cloudtunes-8000 (exit status 1; not expected)
root@test:~/cloudtunes-master# docker ps
CONTAINER ID        IMAGE                   COMMAND                CREATED             STATUS              PORTS                    NAMES
96d8da51aabf        cloudtunes-img:latest   supervisord --nodaem   56 seconds ago      Up 55 seconds       0.0.0.0:8000->8000/tcp   cloudtunes

Amazon EC2

Hello world and @jakubroztocil,

I've been trying to setup CloudTunes for several weeks with no luck. I had a friend do some debugging and he thought the following might be helpful...

[ec2-user@ip-172-31-10-177 ~]$ sudo -i
[root@ip-172-31-10-177 ~]# 
[root@ip-172-31-10-177 ~]# docker run cloudtunes-img
/usr/lib/python2.7/dist-packages/supervisor/options.py:295: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
  'Supervisord is running as root and it is searching '
2015-03-27 06:57:04,145 CRIT Supervisor running as root (no user in config file)
2015-03-27 06:57:04,146 WARN Included extra file "/etc/supervisor/conf.d/cloudtunes.conf" during parsing
2015-03-27 06:57:04,170 INFO RPC interface 'supervisor' initialized
2015-03-27 06:57:04,170 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2015-03-27 06:57:04,171 INFO supervisord started with pid 1
2015-03-27 06:57:05,173 INFO spawned: 'cloudtunes-worker' with pid 15
2015-03-27 06:57:05,175 INFO spawned: 'redis' with pid 16
2015-03-27 06:57:05,176 INFO spawned: 'mongod' with pid 17
2015-03-27 06:57:05,177 INFO spawned: 'cloudtunes-8000' with pid 18
2015-03-27 06:57:05,401 INFO exited: cloudtunes-8000 (exit status 1; not expected)
2015-03-27 06:57:05,402 INFO exited: cloudtunes-worker (exit status 1; not expected)
2015-03-27 06:57:06,728 INFO spawned: 'cloudtunes-worker' with pid 35
2015-03-27 06:57:06,729 INFO success: redis entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-03-27 06:57:06,729 INFO success: mongod entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-03-27 06:57:06,731 INFO spawned: 'cloudtunes-8000' with pid 36
2015-03-27 06:57:06,888 INFO exited: cloudtunes-8000 (exit status 1; not expected)
2015-03-27 06:57:06,890 INFO exited: cloudtunes-worker (exit status 1; not expected)
2015-03-27 06:57:08,893 INFO spawned: 'cloudtunes-worker' with pid 41
2015-03-27 06:57:08,894 INFO spawned: 'cloudtunes-8000' with pid 42
2015-03-27 06:57:09,057 INFO exited: cloudtunes-8000 (exit status 1; not expected)
2015-03-27 06:57:09,058 INFO exited: cloudtunes-worker (exit status 1; not expected)
2015-03-27 06:57:12,062 INFO spawned: 'cloudtunes-worker' with pid 47
2015-03-27 06:57:12,064 INFO spawned: 'cloudtunes-8000' with pid 48
2015-03-27 06:57:12,223 INFO exited: cloudtunes-8000 (exit status 1; not expected)
2015-03-27 06:57:12,223 INFO gave up: cloudtunes-8000 entered FATAL state, too many start retries too quickly
2015-03-27 06:57:12,223 INFO exited: cloudtunes-worker (exit status 1; not expected)
2015-03-27 06:57:13,225 INFO gave up: cloudtunes-worker entered FATAL state, too many start retries too quickly
^C2015-03-27 06:57:20,960 WARN received SIGINT indicating exit request
2015-03-27 06:57:20,960 INFO waiting for redis, mongod to die
2015-03-27 06:57:21,973 INFO stopped: mongod (exit status 0)
2015-03-27 06:57:22,039 INFO stopped: redis (exit status 0)
[root@ip-172-31-10-177 ~]# lsb_release
-bash: lsb_release: command not found
[root@ip-172-31-10-177 ~]#  cat /etc/issue
Amazon Linux AMI release 2015.03
Kernel \r on an \m

[root@ip-172-31-10-177 ~]# uname -a
Linux ip-172-31-10-177 3.14.35-28.38.amzn1.x86_64 #1 SMP Wed Mar 11 22:50:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[root@ip-172-31-10-177 ~]# 

I have over 500GB of music in Dropbox and am dying to get this working. If anyone can help me setup a working instance on my EC2 I will pay you $$$

BitBucket SSH Authentication

I configured the SSH based authentication as below

Created a public key on my UNIX server Added the public key on my Bitbucket repository with reading and write privileges (also tried it at account level) changed the URL from https to SSH at bitbucket and Unix server verified the URL using and it is displaying SSH URL only then Tried to push, but I am getting the below error. Permission denied (public key). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

I have read and write access to the repository

Any idea?

problem with depencie pymongo

trying to install cloudtunes-server but pymongo needs to be donwgraded. i have on my debian testing machine python-pymongo=2.7.1-1 installed but exactly 2.7 is needed. so after if execute "cloudtunes-worker worker --loglevel=INFO -c 4 &" to start the server, there is a log messeage like "ImportError: Motor 0.2.1 requires PyMongo at exactly version 2.7. You have PyMongo 2.7.2.".

why is exactly this version needed, and not also a newer version usable? my repo just have this version of pymongo and i don't want to install it manually with a .deb package or something

can anyone please update the code so that also newer versions can be used?

full error log:
marcel@Lara:/cloudtunes/cloudtunes-server$ Traceback (most recent call last):
File "/usr/local/bin/cloudtunes-worker", line 9, in
load_entry_point('cloudtunes==0.0.1', 'console_scripts', 'cloudtunes-worker')()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 356, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2476, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2190, in load
['name'])
File "/home/marcel/cloudtunes/cloudtunes-server/cloudtunes/init.py", line 10, in
from .users.models import User
File "/home/marcel/cloudtunes/cloudtunes-server/cloudtunes/users/models.py", line 10, in
from cloudtunes import async
File "/home/marcel/cloudtunes/cloudtunes-server/cloudtunes/async.py", line 4, in
import motor
File "/usr/local/lib/python2.7/dist-packages/motor/init.py", line 56, in
raise ImportError(msg)
ImportError: Motor 0.2.1 requires PyMongo at exactly version 2.7. You have PyMongo 2.7.2.
^C
[1]+ Exit 1 cloudtunes-worker worker --loglevel=INFO -c 4
marcel@Lara:
/cloudtunes/cloudtunes-server$

plugins for music streaming services

for example: it would be great if I could have the option supplement my local collection with an Rdio or Spotify subscription and have all of that available through a single interface

Permission denied (publickey). fatal: Could not read from remote repository.

I am not able to run these commands. I tired cloning over https still same error

Administrator@aastha MINGW64 /g/All-Around-Apparel-master (master)
$ git push
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Administrator@aastha MINGW64 /g/All-Around-Apparel-master (master)
$ git remote show origin
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Administrator@aastha MINGW64 /g/All-Around-Apparel-master (master)
$ git remote add origin [email protected]:DBegrajka/All-Around-Apparel.git
fatal: remote origin already exists.

Administrator@aastha MINGW64 /g/All-Around-Apparel-master (master)
$ git push origin master
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Administrator@aastha MINGW64 /g/All-Around-Apparel-master (master)
$ git pull origin master
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Administrator@aastha MINGW64 /g/All-Around-Apparel-master (master)
$ git remote add origin https://github.com/DBegrajka/All-Around-Apparel.git
fatal: remote origin already exists.

Administrator@aastha MINGW64 /g/All-Around-Apparel-master (master)
$ git clone https://github.com/DBegrajka/All-Around-Apparel.git
fatal: destination path 'All-Around-Apparel' already exists and is not an empty directory.

Administrator@aastha MINGW64 /g/All-Around-Apparel-master (master)
$ git remote rm origin git remote add origin ^C

Administrator@aastha MINGW64 /g/All-Around-Apparel-master (master)
$

Add Dockerfile

Add Docker support so that it's easy to run CloudTunes locally.

Ideally it would a single monolithic container containing both the app as well as running services (Redis, Mongo DB, and Nginx). The services part is where I struggle and help would be appreciated.

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.