Platformio-core: Home: Could not list directory/home/efischer

Created on 8 Sep 2017  路  11Comments  路  Source: platformio/platformio-core

Could not list directory by /home/efischer

Hello guys, fresh install of atom and platformio. Home 0.2.5路Core 3.5.0a9

Problem 1: I cant select a custom directory and get an error when I try to open home directory : "Could not list directory by /home/xyz". Its not a permission problem, I checked it and the permission is set correctly.

Problem 2: If I try to start a new project, the default project directory is not localized, so it creates a "documents" directory instead of using german "Dokumente" directory, but it is at least able to create the folder.

Edit: ls -al /home/efischer gives me:

drwxr-xr-x 8 efischer efischer 4096 Sep 8 04:24 .atom
drwxr-xr-x 7 efischer efischer 4096 Sep 8 04:39 .platformio

bug home

Most helpful comment

No problem, I am following now :-)

All 11 comments

Is it a real error with /home/xyz?

No, it says /home/efischer and its my home folder

What is your locale?

LANG=de_DE.utf8
LANGUAGE=
LC_CTYPE="de_DE.utf8"
LC_NUMERIC="de_DE.utf8"
LC_TIME="de_DE.utf8"
LC_COLLATE="de_DE.utf8"
LC_MONETARY="de_DE.utf8"
LC_MESSAGES="de_DE.utf8"
LC_PAPER="de_DE.utf8"
LC_NAME="de_DE.utf8"
LC_ADDRESS="de_DE.utf8"
LC_TELEPHONE="de_DE.utf8"
LC_MEASUREMENT="de_DE.utf8"
LC_IDENTIFICATION="de_DE.utf8"
LC_ALL=

Which IDE do you use?

Please try to open system terminal (not terminal from IDE) and type:

~/.platformio/penv/bin/platformio home

It should open PIO Home in browser. Does it work?

I am using Atom 1.19.7
I have tried ~/.platformio/penv/bin/platformio home and it opens in browser tab (address http://127.0.0.1:8008/). I am now able to browse my home directory and I have successfully created a new project in a browser. It looks like Atom is able to open this project.

Thanks a lot! Fixed in https://github.com/platformio/platformio-node-helpers/releases/tag/v0.2.4

For Atom: just uninstall platformio-ide package and install again. It will use the new updated helpers.
For VSCode: update our platformio-ide extension to 0.7.3.

Thanks, it works now. :-)

Would be thankful for a star 猸愶笍 https://github.com/platformio/platformio-core/stargazers 馃槉

Happy coding with PlatformIO!

No problem, I am following now :-)

Was this page helpful?
0 / 5 - 0 ratings