-
-
Notifications
You must be signed in to change notification settings - Fork 792
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Home: sh: mc: line 1: syntax error: unexpected end of file #1054
Comments
Could you open PlatformIO IDE Terminal and type:
Do you see some text? |
В письме от суббота, 9 сентября 2017 г. 15:57:25 +05 пользователь Ivan Kravets
написал:
Could you open PlatformIO IDE Terminal and type:
```
pio boards --json-output
```
Do you see some text?
Yes, there is a lot of text, like this:
[{"vendor": "4DSystems", "rom": 520192, "frameworks": ["arduino"], "url":
"http://www.4dsystems.com.au/product/Picadillo_35T/", "fcpu": 80000000, "ram":
131072, "connectivity": null, "platform": "microchippic32", "debug": null,
"mcu": "32MX795F512L", "id": "picadillo_35t", "name": "4DSystems PICadillo
35T"}, {"vendor": "96Boards", "rom": 524288, "frameworks": ["mbed",
"stm32cube"], "url": "https://developer.mbed.org/platforms/ST-B96B-F446VE/",
"fcpu": 168000000, "ram": 131072, "connectivity": ["can"], "platform":
"ststm32", "debug": {"tools": {"stlink-v2-1": {"onboard": true}}}, "mcu":
"STM32F446VET6", "id": "b96b_f446ve", "name": "96Boards B96B-F446VE"},
{"vendor": "NXP", "rom": 32768, "frameworks": ["mbed"], "url": "https://
developer.mbed.org/handbook/mbed-NXP-LPC11U24", "fcpu": 48000000, "ram": 8192,
"connectivity": null, "platform": "nxplpc", "debug": {"tools": {"cmsis-dap":
{"onboard": true}}}, "mcu": "LPC11U24", "id": "lpc11u24_301", "name": "ARM
mbed LPC11U24 (+CAN)"}, {"vendor": "Adafrui...
If in console I type "atom" there are no errors, so I change in *.desktop file
command to "atom %F" instead of "/usr/...../atom %F".
|
Could you try PIO IDE for VSCode? |
Please run in PIO IDE Terminal and provide an output:
|
@domingosliraneto , @scottdarch please provide the same output of #1054 (comment) |
Hi, it's okay. Thank you for your help! @ivankravets |
@domingosliraneto does it work for you now? |
Yes, thanks! |
@domingosliraneto how did you resolve that? |
The place where I work uses proxy server, for some reason it blocked the installation of the PlatiformIO dependencies, I only did the reinstallation when I got home and everything worked. |
@thosoo Please run in PIO IDE Terminal and provide an output:
|
В письме от пятница, 15 сентября 2017 г. 16:07:15 +05 пользователь Ivan
Kravets написал:
@thosoo Please run in PIO IDE Terminal and provide an output:
python -c "import os; print os.environ"
```
sergey@Asgard:~/Projects/github> python -c "import os; print os.environ"
{'LESS': '-M -I -R', 'PLATFORMIO_CALLER': 'atom', 'PLATFORMIO_IDE': '2.0.0-rc.
2', 'XDG_SESSION_TYPE': 'x11', 'XKEYSYMDB': '/usr/X11R6/lib/X11/X
KeysymDB', 'KDE_FULL_SESSION': 'true', 'XSESSION_IS_UP': 'yes',
'XDG_DATA_DIRS': '/usr/share', 'GS_LIB': '/home/sergey/.fonts', 'HISTSIZE':
'10
00', 'LESS_ADVANCED_PREPROCESSOR': 'no', 'MANPATH': '/usr/local/man:/usr/
share/man', 'XMODIFIERS': '@im=local', 'JAVA_HOME': '/usr/lib64/jvm/jr
e', 'PROFILEREAD': 'true', 'QT_AUTO_SCREEN_SCALE_FACTOR': '0',
'XDG_RUNTIME_DIR': '/run/user/1000', 'QT_IM_SWITCHER': 'imsw-multi',
'XDG_SESSIO
N_ID': '2', 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-
lcQxFrhK8N,guid=749d860388cd074b56dd6ff259bb8ce8', 'DESKTOP_SESSION': '/usr/sh
are/xsessions/plasma5', 'CONFIG_SITE': '/usr/share/site/x86_64-unknown-linux-
gnu', 'GTK_MODULES': 'canberra-gtk-module', 'HOSTNAME': 'Asgard.su
se', 'MAIL': '/var/spool/mail/sergey', 'MACHTYPE': 'x86_64-suse-linux',
'SSH_ASKPASS': '/usr/lib/ssh/ksshaskpass', 'JAVA_ROOT': '/usr/lib64/jvm
/jre', 'MINICOM': '-c on', 'CSHEDIT': 'emacs', 'LESSOPEN': 'lessopen.sh %s',
'CVS_RSH': 'ssh', 'USER': 'sergey', 'INPUTRC': '/home/sergey/.inpu
trc', 'XDG_VTNR': '7', 'XAUTHORITY': '/tmp/xauth-1000-_0', 'LANGUAGE': 'ru',
'SESSION_MANAGER': 'local/Asgard.suse:@/tmp/.ICE-unix/2707,unix/As
gard.suse:/tmp/.ICE-unix/2707', 'SHLVL': '3', 'ALSA_CONFIG_PATH': '/etc/alsa-
pulse.conf', 'CPU': 'x86_64', 'GPG_AGENT_INFO': '/tmp/gpg-dGOL9u/S
.gpg-agent:2646:1', 'XDG_SESSION_DESKTOP': 'KDE', 'JAVA_BINDIR': '/usr/lib64/
jvm/jre/bin', 'SHELL': '/bin/bash', 'GTK2_RC_FILES': '/etc/gtk-2.0
/gtkrc:/home/sergey/.gtkrc-2.0:/home/sergey/.config/gtkrc-2.0',
'XDG_SEAT_PATH': '/org/freedesktop/DisplayManager/Seat0', 'LS_OPTIONS': '-N --
c
olor=tty -T 0', 'XNLSPATH': '/usr/share/X11/nls', '_': '/home/
sergey/.platformio/penv/bin/python', 'GTK_IM_MODULE': 'cedilla', 'LS_COLORS':
'no
=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=41;33;01:ex=00;32:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=0
1;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.lzma=00;31:*.zip
=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.xz=00;31:*.avi=01;35:*.bmp=01;35:*.fli=01;
35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=0
1;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;35:*.gl=01;35:*.wmv=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00
;32:*.wav=00;32:', 'XDG_CONFIG_DIRS': '/etc/xdg', 'WINDOWMANAGER': '/usr/bin/
startkde', 'GTK_RC_FILES': '/etc/gtk/gtkrc:/home/sergey/.gtkrc:/ho
me/sergey/.config/gtkrc', 'QEMU_AUDIO_DRV': 'pa', 'PAGER': 'less',
'KDE_MULTIHEAD': 'false', 'QT_SYSTEM_DIR': '/usr/share/desktop-data', 'HOME'
: '/home/sergey', 'DISPLAY': ':0', 'TERM_PROGRAM': 'platformio-ide-terminal',
'LANG': 'ru_RU.UTF-8', 'G_BROKEN_FILENAMES': '1', 'OSTYPE': 'linu
x', 'NNTPSERVER': 'news', 'XCURSOR_THEME': 'breeze_cursors',
'G_FILENAME_ENCODING': '@Locale,UTF-8,KOI8-R,CP1251', 'HOST': 'Asgard.suse',
'GPG_
TTY': '/dev/pts/2', 'FROM_HEADER': '', 'LESSCLOSE': 'lessclose.sh %s %s',
'PLATFORMIO_DISABLE_PROGRESSBAR': 'true', 'JRE_HOME': '/usr/lib64/jvm
/jre', 'MORE': '-sl', 'XDG_CURRENT_DESKTOP': 'KDE', 'HOSTTYPE': 'x86_64',
'QT_IM_MODULE': 'xim', 'LOGNAME': 'sergey', 'XDG_SEAT': 'seat0', 'PAT
H': '/home/sergey/.platformio/penv/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/
X11:/usr/games:/usr/local/bin', 'KDE_SESSION_VERSION': '5', 'TERM'
: 'xterm-256color', 'XDG_SESSION_PATH': '/org/freedesktop/DisplayManager/
Session1', 'SDL_AUDIODRIVER': 'pulse', 'XDG_SESSION_CLASS': 'user', 'C
OLORTERM': '1', 'KDE_SESSION_UID': '1000', 'LESSKEY': '/etc/lesskey.bin',
'LC_ALL': 'en_US.UTF-8', 'AUDIODRIVER': 'pulseaudio', 'PYTHONSTARTUP'
: '/etc/pythonstart', 'PWD': '/home/sergey/Projects/github',
'DESKTOP_STARTUP_ID': 'Asgard.suse;1505475415;889384;2685_TIME11926735',
'XAUTHLOC
ALHOSTNAME': 'Asgard.suse'}
```
|
|
Fixed in PIO Core+ 0.10.10. Please run |
… issue #1236, issue #1235, issue #953, issue #1118, issue #1107, issue #1196, issue #1179, issue #1161, issue #1126, issue #104, issue #1033, issue #1034, issue #1175, issue #1173, issue #1155, issue #1188, issue #1111, issue #1153, issue #1150, issue #1145, issue #1139, issue #1137, issue #1170, issue #1157, issue #1102, issue #1105, issue #1140, issue #1154, issue #1066, issue #1038, issue #1054, issue #1055, issue #1061, issue #1017)
I am using Manjaro Deepin and it does not load the list of boards, I have done everything that you have put in your indications and still I can not solve this problem, I have VS Code and I installed the PlatformIO core 3.6.0a2 extension |
How do I fix PIO Core+ 0.10.10? |
@inghardware2 could you provide an output of |
PIO Core Call Error: got stderr: "sh: mc: line 1: syntax error: unexpected end of file\nsh: error importing function definition for `mc'\n"
The text was updated successfully, but these errors were encountered: