Closed ignace72 closed 1 year ago
Thank you for reporting, that's interesting I didn't try installing it on a LInux distro to be honest, it is installing fine on MacOS. I'll look in to this asap 👍
Hello, eoyilmaz. Thank you for your answer. I have tried to update DisplayCAL on the following distributions: Debian, Fedora, Linux Mint, Manjaro Linux, openSUSE Leap, openSUSE Tumbleweed and Xubuntu without success. Thanks for the work.
error: can't copy '/tmp/pip-install-n7miqqv7/displaycal_b9c1ab02a3224282bfb9957d66c3279f/DisplayCAL/../dist/net.displaycal.DisplayCAL.appdata.xml': doesn't exist or not a regular file
I can reproduce it locally.
It happens because create_appdata
and possibly buildservice
are not triggered in setup.py
.
create_appdata = (
(appdata or "install" in sys.argv[1:] or "sdist" in sys.argv[1:])
and not help
and not dry_run
)
if (
"sdist" in sys.argv[1:]
or "install" in sys.argv[1:]
or "bdist_deb" in sys.argv[1:]
) and not help:
buildservice = True
As you can see, ['bdist_wheel', '--dist-dir', '/tmp/pip-wheel-f9imyyb7/tmpcdlze0uu']
do not fall under those conditions to make appdata.
Good evening, kruceter. Okay. Thank you for this. As this is for my tutorial for DisplayCAL I'll wait until there is a fix because I doubt that everyone can fix this by hand because many users are not GNU/Linux specialists but photographers.
It seems to be related with my commit at 5e9e42f0
Hmm... now I'm thinking that this was done back in April and we had a ton of releases since then. It shouldn't be this but something else between 3.9.8 and 3.9.9.
Oh it seems that it is caused by 4ea5bca2c2fac0f5d58a23457f33492687b15fd7
@kruceter I said that the setup.py
is full with quirks and it seems we just hit one of them. Reverting that commit...
fixed with acc89e5 and released 3.9.10 to PyPI
Good evening, eoyilmaz. I don't know if it helps but for Debian and Fedora, I had to update pip. This is the first time that DisplayCAL installation requires this. Sorry I can't help you more than but I'm not a computer coder.
The problem with appdata is still present even after reverting my commit.
eoyilmaz has released version 3.9.10.
It installs on ArchLinux, Manjaro Linux, openSUSE Leap and openSUSE Tumbleweed.
It does not install on Debian, Fedora, Linux Mint, and Ubuntu.
I have not tested it on other distributions.
The issue for version 3.9.10 is here : https://github.com/eoyilmaz/displaycal-py3/issues/211
@ignace72 this issue with appdata is not gone for me with 3.9.10.
I do not use these distros you mentioned.
@kruceter If I may ask, which distro do you use, could I install it in a virtual machine? Thank you.
@ignace72 I'll look in to installation problems in Fedora this week, can we open a new ticket with a real error message aah I see that you already did 👍
Hello, eoyilmaz. Thank you for your attention. I can't have all the distributions in virtual machine, but I try to have a certain number of them (this number grows as I am asked) because I find your work important.
Good evening to all. I fail to install with all the distributions I could test. I have the following terminal output:
If you could help me. Thanks to you.