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.

ValueError: storage dir path cannot contain spaces, please specify a path with --storage-dir

See original GitHub issue

Does anyone have any insight into this error?

Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/home/pl/python-for-android-master/pythonforandroid/toolchain.py", line 1035, in <module>
    main()
  File "/home/pl/python-for-android-master/pythonforandroid/toolchain.py", line 1031, in main
    ToolchainCL()
  File "/home/pl/python-for-android-master/pythonforandroid/toolchain.py", line 536, in __init__
    self.ctx.setup_dirs(self.storage_dir)
  File "pythonforandroid/build.py", line 105, in setup_dirs
    raise ValueError('storage dir path cannot contain spaces, please '
ValueError: storage dir path cannot contain spaces, please specify a path with --storage-dir

Python 2.7 with updated buildozer and p4a. Build for Android

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
ghostcommented, Dec 13, 2018

Does your user name / home folder path contain a space character by any chance?

1reaction
Petar-Luketinacommented, Dec 13, 2018

@JonasT you lead me on finding the issue! It was actually the folder that my app was in. I named it App: Blind. That was a first… 😂 Thank you kindly!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Buildozer failed to execute the last command (android debug)
The error due to which buildozer failed is ValueError: storage dir path cannot contain spaces, please specify a path with --storage-dir.
Read more >
1893545 – semanage refuse paths with space
Try to set file context on a path with spaces 2. Watch tool complain Actual results: ValueError: File specification can not include spaces...
Read more >
ModusToolbox 2.0 Installation with Spaces in User
After installation is complete, create a folder to store your workspaces. ... You can choose any path as long as it doesn't contain...
Read more >
How can i handle filepath while has spaces followed with ...
Hi All, I need help to read the file path which is as below: file ... as below : [WinError 3] The system...
Read more >
Pulse Secure Virtual Web Application Firewall User Guide, 4.9
If you need to, you can change the default path by changing the entry storageDir in the configuration file: #storage directory (e.g. /var/lib/stingrayaf)....
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