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

error parsing b/3079907 #110

Open
tybug opened this issue Jun 5, 2023 · 0 comments
Open

error parsing b/3079907 #110

tybug opened this issue Jun 5, 2023 · 0 comments

Comments

@tybug
Copy link
Collaborator

tybug commented Jun 5, 2023

from slider import *

library = Library(".")
b = library.lookup_by_id(3079907, download=True, save=True)

b.hit_objects(easy=True)
Traceback (most recent call last):
  File "/Users/tybug/Desktop/Liam/coding/sandbox/_slider.py", line 10, in <module>
    b.hit_objects(easy=True)
  File "/Users/tybug/Desktop/Liam/coding/osu/slider/slider/beatmap.py", line 1967, in hit_objects
    hit_objects = resolve_stacking_method(hit_objects, ar, cs)
  File "/Users/tybug/Desktop/Liam/coding/osu/slider/slider/beatmap.py", line 2073, in _resolve_stacking
    ob_n_end_position = ob_n.curve(1)
  File "/Users/tybug/Desktop/Liam/coding/osu/slider/slider/curve.py", line 198, in __call__
    ts = self._ts
  File "/Users/tybug/Desktop/Liam/coding/osu/slider/slider/utils.py", line 19, in __get__
    value = self._fget(instance)
  File "/Users/tybug/Desktop/Liam/coding/osu/slider/slider/curve.py", line 192, in _ts
    lengths[-1] - (length - self.req_length),
IndexError: list index out of range

only occurs when resolving stacking with easy enabled. Resolving stacking with nomod (easy=False) is fine.

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