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

KeyError 45058 #389

jonyrock opened this Issue Feb 4, 2019 · 1 comment


None yet
3 participants
Copy link

jonyrock commented Feb 4, 2019


2019-02-04 17:28:49,695 [Analytics] [ERROR]  handle_analytic_task Exception: 'Traceback (most recent call last):
  File "C:\Projects\hastic-server\analytics\bin\..\analytics\", line 94, in handle_analytic_task
    result_payload = await self.__handle_analytic_task(task)
  File "C:\Projects\hastic-server\analytics\bin\..\analytics\", line 88, in __handle_analytic_task
    return await worker.do_detect(data, payload['cache'])
  File "C:\Projects\hastic-server\analytics\bin\..\analytics\", line 34, in do_detect
    return self._detector.detect(data, cache)
  File "C:\Projects\hastic-server\analytics\bin\..\analytics\detectors\", line 53, in detect
    detected = self.model.detect(dataframe, cache)
  File "C:\Projects\hastic-server\analytics\bin\..\analytics\models\", line 79, in detect
    ) for x in result]
  File "C:\Projects\hastic-server\analytics\bin\..\analytics\models\", line 79, in <listcomp>
    ) for x in result]
  File "C:\Users\gmpot\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pandas\core\", line 601, in __getitem__
    result = self.index.get_value(self, key)
  File "C:\Users\gmpot\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pandas\core\indexes\", line 2477, in get_value
    tz=getattr(series.dtype, 'tz', None))
  File "pandas\_libs\index.pyx", line 98, in pandas._libs.index.IndexEngine.get_value (pandas\_libs\index.c:4404)
  File "pandas\_libs\index.pyx", line 106, in pandas._libs.index.IndexEngine.get_value (pandas\_libs\index.c:4087)
  File "pandas\_libs\index.pyx", line 154, in pandas._libs.index.IndexEngine.get_loc (pandas\_libs\index.c:5126)
  File "pandas\_libs\hashtable_class_helper.pxi", line 759, in pandas._libs.hashtable.Int64HashTable.get_item (pandas\_libs\hashtable.c:14031)
  File "pandas\_libs\hashtable_class_helper.pxi", line 765, in pandas._libs.hashtable.Int64HashTable.get_item (pandas\_libs\hashtable.c:13975)
KeyError: 45058


I were just labeling things. It is dev version.


This comment has been minimized.

Copy link

sankerust commented Feb 5, 2019

I also got a similar Error: keyError(1919).
After labeling some random patterns in general pattern mode this error arises:

@jonyrock jonyrock closed this in #397 Feb 7, 2019

jonyrock added a commit that referenced this issue Feb 7, 2019

KeyError 45058 #389 (#397)
* fix general

* test

* minor fix

* fix test

* minor fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.