Skip to content
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

target uploadfs #9

Closed
gallochri opened this issue Oct 4, 2016 · 2 comments
Closed

target uploadfs #9

gallochri opened this issue Oct 4, 2016 · 2 comments
Labels

Comments

@gallochri
Copy link

After last update to espressif 1.1.0 uploadfs target fault:

`gallochri@mediacenter:~/dev/gallNFC> pio run --target uploadfs

[Tue Oct 4 13:06:42 2016] Processing esp12e (platform: espressif8266, lib_install: 28,63,64, upload_speed: 460800, board: d1_mini, framework: arduino)

PackageManager: Installing tool-mkspiffs @ ~1.102.0
Downloading [####################################] 100%
Unpacking [####################################] 100%
tool-mkspiffs @ 1.102.0 has been successfully installed!
Verbose mode can be enabled via -v, --verbose option
TypeError: coercing to Unicode: need string or buffer, NoneType found:
File "/usr/lib/python2.7/site-packages/platformio/builder/main.py", line 134:
env.SConscript("$BUILD_SCRIPT")
File "/home/gallochri/.platformio/packages/tool-scons/script/../engine/SCons/Script/SConscript.py", line 551:
return _SConscript(self.fs, _files, *_subst_kw)
File "/home/gallochri/.platformio/packages/tool-scons/script/../engine/SCons/Script/SConscript.py", line 260:
exec file in call_stack[-1].globals
File "/home/gallochri/.platformio/platforms/espressif8266/builder/main.py", line 327:
join("$BUILD_DIR", "spiffs"), "$PROJECTDATA_DIR")
File "/home/gallochri/.platformio/packages/tool-scons/script/../engine/SCons/Environment.py", line 260:
return MethodWrapper.call(self, target, source, _args, *_kw)
File "/home/gallochri/.platformio/packages/tool-scons/script/../engine/SCons/Environment.py", line 224:
return self.method(_nargs, *_kwargs)
File "/home/gallochri/.platformio/packages/tool-scons/script/../engine/SCons/Builder.py", line 626:
return self._execute(env, target, source, OverrideWarner(kw), ekw)
File "/home/gallochri/.platformio/packages/tool-scons/script/../engine/SCons/Builder.py", line 547:
tlist, slist = self._create_nodes(env, target, source)
File "/home/gallochri/.platformio/packages/tool-scons/script/../engine/SCons/Builder.py", line 511:
target, source = self.emitter(target=tlist, source=slist, env=env)
File "/home/gallochri/.platformio/platforms/espressif8266/builder/main.py", line 161:
with open(env.GetActualLDScript()) as f:
========================================================================================================================= [ERROR] Took 0.84 seconds =========================================================================================================================`

@ivankravets
Copy link
Member

Thanks a lot for the report!

Please run pio update

@ivankravets ivankravets added the bug label Oct 4, 2016
@gallochri
Copy link
Author

All ok now, thank you.

ivankravets added a commit that referenced this issue Oct 6, 2016
* develop:
  Fix SPIFFS uploading in lazy mode
  Handle user custom LD script for "buildfs" // Resolve #10
  Hot fix for "uploadfs" target while PlatformIO 3.2 isn't released // Resolve #9
  Bump version to 1.1.0 (issue #6)
  Additional target "buildfs" to accompany "uploadfs" // Resolve #6
  Add new ESPrectro board
  Use stable documentation
  Fix flash size for BlynkBoard

# Conflicts:
#	platform.json
Jason2866 added a commit to tasmota/platform-espressif8266 that referenced this issue Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants