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

"platformio lib update" throws an Exception #745

Closed
palfrey opened this issue Aug 10, 2016 · 1 comment
Closed

"platformio lib update" throws an Exception #745

palfrey opened this issue Aug 10, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@palfrey
Copy link

palfrey commented Aug 10, 2016

What kind of issue is this?

  • Bug report. If you’ve found a bug, please provide information below.

Configuration

Operating system: Linux

PlatformIO Version (platformio --version): 3.0.0a3

Description of problem

Exception when trying to update libraries

Steps to Reproduce

  1. platformio lib update

Actual Results

Error: Traceback (most recent call last):
  File "/home/palfrey/src/microbit/ENV/src/platformio/platformio/__main__.py", line 105, in main
    cli(None, None, None)
  File "/home/palfrey/src/microbit/ENV/local/lib/python2.7/site-packages/click/core.py", line 700, in __call__
    return self.main(*args, **kwargs)
  File "/home/palfrey/src/microbit/ENV/local/lib/python2.7/site-packages/click/core.py", line 680, in main
    rv = self.invoke(ctx)
  File "/home/palfrey/src/microbit/ENV/local/lib/python2.7/site-packages/click/core.py", line 1027, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/palfrey/src/microbit/ENV/local/lib/python2.7/site-packages/click/core.py", line 1024, in invoke
    Command.invoke(self, ctx)
  File "/home/palfrey/src/microbit/ENV/local/lib/python2.7/site-packages/click/core.py", line 873, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/palfrey/src/microbit/ENV/local/lib/python2.7/site-packages/click/core.py", line 508, in invoke
    return callback(*args, **kwargs)
  File "/home/palfrey/src/microbit/ENV/local/lib/python2.7/site-packages/click/decorators.py", line 16, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/palfrey/src/microbit/ENV/src/platformio/platformio/commands/lib.py", line 63, in cli
    click.echo("Library Storage: " + storage_dir)
TypeError: cannot concatenate 'str' and 'NoneType' objects

Expected Results

No exception :)

Additional notes

platformio lib -g update works fine, so guessing something up with the local library support. Tried removing .pioenvs and .piolibdeps in case this was related.

@ivankravets ivankravets added this to the 3.0.0 milestone Aug 10, 2016
@ivankravets ivankravets self-assigned this Aug 10, 2016
@ivankravets
Copy link
Member

Thanks! 👍

ivankravets added a commit that referenced this issue Sep 9, 2016
* develop:
  Fix incorrect line order when converting from INO to CPP and pointer is used
  Fix unit test
  Notify about `version` field when creating library
  Add support for SparkFun Blynk Board
  Return valid exit code from ``plaformio test`` command
  Disable SSL Server-Name-Indication for Python < 2.7.9
  Version bump to 3.0.1 (issue #772)
  Disable temporary SSL for PlatformIO services // Resolve #772
  Version bump to 3.0.0 (issues #770, #766, #747, #730, #765, #640, #659, #742, #459, #542, #763, #759, #753, #757, #749, #748, #745, #519, #709, #743, #413, #498, #410, #740, #361, #414, #554, #732, #588, #475, #461, #101, #719, #721, #537, #415, #522, #289, #556, #570, #456, #617, #432, #408, #479, #667, #510)
  Fix menu height for  docs
  Fix issue with multiple archives when linking firmware
  Add migration guide for PIO2 to PIO3
  Search libraries by headers/includes with ``platformio lib search --header`` option
  Update pio run command examples
  Add Unit Testing Demo
  Update PIO Plus badge title and link
  Add PlatformIO Plus badge
  Add links to PlatformIO Plus
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