Skip to content
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

Version 3.9.2 : ERROR - transfer_vn - The job Places_fb crashed #178

Closed
dthonon opened this issue Nov 6, 2021 · 3 comments
Closed

Version 3.9.2 : ERROR - transfer_vn - The job Places_fb crashed #178

dthonon opened this issue Nov 6, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@dthonon
Copy link
Owner

dthonon commented Nov 6, 2021

In GitLab by @mgageo on Nov 6, 2021, 12:20

Bonjour,

Suite à une installation fraiche de l'api j'ai ces messages :
job "full_download_1 (trigger: date[2021-11-06 11:15:59 UTC], next run at: 2021-11-06 11:15:59 UTC)" raised an exception
Traceback (most recent call last):
File "/home/xfer38/VN_env/lib/python3.7/site-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "/home/xfer38/VN_env/lib/python3.7/site-packages/export_vn/transfer_vn.py", line 413, in full_download_1
territorial_unit_ids=cfg.territorial_unit_ids,
File "/home/xfer38/VN_env/lib/python3.7/site-packages/export_vn/download_vn.py", line 867, in store
super().store()
File "/home/xfer38/VN_env/lib/python3.7/site-packages/export_vn/download_vn.py", line 159, in store
items_dict = self._api_instance.api_list(opt_params=opt_params)
File "/home/xfer38/VN_env/lib/python3.7/site-packages/biolovision/api.py", line 516, in api_list
return self._api_list(opt_params=h_params, optional_headers=h_headers)
File "/home/xfer38/VN_env/lib/python3.7/site-packages/biolovision/api.py", line 452, in _api_list
entities = self._url_get(params, self._ctrl, optional_headers=optional_headers)[
File "/home/xfer38/VN_env/lib/python3.7/site-packages/biolovision/api.py", line 416, in _url_get
raise MaxChunksError
biolovision.api.MaxChunksError
2021-11-06 12:16:43,061 - ERROR - transfer_vn - The job Places_fb crashed

@dthonon
Copy link
Owner Author

dthonon commented Nov 6, 2021

Bonjour
Il faut augmenter le paramètre max_chunks dans le fichier de configuration
YAML, car fb doit contenir beaucoup de lieux dits.
Cordialement
Daniel

...

Le sam. 6 nov. 2021 à 12:20, Marc Gauthier (@mgageo) gitlab@framasoft.org a écrit :

Marc Gauthier https://framagit.org/mgageo created an issue: #178
https://framagit.org/lpo/Client_API_VN/-/issues/178

Bonjour,

Suite à une installation fraiche de l'api j'ai ces messages : job
"full_download_1 (trigger: date[2021-11-06 11:15:59 UTC], next run at:
2021-11-06 11:15:59 UTC)" raised an exception Traceback (most recent call
last): File
"/home/xfer38/VN_env/lib/python3.7/site-packages/apscheduler/executors/base.py",
line 125, in run_job retval = job.func(*job.args, **job.kwargs) File
"/home/xfer38/VN_env/lib/python3.7/site-packages/export_vn/transfer_vn.py",
line 413, in full_download_1 territorial_unit_ids=cfg.territorial_unit_ids,
File
"/home/xfer38/VN_env/lib/python3.7/site-packages/export_vn/download_vn.py",
line 867, in store super().store() File
"/home/xfer38/VN_env/lib/python3.7/site-packages/export_vn/download_vn.py",
line 159, in store items_dict =
self._api_instance.api_list(opt_params=opt_params) File
"/home/xfer38/VN_env/lib/python3.7/site-packages/biolovision/api.py", line
516, in api_list return self._api_list(opt_params=h_params,
optional_headers=h_headers) File
"/home/xfer38/VN_env/lib/python3.7/site-packages/biolovision/api.py", line
452, in _api_list entities = self._url_get(params, self._ctrl,
optional_headers=optional_headers)[ File
"/home/xfer38/VN_env/lib/python3.7/site-packages/biolovision/api.py", line
416, in _url_get raise MaxChunksError biolovision.api.MaxChunksError
2021-11-06 12:16:43,061 - ERROR - transfer_vn - The job Places_fb crashed


Reply to this email directly or view it on GitLab
https://framagit.org/lpo/Client_API_VN/-/issues/178.
You're receiving this email because of your account on framagit.org. If
you'd like to receive fewer emails, you can unsubscribe
https://framagit.org/-/sent_notifications/REDACTED/unsubscribe
from this thread or adjust your notification settings.

@dthonon
Copy link
Owner Author

dthonon commented Nov 6, 2021

In GitLab by @mgageo on Nov 6, 2021, 20:52

Je viens de passer à 1000 la valeur de max_chunks et c'est passé.
C'est parti pour les observations (~ 4 heures).

@dthonon
Copy link
Owner Author

dthonon commented Nov 7, 2021

mentioned in commit 70286ca

@dthonon dthonon closed this as completed May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant