Errors on Xibo Client during/after download from Xibo Server

Asked by Theo

Hi.
I'm a new Xibo user and I need to solve as soon as possible some issues on Xibo.
I will describe below what appens, including report of errors displayed.

Errors occurring when downloading media files on Xibo Client (Ubuntu 12.04) from Xibo Server.
Xibo Client release is 1.6.0rc2.

There's an incomplete files download on Xibo Client: for this reason scheduling doesn't start (no media files are displayed on Xibo Client).

Xibo Client PC: some Asus Vivo PC mod. VC-60 (CPU: Intel i3; RAM: 4GB; HDD: 500GB; Graphics: Intel 4000)

Exception in thread Thread-42:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
    self.run()
  File "XiboClient.py", line 1485, in run
    self.downloadMedia()
  File "XiboClient.py", line 1540, in downloadMedia
    response = self.parent.xmds.GetFile(self.tmpFileName,self.tmpType,self.offset,self.chunk)
  File "XiboClient.py", line 3677, in GetFile
    if self.check():
  File "XiboClient.py", line 3401, in check
    if not in_period(config.get('Main','connectionPeriod')):
  File "/opt/xibo/pyclient/client/python/ThirdParty/period/period.py", line 252, in in_period
    s.push(_check_timespec(item, now))
  File "/opt/xibo/pyclient/client/python/ThirdParty/period/period.py", line 291, in _check_timespec
    raise Exception, "Bad time specification: %s" % timespec
Exception: Bad time specification: lways

Exception in thread Thread-40:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
    self.run()
  File "XiboClient.py", line 1485, in run
    self.downloadMedia()
  File "XiboClient.py", line 1540, in downloadMedia
    response = self.parent.xmds.GetFile(self.tmpFileName,self.tmpType,self.offset,self.chunk)
  File "XiboClient.py", line 3677, in GetFile
    if self.check():
  File "XiboClient.py", line 3401, in check
    if not in_period(config.get('Main','connectionPeriod')):
  File "/opt/xibo/pyclient/client/python/ThirdParty/period/period.py", line 234, in in_period
    periodcode = _syntax.flatten(_parser.parse(period))
  File "/opt/xibo/pyclient/client/python/ThirdParty/period/period.py", line 54, in parse
    tok = self.get_token()
  File "/opt/xibo/pyclient/client/python/ThirdParty/period/period.py", line 93, in get_token
    tok = tok + self.str[self.i]
IndexError: string index out of range

Thanks a lot to all Xibo Developers & users!

Waiting a fast reply, have a good time!
Bye!
Theo.

Question information

Language:
English Edit question
Status:
Answered
For:
Xibo Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Alex Harrington (alexharrington) said :
#1

Your configuration file has errors. You've cut an A off of Always in the
collection period section

Revision history for this message
Theo (kobrat75) said :
#2

Thanks Alex for yout fast reply.
It's very strange because the default.cfg is correct: the value is "Always" and not "lways".
It seems that the client can't download all media contents...and I need to reload it to see my scheduling.
Do you have any idea to fix the issue?

Revision history for this message
Alex Harrington (alexharrington) said :
#3

Yes. Correct your config file and it will work

Revision history for this message
Theo (kobrat75) said :
#4

The config file was correct at beginning and the system doesn't work. The client doesn't receive/download all data from my scheduling.

Revision history for this message
Alex Harrington (alexharrington) said :
#5

The config file is not correct. There is an error in your site.cfg or
defaults.cfg file. Once you correct that it will download content. Not
before

Can you help with this problem?

Provide an answer of your own, or ask Theo for more information if necessary.

To post a message you must log in.