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

Bug in ls #147

Closed
ArneBachmann opened this issue Feb 1, 2018 · 0 comments
Closed

Bug in ls #147

ArneBachmann opened this issue Feb 1, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@ArneBachmann
Copy link
Owner

local variable 'matches' referenced before assignment
Traceback (most recent call last):
  File "d:\arne\projects\sos\sos\sos.py", line 1149, in parse
    ls(relativize(root, cwd if argument is None else os.path.join(cwd, argument))[1], options)  # TODO avoid and/or normalize root super paths (..)  # line 938
  File "d:\arne\projects\sos\sos\sos.py", line 948, in ls
    matches.sort(key=lambda element: len(element))  # line 792
UnboundLocalError: local variable 'matches' referenced before assignment
  File "D:\apps\Miniconda3\Scripts\sos-script.py", line 11, in <module>
    load_entry_point('sos-vcs', 'console_scripts', 'sos')()
  File "d:\arne\projects\sos\sos\sos.py", line 1196, in main
    parse(root, cwd)  # line 971
  File "d:\arne\projects\sos\sos\sos.py", line 1173, in parse
    traceback.print_stack()  # line 953
[EXIT] An internal error occurred in SOS. Please report above message to the project maintainer at  https://github.com/ArneBachmann/sos/issues  via 'New Issue'.
Please state your installed version via 'sos version', and what you were doing..
@ArneBachmann ArneBachmann self-assigned this Feb 1, 2018
@ArneBachmann ArneBachmann added this to the 1.2 milestone Feb 1, 2018
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

1 participant