platformio / platformio-core

Your Gateway to Embedded Software Development Excellence :alien:
https://platformio.org
Apache License 2.0
7.98k stars 799 forks source link

Home: Could not load recent projects #1272

Closed HollisTech closed 6 years ago

HollisTech commented 6 years ago

Server error

There doesn't appear to be any other information.

ivankravets commented 6 years ago

Please share here ~/.platformio/homestate.json file. Thanks!

HollisTech commented 6 years ago

``{"storage": {"homeDir": "C:\Users\Mark", "coreCaller": "vscode", "cid": "8dade227-34c2-4810-eb1d-ae85f85bac54", "projectsDir": "C:\Users\Mark\Documents\PlatformIO\Projects", "lastCheckPlatformUpdates": 1514933837960, "lastUpdateCorePackages": 1514933837959, "coreVersion": "3.5.0", "routeBadges": {}, "lastCheckLibraryUpdates": 1514933837960, "recentProjects": ["C:\Users\Mark\Documents\PlatformIO\Projects\171209-143700-featheresp32-pwm-test", "C:\Users\Mark\Documents\PlatformIO\Projects\171218-144021-featheresp32-oled", "C:\Users\Mark\Documents\PlatformIO\Projects\esp32-threaded-test"], "coreSystype": "windows_x86", "showOnStartup": {"vscode": false}}, "inputValues": {"libBuiltinFilter": "timer", "boardsFilter": "Adafruit ESP32 Feather"}}

ivankravets commented 6 years ago

Could you reproduce this issue after IDE restart?

HollisTech commented 6 years ago

yes.

Mark Roddy

On Tue, Jan 2, 2018 at 7:41 PM, Ivan Kravets notifications@github.com wrote:

Could you reproduce this issue after IDE restart?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/platformio/platformio-core/issues/1272#issuecomment-354913784, or mute the thread https://github.com/notifications/unsubscribe-auth/AFJmF09Pvn7WKlf4x3KHlHykjmoQEXb0ks5tGszWgaJpZM4RRLxb .

ivankravets commented 6 years ago

Please open PIO IDE Terminal and type pio home. Do you see any errors?

HollisTech commented 6 years ago

Yes it is the same issue "could not load recent projects" "server error" image

ivankravets commented 6 years ago

Please share the contents of these files:

  1. C:\Users\Mark\Documents\PlatformIO\Projects\171209-143700-featheresp32-pwm-test\platformio.ini
  2. C:\Users\Mark\Documents\PlatformIO\Projects\171218-144021-featheresp32-oled\platformio.ini
  3. C:\Users\Mark\Documents\PlatformIO\Projects\esp32-threaded-test\platformio.ini

Thanks!

HollisTech commented 6 years ago
; PlatformIO Project Configuration File
;
;   Build options: build flags, source filter
;   Upload options: custom upload port, speed and extra flags
;   Library options: dependencies, extra library storages
;   Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; http://docs.platformio.org/page/projectconf.html

[env:featheresp32]
platform = espressif32
board = featheresp32
framework = arduino
monitor_baud=115200`

They all look pretty much the same as the above, with the same result when opening pio home.

Here's the one I'm currently working on (esp32-threaded) it is slightly different:

; PlatformIO Project Configuration File
;
;   Build options: build flags, source filter
;   Upload options: custom upload port, speed and extra flags
;   Library options: dependencies, extra library storages
;   Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; http://docs.platformio.org/page/projectconf.html

[env:featheresp32]
platform = espressif32
board = featheresp32
framework = arduino
monitor_baud=115200
build_flags=-Wl,-Map,output.map
upload_port=esp32-1.local

;[env:native]
; platform = native
ivankravets commented 6 years ago

How did you fix it?

HollisTech commented 6 years ago

I accidentally downloaded a repo into .platformio/platforms that should not have been there. Once I moved it out of there all was good. Sorry. My blunder.