blueshiftone / streamdeck-toggl

⏱️ Make time tracking a 🍰 piece of cake, with Toggl Track and Elgato Stream Deck (Toggl Track integration for Stream Deck)
MIT License
10 stars 2 forks source link

Initial Setup / Account Information Dialogue Missing #5

Open V3XED opened 1 week ago

V3XED commented 1 week ago

Hello, and a big thank you for reviving this plugin.

I just recently updated from the old version, and am in the process of resetting up my projects. Howevor the new plugin (latest release, and latest Streamdeck software) does not allow me to input any information other than the "Title" field. Below that is blank in the software, and I am unable to link my account, enter the API key, etc.

Thanks for your help and work on this.

Screenshot 2024-11-14 121847

brentonrace commented 1 week ago

@V3XED Are you able to attach a screenshot showing the Stream Deck software version and the plugin version so I can confirm I'm running the same version?

V3XED commented 1 week ago

@brentonrace requested information attached. Thank you! Version Information

brentonrace commented 1 week ago

@V3XED Thanks, I've just upgraded to 6.8.0 and initially it was not happy but seems to have come good after restarting the Stream Deck service. Have you tried a computer restart?

If that doesn't work, are you able to check the logs under C:\Users[your user account]\AppData\Roaming\Elgato\StreamDeck\logs and see if that contains any errors that might shed some light on what is happening?

V3XED commented 2 days ago

@brentonrace, I can confirm that restarting the machine and services does not have an effect. Is it possible that the install of the plugin is partially failing to copy files? I am installing without administrative privileges.

Logs are not particularly illuminating, at least not anything I am seeing: 2024-11-19T13:01:42.391Z StreamDeck inf ESDCustomPluginClient::onRuntimeStateChanged(): Plugin 'one.blueshift.streamdeck.toggl' runtime starting 2024-11-19T13:01:42.391Z StreamDeck inf ESDCustomPluginClient::_process(): Plugin 'one.blueshift.streamdeck.toggl' processes event queue [Starting] 2024-11-19T13:01:42.391Z StreamDeck inf ESDCustomPluginClient::_process(): Plugin 'one.blueshift.streamdeck.toggl': STOPPED -> LAUNCHING 2024-11-19T13:01:42.391Z StreamDeck inf ESDCustomPluginClient::enterLaunching(): Starting 'one.blueshift.streamdeck.toggl'

brentonrace commented 1 day ago

@V3XED It looks like the custom fields in the property inspector are hidden by default and only made visible when the plugin has been able to make a websocket connection to the streamdeck. It appears something is not working in that initial connection.

Do you have any other log entries after what you included above? After enterLaunching I see:

inf ESDCustomPluginClient::onRuntimeStateChanged(): Plugin 'one.blueshift.streamdeck.toggl' runtime started
inf ESDCustomPluginClient::_process():              Plugin 'one.blueshift.streamdeck.toggl' processes event queue [Launched]
inf ESDCustomPluginClient::_process():              Plugin 'one.blueshift.streamdeck.toggl': LAUNCHING -> CONNECTING
ESDCustomPluginCommunication::onMessageReceived(): Plugin C7C17FE23B37CF0D2A8DB9C9B08851B9 is now connected
inf ESDCustomPluginClient::_process():              Plugin 'one.blueshift.streamdeck.toggl' processes event queue [Connected]
inf ESDCustomPluginClient::_process():              Plugin 'one.blueshift.streamdeck.toggl': CONNECTING -> CONNECTED
inf ESDCustomPlugin::onSessionConnected():          Plugin 'one.blueshift.streamdeck.toggl' connected

Then when I click on one of the buttons in the Stream Deck app to edit settings I see:

ESDCustomPluginCommunication::onMessageReceived(): PI 2BBE99FD5027842C9A390C726EC0B471 is now connected

If you can check that, hopefully we can narrow down where it's failing to connect.