Bug 1732752 - Can not upload file to pagure releases
Summary: Can not upload file to pagure releases
Alias: None
Product: Fedora
Classification: Fedora
Component: pag
Version: 30
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Ralph Bean
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2019-07-24 09:33 UTC by Pavel Raiskup
Modified: 2020-05-26 16:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2020-05-26 16:17:15 UTC
Type: Bug

Attachments (Terms of Use)

Description Pavel Raiskup 2019-07-24 09:33:24 UTC
$ pag upload ahoj.tar.gz 
/usr/lib/python3.7/site-packages/pag/utils.py:134: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  return yaml.load(f.read().decode('utf-8'))
Trying to upload 'ahoj.tar.gz'
Traceback (most recent call last):
  File "/usr/bin/pag", line 11, in <module>
    load_entry_point('pag==0.8', 'console_scripts', 'pag')()
  File "/usr/lib/python3.7/site-packages/click/core.py", line 763, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/click/core.py", line 716, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3.7/site-packages/click/core.py", line 1136, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3.7/site-packages/click/core.py", line 955, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3.7/site-packages/click/core.py", line 554, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/pag/utils.py", line 147, in inner
    return func(config, *args, **kwargs)
  File "/usr/lib/python3.7/site-packages/pag/utils.py", line 51, in inner
    return func(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/pag/commands/upload.py", line 28, in upload
    error = client.upload(name, tarball)
  File "/usr/lib/python3.7/site-packages/pag/client.py", line 99, in upload
    "csrf token %r" % response)
pag.client.PagureException: Couldn't get form to get csrf token <Response [404]>

Comment 1 Ben Cotton 2020-04-30 21:30:17 UTC
This message is a reminder that Fedora 30 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 30 on 2020-05-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '30'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 30 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 2 Ben Cotton 2020-05-26 16:17:15 UTC
Fedora 30 changed to end-of-life (EOL) status on 2020-05-26. Fedora 30 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this

Thank you for reporting this bug and we are sorry it could not be fixed.

Note You need to log in before you can comment on or make changes to this bug.