question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

appimage-builder 1.0.3 failing: expected str instance, NoneType found

See original GitHub issue

1.0.2 was working a few days ago but now my CI runs are failing with:

INFO:AppImagePrimer:Creating squashfs from AppDir
Traceback (most recent call last):
  File "/usr/local/bin/appimage-builder", line 8, in <module>
    sys.exit(__main__())
  File "/usr/local/lib/python3.8/dist-packages/appimagebuilder/__main__.py", line 50, in __main__
    invoker.execute(commands)
  File "/usr/local/lib/python3.8/dist-packages/appimagebuilder/invoker.py", line 29, in execute
    command()
  File "/usr/local/lib/python3.8/dist-packages/appimagebuilder/commands/create_appimage.py", line 27, in __call__
    self.primer.prime()
  File "/usr/local/lib/python3.8/dist-packages/appimagebuilder/modules/prime/appimage_primer.py", line 46, in prime
    self._make_squashfs(self.context.app_dir, payload_path)
  File "/usr/local/lib/python3.8/dist-packages/appimagebuilder/modules/prime/appimage_primer.py", line 89, in _make_squashfs
    self.logger.debug(" ".join(command))
TypeError: sequence item 0: expected str instance, NoneType found

I haven’t yet tracked down whether I’m going something wrong or not possible its the new “zx” change?

Example failure:

https://gitlab.com/plom/plom/-/jobs/2585746203

Previous success (on 1.0.2):

https://gitlab.com/plom/plom/-/jobs/2572719110

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
cbm755commented, Jun 22, 2022

Thanks! By the way, 1.0.2 -> 1.0.3 decreased my binary size from 95MiB to 77MiB! So that is quite nice! (I assume b/c I dropped appimage-tool, but I didn’t really look into it)

1reaction
azubietacommented, Jun 22, 2022

Install instructions were updated with the new dependencies. Closing the issue as solved, feel free to reopen if required.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError: sequence item 0: expected string, NoneType found
So my novice knowledge tells me that the Deploy_Destroyer_1 function should be called in Player = in the Main function (included above) to ......
Read more >
TypeError: sequence item 0: expected str instance, NoneType ...
After a while I check to see if they ran and I see failures. Looking in one of the logs I see the...
Read more >
Repository sync fails with TypeError: sequence item 0
Repository sync fails with TypeError: sequence item 0: expected string, NoneType found on Red Hat Update Infrastructure.
Read more >
"expected string, NoneType found" error when renewing - Server
I'm trying to renew a certificate and I'm getting the following error: TypeError: sequence item 2: expected string, NoneType found.
Read more >
Purchase invoice error( expected str instance, NoneType found)
... but i am getting this error TypeError: sequence item 2: expected str instance, NoneType found… the purchase invoice contains items that…
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found