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

AnnounceLogic problem #634

Open
sp2ong opened this issue Aug 7, 2023 · 0 comments
Open

AnnounceLogic problem #634

sp2ong opened this issue Aug 7, 2023 · 0 comments

Comments

@sp2ong
Copy link

sp2ong commented Aug 7, 2023

I compile and setup AnnounceLogic and when is startup svxlink where in

LOGICS=AnnounceLogic,SimplexLogic,ReflectorLogic

023-08-01 17:17:37: Starting logic: AnnounceLogic
2023-08-01 17:17:37: Found plugin: /usr/lib/x86_64-linux-gnu/svxlink/AnnounceLogic.so
2023-08-01 17:17:37: /usr/share/svxlink/events.tcl in logic AnnounceLogic: can't access "::Logic::CFG_CW_AMP": parent na
mespace doesn't exist
2023-08-01 17:17:37: *** ERROR: AnnounceLogic initializing eventhandler in
2023-08-01 17:17:37: *** ERROR: Could not load or initialize Logic object "AnnounceLogic". Skipping...

I do not use CW in [SimplexLogic] but I foun more interesting

After much searching, what could this message depend on:

can't access "::Logic::CFG_CW_AMP": parent namespace doesn't exist

when I add comment char # before lines in in /usr/share/svxlink/events.d/CW.tcl like below

proc loadDefaults {} {
#variable ::Logic::CFG_CW_AMP
#variable ::Logic::CFG_CW_CPM
#variable ::Logic::CFG_CW_WPM
#variable ::Logic::CFG_CW_PITCH

the AnnounceLogic is a startup but I can not understand why when loading AnnounceLogic.so the plugin checks CW.tcl file

2023-08-07 10:48:39: Starting logic: AnnounceLogic
2023-08-07 10:48:39: Found plugin: /usr/lib/x86_64-linux-gnu/svxlink/AnnounceLogic.so
2023-08-07 10:48:39: AnnounceLogic: Event handler script successfully loaded.
2023-08-07 10:48:39: AnnounceLogic: Version 24072023 started.

but I can understand why when loading plugin AnnounceLogic.so is reading CW.tcl ?

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

1 participant