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

AttributeError: 'dict' object has no attribute 'startswith' #1

Open
schmir opened this issue Jun 3, 2013 · 0 comments
Open

AttributeError: 'dict' object has no attribute 'startswith' #1

schmir opened this issue Jun 3, 2013 · 0 comments

Comments

@schmir
Copy link

schmir commented Jun 3, 2013

just got this traceback:

2013-06-02 13:16:50,797:pyelasticsearch:http://localhost:9200 marked as dead for
 300 seconds.
2013-06-02 13:16:50,799:requests.packages.urllib3.connectionpool:Starting new HT
TP connection (2): localhost
2013-06-02 13:18:59,933:bemo.index_control:total added 5702009 docs
(0.14 docs/sec 0.02 MByte/sec) Index Size: 14259.71 MB
Traceback (most recent call last):
  File "/home/ralf/bemo/bin/bemopy", line 47, in <module>
    exec(compile(__file__f.read(), __file__, "exec"))
  File "/home/ralf/cpidx.py", line 49, in <module>
    ic.index_documents(src, report_stats=index_control.make_report_stats())
  File "/home/ralf/bemo/bemo/index_control.py", line 140, in index_documents
    for doc in documents:
  File "/home/ralf/cpidx.py", line 27, in iterate_scroll
    result = conn.scroll(scroll_id=scroll_id, scroll="10m")
  File "/home/ralf/.buildout/cache/eggs/pyelasticsearch-0.5_brainbot_1_20130516-
py2.7.egg/pyelasticsearch/client.py", line 96, in decorate
    return func(*args, query_params=query_params, **kwargs)
  File "/home/ralf/.buildout/cache/eggs/pyelasticsearch-0.5_brainbot_1_20130516-
py2.7.egg/pyelasticsearch/client.py", line 622, in scroll
    query_params=query_params)
  File "/home/ralf/.buildout/cache/eggs/pyelasticsearch-0.5_brainbot_1_20130516-
py2.7.egg/pyelasticsearch/client.py", line 254, in send_request
    self._raise_exception(resp, prepped_response)
  File "/home/ralf/.buildout/cache/eggs/pyelasticsearch-0.5_brainbot_1_20130516-
py2.7.egg/pyelasticsearch/client.py", line 265, in _raise_exception
    elif error_message.startswith('IndexAlreadyExistsException'):
AttributeError: 'dict' object has no attribute 'startswith'
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

1 participant