New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
urlwatch-2.1 new version migration fails #49
Comments
How is urlwatch installed? Is Funtoo using a non-standard installation layout for Python packages? |
@thp We (Gentoo as a Funtoo upstream) are using a wrapper to enable parallel installation and selection of python ABIs. so you can set e.g. Like $ ll /usr/bin/urlwatch
lrwxrwxrwx 1 justin justin 31 Feb 15 08:37 /usr/bin/urlwatch -> ../lib/python-exec/python-exec2
$ ll /usr/lib/python-exec/*
/usr/lib/python-exec/python3.4:
total 16K
-rwxr-xr-x 1 justin justin 14K Feb 15 08:37 urlwatch*
/usr/lib/python-exec/python3.5:
total 16K
-rwxr-xr-x 1 justin justin 14K Feb 15 08:37 urlwatch* So |
Yes, that's the case. I wonder if there's an easy way to determine the location? This is how urlwatch does it at the moment:
|
If you have a generic solution, I'd be happy to integrate that. Otherwise, maybe your packaging should patch this part in urlwatch so that prefix gets calculated to a proper value even for Gentoo's installation layout? |
There are two solutions which come into my mind
|
Perhaps it is even accessible through python or setuptools it self, as you are using the |
any progress? |
i'm thinking it's gentoo specific bug. |
Yes and no. Our way of installing doesn't work with the buildsystems way, which in it self isfar from optimal. |
any progress? |
This is "somewhat" fixed by 7dc0fb8 in the sense that if the example files are not found, they will simply be ignored instead of failing. |
The urlwatch 2.x has changed their configuration and cache storing system, but the migration from 1.X fails with:
It seems, that the
urls.yaml.example
file is installed into/usr/share/urlwatch/examples/urls.yaml.example
, but the urlwatch expects it in the/usr/lib/python-exec/python3.4...
:Simple simlink
/usr/lib/python-exec/python3.4/share/urlwatch -> /usr/share/urlwatch
solves the problem...It is reported by me on Funtoo bugs too, you can see it at https://bugs.funtoo.org/browse/FL-3128
The text was updated successfully, but these errors were encountered: