Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2019 22:06
    blavoie starred zenodo/zenodo
  • Jan 31 2019 20:43
    dybedal commented #1583
  • Jan 31 2019 15:35
    slint review_requested #1690
  • Jan 31 2019 15:31
    slint labeled #1599
  • Jan 31 2019 15:31
    slint labeled #1599
  • Jan 31 2019 15:31
    slint labeled #1599
  • Jan 31 2019 15:31
    slint commented #1599
  • Jan 31 2019 15:29
    ChiaraBi synchronize #1652
  • Jan 31 2019 13:37
    slint unassigned #617
  • Jan 31 2019 13:37
    slint unassigned #1639
  • Jan 31 2019 12:59
    ChiaraBi synchronize #1652
  • Jan 31 2019 11:09
    ChiaraBi assigned #1646
  • Jan 31 2019 10:49
    ChiaraBi synchronize #1692
  • Jan 31 2019 10:44
    ChiaraBi assigned #1657
  • Jan 31 2019 10:43
    ChiaraBi synchronize #1692
  • Jan 31 2019 10:31
    ChiaraBi opened #1692
  • Jan 31 2019 08:40
    kpalin commented #1599
  • Jan 30 2019 18:10
    ChiaraBi synchronize #1652
  • Jan 30 2019 17:26
    ChiaraBi synchronize #1652
  • Jan 30 2019 10:45
    gwarf starred zenodo/zenodo
beniroquai
@beniroquai_gitlab
Hey, I just joined the ZENODO club. Very cool! ;-) .. but of course, I'm running into troubles when uploading files trough pythons REST API: ConnectionError: ('Connection aborted.', OSError("(32, 'EPIPE')")) @graeme-winter, were you able to resolve this issue? I set "discard", "edit" and then post a file following the REST API tutorial from Zenodo. Any idea?
1 reply
Alex Whan
@alexwhan
image.png
I can't access my github integration page on zenodo - it's really quite a problem at the moment. I keep getting 'Internal server error' (see screenshot above). Any advice would be greatly appreciated, we want to manage software release archiving through zenodo as we have done previously
Alex Whan
@alexwhan
@slint Any ideas?
Alex Whan
@alexwhan
fyi, I've just discovered that unlinking and relinking my github account has solved the problem
Alex Ioannidis
@slint
@alexwhan sorry for the radio silence. Indeed the issue is related with Zenodo having a "stale" GitHub OAuth token, which can basically only be refreshed by manually triggering an account reconnect
Alex Whan
@alexwhan
no problem @slint - I'm sure you already have plenty on your plate, but an informative error message would be nice in the circumstance. Thanks for all your work
fwoerister
@fwoerister
grafik.png
hello, i created a dataset on Sep 29... now, when i try to download one of the files i get a 500 internal server error .... do you know how to resolve this issue?
Alex Ioannidis
@slint
Hi @fwoerister, I tried downloading some of the files from the dataset but they all seem to work. Was it a specific file you had an issue with?
gamboa
@cfgamboa
dear all, is there any configuration setting in zenodo to select the scopes supported to the user e.g (deposit:write, user:email) in zenodo?
Alex Ioannidis
@slint
Hm, if you mean the ones displayed at the API token generation page, these are unfortunately not configurable...
gamboa
@cfgamboa
Indeed
Laxman Mali
@lkmali
Hi I am getting
{"status": 400, "message": "File is smaller than expected."}
Mohamed Ali Ahmed
@mbile

Hi everyone,
I have installed zenodo in a local development environment. is it possible to configure to login github and upload articles locallly?

Regards,

mtorrisi
@mtorrisi
@mbile did you get it work?
I installed the dev environment but I'm not able to configure github auth, I get redirect_uri mismatch error.
Wilfrid Utz
@fridlutz
Hi, can you please let me know whether it is possible to add a paper to a community without the electronic copy of it? The paper I would like to add is already published by Springer and I would like to have a reference of it/pointer in my zenodo community? Any hints?
1 reply
Mohamed Ali Ahmed
@mbile
@mtorrisi
Sorry for the late answer. No. it didn't.
Mohamed Ali Ahmed
@mbile

I installed the dev environment but I'm not able to configure github auth, I get redirect_uri mismatch error.

@mtorrisi
I think you better keep using local authentication to login to the local instance and configure github based logins on the production instance.

Loïc Paulevé
@pauleve

Hi, I'd like to upload file whose content comes from a stream, but I get a 400 File is smaller than expected issue:

# working:
with open("myfile","rb") as fp:
    session.put(f"{bucket}/myfile", data=fp)
# fails with File is smaller than expected:
with Popen(["cat", "myfile"], stdout=PIPE) as p:
    session.put(f"{bucket}/myfile", data=p.stdout)

any idea of what I'm doing wrong in the second case?

Loïc Paulevé
@pauleve
ok, this is zenodo/zenodo#1986 :cry:
Mohamed Ali Ahmed
@mbile

