fedora-review seam to not work 8-(

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

 



Hi,

(Since the last update ?) fedora-review seams to not work:

I am using

Spec URL: ftp://ftp.ourproject.org/pub/wdune/vcglib.spec
SRPM URL: ftp://ftp.ourproject.org/pub/wdune/vcglib-1.0.1-1.src.rpm

as a testcase.

$ fedora-review -n vcglib
INFO: Processing local files: vcglib
INFO: Getting .spec and .srpm Urls from : Local files in /home/home/mufti
INFO:   --> SRPM url: file:///home/home/mufti/vcglib-1.0.1-1.src.rpm
INFO:   --> Spec url: file:///home/home/mufti/vcglib.spec
INFO: Using review directory: /home/home/mufti/review-vcglib
ERROR: Exception down the road... (logs in
/home/mufti/.cache/fedora-review.log)

$ less /home/mufti/.cache/fedora-review.log
...
08-05 17:51 root         INFO       --> SRPM url:
file:///home/home/mufti/vcglib-1.0.1-1.src.rpm
08-05 17:51 root         INFO       --> Spec url:
file:///home/home/mufti/vcglib.spec
08-05 17:51 root         DEBUG    find_urls completed: 0.010
08-05 17:51 root         INFO     Using review directory:
/home/home/mufti/review-vcglib
08-05 17:51 root         DEBUG    Avoiding init of working mock root
08-05 17:51 root         DEBUG    Url download completed: 2.384
08-05 15:51 root         DEBUG    Exception down the road...
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/FedoraReview/review_helper.py",
line 236, in run
    self._do_run(outfile)
  File "/usr/lib/python3.7/site-packages/FedoraReview/review_helper.py",
line 226, in _do_run
    self._do_report(outfile)
  File "/usr/lib/python3.7/site-packages/FedoraReview/review_helper.py",
line 99, in _do_report
...

As far as i understand python, a "BaseException" occored in
self._do_run(outfile):

$ less +232 /usr/lib/python3.7/site-packages/FedoraReview/review_helper.py
       self.log.debug("fedora-review %s %s started", __version__,
BUILD_FULL)
        self.log.debug("Command  line: %s", " ".join(sys.argv))
        try:
            rcode = 0
            self._do_run(outfile)
        except ReviewError as err:
            if isinstance(err, SpecParseReviewError):
                nvr = _Nvr(self.bug.get_name())
                result = SimpleTestResult(
                    "SpecFileParseError", "Can't parse the spec file: ",
str(err)
                )
                write_xml_report(nvr, [result])
            self.log.debug("ReviewError: %s", str(err), exc_info=True)
            if not err.silent:
                msg = "ERROR: " + str(err)
                if err.show_logs:
                    msg += " (logs in " + Settings.session_log + ")"
                self.log.error(msg)
            rcode = err.exitcode
        except BaseException:
            self.log.debug("Exception down the road...", exc_info=True)
            self.log.error(
                "Exception down the road... (logs in %s)",
Settings.session_log
...

What i am doing wrong ?

so long
MUFTI
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-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/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux