Cannot Install Xibo Client on Ubuntu

Asked by Oliver Webb

Original question was edited by mistake.

I think it was a general question about why the Ubuntu installer doesn't work behind a proxy server.

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

https://answers.launchpad.net/xibo/+question/135701

I know Brian Matthis was looking at this. No idea if his changes have landed yet?

Revision history for this message
Oliver Webb (owebb) said :
#2

I don't know, the ticket says it's solved. I'm using the latest python installer, so if he has made the changes then surely I would have them? I don't understand why I can't even get onto launchpad using Firefox?

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

> I don't understand why I can't even get onto launchpad using Firefox?

I don't know - but that's way outside the scope of the support I can
offer you here!

Alex

Revision history for this message
Oliver Webb (owebb) said :
#4

I know, sorry, it's just frustrating! The client works fine on windows and I really like the software - I think it is better than our current commercial software. But for it to become a viable option I need to get the linux clients working. What would you recommend I do next, I'm new to this!

Thank you for your help.

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

Well if you don't mind following the manual install guide, I can make
a tar.gz of the client files you'll need?

Revision history for this message
Oliver Webb (owebb) said :
#6

That would be great, thank you so much!

Revision history for this message
Alex Harrington (alexharrington) said :
#7
Revision history for this message
Oliver Webb (owebb) said :
#8

Thanks for that. Just to check I'm following the right guide: http://wiki.xibo.org.uk/wiki/Install_Guide_Python_Client#Ubuntu_10.04_and_derivatives.

When it comes to 'bzr branch lp:xibo/1.2 pyclient' I get the error 'Permission denied (Public Key)'

Do you have any ideas what is causing this?

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

You just use the files from the tar.gz I sent at that point.

Alex

Revision history for this message
Oliver Webb (owebb) said :
#10

Sorry, this could be me being simple, but I've extracted the .tar.gz's to opt/ and I'm trying to run /opt/pyclient/client/python/XiboClient.py and I'm getting an error message saying 'No module named libavg.' Have I got the two packages you sent in the wrong place in relation to each other?

I haven't ever installed software like this before, but it's a good learning exercise! Thanks again for all your help.

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

Sounds like you've missed installing the libavg binaries in the
instructions. It's the step before ldconfig.

Revision history for this message
Brian Mathis (bcmathis) said :
#12

Going through a proxy is bug in Python's XMLRPC lib:

  "The current xmlrpclib can't communicate through a proxy
  server. In particular, the two Transport classes
  contained within xmlrpclib use httplib directly and, as
  such, do not support the proxy handling as offered by
  urllib."

They are working on fix, but it wont be back ported for 10.04: https://bugs.launchpad.net/bzr/+bug/397739

I have been told that maybe using the full launchpad address for the project might allow the bzr client to bypass the proxy. If thats true, then what you would need to do is modify the script.

On line 183 where it says the following:

    cd /opt/xibo && bzr branch lp:xibo/1.2 pyclient

Change it too:

    cd /opt/xibo && bzr branch http://bazaar.launchpad.net/~xibo-maintainers/xibo/biela

Then save the script and try running it again. I cannot test this for you right now, but please let us know if this works for you. If it does, then I'll find a way to make it work nicely in the script.

-- Brian

Revision history for this message
Brian Mathis (bcmathis) said :
#13

sorry, I forgot to add this part.

You also need to add the following line(s) under line 183 which you changed above.

    ## renames the directory
    mv biela pyclient

This will change the name of the directory to make the rest of the script work correctly.

Revision history for this message
Oliver Webb (owebb) said :
#14

Thanks Brian. I edited the script like you said but it still had its connection to launchpad refused.

Alex: I've installed the libavg binaries now, and XiboClient.py now returns: "AttributeError: 'Player' object has no atttibute 'loadPlugin'"

Sorry to keep coming back to you with this, but I'm out of me depth!

Ollie

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

Have you installed the libavg package from Ubuntu? You need to remove
that and install the package of binaries I sent you.

Just follow the instructions in the guide to the letter. It's all there!

Alex

Revision history for this message
Brian Mathis (bcmathis) said :
#16

According to https://launchpad.net/ubuntu/+source/bzr/2.1.4-0ubuntu1 there was a newer version of bzr (2.1.4) release a few weeks ago that is supposed to fix a proxy issue. I believe its allowing bzr to use something other then xmlrpclib to use the lp plugin.

Either way, check which version of bzr is on your system (I believe you can check it with bzr --version ) and if its anything under 2.1.4 try updating or downloading the deb from the link.

Also, if that doesnt work, then you can try using corkscrew to bypass the proxy (untest by me, just found on google) http://www.omappedia.org/wiki/Using_bzr_and_launchpad_behind_a_proxy

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

Hi Abbas

You really need to start a new question rather than editing existing ones - as now all the answers on this question thread make no sense any more because the original question is gone :(

The link you need is at the top right "Ask a new question".

To answer your question, firstly you need Ubuntu 10.04 LTS and the easiest way to install it is to download the install script (as linked in the install guide) and then run it - it does the whole job for you.

Alex

Can you help with this problem?

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

To post a message you must log in.