-
Notifications
You must be signed in to change notification settings - Fork 22
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
How to configure data source DEPATISnet #8
Comments
Dear @ElvezPelvez, thanks for writing in. IntroductionPatZilla will always require access to OPS as it is the single data source available for displaying bibliographic data. However, PatZilla should be able to offer searching at DEPATISnet in its default configuration
so let's check what might be wrong with your setup. InvestigationMay I ask you whether you see this in the data source chooser widget in the user interface? After switching to "DPMA" there, you should be able to query DEPATISnet through the corresponding data source adapter depatisnet.py. OutlookTo be able to display bibliographic data from DEPATISnet in order to skip OPS on that, this data source adapter would have to be extended to actually acquire the bibliographic details. Currently, it just submits the query expression, takes the list of document numbers from the response and passes on the torch to the display subsystem which is currently solely based on OPS. While extending depatisnet.py is definitively doable up to a certain degree, it's currently not on our list of priorities. Saying that, we might come back to this in the future, actually depending on pressure vs. opportunities ;]. AdviceRegarding access to OPS, we would recommend getting an account there for provisioning the PatZilla configuration with the corresponding authentication credentials. Regarding searching at DEPATISnet, we are confident to be able to resolve the problem you might be experiencing. We hope we have been able to shed some light onto the mechanics working under hood, please let us know if this makes any sense to you. Regarding your issue with DEPATISnet, we will be happy to help further after gathering more information about your specific problem. With kind regards, |
Andreas, Thanks a lot for the quick reply. I'll apply for OPS access and will get back to you again. Regarding your question: Yes, the two widgets are present and (if I remember correctly) I can get rid of the EPO one if I'm using "datasources = depatisnet, depatech" instead of "datasources = ops, depatisnet, depatech" in patzilla.ini (I'm running PatZilla using Docker btw.). Best regards and thanks again, Erik |
Hi Andreas, I now have OPS acces, pasted the two keys into patzilla.ini (either with or without the { }) and restarted the container. I then tried the "Numberlist" and also the "Comfort Search". However, I am getting the following error: An exception occurred while processing your query. Any ideas what I might be doing wrong? Thanks and best regards, Erik |
The following is a log of the error - hope this helps... E
|
Thanks Erik, regarding the error message HTTPBadGateway: Could not connect to OPS servers.The current problem you are seeing is on the code, sorry for that! I feel sad that you are experiencing things like that right now when just starting with PatZilla while the OPS interface was pretty much stable across the board over the last years ;]. After people already reported this to us (see #9 ff.), we have been able to partly fix this in the So, would you mind switching over to the branch if you feel adventurous in the meanwhile? Regarding the next release, we kindly ask for your patience. However, we will try to move this forward in the next few hours. With kind regards, |
Hi Andreas and thanks a lot! I'd love to try the branch and I will try to with to it even though I have not done tis before (quite new to GIT). Worst case I just delete the master branch ;-) Best regards, Erik |
Just a quick question: how would I switch to the epo-ops-client branch and rebuild the docker containers using the changed code? Just do a: Thanks again, Erik |
a) Assuming you got things going on your workbench: Great to hear and thanks for sharing. @aghster will also be happy to hear that the docker environment works without any efforts even when switching branches. b) If everything actually works well when accessing OPS, searching at DEPATISnet probably also works for you now? |
Sorry, but docker is not working. I'm still trying to figure out why: my two cents (I'm not too experienced) would be that the following line in Dockerfile causes the problem:
This actually downloads patzilla-0.161.1.tar.gz from pythonhosted.org and does not care about the local repository, i.e. the ego-ops-client branch. Since I really am not too experienced with either pip or docker I just hope that @aghster figures out a way to change the Dockerfile (or I just have to wait for your next release). Thanks anyways and have a nice rest of the day, Erik |
Thanks for your feedback @ElvezPelvez.
That's right, thanks for your investigation. As I am not using Docker with my development environment, I haven't been exactly aware of that.
In principle, I consider the current way a good thing as Docker users will get a stable release version for actually just running PatZilla without any effort on any environment supported by Docker. However, it would definitively be a cool thing if we also support a Docker-based development sandbox, so I've split the discussion about this topic into #10.
I fear it's really just on us this time to cut a new release, sorry again. If you feel more adventurous to setup a development environment directly on your workstation though, you might want to have a look at the corresponding sandbox setup documentation. |
Thanks a lot and I totally agree the Docker solution "as is" should be the best solution for users who want a stable release. However, I also like the idea of a sandboxed Docker version... As long as no new release is out I will try the sandboxed setup as proposed and hope I will manage to get through the installation steps. Thanks again for your help and effort! |
The issue explained in #9 seems to be related to a python update (@amotl, did I get this right?). Therefore, a preliminary solution for using the current Docker production setup could be using an older python version. @ElvezPelvez, you could try replacing lines 4 and 5 in Dockerfile with:
Unfortunately, right now I don't have the time to check myself whether this acutally works. |
Good to hear that everything works for you with the new release, enjoy your research! Thanks also @aghster for suggesting the Python downgrade workaround. While this might have helped, let's just move forward. |
Closing this now. Thanks again. |
Trying to figure out how to configure DEPATISnet as a data source. So far IP-Navigator always tries to collect from OPS no matter if it is mentioned in the patzilla.ini or not.
So there seems to be no difference whether patzilla.ini reads:
or datasources = depatisnet, depatech
How do I force IP-Navigator to search DEPATISnet and how would I configure this in the .ini?
Thanks!
The text was updated successfully, but these errors were encountered: