Giter Club home page Giter Club logo

olc's Introduction

Open Lighting Console

Release License Sourcery

French

Open Lighting Console (olc) is a linux software to control lights on shows.

Beta version

As a precaution, you should not use original ascii light files, but rather copies. This, in order not to lose information by saving in the same file.

Main Window : Screenshot

Virtual console : VirtualConsole

Usage

You can find some useful informations here: Documentation
A manual in French is being written, it will be translated when it is advanced enough. In the meantime, you can translate it with online tools.

Installation

Packages:

Recommended for end users

Distribution Package
Flatpak Flathub
Archlinux AUR

Any help to create packages for different distributions is welcome.

Manually:

If you want to contribute, you'll need to install from source

Depends on

  • gtk3 >= 3.20
  • python3
  • python-gobject
  • gobject-introspection
  • ola (with python3 support)
  • sacn (python-sacn (AUR) on archlinux)
  • mido (python-mido (AUR) on archlinux)
  • liblo (python-pyliblo on archlinux)
  • SciPy (python-scipy on archlinux)
  • Charset Normalizer (python-charset-normalizer on archlinux)

Ubuntu

Install ola with python 3 support:

$ sudo apt install ola-python

Install olc dependencies:

$ sudo apt install meson python3-setuptools gobject-introspection cmake libgirepository1.0-dev libgtk-3-dev python-gi-dev python3-cairo-dev python3-gi-cairo python3-liblo python3-mido python3-rtmidi gettext python3-scipy python3-charset-normalizer

A package for sacn python module is missing. If you know how to install it, please tell me.

Building from git

$ git clone https://github.com/mikacousin/olc.git
$ cd olc
$ meson setup builddir --prefix=/usr/local
$ sudo ninja -C builddir install

You can execute the software without sacn python module:

$ olc --backend ola

Raspberry Pi 3B+

Need some tests

Seems to work with 1 universe and 512 channels (edit src/define.py)

olc's People

Contributors

mikacousin avatar sourcery-ai[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

olc's Issues

Virtual Console window is blank

I installed ola and olc on Lubuntu according to the directions in README.md
Version displayed in the About window: 0.6.beta
I do not know how to use it.
All the tabs are blank, except a few tabs have some table headings, such as Sequences, independents, Master List and Main Playback.
The Channels tab is empty.
Virtual Console is a blank window with a single digit 1 displayed.

Correcting English in po file

msgid "Rotatives Mode" should be "Rotation Mode"
msgid "+% et -% value" should be "+% and -% value"

msgid "Sequence +" should be "Next Sequence"
msgid "Sequence -" should be "Previous Sequence" or "Prev Sequence"

Error on opening

I can see the following log coming from OLA while running the flatpak:

common/io/IOUtils.cpp:39: open(/dev/dmx0): No such file or directory
plugins/opendmx/OpenDmxPlugin.cpp:80: Could not open /dev/dmx0 No such file or directory
common/io/IOUtils.cpp:39: open(/dev/kldmx0): No such file or directory
plugins/karate/KaratePlugin.cpp:79: Could not open /dev/kldmx0 No such file or directory
Traceback (most recent call last):
  File "/app/lib/python3.9/site-packages/olc/application.py", line 271, in on_fd_read
    self.ola_thread.ola_client.SocketReady()
  File "/app/lib/python3.9/site-packages/ola/OlaClient.py", line 803, in SocketReady
    self._channel.SocketReady()
  File "/app/lib/python3.9/site-packages/ola/rpc/StreamRpcChannel.py", line 88, in SocketReady
    self._ProcessIncomingData()
  File "/app/lib/python3.9/site-packages/ola/rpc/StreamRpcChannel.py", line 269, in _ProcessIncomingData
    self._HandleNewMessage(data)
  File "/app/lib/python3.9/site-packages/ola/rpc/StreamRpcChannel.py", line 283, in _HandleNewMessage
    self.MESSAGE_HANDLERS[message.type](self, message)
  File "/app/lib/python3.9/site-packages/ola/rpc/StreamRpcChannel.py", line 327, in _HandleResponse
    self._InvokeCallback(response)
  File "/app/lib/python3.9/site-packages/ola/rpc/StreamRpcChannel.py", line 370, in _InvokeCallback
    response.callback(response.controller, response.reply)
  File "/app/lib/python3.9/site-packages/ola/OlaClient.py", line 932, in <lambda>
    lambda x, y: self._GetDmxComplete(callback, x, y))
  File "/app/lib/python3.9/site-packages/ola/OlaClient.py", line 1481, in _GetDmxComplete
    data.fromstring(response.data)
AttributeError: 'array.array' object has no attribute 'fromstring'

Not sure if they break some functionality.

The bit about missing devices under /dev/* can be ignored I think OpenLightingProject/ola#513. Maybe those plugins should be disabled.

Error installing 0.8.3.beta on Ubuntu

Following instructions in README on github:

$ sudo ninja -C builddir install
ninja: Entering directory `builddir'
[0/1] Installing files.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mesonbuild/mesonmain.py", line 146, in run
return options.run_func(options)
File "/usr/lib/python3/dist-packages/mesonbuild/minstall.py", line 811, in run
installer.do_install(datafilename)
File "/usr/lib/python3/dist-packages/mesonbuild/minstall.py", line 564, in do_install
d = self.check_installdata(pickle.load(ifile))
AttributeError: Can't get attribute 'RunScript' on <module 'mesonbuild.build' from '/usr/lib/python3/dist-packages/mesonbuild/build.py'>

ERROR: Unhandled python exception

This is a Meson bug and should be reported!

FAILED: meson-install
/usr/bin/meson install --no-rebuild
ninja: build stopped: subcommand failed.

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.