Code Monkey home page Code Monkey logo

Comments (4)

jrgiacone avatar jrgiacone commented on June 23, 2024

Oh i see, pylib was renamed to polychromatic earlier this year, I will give that a try and update

from polychromatic.

lah7 avatar lah7 commented on June 23, 2024

It did feel like something was missing from the release notes - that would be the reason, pylib is now polychromatic so the Python module namespace is consistent between the repository (development) and an installed build.

Is everything all good and up-to-date?

from polychromatic.

jrgiacone avatar jrgiacone commented on June 23, 2024

Is everything all good and up-to-date?

Almost I’m getting an error regarding a data folder but this could be due to my lack of understanding with packaging on nixos.

Building 7.3 worked with the old build file.

It compiles with the polychromatic name change from pylib.

When launching polychromatic-controller it complains about “ cannot locate data directory” and to reinstall

from polychromatic.

lah7 avatar lah7 commented on June 23, 2024

The application expects its data directory either:

  • Relative to the application - e.g. polychromatic-controller, data/
  • or /usr/local/share/polychromatic
  • or /usr/share/polychromatic

If NixOS needs some other location, it would need to be patched at a package level. Looking the links in #306, it's probably because the file where this was patched has changed from common.py to paths.py

-substituteInPlace pylib/common.py --replace "/usr/share/polychromatic" "$out/share/polychromatic"
+substituteInPlace polychromatic/paths.py --replace "/usr/share/polychromatic" "$out/share/polychromatic"

from polychromatic.

Related Issues (20)

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.