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.

DMG build reports "No space left on device"

See original GitHub issue

when building on macOS, I am continually getting a “no space left” error during the build phase:

No space left on device: '/Applications' -> '/Volumes/napari 0.3.0/Applications'

I can fix it if I manually increase the “size” key in the dmg_settings variable here: https://github.com/beeware/briefcase/blob/ed4931d0a0f2daa0b6277c69d2d9d5bf8ebb9ae1/src/briefcase/platforms/macOS/dmg.py#L126-L130

but there doesn’t seem to be any way to do that without manually editing briefcase source… (and dmgbuild doesn’t take any environment variables overrides). Suggestions?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
tlambert03commented, May 25, 2020

PR is merged so this should be fixed with the next release!

1reaction
tlambert03commented, May 25, 2020

ok, found the issue: in this line of dmgbuild.core, when it converts total_size to a string version with the “K” suffix, it needs to divide by 1000 instead of 1024, this works:

total_size = str(max(total_size / 1000, 1000)) + 'K'

(otherwise the size is undercalculated by just a few megabytes in a 1.2GB image) will open an issue there.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Disk image creation from folder: error 28 - no space left on ...
After a long time, just before ending the process, I have a message "error 28: No space left on Device". My MBA has...
Read more >
No space left on device: Testing low storage scenarios
No space left on device is an error message that starts to show up more lately. Over the years, storage has grown from...
Read more >
Why Do I Get the Error "No space left on device" When I ...
When you create a file on a Linux ECS, the error message "No space left on device" is displayed.The block usage on the...
Read more >
Top 3 Ways to Fix “No Space Left on Device” Error in Linux
Fix 1: Restart Processes Using Deleted Files ... The most probable cause of the “No space left on device” error is a process...
Read more >
22404 (port dmg 1.8.1 "No space left on device") - MacPorts Trac
Hi,. when creating dmg files for gnat-gtkada and gnat-gprbuild I get a "No space left on device" error:
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