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

Typo in Docs for fixing drives/ charges prevents from fixing them #2524

Closed
1 task done
woyteck1 opened this issue Mar 7, 2022 · 3 comments
Closed
1 task done

Typo in Docs for fixing drives/ charges prevents from fixing them #2524

woyteck1 opened this issue Mar 7, 2022 · 3 comments
Labels

Comments

@woyteck1
Copy link
Contributor

woyteck1 commented Mar 7, 2022

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

When a drive, or charge needs fixing, there is Documentation page that explains how to do it and gives the command.
However I found that command not working and after some debugging I found 1 extra character (an Exclamation mark) that, when removed, fixes the issue.

Expected Behavior

Expected behaviour is when there is no exclamation mark and it's working fine:

$ docker-compose exec teslamate bin/teslamate rpc     "TeslaMate.Repo.get(TeslaMate.Log.Drive, 408) |> TeslaMate.Log.close_drive()"

09:29:07.288 [info]  GET https://nominatim.openstreetmap.org/reverse -> 200 (67.402 ms)

09:29:07.784 [info]  GET https://nominatim.openstreetmap.org/reverse -> 200 (491.593 ms)

Steps To Reproduce

  1. Have a bloken (unclosed) drive or charge
  2. Go to https://docs.teslamate.org/docs/maintenance/manually_fixing_data/
  3. Try the command for either:
  4. Get bash error:
$ docker-compose exec teslamate bin/teslamate rpc \
>     "TeslaMate.Repo.get!(TeslaMate.Log.ChargingProcess, 408) |> TeslaMate.Log.complete_charging_process()"
bash: !: event not found
>
ERROR: RPC expects an expression as argument

Relevant log output

Not really needed I guess as this is already fixable.

Screenshots

No response

Additional data

No response

Type of installation

Docker

Version

v1.26.1

@adriankumpf adriankumpf added the kind:documentation Adds or improves documentation label Apr 4, 2022
@Dulanic
Copy link
Collaborator

Dulanic commented Nov 12, 2023

Not able to duplicate in 1.27.4

@Dulanic Dulanic closed this as completed Nov 12, 2023
@Dulanic Dulanic added Stale and removed kind:documentation Adds or improves documentation labels Nov 12, 2023
@djpalmis
Copy link

djpalmis commented Feb 4, 2024

Hi guys we shall reopen this issue!

@JakobLichterfeld
Copy link
Collaborator

Hi guys we shall reopen this issue!

No typo, no reproducable most likly a copy paste error on user side

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants