[Bug 2239811] Review Request: python-pynsgr - Interface to the NeuroScience Gateway REST interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2239811



--- Comment #7 from Sandro <gui1ty@xxxxxxxxxxxxx> ---
Based on Ben's feedback, I took a closer look at the manpages. I agree:

> The result is still far from beautiful, but at least does contain useful text.

At least it's no longer broken. I wonder how helpful it is having a man page
when the output is almost identical to the output of the '--help' switch. But
that's more a philosophical question and `nsgr_job` appears to lack a `--help`
switch all together (it uses '-h' instead).

While I was busy I noted that `nsgr_job` crashes without any options. I'd say
that's a bug:

Traceback (most recent call last):
  File "/usr/bin/nsgr_job", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/lib/python3.11/site-packages/pynsgr/commands/nsgr_job.py", line
162, in main
    sys.exit(nsgr_job(sys.argv))
             ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/pynsgr/commands/nsgr_job.py", line
86, in nsgr_job
    properties = CipresClient.Application(conf_filepath).getProperties()
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/pynsgr/client.py", line 499, in
__init__
    raise Exception(
Exception: Didn't find the file: ~/.nsgrest.conf or ~/nsgrest.conf (which
should contain properties {'USERNAME', 'URL', 'APPID', 'APPNAME', 'PASSWORD'})
or /opt/user/nsgrest.conf on Open Source Brain v2.

Probably not a reason to not grant the review, but I'll ponder that while I'm
afk and decide later


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2239811

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202239811%23c7
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux