Home page not loading


#1

Hi all, i am facing this problem when i install the PlatformIO.
i did delete the .platformio and run again the VSCode. however steel this problem:

I uninstalled the VSCode and delete all folders, install again .
still facing the problem
any help is really appreciated.
thanks


#2

Same happening in Atom


#3

Fixed. Please restart IDE


#4

Thanks for the feedback ,
I still have a problem in VSCode , any time that i open it, i will see the following. i could see the package installed before and after restart, always this:

any suggestion?
Thanks.


#5

Please provide an output from system Terminal cmd

echo %PATH%
echo %PYTHONPATH%
python --version
pip --version
pip list

#6

Got the same problem. But different. I have Linux Mint 18.1 Cinnamon installed, and PlatformIO works flawlessly in Atom, VSCode and CodeBlocks. I recently partitioned my drive and installed Mint 18.3 KDE (for a variety of reasons) Installed VS Code in my new partition, installed PlatformIO, and home page won’t load. I’ve had this problem before but can’t remember how I got around it last time, except that I think it was something to do with file permissions. Tried the things suggested in the various posts but nothing has worked.

For the record, here is the output of the commands requested above. Any suggestions?

Blockquoteian@KMintian ~ $ echo $PATH
/home/ian/bin:/home/ian/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
ian@KMintian ~ $ echo $PYTHONPATH

ian@KMintian ~ $ python --version
Python 2.7.12
ian@KMintian ~ $ pip --version
pip 9.0.1 from /home/ian/.local/lib/python2.7/site-packages (python 2.7)
ian@KMintian ~ $ pip list
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
arrow (0.12.0)
attrs (15.2.0)
backports.functools-lru-cache (1.2.1)
BeautifulSoup (3.2.1)
blinker (1.3)
bottle (0.12.13)
certifi (2017.11.5)
chardet (3.0.4)
click (5.1)
colorama (0.3.9)
configglue (1.1.2)
configobj (5.0.6)
cryptography (1.2.3)
debtags (2.0)
defer (1.0.6)
dirspec (13.10)
duplicity (0.7.6)
ecdsa (0.13)
enum34 (1.1.2)
feedparser (5.1.3)
httplib2 (0.9.1)
idna (2.6)
ipaddress (1.0.16)
lockfile (0.12.2)
lxml (3.5.0)
Mako (1.0.3)
MarkupSafe (0.23)
netifaces (0.10.4)
oauthlib (1.0.3)
oneconf (0.3.9)
PAM (0.4.2)
paramiko (1.16.0)
pexpect (4.0.1)
Pillow (3.1.2)
pip (9.0.1)
piston-mini-client (0.7.5)
platformio (3.5.0)
protobuf (2.6.1)
ptyprocess (0.5)
pyasn1 (0.1.9)
pyasn1-modules (0.0.7)
pycrypto (2.6.1)
pycups (1.9.73)
pycurl (7.43.0)
pygobject (3.20.0)
pyinotify (0.9.6)
PyJWT (1.3.0)
pyOpenSSL (0.15.1)
pyparted (3.10.7)
pyserial (3.0.1)
pysmbc (1.0.15.5)
python-apt (1.1.0b1)
python-dateutil (2.6.1)
python-debian (0.1.27)
pyxdg (0.25)
reportlab (3.3.0)
requests (2.18.4)
semantic-version (2.6.0)
service-identity (16.0.0)
setproctitle (1.1.8)
setuptools (38.4.0)
six (1.10.0)
Twisted (16.0.0)
urllib3 (1.22)
uTidylib (0.2)
vboxapi (1.0)
zope.interface (4.1.3)
ian@KMintian ~ $


#7

This is the result of the same commands on my Linux Mint 18.1 Cinnamon partition, which works fine.

ian@Mintian ~ $ echo $PATH
/home/ian/bin:/home/ian/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
ian@Mintian ~ $ echo $PYTHONPATH

ian@Mintian ~ $ python --version
Python 2.7.12
ian@Mintian ~ $ pip --version
pip 9.0.1 from /usr/local/lib/python2.7/dist-packages (python 2.7)
ian@Mintian ~ $ pip list
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
appdirs (1.4.3)
arrow (0.10.0)
attrs (15.2.0)
BeautifulSoup (3.2.1)
beautifulsoup4 (4.6.0)
blinker (1.3)
bottle (0.12.13)
certifi (2017.7.27.1)
chardet (3.0.4)
click (5.1)
colorama (0.3.9)
configglue (1.1.2)
configobj (5.0.6)
cryptography (1.2.3)
cssselect (0.9.1)
cycler (0.9.0)
debtags (2.0)
defer (1.0.6)
dirspec (13.10)
duplicity (0.7.6)
ecdsa (0.13)
enum34 (1.1.2)
fasteners (0.14.1)
feedparser (5.1.3)
funcsigs (1.0.2)
future (0.16.0)
fuzzywuzzy (0.16.0)
gyp (0.1)
httplib2 (0.9.1)
idna (2.6)
intelhex (2.1)
ipaddress (1.0.16)
Jinja2 (2.10)
junit-xml (1.8)
lockfile (0.12.2)
lxml (3.5.0)
Mako (1.0.3)
MarkupSafe (0.23)
matplotlib (1.5.1)
mbed-cli (1.3.0)
mbed-greentea (1.3.2)
mbed-host-tests (1.3.0)
mbed-ls (1.3.5)
mercurial (3.7.3)
mock (2.0.0)
monotonic (1.4)
nemo-emblems (3.2.3)
netifaces (0.10.4)
numpy (1.11.0)
oauthlib (1.0.3)
oneconf (0.3.9)
PAM (0.4.2)
paramiko (1.16.0)
pbr (3.1.1)
pexpect (4.0.1)
Pillow (3.1.2)
pip (9.0.1)
piston-mini-client (0.7.5)
Pivy (0.5.0)
ply (3.7)
prettytable (0.7.2)
protobuf (2.6.1)
ptyprocess (0.5)
pyasn1 (0.1.9)
pyasn1-modules (0.0.7)
pycollada (0.4)
pycrypto (2.6.1)
pycups (1.9.73)
pycurl (7.43.0)
pygobject (3.20.0)
pyinotify (0.9.6)
PyJWT (1.3.0)
pyOCD (0.8.1a1)
pyOpenSSL (0.15.1)
pyparsing (2.0.3)
pyparted (3.10.7)
pyquery (1.2.9)
pyserial (3.4)
pysmbc (1.0.15.5)
python-apt (1.1.0b1)
python-dateutil (2.6.1)
python-debian (0.1.27)
python-xlib (0.14)
pytz (2014.10)
pyusb (1.0.2)
pyxdg (0.25)
PyYAML (3.12)
reportlab (3.3.0)
requests (2.18.4)
semantic-version (2.6.0)
service-identity (16.0.0)
setproctitle (1.1.8)
setuptools (36.2.0)
six (1.11.0)
Twisted (16.0.0)
urllib3 (1.22)
uTidylib (0.2)
vboxapi (1.0)
WebOb (1.5.1)
websocket-client (0.46.0)
wheel (0.29.0)
wxPython (3.0.2.0)
wxPython-common (3.0.2.0)
zope.interface (4.1.3)
ian@Mintian ~ $


#8

Do you see any errors with pio home command?


#9

Thanks for the quick response Ivan. And nope. pio home works perfectly.


#10

Sorry, it works or doesn’t?


#11

Hi Ivan, yes pio home (in a terminal, not under VScode or anything) works. It does display some errors when I do it though, it recommends removing multiple pio installs (which I’ve done but the problem persists in VS Code, and of course pio home no longer works from a terminal), and it also complains about the permissions in my .cache directory not being owned by me. I’ve triple checked and ALL the folders and files, including .cache itself, are owned by me so I don’t know why it’s complaining about it.
:wink: Ian


#12

Could you try to remove all duplicates of PIO Core (pip uninstall platformio) and remove ~/.platformio folder.
Restart IDE. Now PIO will create proper folder.


#13

Hi Ivan, tried that, however the home page still won’t load. I also can’t do pio commands, I get this error message
bash: /home/ian/.platformio/penv/bin/pio: /home/ian/.platformio/penv/bin/python2.7: bad interpreter: No such file or directory
:-\ Ian


#14

Please mail me@ikravets.com for the further details.