Hello everyone,
We are using Zenodo as a digital repository and it is working fine but I have one issue with the curation email not being sent to the curator and I have

MAIL_SUPPRESS_SEND = False
In case you're wondering the system can send support emails but not curation emails.
Here is the log when I upload a new article:

[2021-05-27 10:43:19,346: INFO/MainProcess] mingle: searching for neighbors
[2021-05-27 10:43:20,387: INFO/MainProcess] mingle: all alone
[2021-05-27 10:43:20,423: INFO/MainProcess] celery@zenodo-worker-5f88db948c-mhtqx
ready.
[2021-05-27 10:43:21,608: INFO/Beat] beat: Starting...
[2021-05-27 10:48:21,710: INFO/Beat] Scheduler: Sending due task indexer
(invenio_indexer.tasks.process_bulk_queue)
[2021-05-27 10:53:21,775: INFO/Beat] Scheduler: Sending due task indexer
(invenio_indexer.tasks.process_bulk_queue)
[2021-05-27 10:58:21,864: INFO/Beat] Scheduler: Sending due task indexer
(invenio_indexer.tasks.process_bulk_queue)
[2021-05-27 11:03:21,956: INFO/Beat] Scheduler: Sending due task indexer
(invenio_indexer.tasks.process_bulk_queue)
[2021-05-27 11:08:22,047: INFO/Beat] Scheduler: Sending due task indexer
(invenio_indexer.tasks.process_bulk_queue)
[2021-05-27 11:13:20,951: INFO/MainProcess] Received task:
invenio_stats.tasks.process_events[16ac338f-aae7-483b-bf1d-594b26da6dae]
[2021-05-27 11:13:21,043: INFO/ForkPoolWorker-5] Task
invenio_stats.tasks.process_events[16ac338f-aae7-483b-bf1d-594b26da6dae] succeeded in
0.08541311299995868s: [('record-view', (0, 0)), ('file-download', (0, 0))]
[2021-05-27 11:13:21,708: INFO/Beat] Scheduler: Sending due task stats-process-events
(invenio_stats.tasks.process_events)
[2021-05-27 11:13:21,719: INFO/MainProcess] Received task:
invenio_stats.tasks.process_events[13c74aa5-a9f4-49d1-9c53-69d7312a9101]
[2021-05-27 11:13:21,792: INFO/ForkPoolWorker-2] Task
invenio_stats.tasks.process_events[13c74aa5-a9f4-49d1-9c53-69d7312a9101] succeeded in
0.07069803100011995s: [('record-view', (0, 0)), ('file-download', (0, 0))]
[2021-05-27 11:13:22,047: INFO/Beat] Scheduler: Sending due task indexer
(invenio_indexer.tasks.process_bulk_queue)
[2021-05-27 11:18:22,124: INFO/Beat] Scheduler: Sending due task indexer
(invenio_indexer.tasks.process_bulk_queue)
[2021-05-27 11:23:22,162: INFO/Beat] Scheduler: Sending due task indexer
(invenio_indexer.tasks.process_bulk_queue)
[2021-05-27 11:28:22,223: INFO/Beat] Scheduler: Sending due task indexer
(invenio_indexer.tasks.process_bulk_queue)
[2021-05-27 11:32:48,273: INFO/MainProcess] Received task:
invenio_mail.tasks.send_email[19a1cc75-9366-448c-b5bd-dbef44551f8b]
[2021-05-27 11:32:48,319: INFO/MainProcess] Received task:
invenio_mail.tasks.send_email[63634ba3-7ade-49b5-b0bd-109e7f1c71f2]
[2021-05-27 11:32:48,355: INFO/MainProcess] Received task:
invenio_mail.tasks.send_email[0f2fb004-38f9-45e6-9847-d2d8b520784f]

[2021-05-27 11:32:48,359: ERROR/ForkPoolWorker-3] Task
invenio_mail.tasks.send_email[19a1cc75-9366-448c-b5bd-dbef44551f8b] raised unexpected:

<SecurityError '400: Bad Request'>
Traceback (most recent call last):
File "/opt/zenodo_venv/lib64/python3.6/site-packages/celery/app/trace.py", line 374, in
trace_task
R = retval = fun(args, *kwargs)
File "/opt/zenodo_venv/lib64/python3.6/site-packages/flask_celeryext/app.py", line 94, in
call
self.app.flask_app.preprocess_request()
File "/opt/zenodo_venv/lib64/python3.6/site-packages/flask/app.py", line 1831, in
preprocess_request
rv = func()
File "/opt/zenodo_venv/lib64/python3.6/site-packages/flask_talisman/talisman.py", line 214,
in _force_https
if flask.request.url.startswith('http://'):
File "/opt/zenodo_venv/lib64/python3.6/site-packages/werkzeug/local.py", line 347, in
getattr
return getattr(self._get_current_object(), name)
File "/opt/zenodo_venv/lib64/python3.6/site-packages/werkzeug/utils.py", line 73, in get
value = self.func(obj)
File "/opt/zenodo_venv/lib64/python3.6/site-packages/werkzeug/wrappers.py", line 617, in
url
trusted_hosts=self.trusted_hosts)
File "/opt/zenodo_venv/lib64/python3.6/site-packages/werkzeug/wsgi.py"

