سطر 104: |
سطر 104: |
| | | |
| | | |
− | | + | 12- IOError: [Errno 26] Text file busy: './bin/python' django (Terminal) when run: |
− | # '''IOError: [Errno 26] Text file busy: './bin/python' django (Terminal) when run:
| |
| virtualenv --system-site-packages . | | virtualenv --system-site-packages . |
− | FIX→''' | + | FIX→ should not apply virtual env packages after installation |
− | | |
− | | |
− | should not apply virtual env packages after installation
| |
− | | |
| | | |
− | #'''pandora_client config
| + | 13- login failed! check config (Terminal) |
| + | pandora_client config |
| Current Config: | | Current Config: |
− | User pandora
| + | user: admin |
− | URL:http://127.0.0.1:8000/api/
| + | pwd: admin |
− | | + | URL: http://localhost/api/ |
| Leave empty to keep current value | | Leave empty to keep current value |
| + | configuration updated. |
| + | ⇒ After running pandora_client config |
| + | You can check ~/.ox/client.json |
| + | It should looks like the following lines: |
| + | 1 { |
| + | 2 "username": "admin", |
| + | 3 "url": "http://localhost/api/", |
| + | 4 "cache": "~/.ox/client.sqlite", (temporary db)(local db) |
| + | 5 "media-cache": "~/.ox/media", (temporary store) |
| | | |
− | Username:
| + | 6 "volumes": { |
− | Password:
| + | 7 "pandora_images": "/home/wafaa/Videos/" |
− | Pan.do/ra URL(i.e. http://pad.ma/api/):
| + | 8 }, |
− | | + | 9 "password": "admin" |
− | configuration updated.
| + | 10 } |
| pandora@ADEF-Wafaa:/home/wafaa/Videos$ pandora_client scan | | pandora@ADEF-Wafaa:/home/wafaa/Videos$ pandora_client scan |
− |
| |
− | login failed! check config
| |
− |
| |
− | (current config of local_seetings.py)-->
| |
− | DATA_SERVICE = 'https://data.0xdb.org/api/'
| |
− | VIDEO_PREFIX = "//video{uid}.127.0.0.1"
| |
− | SESSION_COOKIE_DOMAIN = ".127.0.0.1'''"
| |
− |
| |
− | NOT FIXED TILL NOW
| |
− | 14- RELATED ERROR:
| |
− | {u'status': {u'text': u'login required', u'code': 401}} (Terminal)
| |
− |
| |
− | DATA_SERVICE = 'http://localhost/api/'
| |
− | VIDEO_PREFIX = "//localhost"
| |
− | #SESSION_COOKIE_DOMAIN = ".localhost"
| |
− |
| |
| | | |
| | | |
سطر 161: |
سطر 150: |
| /home/wafaa/Videos/vids_for_pandora/pandora_camps_videos | | /home/wafaa/Videos/vids_for_pandora/pandora_camps_videos |
| /home/wafaa/Videos/vids_for_pandora/pandora_deca_videos | | /home/wafaa/Videos/vids_for_pandora/pandora_deca_videos |
− | | + | These folders suppose to have videos files .webm |
| + | Run the commands: |
| + | pandora_client scan |
| + | pandora_client sync |
| + | pandora_client upload |
| + | → Check https://wiki.0x2620.org/wiki/pandora_client for more details |
| without port 8000. This is only 4 dev server (it is virtual server) | | without port 8000. This is only 4 dev server (it is virtual server) |
| NOTICE | | NOTICE |
− | → Remove port 8000 fro many config. Make virtual server for my pandora site. Access it through http://localhost | + | 1 → Remove port 8000 from many config. Make virtual server for my pandora site. Access it through http://localhost |
| + | 2 → nginx is preferred to apache. May be cuz handles clean url (aliases) more than apache |
| + | 3- Remember to restart the server after changing any config |
| + | |
| + | 14- RELATED ERROR: |
| + | {u'status': {u'text': u'login required', u'code': 401}} (Terminal) |
| + | |
| + | DATA_SERVICE = 'http://localhost/api/' |
| + | VIDEO_PREFIX = "//localhost" |
| + | #SESSION_COOKIE_DOMAIN = ".localhost" |
| + | |
| | | |
| 16- Video is not playing in the browser and gives error file is corrupted although when I run mplayer from the terminal, I get the video working. I’m using Apache server. | | 16- Video is not playing in the browser and gives error file is corrupted although when I run mplayer from the terminal, I get the video working. I’m using Apache server. |
سطر 181: |
سطر 185: |
| VIDEO_PREFIX = "//localhost" | | VIDEO_PREFIX = "//localhost" |
| #SESSION_COOKIE_DOMAIN = ".localhost" | | #SESSION_COOKIE_DOMAIN = ".localhost" |
| + | |
| + | |
| | | |
| | | |