Few questions about Micah Lee flatpaks manual

Tried and it failed. Tried do this in Whonix disposable (since I need flatpak app in Whonix based qube and also Micah’s method perfect fits for me 'cause I need only single flatpak app and don’t want it to be installed in template). Installed git then did everything described in manual and in the end of the output it says that it’s failed to build. Providing exact log from Whonix desp. terminal:

[workstation user ~/qube-apps]% ./build_deb.sh
running bdist_deb
running sdist_dsc
running egg_info
writing qube_apps.egg-info/PKG-INFO
writing dependency_links to qube_apps.egg-info/dependency_links.txt
writing top-level names to qube_apps.egg-info/top_level.txt
reading manifest file 'qube_apps.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'qube_apps.egg-info/SOURCES.txt'
Traceback (most recent call last):
  File "/home/user/qube-apps/setup.py", line 13, in <module>
    setup(
  File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 108, in setup
    return distutils.core.setup(**attrs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 185, in setup
    return run_commands(dist)
           ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 201, in run_commands
    dist.run_commands()
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 969, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1213, in run_command
    super().run_command(command)
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "/usr/lib/python3/dist-packages/stdeb/command/bdist_deb.py", line 34, in run
    self.run_command('sdist_dsc')
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 318, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1213, in run_command
    super().run_command(command)
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "/usr/lib/python3/dist-packages/stdeb/command/sdist_dsc.py", line 30, in run
    debinfo = self.get_debinfo()
              ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/stdeb/command/common.py", line 197, in get_debinfo
    debinfo = DebianInfo(
              ^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/stdeb/util.py", line 934, in __init__
    for line in long_description.split('\n'):
                ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'split'

Qube Apps failed to build!

Tried to google that attribute error message in the end and there is solution but it’s all about python language so I understand nothing. Can someone here list exactly what steps I need to take to solve this problem? And maybe this error even not related to the problem at all and then maybe someone knows the real reason why compilation failed.

1 Like