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

Telegram bot error "invalid token" with jetson nano jetpack 4.6-b110 #103

Closed
han88 opened this issue Dec 29, 2023 · 4 comments
Closed

Telegram bot error "invalid token" with jetson nano jetpack 4.6-b110 #103

han88 opened this issue Dec 29, 2023 · 4 comments

Comments

@han88
Copy link

han88 commented Dec 29, 2023

Your platform dose not support yet, please file a bug:
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Package: nvidia-jetpack
Version: 4.6-b199
Priority: standard
Section: metapackages
Maintainer: NVIDIA Corporation
Installed-Size: 199 kB
Depends: nvidia-cuda (= 4.6-b199), nvidia-opencv (= 4.6-b199), nvidia-cudnn8 (= 4.6-b199), nvidia-tensorrt (= 4.6-b199), nvidia-visionworks (= 4.6-b199), nvidia-container (= 4.6-b199), nvidia-vpi (= 4.6-b199), nvidia-l4t-jetson-multimedia-api (>> 32.6-0), nvidia-l4t-jetson-multimedia-api (<< 32.7-0)
Homepage: http://developer.nvidia.com/jetson
Download-Size: 29,4 kB
APT-Sources: https://repo.download.nvidia.com/jetson/t210 r32.6/main arm64 Packages
Description: NVIDIA Jetpack Meta Package

Is there a solution yet?
thanks in advance

@han88
Copy link
Author

han88 commented Jan 7, 2024

Jetpack 4.6-b110 works...

@han88 han88 closed this as completed Jan 7, 2024
@solderzzc
Copy link
Member

@han88 thanks for the feedback.

@han88 han88 reopened this Jan 9, 2024
@han88
Copy link
Author

han88 commented Jan 9, 2024

but the telegram bot doesn't function:

Exception in thread Thread-9:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line916, in bootstrap_inner
self.run()
File "/app/telegram_bot.py", line 49, in run
self.updater = Updater(self.token)
File "/usr/local/lib/python3.6/dist-packages/telegram/ext/updater.py", line_29
0, in init
else arbitrary_callback_data
File "/usr/local/lib/python3.6/dist-packages/telegram/ext/extbot.py", line 103
in init
private_key_password-private_key_password.
File "/usr/local/lib/python3.6/dist-packages/telegram/bot.py", line 191, in
init
_
self.token = self._validate_token(token)
File "/usr/local/lib/python3.6/dist-packages/telegran/bot.py". line_355, in
alidate_token
raise InvalidToken()
telegram.error.InvalidToken: Invalid token
filename: /opt/nvr/detector/images/192_168_2_119_7dab08d0-47ff-4b6e-ae6a-134b25b
34f65.jpg, camera_id: 192_168_2_119
detect with frame

but the token I used is valid, works on other platforms!
Thanks

@han88 han88 changed the title jetson nano jetpack 4.6-b199 is not supported Telegram bot error "invalid token" with jetson nano jetpack 4.6-b110 Jan 9, 2024
@han88
Copy link
Author

han88 commented Jan 9, 2024

i missed to copy the id...

@han88 han88 closed this as completed Jan 9, 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

No branches or pull requests

2 participants