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

Fix AttributeError in Activity class #713

Closed
wants to merge 5 commits into from
Closed

Conversation

Liudon
Copy link
Contributor

@Liudon Liudon commented Sep 20, 2024

When enable IGNORE_BEFORE_SAVING, workflow run failed:

Run python run_page/strava_sync.py *** *** ***
Traceback (most recent call last):
  File "/home/runner/work/workouts_page/workouts_page/run_page/strava_sync.py", line 33, in <module>
Access ok
    run_strava_sync(
  File "/home/runner/work/workouts_page/workouts_page/run_page/strava_sync.py", line 14, in run_strava_sync
    generator.sync(False)
  File "/home/runner/work/workouts_page/workouts_page/run_page/generator/__init__.py", line 68, in sync
    activity.summary_polyline = filter_out(activity.summary_polyline)
AttributeError: 'Activity' object has no attribute 'summary_polyline'
Start syncing
Error: Process completed with exit code 1.

Copy link

vercel bot commented Sep 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
running-page ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 21, 2024 2:25pm

Copy link
Owner

@yihong0618 yihong0618 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch

@Liudon
Copy link
Contributor Author

Liudon commented Sep 21, 2024

sorry, i commit my code to this branch, i create a new pr.😓😓😓

@Liudon Liudon closed this Sep 21, 2024
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

Successfully merging this pull request may close these issues.

2 participants