Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sometimes fails to run from start
#1
I'm a new convert to BlissFlixx, its great!

But I sometimes get a problem when I boot my system (maybe 1 in 5 times) where the Pi reports the following:-

Code:
{date/time} BLISSFLIXX Starting...
Traceback (most recent call last):
File "/home/pi/blissflixx/blissflixx.py", line 47 in <module>
import api, pwd, grp
...and this message continues in a similar way referencing lines 1, 129, 71 & so on.

I just cold-boot again and its usually fine.

I've configured my Pi as per this post on my blog: http://captainbodgit.blogspot.co.uk/2016/01/blissflixx-on-raspberrypi.html

Any ideas or suggestions would be appreciated.

Looks like adding a delay to blissflixx.py may be a work-around...

Code:
#!/usr/bin/python
from os import path
import sys, os
LIB_PATH = path.join(path.abspath(path.dirname(__file__)), "lib")
sys.path.append(LIB_PATH)
import locations, gitutils, cherrypy
import time
print ".............enforce a 10 second delay....."
time.sleep(10)

# Do not allow running as root

I'll live with it/tune it for a while and see what happens.
Reply
#2
Hi Steve,

I don't currently have any better ways to fix your issue than using the delay you suggest. Looks like some issue to do with something not being ready when BlissFlixx is launched. Let me know if you find a better fix.

Thanks for the great write-up on your blog  Big Grin  Big Grin Big Grin

Glad you like my media centre !

Let me know if you have any other issues.

Cheers
Reply
#3
I've discovered that I need the delay because I'm using wifi.

I have to delay BlissFlixx from starting until the Pi is connected to my network.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)