Code Monkey home page Code Monkey logo

python3-xapp's Issues

build failing for with dpkg-buildpackage

Building the package with current version is failing with the following error:

dpkg-buildpackage: info: source package python3-xapp
dpkg-buildpackage: info: source version 2.4.0-unstable+202211151116~ubuntu22.10.1
dpkg-buildpackage: info: source distribution kinetic
dpkg-buildpackage: info: source changed by Launchpad Package Builder <[email protected]>
 dpkg-source -i -I --before-build .
 fakeroot debian/rules clean
debian/rules: 1: %:: not found
dh: error: unable to load addon gir: Can't locate Debian/Debhelper/Sequence/gir.pm in @INC (you may need to install the Debian::Debhelper::Sequence::gir module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.34.0 /usr/local/share/perl/5.34.0 /usr/lib/x86_64-linux-gnu/perl5/5.34 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.34 /usr/share/perl/5.34 /usr/local/lib/site_perl) at (eval 12) line 1.
BEGIN failed--compilation aborted at (eval 12) line 1.

dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned exit status 25

Detailed build errors can be found here. I think this is happening due to meson packaging format and missing dependencies.

NB: I am open for this fix.

Supporting os.py with a polkit converter

Greetings, more than an issue (unfortunately Github doesn't have something like suggestions), this "issue" may be something that can help you, or can benefit both of us on the long term (if you don't mind my inexperience with python so far, and my failures on english from time to time)

I was checking some of the code in os.py inside the library, as long as I understand (correct me if I am wrong) there is no way that you can run a program with pkexec as long as you don't define a policy file. Your code might be able to check if the polkit agent is running, but if you don't define that file, the program will not run at all.

It might be on very early stages, but I forked a code based on some comments and a forum that should allow you to create some policy file templates for you to use in any application. So far the downside is that it only check on applications that are on /usr/bin, so other applications like blueberry or lightdm-settings whose launcher relies on other directories like /usr/lib are not included

You can [check my repository here] and let me know if something of that is useful for you or if that code doesn't work at all for you (I don't mind if you believe that, you may have your reasons and I respect that), it is written in Bash so porting to Python might take some work (at least for me)
EDIT: I will be reuploading the repository so I can give you the code in a pastebin if you wish

Sorry if I may sound rude, but is not my intention

unknown compression

The update today in LMDE5 fails

dpkg-deb: error: archive python3-xapp_2.2.2_all.deb uses unknown compression for element control.tar.zst

Adding or missing tooltip options

Greetings I have been testing the newer Settings controls on an app, and I have been checking that not all of them have tooltips available when creating them via code, here are some examples:

Button control that has tooltips (lightdm-settings as example):
Tooltip1

Tooltip2

Button control that doesn't has tooltips (mintdesktop as example):
Tooltip3

The "ComboBox" seems that it has tooltips. Am I missing something to declare via code?
Tooltip4

Maybe I am missing something or perhaps there is a declaration that I need to do on the code, but it would be great if you can add that support to all the newer controls that you created or may be planning to create

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.