Python Client 1.6.0-rc2 Datasets

Asked by ole2626

Hi

Thank you for at great digital signage.

My question is:

I'm using xibo 1.6.0 server and when I install the Python client i get version 1.6.0-rc2.

When I make a layout with a Datasets. The client only show splash screen.
If I remove the region with the Dataset it works. Do I try to make a dataset again it goes back to Splash screen.

Can python client 1.6.0-rc2 no show datasets?

Best Regards
Ole

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Dan Garner
Solved:
Last query:
Last reply:

This question was reopened

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

It's should be able to. Please provide suitable logs showing the problem

Revision history for this message
ole2626 (olesorensen2626) said :
#2

Hi Alex

It work if I install Win client and dont edit the layout

But python client log saids:
LOG: 2014-05-24 00:07:01 (.__setup:2342) 3 info Layout 9 has tags: []
LOG: 2014-05-24 00:07:01 (.canRun:2387) 3 info Layout 9 cannot run because file is missing from the md5Cache: 5a4e0b5de359aa6b11e74ae8d838b6cd-cache.html
LOG: 2014-05-24 00:07:01 (.canRun:2417) 3 info Layout 9 canRun(): schema-True media-False schedule-False plugin-True default-False
LOG: 2014-05-24 00:07:01 (.nextLayout:2797) 8 audit Trying next layout.

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

It's definitely a 1.6.0 CMS?

What it's saying is that the CMS hasn't told it to download the associated
dataset and so the layout can't run

Revision history for this message
ole2626 (olesorensen2626) said :
#4

It is definitely a 1.6.0 CMS
I have installed CMS many times.
And tried with win and python. And like I wrote before it works with win client

Can I provide more info to you?

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

A copy of the xlf for that layout and the contents of rf.xml would be
helpful

Revision history for this message
ole2626 (olesorensen2626) said :
#6

Here you go:

<?xml version="1.0"?>
<files version_instructions="">
  <file type="media" path="11.jpg" id="11" size="53434" md5="412dd301705b900f1ae36db694177571"/>
  <file type="media" path="12.jpg" id="12" size="634126" md5="092d413ec3ced36d0ad25b64ad5efbb1"/>
  <file type="media" path="13.png" id="13" size="1309212" md5="b42c02d0a920c1eb07627abb3f793562"/>
  <file type="media" path="14.jpg" id="14" size="594658" md5="65d5b0b67272431acefeceea4f6a443a"/>
  <file type="media" path="15.jpg" id="15" size="661243" md5="1af730b8fb2bec5d18afb2579e30f39b"/>
  <file type="media" path="16.jpg" id="16" size="291622" md5="77331c2f30a5640a6b825aac84c1603b"/>
  <file type="layout" path="9" id="9" size="3175" md5="53e1e64f47c0b6f0151e8472a0f0a8d5"/>
  <file type="media" path="10.png" md5="1b5e74040737cd41755176afd939f3d5" size="94855"/>
  <file type="resource" id="575140168" layoutid="9" regionid="537f6168bcc58" mediaid="1aa5534b39f379fe97b3e3a7d225e46d"/>
  <file type="resource" id="754988061" layoutid="9" regionid="537f6168bcc58" mediaid="1aa5534b39f379fe97b3e3a7d225e46d"/>
  <file type="blacklist"/>
</files>

Revision history for this message
ole2626 (olesorensen2626) said :
#7

Should I make a layout only with at Dataset?

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

That would be more helpful as it cuts the complexity. I need both the
layout xlf, and the rf.xml with just that layout scheduled

Revision history for this message
ole2626 (olesorensen2626) said :
#9

Thanks Alex Harrington, that solved my question.

Revision history for this message
ole2626 (olesorensen2626) said :
#10

ups

rf.xml:

<?xml version="1.0"?>
<files version_instructions="">
  <file type="layout" path="10" id="10" size="967" md5="612f0c128317260fc7c66b8b9c7578bc"/>
  <file type="blacklist"/>
</files>

xlf:

<?xml version="1.0"?>
<layout schemaVersion="1" width="800" height="450" bgcolor="#FFFFFF" background="" resolutionid="4"><region id="47ff29524ce1b" width="800" height="450" top="0" left="0" userId="1"><media id="c0e98fcc23be49fc310a98dc3e8a2ea4" type="datasetview" duration="45" lkid="" userId="1" schemaVersion="1">
                            <options><datasetid>3</datasetid><columns>7,8,9</columns><upperLimit>0</upperLimit><lowerLimit>0</lowerLimit><filter/><ordering/><showHeadings>1</showHeadings><duration>45</duration><updateInterval>0</updateInterval><rowsPerPage>0</rowsPerPage></options>
                            <raw><styleSheet><![CDATA[table.DataSetTable {

}

tr.HeaderRow {

}

tr#row_1 {

}

td#column_1 {

}

td.DataSetColumn {

}

tr.DataSetRow {

}

tr.DataSetRowOdd {

}

tr.DataSetRowEven {

}

th.DataSetColumnHeaderCell {

}

span#1_1 {

}

span.DataSetColumnSpan {

}]]></styleSheet></raw>
                    </media></region></layout>

Revision history for this message
ole2626 (olesorensen2626) said :
#11

I have tried on 3 pc's now

It only work with win client

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

Ok so the CMS isn't sending down the dataset correctly. I'll ask Dan to
look at this as I think it should be.

Revision history for this message
Best Dan Garner (dangarner) said :
#13

Sorry - this appears to be a bug... please can you see the attached bug report for information on how to fix (a small patch to a CMS file)

Revision history for this message
ole2626 (olesorensen2626) said :
#14

Thanks Dan Garner, that solved my question.