Any help would be appreciated

Mohamed Ali Ahmed
@mbile
File "/opt/zenodo_venv/lib64/python3.6/site-packages/flask_talisman/talisman.py", line 214,
in _force_https
if flask.request.url.startswith('http://'):
File "/opt/zenodo_venv/lib64/python3.6/site-packages/werkzeug/local.py", line 347, in
getattr
return getattr(self._get_current_object(), name)
File "/opt/zenodo_venv/lib64/python3.6/site-packages/werkzeug/utils.py", line 73, in get
value = self.func(obj)
File "/opt/zenodo_venv/lib64/python3.6/site-packages/werkzeug/wrappers.py", line 617, in
url
trusted_hosts=self.trusted_hosts)
File "/opt/zenodo_venv/lib64/python3.6/site-packages/werkzeug/wsgi.py", line 87, in
get_current_url
tmp = [environ['wsgi.url_scheme'], '://', get_host(environ, trusted_hosts)]
File "/opt/zenodo_venv/lib64/python3.6/site-packages/werkzeug/wsgi.py", line 170, in
get_host
raise SecurityError('Host "%s" is not trusted' % rv)
werkzeug.exceptions.SecurityError: 400 Bad Request: Host "localhost" is not trusted
Mohamed Ali Ahmed
@mbile
Any help please.
iGor milhit
@iGormilhit
@mbile The Invenio community is mainly on discord nowadays.
You'll find links in the "Choose your product" section of https://inveniosoftware.org/
Mohamed Ali Ahmed
@mbile

@mbile The Invenio community is mainly on discord nowadays.
You'll find links in the "Choose your product" section of https://inveniosoftware.org/

Thanks @iGormilhit

Michael Baluja
@baluja:matrix.org
[m]

I've been having this issue using the Zenodo API where I get this error: {'status': 400, 'message': 'Maximum number of 10000 results have been reached.'}.

I wasn't able to see anything about it in the docs, but when I googled it, this chat came up. I tried searching the chat & didn't see anything about it, has anyone here had this problem/know how it can be worked around?

mtorrisi
@mtorrisi

Hello everyone,

I'm facing an issue loading grants from OpenAire, srever returns connection timeout, like below

2021-09-14 08:27:58,162: ERROR/ForkPoolWorker-4] Task invenio_openaire.tasks.harvest_openaire_projects[a4aec18e-109b-4fa7-93e1-bdb38336c58b] raised unexpected: HTTPError(u'504 Server Error: Gateway Time-out for url: http://api.openaire.eu/oai_pmh?verb=ListRecords&set=H2020Projects&metadataPrefix=oaf',)
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/celery/app/trace.py", line 375, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/flask_celeryext/app.py", line 79, in __call__
    return Task.__call__(self, *args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/celery/app/trace.py", line 632, in __protected_call__
    return self.run(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/invenio_openaire/tasks.py", line 42, in harvest_openaire_projects
    for grant_json in loader.iter_grants():
  File "/usr/local/lib/python2.7/site-packages/invenio_openaire/loaders.py", line 301, in iter_grants
    set=self.setspec)
  File "/usr/local/lib/python2.7/site-packages/sickle/app.py", line 135, in ListRecords
    return self.iterator(self, params, ignore_deleted=ignore_deleted)
  File "/usr/local/lib/python2.7/site-packages/sickle/iterator.py", line 135, in __init__
    super(OAIItemIterator, self).__init__(sickle, params, ignore_deleted)
  File "/usr/local/lib/python2.7/site-packages/sickle/iterator.py", line 46, in __init__
    self._next_response()
  File "/usr/local/lib/python2.7/site-packages/sickle/iterator.py", line 138, in _next_response
    super(OAIItemIterator, self)._next_response()
  File "/usr/local/lib/python2.7/site-packages/sickle/iterator.py", line 84, in _next_response
    self.oai_response = self.sickle.harvest(**params)
  File "/usr/local/lib/python2.7/site-packages/sickle/app.py", line 120, in harvest
    http_response.raise_for_status()
  File "/usr/local/lib/python2.7/site-packages/requests/models.py", line 940, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
HTTPError: 504 Server Error: Gateway Time-out for url: http://api.openaire.eu/oai_pmh?verb=ListRecords&set=H2020Projects&metadataPrefix=oaf
Wilfrid Utz
@fridlutz
Hi, I would like to move the ownership of a record (due to the leave of an employee), can you advice how this can be done (the record is already within our community, but we would like to be able to edit).