On my phone I still use the cdimage ones as I need to install lots of extra deb packages for development. In that case, /var/log/system-image/ does not exist, and system-image-cli crashes:
phablet@android:/home/phablet $ system-image-cli -i
Traceback (most recent call last):
File "/usr/bin/system-image-cli", line 9, in <module>
load_entry_point('system-image==1.4', 'console_scripts', 'system-image-cli')()
File "/usr/lib/python3/dist-packages/systemimage/main.py", line 123, in main
initialize(verbosity=args.verbose)
File "/usr/lib/python3/dist-packages/systemimage/logging.py", line 56, in initialize
handler = logging.FileHandler(config.system.logfile, encoding='utf-8')
File "/usr/lib/python3.3/logging/__init__.py", line 966, in __init__
StreamHandler.__init__(self, self._open())
File "/usr/lib/python3.3/logging/__init__.py", line 988, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding)
FileNotFoundError: [Errno 2] No such file or directory: '/var/log/system-image/client.log'
Can you please verify that calling this as phablet user works?
For the classic cdimage builds, reports already contain the InstallationMedia field which gives the contents of /var/log/installer/media-info (which is a real file on desktop, and a symlink to /etc/media-info on touch; which is a misfeature, because that file is not a configuration file, but more like a log).
On my phone I still use the cdimage ones as I need to install lots of extra deb packages for development. In that case, /var/log/ system- image/ does not exist, and system-image-cli crashes:
phablet@ android: /home/phablet $ system-image-cli -i system- image-cli" , line 9, in <module> entry_point( 'system- image== 1.4', 'console_scripts', 'system- image-cli' )() python3/ dist-packages/ systemimage/ main.py" , line 123, in main verbosity= args.verbose) python3/ dist-packages/ systemimage/ logging. py", line 56, in initialize FileHandler( config. system. logfile, encoding='utf-8') python3. 3/logging/ __init_ _.py", line 966, in __init__ er.__init_ _(self, self._open()) python3. 3/logging/ __init_ _.py", line 988, in _open baseFilename, self.mode, encoding= self.encoding) system- image/client. log'
Traceback (most recent call last):
File "/usr/bin/
load_
File "/usr/lib/
initialize(
File "/usr/lib/
handler = logging.
File "/usr/lib/
StreamHandl
File "/usr/lib/
return open(self.
FileNotFoundError: [Errno 2] No such file or directory: '/var/log/
Can you please verify that calling this as phablet user works?
For the classic cdimage builds, reports already contain the InstallationMedia field which gives the contents of /var/log/ installer/ media-info (which is a real file on desktop, and a symlink to /etc/media-info on touch; which is a misfeature, because that file is not a configuration file, but more like a log).