#418 TypeError when executed in directory without .spec (retired package)
Closed: Duplicate 2 years ago by onosek. Opened 2 years ago by zbyszek.

$ fedpkg clone nodejs-esprima
$ cd nodejs-esprima
$ fedpkg local
Could not execute local: join() argument must be str, bytes, or os.PathLike object, not 'NoneType'
$ ls
$ rpm -q fedpkg

"nodejs-esprima" repo is already retired package. It can not be built. Are you interested in some info message about that fact?
Regarding the situation of missing specfile - it is fixed here: https://pagure.io/rpkg/pull-request/523

My complaint was only about the message: I would expect a message like "nodejs-esprima.spec: no such file or directory" or similar.

This issue was fixed in rpkg which is a library for fedpkg:

onosek@ba585c37a27f:/repo/nodejs-esprima(master)$ fedpkg local
sources file doesn't exist. Source files download skipped.
Could not execute local: This package or module is retired. The action has stopped.

Metadata Update from @onosek:
- Issue close_status updated to: Duplicate
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Related Pull Requests
  • #523 Merged 2 years ago