AlfHou / hammond

Self hosted vehicle and expense management system. Like Clarkson, but better
GNU Affero General Public License v3.0
129 stars 18 forks source link

Mileage is empty #87

Open PrieserMax opened 8 months ago

PrieserMax commented 8 months ago

Before creating a bug report please make sure you are using the latest docker image / code base.

Please complete the following information

Describe the bug A clear and concise description of what the bug is.

If I add fillups there is no mileage shown. No matter what I am choosing (l/km etc.)

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem. Rosa Rakete - Hammond

Additional context Add any other context about the problem here.

vKnmnn commented 7 months ago

For me, only L/100km is empty, the others do populate. Logs says "json: error calling MarshalJSON for type models.MileageModel: json: unsupported value: +Inf"

I suspect an error regarding same-day fillups and the resulting issues with sorting

xpdnz commented 5 months ago

I experience the same as [PrieserMax]. Shows my entries but no stats etc. Using Runtipi installed instance.