Re: [darktable-dev] jsonschema version issues
It has nothing to do with darktable, you should probably just delete /usr/local/bin/jsonschema file (where did it come from?). It references 3.0.1 version, and it's not part of darktable. On Thu, 05 Sep 2019 21:03:12 +1000 "Terry Duell" wrote: > On Thu, 05 Sep 2019 17:54:02 +1000, parafin wrote: > > > Please provide the error message you're seeing. I can't find any > > mentions of specific jsonscheme version in darktable sources. > > > > OK, here is the rpmbuild error message generated when jsonschema-3.0.2 is > installed. > > pkg_resources.VersionConflict: (jsonschema 3.0.2 > (/usr/lib/python3.7/site-packages), Requirement.parse('jsonschema==3.0.1')) > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): >File "/usr/local/bin/jsonschema", line 5, in > from pkg_resources import load_entry_point >File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line > 3191, in > @_call_aside >File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line > 3175, in _call_aside > f(*args, **kwargs) >File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line > 3204, in _initialize_master_working_set > working_set = WorkingSet._build_master() >File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line > 585, in _build_master > return cls._build_from_requirements(__requires__) >File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line > 598, in _build_from_requirements > dists = ws.resolve(reqs, Environment()) >File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line > 786, in resolve > raise DistributionNotFound(req, requirers) > pkg_resources.DistributionNotFound: The 'jsonschema==3.0.1' distribution > was not found and is required by the application > make[2]: *** > [data/CMakeFiles/validate_noiseprofiles_json.dir/build.make:62: > data/CMakeFiles/validate_noiseprofiles_json] Error 1 > make[2]: Leaving directory > '/home/terry/rpmbuild/BUILD/darktable-2.7.0/build' > make[1]: *** [CMakeFiles/Makefile2:8258: > data/CMakeFiles/validate_noiseprofiles_json.dir/all] Error 2 > make[1]: Leaving directory > '/home/terry/rpmbuild/BUILD/darktable-2.7.0/build' > make: *** [Makefile:155: all] Error 2 > > Hope that helps. > > Cheers, > -- > Regards, > Terry Duell ___ darktable developer mailing list to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org
Re: [darktable-dev] jsonschema version issues
Hi, this doesn't look like a problem with the actual build process, but more like a problem with your local operating system installation. Try running /usr/local/bin/jsonschema manually on a terminal. Does it crash with the same error message? Where did you get the spec file for the package from? cheers, Simon Am 05.09.19 um 13:03 schrieb Terry Duell: > On Thu, 05 Sep 2019 17:54:02 +1000, parafin wrote: > >> Please provide the error message you're seeing. I can't find any >> mentions of specific jsonscheme version in darktable sources. >> > > OK, here is the rpmbuild error message generated when jsonschema-3.0.2 > is installed. > > pkg_resources.VersionConflict: (jsonschema 3.0.2 > (/usr/lib/python3.7/site-packages), Requirement.parse('jsonschema==3.0.1')) > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File "/usr/local/bin/jsonschema", line 5, in > from pkg_resources import load_entry_point > File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", > line 3191, in > @_call_aside > File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", > line 3175, in _call_aside > f(*args, **kwargs) > File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", > line 3204, in _initialize_master_working_set > working_set = WorkingSet._build_master() > File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", > line 585, in _build_master > return cls._build_from_requirements(__requires__) > File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", > line 598, in _build_from_requirements > dists = ws.resolve(reqs, Environment()) > File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", > line 786, in resolve > raise DistributionNotFound(req, requirers) > pkg_resources.DistributionNotFound: The 'jsonschema==3.0.1' distribution > was not found and is required by the application > make[2]: *** > [data/CMakeFiles/validate_noiseprofiles_json.dir/build.make:62: > data/CMakeFiles/validate_noiseprofiles_json] Error 1 > make[2]: Leaving directory > '/home/terry/rpmbuild/BUILD/darktable-2.7.0/build' > make[1]: *** [CMakeFiles/Makefile2:8258: > data/CMakeFiles/validate_noiseprofiles_json.dir/all] Error 2 > make[1]: Leaving directory > '/home/terry/rpmbuild/BUILD/darktable-2.7.0/build' > make: *** [Makefile:155: all] Error 2 > > Hope that helps. > > Cheers, ___ darktable developer mailing list to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org
Re: [darktable-dev] jsonschema version issues
On Thu, 05 Sep 2019 17:54:02 +1000, parafin wrote: Please provide the error message you're seeing. I can't find any mentions of specific jsonscheme version in darktable sources. OK, here is the rpmbuild error message generated when jsonschema-3.0.2 is installed. pkg_resources.VersionConflict: (jsonschema 3.0.2 (/usr/lib/python3.7/site-packages), Requirement.parse('jsonschema==3.0.1')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/bin/jsonschema", line 5, in from pkg_resources import load_entry_point File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3191, in @_call_aside File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3175, in _call_aside f(*args, **kwargs) File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3204, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 585, in _build_master return cls._build_from_requirements(__requires__) File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 598, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 786, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'jsonschema==3.0.1' distribution was not found and is required by the application make[2]: *** [data/CMakeFiles/validate_noiseprofiles_json.dir/build.make:62: data/CMakeFiles/validate_noiseprofiles_json] Error 1 make[2]: Leaving directory '/home/terry/rpmbuild/BUILD/darktable-2.7.0/build' make[1]: *** [CMakeFiles/Makefile2:8258: data/CMakeFiles/validate_noiseprofiles_json.dir/all] Error 2 make[1]: Leaving directory '/home/terry/rpmbuild/BUILD/darktable-2.7.0/build' make: *** [Makefile:155: all] Error 2 Hope that helps. Cheers, -- Regards, Terry Duell ___ darktable developer mailing list to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org
Re: [darktable-dev] jsonschema version issues
On Thu, 05 Sep 2019 17:54:02 +1000, parafin wrote: Please provide the error message you're seeing. I can't find any mentions of specific jsonscheme version in darktable sources. OK, I'll have to install jsonschema-3.0.2 and do a rebuild to generate that, but from memory the message was along the lines 'jsonschema-3.0.1 not found'. I'll get back shortly. Cheers, -- Regards, Terry Duell ___ darktable developer mailing list to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org
Re: [darktable-dev] jsonschema version issues
Please provide the error message you're seeing. I can't find any mentions of specific jsonscheme version in darktable sources. On Thu, 05 Sep 2019 17:03:33 +1000 "Terry Duell" wrote: > On Thu, 05 Sep 2019 15:43:10 +1000, Pascal Obry wrote: > > > Le jeudi 05 septembre 2019 à 10:25 +1000, Terry Duell a écrit : > >> Hello, > >> I regularly build dt on Fedora 30 from the git master. > >> About a week ago I had a build error because my version of jasonschema > >> was > >> not 3.0.1, so I installed v3.0.1 and all was well. > >> A few days later Fedora updates provided v3.0.2, and as a result I had > >> another build error because v3.0.1 could not be found. > >> Is it necessary to explicitly specify the version required rather than > >> specify (say) v3.0.1 or later? > > > > I suppose you just have to delete the build directory and start the > > build again from scratch. > > I don't think that's the issue. I build an rpm using rpmbuild and the spec > file generates a new build dir. > My question relates to version 3.0.2 being provided by Fedora, and dt > currently ONLY accepting version 3.0.1 or at least that's the way it > appears. > Is it not possible for dt to accept version 3.0.1 or later versions? > If this was possible it would avert having to check every Fedora update to > ensure that I didn't unwittingly get a later version that will cause a > build error, and then having to downgrade to the version dt accepts. > > Cheers, > -- > Regards, > Terry Duell > ___ > darktable developer mailing list > to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org > ___ darktable developer mailing list to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org
Re: [darktable-dev] jsonschema version issues
On Thu, 05 Sep 2019 15:43:10 +1000, Pascal Obry wrote: Le jeudi 05 septembre 2019 à 10:25 +1000, Terry Duell a écrit : Hello, I regularly build dt on Fedora 30 from the git master. About a week ago I had a build error because my version of jasonschema was not 3.0.1, so I installed v3.0.1 and all was well. A few days later Fedora updates provided v3.0.2, and as a result I had another build error because v3.0.1 could not be found. Is it necessary to explicitly specify the version required rather than specify (say) v3.0.1 or later? I suppose you just have to delete the build directory and start the build again from scratch. I don't think that's the issue. I build an rpm using rpmbuild and the spec file generates a new build dir. My question relates to version 3.0.2 being provided by Fedora, and dt currently ONLY accepting version 3.0.1 or at least that's the way it appears. Is it not possible for dt to accept version 3.0.1 or later versions? If this was possible it would avert having to check every Fedora update to ensure that I didn't unwittingly get a later version that will cause a build error, and then having to downgrade to the version dt accepts. Cheers, -- Regards, Terry Duell ___ darktable developer mailing list to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org
Re: [darktable-dev] jsonschema version issues
Le jeudi 05 septembre 2019 à 10:25 +1000, Terry Duell a écrit : > Hello, > I regularly build dt on Fedora 30 from the git master. > About a week ago I had a build error because my version of jasonschema was > not 3.0.1, so I installed v3.0.1 and all was well. > A few days later Fedora updates provided v3.0.2, and as a result I had > another build error because v3.0.1 could not be found. > Is it necessary to explicitly specify the version required rather than > specify (say) v3.0.1 or later? I suppose you just have to delete the build directory and start the build again from scratch. Cheers, -- Pascal Obry / Magny Les Hameaux (78) The best way to travel is by means of imagination http://www.obry.net gpg --keyserver keys.gnupg.net --recv-key F949BD3B ___ darktable developer mailing list to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org
[darktable-dev] jsonschema version issues
Hello, I regularly build dt on Fedora 30 from the git master. About a week ago I had a build error because my version of jasonschema was not 3.0.1, so I installed v3.0.1 and all was well. A few days later Fedora updates provided v3.0.2, and as a result I had another build error because v3.0.1 could not be found. Is it necessary to explicitly specify the version required rather than specify (say) v3.0.1 or later? Cheers, -- Regards, Terry Duell ___ darktable developer mailing list to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org