Giter Club home page Giter Club logo

xiboside's People

Contributors

ajiwo avatar miolion avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

xiboside's Issues

download error

Just after starting (fresh xibo cms install, xiboside authorised, set to android):

~/xiboside$ ./xiboside
ERROR:xiboside.XmdsThread:Download failed: /tmp/xibot/http://xibo.mydomain.de:80/xmds.php?file=1uTcOERNXEiYXf7Q41CZUNkzsSj0sl2q&displayId=1&type=M&itemId=7
ERROR:xiboside.XmdsThread:Download failed: /tmp/xibot/http://xibo.mydomain.de:80/xmds.php?file=1uTcOERNXEiYXf7Q41CZUNkzsSj0sl2q&displayId=1&type=M&itemId=5
ERROR:xiboside.XmdsThread:Download failed: /tmp/xibot/http://xibo.mydomain.de:80/xmds.php?file=1uTcOERNXEiYXf7Q41CZUNkzsSj0sl2q&displayId=1&type=M&itemId=3
ERROR:xiboside.XmdsThread:Download failed: /tmp/xibot/http://xibo.mydomain.de:80/xmds.php?file=1uTcOERNXEiYXf7Q41CZUNkzsSj0sl2q&displayId=1&type=M&itemId=18
ERROR:xiboside.XmdsThread:Download failed: /tmp/xibot/http://xibo.mydomain.de:80/xmds.php?file=1uTcOERNXEiYXf7Q41CZUNkzsSj0sl2q&displayId=1&type=M&itemId=1
ERROR:xiboside.XmdsThread:Download failed: /tmp/xibot/http://xibo.mydomain.de:80/xmds.php?file=1uTcOERNXEiYXf7Q41CZUNkzsSj0sl2q&displayId=1&type=M&itemId=16
ERROR:xiboside.XmdsThread:Download failed: /tmp/xibot/http://xibo.mydomain.de:80/xmds.php?file=1uTcOERNXEiYXf7Q41CZUNkzsSj0sl2q&displayId=1&type=M&itemId=14
ERROR:xiboside.XmdsThread:Download failed: /tmp/xibot/http://xibo.mydomain.de:80/xmds.php?file=1uTcOERNXEiYXf7Q41CZUNkzsSj0sl2q&displayId=1&type=M&itemId=12
ERROR:xiboside.XmdsThread:Download failed: /tmp/xibot/http://xibo.mydomain.de:80/xmds.php?file=1uTcOERNXEiYXf7Q41CZUNkzsSj0sl2q&displayId=1&type=M&itemId=10
ERROR:xiboside.XmdsThread:Download failed: /tmp/xibot/http://xibo.mydomain.de:80/xmds.php?file=1uTcOERNXEiYXf7Q41CZUNkzsSj0sl2q&displayId=1&type=M&itemId=8
ERROR:xiboside.XmdsThread:Download failed: /tmp/xibot/http://xibo.mydomain.de:80/xmds.php?file=1uTcOERNXEiYXf7Q41CZUNkzsSj0sl2q&displayId=1&type=M&itemId=6
ERROR:xiboside.XmdsThread:Download failed: /tmp/xibot/http://xibo.mydomain.de:80/xmds.php?file=1uTcOERNXEiYXf7Q41CZUNkzsSj0sl2q&displayId=1&type=M&itemId=4
ERROR:xiboside.XmdsThread:Download failed: /tmp/xibot/http://xibo.mydomain.de:80/xmds.php?file=1uTcOERNXEiYXf7Q41CZUNkzsSj0sl2q&displayId=1&type=M&itemId=2
ERROR:xiboside.XmdsThread:Download failed: /tmp/xibot/http://xibo.mydomain.de:80/xmds.php?file=1uTcOERNXEiYXf7Q41CZUNkzsSj0sl2q&displayId=1&type=M&itemId=17
ERROR:xiboside.XmdsThread:Download failed: /tmp/xibot/http://xibo.mydomain.de:80/xmds.php?file=1uTcOERNXEiYXf7Q41CZUNkzsSj0sl2q&displayId=1&type=M&itemId=15
ERROR:xiboside.XmdsThread:Download failed: /tmp/xibot/http://xibo.mydomain.de:80/xmds.php?file=1uTcOERNXEiYXf7Q41CZUNkzsSj0sl2q&displayId=1&type=M&itemId=13
ERROR:xiboside.XmdsThread:Download failed: /tmp/xibot/http://xibo.mydomain.de:80/xmds.php?file=1uTcOERNXEiYXf7Q41CZUNkzsSj0sl2q&displayId=1&type=M&itemId=11
ERROR:xiboside.XmdsThread:Download failed: /tmp/xibot/http://xibo.mydomain.de:80/xmds.php?file=1uTcOERNXEiYXf7Q41CZUNkzsSj0sl2q&displayId=1&type=M&itemId=9
ERROR:xiboside.XmdsThread:Download failed: /tmp/xibot/http://xibo.mydomain.de:80/xmds.php?file=1uTcOERNXEiYXf7Q41CZUNkzsSj0sl2q&displayId=1&type=L&itemId=1.xml
ERROR:xiboside.xlf:No such file or directory: /tmp/xibot/1.xm
```l

Running the xiboside app

Hi,

I am facing this issues as below :

  1. Running xiboside doesn't work. Have to run this way : python xiboside
  2. when running python xiboside -c xiboside_config.json
    where I have created xiboside_config.json contents as :
    (omitting the actual server URL and serverkey.) It doesn't generate the config file on its own. So I created it and fed it.

{
"saveDir": "/tmp/xibot",
"url": "http://xxxx.com/",
"serverKey": "yyyy",
"strTimeFmt": "%Y-%m-%d %H:%M:%S",
"cmsTzOffset": 5 * 3600, # GMT+5
"res_file_ext": ".html",
"layout_file_ext": ".xml",
"xmdsVersion": 4,
"xmrPubUrl": "tcp://localhost:5550",
}

  1. On running with the config file - gives empty errror -
E:\>python xiboside
qt.qpa.gl: Unable to disable rotation.
Traceback (most recent call last):
  File "xiboside", line 29, in <module>
    cfg = xibo.XiboConfig(args.config)
  File "xibo.py", line 19, in __init__
    self.load()
  File "xibo.py", line 46, in load
    for k, v in tmp.iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'

xiboside_config.zip

Would be great if you could give some pointers. Ideally, it should pick up the config file that is fed to the command.

Thanks,
Reema

Overflow

Traceback (most recent call last):
  File "/home/vision/xiboside/ui.py", line 78, in set_layout
    self._layout_timer.setInterval(int(stop_time * 1000))
OverflowError

Just wanted to give it a shot. this error appeared

Big size of video files

Xiboside could not get huge size of video files from CMS, so I had to changes code in xthread.py as follows.

            try:
                with open(file_path, 'wb') as f:
                    for offset in range(0, int(float(entry.size)), 1024*1024*2):
                        param.chuckSize = str(1024*1024*2)
                        param.chunkOffset = str(offset)
                        resp = cl.send_request('GetFile', param)
                        if resp:
                            f.write(resp.content)
                            f.flush()
                            os.fsync(f.fileno())
                            downloaded = True
            except IOError:
                self.log.error('Download failed: %s' % file_path)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.