Skip to content

Analyser error: Buffer dtype mismatch, expected 'Python object' but got 'long' #242

@amadanmath

Description

@amadanmath
Traceback (most recent call last):
  File "/var/www/apps/gw2raidar/raidar/management/commands/process_uploads.py", line 200, in analyse_upload
    analyser = Analyser(evtc_encounter)
  File "/var/www/apps/gw2raidar/analyser/analyser.py", line 337, in __init__
    collector.with_key(Group.CATEGORY, "combat").with_key(Group.METRICS, "buffs").run(self.collect_incoming_buffs, buff_data)
  File "/var/www/apps/gw2raidar/analyser/collector.py", line 65, in run
    function(self, data)
  File "/var/www/apps/gw2raidar/analyser/analyser.py", line 583, in collect_incoming_buffs
    source_collector.with_key(Group.PHASE, "All").run(self.collect_buffs_by_target, phase_data)
  File "/var/www/apps/gw2raidar/analyser/collector.py", line 65, in run
    function(self, data)
  File "/var/www/apps/gw2raidar/analyser/analyser.py", line 592, in collect_buffs_by_target
    split_by_player_groups(collector, self.collect_buffs_by_type, buff_data, 'dst_instid', self.subgroups, self.players)
  File "/var/www/apps/gw2raidar/analyser/splits.py", line 95, in split_by_player_groups
    subgroup_events = events[events[player_column].isin(subgroup_players)]
  File "/usr/local/lib/python3.5/dist-packages/pandas/core/series.py", line 2555, in isin
    result = algorithms.isin(_values_from_object(self), values)
  File "/usr/local/lib/python3.5/dist-packages/pandas/core/algorithms.py", line 426, in isin
    return f(comps, values)
  File "/usr/local/lib/python3.5/dist-packages/pandas/core/algorithms.py", line 404, in <lambda>
    f = lambda x, y: htable.ismember_object(x, values)
  File "pandas/_libs/hashtable_func_helper.pxi", line 428, in pandas._libs.hashtable.ismember_object (pandas/_libs/hashtable.c:30162)
ValueError: Buffer dtype mismatch, expected 'Python object' but got 'long'

252394.evtc.zip

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions