layouts will not play

Asked by Andy

I have a workstation that my layouts will not play on. Another machine in the same display group plays the layout without any issues. Running the client from teh command line gives me

Switching to new logger
[10-12-30 11:50:30.363] WARNING: Could not find font face Arial. Using sans instead.
Rsplash-2 has expired
Exception in thread Thread-9:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
    self.run()
  File "/opt/xibo/pyclient/plugins/transitions/FadeOutTransition.py", line 56, in run
    self.callback()
  File "XiboClient.py", line 1676, in disposeTransitionComplete
    self.parent.regionDisposed()
  File "XiboClient.py", line 1391, in regionDisposed
    self.parent.nextLayout()
  File "XiboClient.py", line 3199, in nextLayout
    self.currentLM = XiboLayoutManager(self, self.Player, self.scheduler.nextLayout())
  File "XiboClient.py", line 2225, in nextLayout
    log.log(8,'info',__('Tried all layouts and none could run.'))
NameError: global name '__' is not defined

umm... well that was weird. I just closed the terminal and restarted the client again and it's playing now. What in the world heck might have happened? That's the third or 4th restart of the client since I've started working on it as well as doing a few refreshes in the middle.

any thoughts?

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

You've got a client versions one revision below latest.

That's already fixed.

Alex

Revision history for this message
Andy (athompson-mooreheadcomm) said :
#2

Can I update just the xiboclient.py file?

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

Yeah, assuming you were already running the 1.2.1a1 pre-release.

Alex

Revision history for this message
Andy (athompson-mooreheadcomm) said :
#4

File sizes and dates were the same between the version I was running and the version on bazaar. The last update I did to the client was when you fixed up the schedule date beyond 2038 issue.

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

Hi Andy

Sorry - I'd fixed it locally but not pushed up. It's there now.

All it is is that the server uses __( for gettext translations and the client uses _( hence the error.

Alex

Revision history for this message
Andy (athompson-mooreheadcomm) said :
#6

Ok. Would that cause the schedule to not pull in correctly? The client was showing the two layouts scheduled but it wouldn't play either of them.

Another question, I can start a new thread if you would prefer but it seems like the client is randomly just not refreshing here and there. I can't do a Q or R on the info screen and have to kill the client manually and then restart it. Nothing looks out of the ordinary running top it just doesn't seem like it wants to respond.

-andy

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

It will cause the client to throw an exception and from there all bets are off for anything working properly.

See if you have the same problems once that's fixed, but if you do I'll need log output as well as console output (which is where the exception will show up).

Alex

Revision history for this message
mtech (mgordhandas) said :
#8

i am also facing the same error with linux client 1.2.2a1

the layouts are being retrived but it does not play.. in the logs it shows Tried all layouts and none could run

Please help!

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

What's the logged reason for the layouts not playing?

Revision history for this message
mtech (mgordhandas) said :
#10

Layout 5 is the default. layout 6 is scheduled layout

LOG: 2011-06-30 15:03:20 (.disposeTransitionComplete:1753) 5 info Rsplash-2 is disposed.
LOG: 2011-06-30 15:03:20 (.regionDisposed:1452) 2 info L0-1 Region disposed. Checking if all regions have disposed
LOG: 2011-06-30 15:03:20 (.regionDisposed:1462) 2 info L0-1 All regions have disposed. Marking layout as disposed
LOG: 2011-06-30 15:03:20 (.regionDisposed:1468) 2 info LayoutManager->parent->nextLayout()
LOG: 2011-06-30 15:03:20 (.nextLayout:2224) 8 audit nextLayout: IN
LOG: 2011-06-30 15:03:20 (.__len__:2218) 8 audit There are 1 layouts in the scheduler.
LOG: 2011-06-30 15:03:20 (.nextLayout:2245) 8 audit Attempting to acquire scheduler layout lock.
LOG: 2011-06-30 15:03:20 (.nextLayout:2247) 8 audit Scheduler layout lock acquired.
LOG: 2011-06-30 15:03:20 (.__len__:2218) 8 audit There are 1 layouts in the scheduler.
LOG: 2011-06-30 15:03:20 (.__len__:2218) 8 audit There are 1 layouts in the scheduler.
LOG: 2011-06-30 15:03:20 (.nextLayout:2261) 8 audit Checking layout schedule ID 0.
LOG: 2011-06-30 15:03:20 (.nextLayout:2275) 8 audit Lift is enabled and there are no priority layouts.
LOG: 2011-06-30 15:03:20 (.canRun:2006) 3 info Layout 6 canRun(): schema-True media-True schedule-True plugin-True default-False
LOG: 2011-06-30 15:03:20 (.nextLayout:2282) 8 audit Trying next layout.
LOG: 2011-06-30 15:03:20 (.__len__:2218) 8 audit There are 1 layouts in the scheduler.
LOG: 2011-06-30 15:03:20 (.nextLayout:2304) 8 info Tried all layouts and none could run.
LOG: 2011-06-30 15:03:20 (.canRun:2006) 3 info Layout 5 canRun(): schema-True media-True schedule-False plugin-True default-True
LOG: 2011-06-30 15:03:20 (.enqueue:3508) 3 info Enqueue: del infoNowPlaying
LOG: 2011-06-30 15:03:20 (.enqueue:3514) 3 info Queue length is now 1
LOG: 2011-06-30 15:03:20 (.enqueue:3508) 3 info Enqueue: add ('<words id="infoNowPlaying" x="5" y="55" opacity="1" text="5 (Default)" font="Arial" color="000000" fontsize="11" />', 'info')
LOG: 2011-06-30 15:03:20 (.enqueue:3514) 3 info Queue length is now 2
LOG: 2011-06-30 15:03:20 (.frameHandle:3533) 5 debug Removed node infoNowPlaying
LOG: 2011-06-30 15:03:20 (.frameHandle:3528) 5 debug Added new node to info
LOG: 2011-06-30 15:03:20 (.nextLayout:2308) 8 audit Releasing scheduler layout lock.
LOG: 2011-06-30 15:03:20 (.__init__:1321) 3 info New XiboLayoutManager instance created.
LOG: 2011-06-30 15:03:20 (.nextLayout:3328) 2 info XiboLayoutManager: nextLayout() -> Starting new XiboLayoutManager with layout 5

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

You've enabled lift support. Turn that off and it should start working.

Alex

Revision history for this message
mtech (mgordhandas) said :
#12

Where do i make that change??
On 30 Jun 2011 15:41, "Alex Harrington" <
<email address hidden>> wrote:
> Question #139667 on Xibo changed:
> https://answers.launchpad.net/xibo/+question/139667
>
> Alex Harrington proposed the following answer:
> You've enabled lift support. Turn that off and it should start working.
>
> Alex
>
> --
> You received this question notification because you are a direct
> subscriber of the question.

Revision history for this message
mtech (mgordhandas) said :
#13

working!!
y was this error??

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

It looks like you've either edited the defaults.cfg and enabled lift
support there, or copied the lift section in to your site.cfg file.

Either way, it should look like this:

[Lift]
enabled=false

Alex

Can you help with this problem?

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

To post a message you must log in.