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

TypeError: 'str' does not support the buffer interface #5

Closed
Ahiknsr opened this issue Jul 24, 2015 · 2 comments
Closed

TypeError: 'str' does not support the buffer interface #5

Ahiknsr opened this issue Jul 24, 2015 · 2 comments

Comments

@Ahiknsr
Copy link

Ahiknsr commented Jul 24, 2015

I have installed qfc using the method described here , when i tried to run qfc it's throwing a error
Traceback (most recent call last):
File "/home/user/.qfc/bin/qfc", line 34, in
parse_arguments()
File "/home/user/.qfc/bin/qfc", line 17, in parse_arguments
return args.func(args)
File "/home/user/.qfc/bin/qfc", line 20, in cmd_get
output = core.get_selected_command_or_input(args.search)
File "/home/user/.qfc/bin/../qfc/core.py", line 11, in get_selected_command_or_input
state = State(search)
File "/home/user/.qfc/bin/../qfc/core.py", line 62, in init
self.set_input(default_input)
File "/home/user/.qfc/bin/../qfc/core.py", line 72, in set_input
self._update()
File "/home/user/.qfc/bin/../qfc/core.py", line 105, in _update
self.matches = get_matches(os.getcwd(),self.input)
File "/home/user/.qfc/bin/../qfc/core.py", line 128, in get_matches
source_files = dirhandler.get_source_files(start_dir)
File "/home/user/.qfc/bin/../qfc/dirhandler.py", line 104, in get_source_files
return default.get_source_files(directory)
File "/home/user/.qfc/bin/../qfc/dirhandler.py", line 82, in get_source_files
self._cache[start_dir] = self._walk_down(start_dir)
File "/home/user/.qfc/bin/../qfc/dirhandler.py", line 77, in _walk_down
files = out.split('\n')
TypeError: 'str' does not support the buffer interface

python version : 3.4.3
bash version : 4.3.39

@pindexis
Copy link
Owner

This should be fixed. can you confirm?

@Ahiknsr
Copy link
Author

Ahiknsr commented Jul 27, 2015

qfc working fine with the latest update . 👍

@Ahiknsr Ahiknsr closed this as completed Jul 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants