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: string indices must be integers #1

Closed
sushi2k opened this issue Jul 14, 2017 · 4 comments
Closed

TypeError: string indices must be integers #1

sushi2k opened this issue Jul 14, 2017 · 4 comments
Labels

Comments

@sushi2k
Copy link

sushi2k commented Jul 14, 2017

Hi,

thanks for this amazing tool. When trying to "download" or "ios plist cat" a file I am only getting this error on iOS 10.3.1 (I write download, press space and then this error is triggered):

iPhone on (iPhone: 10.3.1) [usb] # download Exception in thread Thread-201:
Traceback (most recent call last):
  File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/sven/virtual-python3/lib/python3.6/site-packages/prompt_toolkit/interface.py", line 860, in run
    completions = list(buffer.completer.get_completions(document, complete_event))
  File "/Users/sven/virtual-python3/lib/python3.6/site-packages/objection/console/completer.py", line 115, in get_completions
    meta = extra['meta'] if 'meta' in extra else None
TypeError: string indices must be integers

With Python 3.6.1

(virtual-python3) ➜  objection python -V
Python 3.6.1
@leonjza
Copy link
Member

leonjza commented Jul 14, 2017

Thanks for the report! Looks like the tab completion fell over here.

Quick question, the file you tried to download/cat, was it in the current directory, or was it a file you were accessing in a relative path?

@leonjza leonjza reopened this Jul 14, 2017
@leonjza
Copy link
Member

leonjza commented Jul 14, 2017

Ive tagged and uploaded 0.0.2 to pypi, which includes the commit at 0781dc0. Could you update with pip3 install objection --upgrade and let me know if it happens again?

Thanks!

@sushi2k
Copy link
Author

sushi2k commented Jul 14, 2017

Quick question, the file you tried to download/cat, was it in the current directory, or was it a file you were accessing in a relative path?

It was in the current directory. Didn't try it via a path.

I just updated to 0.0.2 and file download is now working as a charm. Thanks for the quick fix 👍

@leonjza
Copy link
Member

leonjza commented Jul 14, 2017

🎉

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