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

Missing database #465

Open
achancesw opened this issue Dec 17, 2024 · 6 comments
Open

Missing database #465

achancesw opened this issue Dec 17, 2024 · 6 comments
Assignees

Comments

@achancesw
Copy link

Its looking for a "database" that doesnt exist.

(venv) C:\Windows\System32\meshtastic-telegram-gateway>python mesh.py
←[37m←[32m INFO ←[0m| 19:55:10 253697 [SerialConsole] ←[32m Client wants config, nonce=419742500←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253697 [SerialConsole] ←[34m State: SERIAL←[0m
←[37m←[0m ←[32m INFO ←[0m| 19:55:10 253697 [SerialConsole] ←[32m Disable NRF52 bluetooth←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m Got 4 files in manifest←[0m
←[37m←[0m ←[32m INFO ←[0m| 19:55:10 253698 [SerialConsole] ←[32m Start API client config←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m FromRadio=STATE_SEND_MY_INFO←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m Send My NodeInfo←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m Send device metadata←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m Send channels 8←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m Send config: device←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m Send config: position←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m Send config: power←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m Send config: network←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m Send config: display←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m Send config: lora←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m Send config: bluetooth←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m Send config: security←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m Send config: sessionkey←[0m
←[31m←[0m ←[31m ERROR ←[0m| 19:55:10 253698 [SerialConsole] ←[31m Unknown config type 10←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m Send module config: mqtt←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m Send module config: serial←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m Send module config: ext notification←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m Send module config: store forward←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m Send module config: range test←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m Send module config: telemetry←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m Send module config: canned message←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m Send module config: audio←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m Send module config: remote hardware←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m Send module config: neighbor info←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m Send module config: ambient lighting←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m Send module config: detection sensor←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m Send module config: paxcounter←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m Send known nodes←[0m
←[37m←[0m ←[32m INFO ←[0m| 19:55:10 253698 [SerialConsole] ←[32m nodeinfo: num=0xa24e2b49, lastseen=1734378779, id=!a24e2b49, name=Meshtastic 2b49←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m Send known nodes←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m Done sending nodeinfo←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m FromRadio=STATE_SEND_FILEMANIFEST←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m File: config.proto (168) bytes←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m FromRadio=STATE_SEND_FILEMANIFEST←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m File: module.proto (105) bytes←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m FromRadio=STATE_SEND_FILEMANIFEST←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m File: channels.proto (85) bytes←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m FromRadio=STATE_SEND_FILEMANIFEST←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m File: db.proto (507) bytes←[0m
←[36m←[0m ←[34m DEBUG ←[0m| 19:55:10 253698 [SerialConsole] ←[34m FromRadio=STATE_SEND_FILEMANIFEST←[0m
←[37m←[0m ←[32m INFO ←[0m| 19:55:10 253698 [SerialConsole] ←[32m Config Send Complete←[0m
2024-12-16 13:55:08,145 - TelegramBot/v1.2.5 - ERROR file:telegram.py init line:75 Telegram bot token missing in configuration: 'Database'

@achancesw
Copy link
Author

ERROR:TelegramBot:Telegram bot token missing in configuration: 'Database'

@achancesw
Copy link
Author

(venv) C:\Windows\System32\meshtastic-telegram-gateway>python mesh.py run
C:\Windows\System32\meshtastic-telegram-gateway\venv\Lib\site-packages\telegram\utils\request.py:49: UserWarning: python-telegram-bot is using upstream urllib3. This is allowed but not supported by python-telegram-bot maintainers.
warnings.warn(

@tb0hdan
Copy link
Owner

tb0hdan commented Dec 22, 2024

Can you try it under WSL (Ubuntu)? Pure Windows has not been tested

@tb0hdan tb0hdan self-assigned this Dec 22, 2024
@tb0hdan
Copy link
Owner

tb0hdan commented Dec 22, 2024

We'll have to put this one on hold, see #464

@achancesw
Copy link
Author

Can you try it under WSL (Ubuntu)? Pure Windows has not been tested

Could this work on a Raspberry Pi?

@tb0hdan
Copy link
Owner

tb0hdan commented Dec 22, 2024

Of course, if it weren't for broken dependencies.

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