Comments (9)
Dear @think-nice-things,
thank you for writing in.
Introduction
I installed patzilla as from pip (0.169.3).
Wow, did it work well? We are currently working on a refresh which will be converged into 0.170.0 soon and had quite a bunch of things to resolve.
I've aquired a depa.tech account.
Sweet. @herrkrueger and @mtcberlin will like it.
Problem report
I didn't manage to use depa.tech.
Bummer. We believe it works well on the hosted instance at https://patzilla.ip-tools.io/ 1.
Let's try to make it work on your end as well. When depa.tech is successfully enabled, you should be able to spot those lines in the log:
2022-04-27 14:24:05,517 INFO [patzilla.access.depatech.clientpool ][MainThread] Using depa.tech API at https://api.depa.tech
2022-04-27 14:24:05,517 INFO [patzilla.access.depatech.clientpool ][MainThread] Creating upstream client pool for depa.tech
Investigation
If this is not the case, there might be some configuration flaw.
The relevant config entries look like this:
# [datasource:depatech]
That could already be the culprit. Section headers of .ini configuration files should not be prefixed with #
.
Let us know if that helps already.
With kind regards,
Andreas.
Footnotes
-
We will be happy to provide you an account on the hosted instance of PatZilla we are operating. Let us know if you are interested about it.
↩
from patzilla.
Another detail we just spotted within the configuration snippet you shared with us:
[ip_naviator] datasources = ops, depatisnet, depatech
There is a typo here, it should be [ip_navigator]
- one g
is missing.
from patzilla.
thanks for your rapid reponse.
No unfortunatly everything is correct in my config, seems that I was just sloppy in my orignal post.
So the config reads in fact
[ip_navigator]
datasources = ops, depatisnet, depatech
[datasource:depatech]
api_uri = {depatech_api_uri}
api_username = {depatech_api_username}
api_password = {depatech_api_password}
still not working.
How do I enable logging (e.g. to stdout / stderr)?
from patzilla.
Hi again,
your configuration snippet looks reasonable, assuming that you replaced all the right-hand values {depatech_*}
correctly.
How do I enable logging (e.g. to stdout / stderr)?
You don't see anything on stderr? How are you starting PatZilla?
With kind regards,
Andreas.
from patzilla.
pserve patzilla.ini
and I'm seeing
Starting server in PID 1187.
Serving on http://localhost:6543
The interface only shows these buttons:
I even installed patzilla in two totally different environments (1. ubuntu on windows wsl behind a firewall and with proxy and 2. debian linux w/o firewall) and depa.tech doesn't work on neither of them.
from patzilla.
Thanks for those insights. We will have to dig deeper.
On my machine, I receive those kinds of log messages when PatZilla is starting up 1:
2022-04-27 14:24:04,832 INFO [patzilla.navigator.settings ][MainThread] Root configuration file: /path/to/patzilla/patzilla/config/development-local.ini
2022-04-27 14:24:04,832 INFO [patzilla.util.config ][MainThread] Requested configuration files: /path/to/patzilla/patzilla/config/development-local.ini
2022-04-27 14:24:04,835 INFO [patzilla.util.config ][MainThread] Effective configuration files: /path/to/patzilla/patzilla/config/development-local.ini
2022-04-27 14:24:05,357 INFO [patzilla.access ][MainThread] Enabling data sources: ops, depatisnet, ificlaims, depatech, allpat
2022-04-27 14:24:05,495 INFO [patzilla.access.epo.ops.client ][MainThread] Creating upstream client pool for EPO/OPS
2022-04-27 14:24:05,513 INFO [patzilla.access.ificlaims.clientpool ][MainThread] Using IFI CLAIMS API at https://cdws21.ificlaims.com
2022-04-27 14:24:05,513 INFO [patzilla.access.ificlaims.clientpool ][MainThread] Creating upstream client pool for IFI CLAIMS
2022-04-27 14:24:05,517 INFO [patzilla.access.depatech.clientpool ][MainThread] Using depa.tech API at https://api.depa.tech
2022-04-27 14:24:05,517 INFO [patzilla.access.depatech.clientpool ][MainThread] Creating upstream client pool for depa.tech
2022-04-27 14:24:06,894 INFO [patzilla ][MainThread] Application is ready to serve requests. Enjoy your research.
Starting server in PID 68128.
Serving on http://0.0.0.0:6543
It looks like the logging subsystem is not configured correctly on your end.
a) Your patzilla.ini
has been created with patzilla make-config development
?
b) Maybe you can share your full configuration file, without personal access credentials and tokens?
Footnotes
-
My environment is slightly different. a) I am working within a development sandbox. b) I am working on the development branch. However, only some messages might slightly deviate and not too much is special with the development sandbox. Logging to stderr should work in general without further ado.
↩
from patzilla.
Hi again,
we tried to reproduce the problem but ran into another one, see #52. However, we can confirm that a) logging to stderr and b) activating the depa.tech
data source seem to work out of the box with the recipe shared at #52.
With kind regards,
Andreas.
from patzilla.
Hi again,
thanks for your hint at #52 (comment)
but yet depatech not working
We can confirm the situation. While the system pretends to bring up the data source, both on the backend/middleware and the frontend side, ....
in fact, it doesn't. Apologies!
We should soon release a new version of PatZilla which will hopefully improve the situation. In the meanwhile, can we humbly ask you if you would feel capable enough to work with the development version and a corresponding sandbox setup?
If so, you can use the latest progress from the more-tests
branch 1. On this matter, there is also a detailed and updated installation document 2. Please let us know if you need further guidance.
With kind regards,
Andreas.
Footnotes
from patzilla.
Dear @think-nice-things,
How do I enable logging (e.g. to stdout / stderr)?
You don't see anything on stderr? How are you starting PatZilla?
While working on #49, we discovered the reason why stdout/stderr might have been silent on your end. It will be fixed with d619020. Thank you!
With kind regards,
Andreas.
from patzilla.
Related Issues (20)
- Support Docker-based development sandboxes HOT 5
- Improve documentation re. workstation setup vs. development setup HOT 6
- Fix normalization of USPTO document numbers for granted patents HOT 3
- Grouping by family with OPS database HOT 1
- Report with bibliographic data HOT 4
- nasa-public-domain demo link is broken HOT 1
- Unexpected HTTP 4XX in case of server issue HOT 6
- TS18002: The 'files' list in config file 'tsconfig.json' is empty. HOT 7
- Support Python 3 HOT 2
- Data lost HOT 4
- Problem getting drawings from USPTO HOT 5
- Update list of OPS fulltext countries HOT 2
- PatZilla does not serve requests when started in development mode HOT 4
- DPMAregister data source adapter broken after upstream layout updates (June 1st, 2022) HOT 2
- DEPATISnet data source adapter broken after upstream layout updates (June 14th, 2022) HOT 2
- USPTO PatFT and AppFT servers decommissioned on September 30, 2022 HOT 2
- Problems installing in sandbox mode, and migration to Python 3 HOT 18
- User interface is broken when displaying document details HOT 11
- PatZilla croaks with “HTTPBadGateway: Could not connect to OPS servers” HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from patzilla.