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

lib update crashes when no libs are installed #19

Closed
pelikhan opened this issue Oct 5, 2014 · 1 comment
Closed

lib update crashes when no libs are installed #19

pelikhan opened this issue Oct 5, 2014 · 1 comment
Assignees
Labels

Comments

@pelikhan
Copy link

pelikhan commented Oct 5, 2014

  • install fresh platform

  • run "lib update"

    $ platformio lib update
    Traceback (most recent call last):
    File "/Library/Python/2.7/site-packages/platformio-0.7.0-py2.7.egg/platformio/main.py", line 64, in main
    cli()
    File "/Library/Python/2.7/site-packages/click-3.3-py2.7.egg/click/core.py", line 610, in call
    return self.main(_args, *_kwargs)
    File "/Library/Python/2.7/site-packages/click-3.3-py2.7.egg/click/core.py", line 590, in main
    rv = self.invoke(ctx)
    File "/Library/Python/2.7/site-packages/click-3.3-py2.7.egg/click/core.py", line 936, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    File "/Library/Python/2.7/site-packages/click-3.3-py2.7.egg/click/core.py", line 936, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    File "/Library/Python/2.7/site-packages/click-3.3-py2.7.egg/click/core.py", line 782, in invoke
    return ctx.invoke(self.callback, *_ctx.params)
    File "/Library/Python/2.7/site-packages/click-3.3-py2.7.egg/click/core.py", line 416, in invoke
    return callback(_args, **kwargs)
    File "/Library/Python/2.7/site-packages/platformio-0.7.0-py2.7.egg/platformio/commands/lib.py", line 143, in lib_update
    lib_names = lm.get_installed()
    File "/Library/Python/2.7/site-packages/platformio-0.7.0-py2.7.egg/platformio/libmanager.py", line 36, in get_installed
    for item in listdir(self.lib_dir):
    OSError: [Errno 2] No such file or directory: 'YYYYYYY/.platformio/lib'

@ivankravets
Copy link
Member

Thanks a lot for report!
I'm going to release new version 0.7.1with bug fixes tomorrow.

@ivankravets ivankravets added the bug label Oct 5, 2014
@ivankravets ivankravets added this to the 1.0.0 milestone Oct 5, 2014
@ivankravets ivankravets self-assigned this Oct 5, 2014
@ivankravets ivankravets removed this from the 1.0.0 milestone Feb 11, 2015
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