Giter VIP home page Giter VIP logo

Comments (15)

Botspot avatar Botspot commented on September 22, 2024 1

I've gone ahead and updated the description to say it can be launched from Office. If @Rak1ta replies to say the menu launcher is absent from the Office category, then I can re-open the issue.

As usual, my deepest thanks goes to those involved in relentlessly weeding out all bugs from Pi-Apps. I cannot do this alone as a busy engineering college student.

from pi-apps.

theofficialgman avatar theofficialgman commented on September 22, 2024 1

Alright cool.
I'll have to add a checks for the appropriate version when that flag was added. And only add it when necessary.
Thanks

from pi-apps.

theofficialgman avatar theofficialgman commented on September 22, 2024

Does it show up after a reboot? The code you linked seems to indicate it does install a . desktop file.

from pi-apps.

Rak1ta avatar Rak1ta commented on September 22, 2024

@theofficialgman yes, I gave a link to install .desktop file. The program works, but there is no shortcut. Rebooting doesn't affect anything for me.

from pi-apps.

Botspot avatar Botspot commented on September 22, 2024

I just installed FF Multi Converter and it shows up in Office instead of Accessories as the pi-apps description claims. @Rak1ta, do you see it in Office on your system?

from pi-apps.

Rak1ta avatar Rak1ta commented on September 22, 2024

@Botspot I'm missing a shortcut. It is not available as a .desktop file either.

from pi-apps.

Botspot avatar Botspot commented on September 22, 2024

@Rak1ta, please run this command:

file /usr/local/share/applications/ffmulticonverter.desktop

from pi-apps.

Botspot avatar Botspot commented on September 22, 2024

And this:

file /usr/local/share/applications

from pi-apps.

theofficialgman avatar theofficialgman commented on September 22, 2024

I can reproduce the issue. For some reason the binary is installed (/usr/local/bin/ffmulticonverter) but the .desktop file is nowhere to be found.
Tested on Bookworm ARM64
The folder /usr/local/share/applications already existed on my system even, so it isn't like it failed to place the file there because the folder did not previously exist.

I'm not super familiar with python distutils but it has to do with that https://docs.python.org/3.11/distutils/setupscript.html#installing-additional-files. Everything looks good to me so idk whats wrong.

from pi-apps.

Botspot avatar Botspot commented on September 22, 2024

Seems like Bookworm is the difference here. I'm still on Bullseye.

from pi-apps.

theofficialgman avatar theofficialgman commented on September 22, 2024

yeah this is a setuptools bug.... not sure who it needs to be reported to. it is simply ignoring the data_files entirely. We know setup.py is deprecated but its not supposed to be broken...

from pi-apps.

theofficialgman avatar theofficialgman commented on September 22, 2024

can also confirm the issue on ubuntu mantic (also on python 3.11). so this definitely seems like a regression from 3.9 -> 3.11 regarding setuptools

from pi-apps.

theofficialgman avatar theofficialgman commented on September 22, 2024

@Botspot found the change and found the fix
python changed to installing data_files to egg /usr/local/lib/python3.11/dist-packages/ffmulticonverter-1.8.0-py3.11.egg/

now you have to pass --old-and-unmanageable to have the old expected results
https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#data-files

sudo python3 setup.py install --old-and-unmanageable

does that run on bullseye without an error? because I will add it to the script if bullseye does not care even if it does not use it

from pi-apps.

Botspot avatar Botspot commented on September 22, 2024

@Botspot found the change and found the fix python changed to installing data_files to egg /usr/local/lib/python3.11/dist-packages/ffmulticonverter-1.8.0-py3.11.egg/

now you have to pass --old-and-unmanageable to have the old expected results https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#data-files

sudo python3 setup.py install --old-and-unmanageable

does that run on bullseye without an error? because I will add it to the script if bullseye does not care even if it does not use it

No it fails.

Errors:
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: option --old-and-unmanageable not recognized

from pi-apps.

Botspot avatar Botspot commented on September 22, 2024

Just to be clear, I changed line 8 in the install script to include this:

sudo python3 setup.py install --old-and-unmanageable

from pi-apps.

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.