traceback in simplestreams when release folder doesn't exist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu CD Images |
New
|
High
|
Łukasz Zemczak |
Bug Description
We ran into a Traceback when working on the Kinetic Beta release and running the following command:
ARCHES='amd64' for-project ubuntustudio publish-release dvd 20220928.1 dvd named beta
Traceback (most recent call last):
File "/home/
main()
File "/home/
publisher.
File "/srv/cdimage.
self.
File "/srv/cdimage.
sstreams.
File "/srv/cdimage.
self.
File "/srv/cdimage.
self.
File "/srv/cdimage.
self.
File "/srv/cdimage.
for file in os.listdir(
FileNotFoundError: [Errno 2] No such file or directory: '/srv/cdimage.
I worked around it with the following cowboy as I didn't think we should have a release directory.
cdimage@
=== modified file 'lib/cdimage/
--- old/lib/
+++ new/lib/
@@ -321,9 +321,10 @@
# TODO: let's log this and continue
- # The image ID is the point version for now, since those should
- # be unique. This might still be up for discussion.
- self.scan_
+ if os.path.
+ # The image ID is the point version for now, since those should
+ # be unique. This might still be up for discussion.
+ self.scan_
def scan_tree(self):
"""Scan all releases/ directories on cdimage."""
Changed in ubuntu-cdimage: | |
importance: | Undecided → High |
assignee: | nobody → Łukasz Zemczak (sil2100) |