platformio / platformio-atom-ide

PlatformIO IDE for Atom: The next generation integrated development environment for IoT
https://atom.io/packages/platformio-ide
Apache License 2.0
476 stars 71 forks source link

C/C++ project index rebuild failed #550

Closed trlafleur closed 7 years ago

trlafleur commented 7 years ago

/Users/lafleur/Desktop/MySensor-Arduino-development /Arduino_fork/Soil_Moisture_Sensor_MS_R1.1-RFM95/Soil_Moisture_Sensor_MS_R1.1-RFM95/Soil_Moisture_Sensor_MS_R1.1-RFM95.ino:212:0: warning: "debug1" redefined [enabled by default]

define debug1(x,...)

^ /Users/lafleur/Desktop/MySensor-Arduino-development /Arduino_fork/Soil_Moisture_Sensor_MS_R1.1-RFM95/Soil_Moisture_Sensor_MS_R1.1-RFM95/Soil_Moisture_Sensor_MS_R1.1-RFM95.ino:210:0: note: this is the location of the previous definition

define debug1(x,...) hwDebugPrint(x, ##__VA_ARGS__)

^

/Users/lafleur/Desktop/MySensor-Arduino-development /Arduino_fork/Soil_Moisture_Sensor_MS_R1.1-RFM95/Soil_Moisture_Sensor_MS_R1.1-RFM95/Soil_Moisture_Sensor_MS_R1.1-RFM95.ino:218:0: warning: "debug2" redefined [enabled by default]

define debug2(x,...)

^

/Users/lafleur/Desktop/MySensor-Arduino-development /Arduino_fork/Soil_Moisture_Sensor_MS_R1.1-RFM95/Soil_Moisture_Sensor_MS_R1.1-RFM95/Soil_Moisture_Sensor_MS_R1.1-RFM95.ino:216:0: note: this is the location of the previous definition

define debug2(x,...) hwDebugPrint(x, ##__VA_ARGS__)

^

PlatformioException: Could not load broken JSON: /Users/lafleur/Desktop/MySensor-Arduino-development /Arduino_fork/libraries/I2C-Sensor-Lib_iLib/library.json: File "/Users/lafleur/.platformio/penv/lib/python2.7/site-packages/platformio/builder/main.py", line 153:

env.SConscript("$BUILD_SCRIPT") File "/Users/lafleur/.platformio/packages/tool-scons/script/../engine/SCons/Script/SConscript.py", line 541:

return _SConscript(self.fs, *files, **subst_kw) File "/Users/lafleur/.platformio/packages/tool-scons/script/../engine/SCons/Script/SConscript.py", line 250:

exec file in call_stack[-1].globals

File "/Users/lafleur/.platformio/platforms/atmelsam/builder/main.py", line 233:

target_elf = env.BuildProgram()

File "/Users/lafleur/.platformio/packages/tool-scons/script/../engine/SCons/Environment.py", line 224:

return self.method(*nargs, **kwargs)

File "/Users/lafleur/.platformio/penv/lib/python2.7/site-packages/platformio/builder/tools/platformio.py", line 65:

deplibs = env.BuildDependentLibraries("$PROJECTSRC_DIR") File "/Users/lafleur/.platformio/packages/tool-scons/script/../engine/SCons/Environment.py", line 224:

return self.method(*nargs, **kwargs)

File "/Users/lafleur/.platformio/penv/lib/python2.7/site-packages/platformio/builder/tools/piolib.py", line 656: lib_builders = env.GetLibBuilders() File "/Users/lafleur/.platformio/packages/tool-scons/script/../engine/SCons/Environment.py", line 224:

return self.method(*nargs, **kwargs)

File "/Users/lafleur/.platformio/penv/lib/python2.7/site-packages/platformio/builder/tools/piolib.py", line 628:

env, join(libs_dir, item), verbose=verbose)

File "/Users/lafleur/.platformio/penv/lib/python2.7/site-packages/platformio/builder/tools/piolib.py", line 50:

env, path, verbose=verbose)

File "/Users/lafleur/.platformio/penv/lib/python2.7/site-packages/platformio/builder/tools/piolib.py", line 95:

self._manifest = manifest if manifest else self.load_manifest()

File "/Users/lafleur/.platformio/penv/lib/python2.7/site-packages/platformio/builder/tools/piolib.py", line 514:

manifest = util.load_json(join(self.path, "library.json"))

File "/Users/lafleur/.platformio/penv/lib/python2.7/site-packages/platformio/util.py", line 178: file_path)

========================== [ERROR] Took 0.86 seconds ==========================

ivankravets commented 7 years ago

Where did you find this library? /Users/lafleur/Desktop/MySensor-Arduino-development /Arduino_fork/libraries/I2C-Sensor-Lib_iLib/

Please remove this broken manifest: /Users/lafleur/Desktop/MySensor-Arduino-development /Arduino_fork/libraries/I2C-Sensor-Lib_iLib/library.json