pack_install() crashing when used in a wsgi
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin |
Fix Released
|
High
|
Unassigned |
Bug Description
Traceback (most recent call last):
File "/usr/lib/
response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/
return self.dispatch(
File "/usr/lib/
return handler(request, *args, **kwargs)
File "/usr/lib/
context = self.get_
File "/usr/lib/
context[
File "/usr/lib/
release=
File "/usr/lib/
xinstall = pack_install(
File "/usr/lib/
add_
File "/usr/lib/
shutil.
File "/usr/lib/
copyfile(src, dst)
File "/usr/lib/
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/mod_wsgi'
Looks like the code in get_curtin_paths() is dodgy:
if curtin_exe is None:
curtin_exe = os.path.
You can't rely on sys.argv here.
Related branches
Changed in curtin: | |
importance: | Undecided → High |
status: | New → Fix Committed |
This bug is believed to be fixed in curtin in 17.1. If this is still a problem for you, please make a comment and set the state back to New
Thank you.