Difficulty installing client on Ubuntu (I'm a newbie)

Asked by johndow

To start out with- I know nothing about linux or ubuntu, I'm a small time tech and I've worked almost only with windows.

I was given the assignment at work to set up a xibo server/client (30+ locations), my boss decided to use Ubuntu.

I have the server set up just fine, but installing the client is extremely difficult for me to figure out- I know it's a lot to ask but I really need somebody to walk me through it "holding my hand" so-to-speak.

I *think* I've got the client installed but when I try to execute run.sh I am getting the splashscreen which fades out after a moment, I'm noticing in the terminal the last line displayed says

    "File "/usr/lib/pymodules/python2.6/SOAPpy/wstools/WSDLTools.py", line 176, in
load
        'Missing <definitions> element.'
WSDLError: Missing <definitions> element.

Any idea what this means and if it's even the cause of my problem?
I really appreciate the help, thank you!

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Alex Harrington
Solved:
Last query:
Last reply:
Revision history for this message
Joerg Schuster (joerg-schuster) said :
#1

Hi,

which Version of Ubuntu?

which Version of Xibo Server?
which Version of Xibo Client?

Revision history for this message
johndow (mindonhiatus) said :
#2

ubunto 10.04.4
xibo server 1.2.2 on windows
client 1.2.2

Revision history for this message
johndow (mindonhiatus) said :
#3

I'm really at the end of my rope here... I've been working on this since 7am :/

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

I've not seen that error before so it's hard to know where to begin.

It suggests the client isn't happy with the WSDL file it's getting from the server.

What have you put in site.cfg for the server address etc?

Alex

Revision history for this message
johndow (mindonhiatus) said :
#5

http://xxx.xxx.x.xxx/xibo

xxx=the IP that I am using

I am able to successfully connect to it using a windows client.

Revision history for this message
johndow (mindonhiatus) said :
#6

xmdsClientID=pridexibo

xmdsKey=Pride1

xmdsUpdateInterval=120

requireXmds=false

width=640

height=480

fullscreen=false

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

A windows client connecting doesn't proove it's not a server problem as the clients connect to XMDS in very different ways.

From the Linux box, what do you get if you visit http://ip.address/xibo/xmds.php?wsdl

You should get a whole load of XML? Do you?

No need to post all of it - just the first 10 lines or so.

Alex

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

Also check at the bottom of that WSDL, there's a stanza like:

<service name="xmds">
<port name="xmdsPort" binding="tns:xmdsBinding">
<soap:address location="http://server.org.uk/xibo/xmds.php"/>
</port>
</service>

Has that been correctly rewritten with the server IP address you're using or something else?

Alex

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

Also you said:

> ubunto 10.04.4
> xibo server 1.2.2 on windows
> client 1.2.2

Is the server running on IIS by any chance? Or if not what webserver is it using?

Alex

Revision history for this message
johndow (mindonhiatus) said :
#10

1) I get a bunch of xml when I type in that address (i'll post the first bit below)
2) the server IP address was written correctly to that file
3) I don't *think* it's running on IIS, I don't know much about servers, but it's running windows 7 and I'd just installed XAMPP to get apache and mysql

Revision history for this message
johndow (mindonhiatus) said :
#11

Sorry this code is so jumbled.

<definitions targetNamespace="urn:xmds"><types><xsd:schema targetNamespace="urn:xmds"><xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/"/><xsd:import namespace="http://schemas.xmlsoap.org/wsdl/"/></xsd:schema></types><message name="RegisterDisplayRequest"><part name="serverKey" type="xsd:string"/><part name="hardwareKey" type="xsd:string"/><part name="displayName" type="xsd:string"/><part name="version" type="xsd:string"/></message><message name="RegisterDisplayResponse"><part name="ActivationMessage" type="xsd:string"/></message><message name="RequiredFilesRequest"><part name="serverKey" type="xsd:string"/><part name="hardwareKey" type="xsd:string"/><part name="version" type="xsd:string"/></message><message name="RequiredFilesResponse"><part name="RequiredFilesXml" type="xsd:string"/></message>

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

You've not redacted that at all? Because there's a load of stuff missing from the definitions tag of that XML compared to what I get from a 1.2.2 server:

<definitions xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="urn:xmds" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="urn:xmds">
<types>
<xsd:schema targetNamespace="urn:xmds">
<xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<xsd:import namespace="http://schemas.xmlsoap.org/wsdl/"/>
</xsd:schema>
</types>

Alex

Revision history for this message
johndow (mindonhiatus) said :
#13

I have not touched that file, I wasn't even aware that the problem file was on the server side of things

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

Is the 1.2.2 server you've installed unmodified?

Where did you get the code from? Did you branch it from the repo or download an official release file?

Would you mind giving me the actual URL this server is at via email so I can at least load the WSDL up and see for myself? My email is <email address hidden>

Cheers

Alex

Revision history for this message
johndow (mindonhiatus) said :
#15

I just downloaded the server installation files from the xibo site and installed them as per the instructions :/

I'll email you

Revision history for this message
johndow (mindonhiatus) said :
#16

email sent

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

Suggested overwriting install with fresh downloaded source and trying again.

A

Revision history for this message
johndow (mindonhiatus) said :
#18

Thanks Alex Harrington, that solved my question.

Revision history for this message
johndow (mindonhiatus) said :
#19

I've got it working.

Revision history for this message
johndow (mindonhiatus) said :
#20

I'm not exactly sure HOW, but I started from scratch and CAREFULLY installed the client and server exactly as per the instructions, it went smoother this time because I've learned a few tricks to using the terminal in Ubuntu and it worked! Thank you so much for your help Alex, just knowing that I had someone to help with this project dropped the stress level quite a bit!