Closed EDIflyer closed 9 months ago
Sorry to hear that you're running into issues.
There's currently some problems when using multiple buttons, see #11 & #12
You can find the Clockify log files here:
~/Library/Application Support/com.elgato.StreamDeck/Plugins/dev.duerrenberger.clockify.sdPlugin/pluginlog.log
%appdata%\Elgato\StreamDeck\Plugins\dev.duerrenberger.clockify.sdPlugin\pluginlog.log
Would be great if you can provide the contents of the log files, so we can determine whether it's an existing issue or something new.
Sorry, took me a while to get round to checking...
2023-08-16 22:44:26.6031|INFO|dev.duerrenberger.clockify|45|Key Pressed
2023-08-16 22:44:26.6031|INFO|dev.duerrenberger.clockify|41|Key Released
2023-08-16 22:44:26.7268|DEBUG|dev.duerrenberger.clockify|1|Logger Initialized
2023-08-16 22:44:26.7268|INFO|dev.duerrenberger.clockify|1|Plugin [dev.duerrenberger.clockify] Loading - 1 Actions Found
2023-08-16 22:44:26.8226|DEBUG|dev.duerrenberger.clockify|1|Plugin Loaded: UUID: 657E04BA46135F00F40F7FAB5CA6A8D5 Device Info: Devices:
[Id: 1863844D0864D2AC45804B3B9FF277F8 Type: StreamDeckClassic Size: Rows: 3 Columns: 5]
[Id: 4880F7632625FE2B6CFAFA7DEE5C2F34 Type: StreamDeckClassic Size: Rows: 3 Columns: 5]
ApplicationInfo: Language: en Platform: windows Version: 6.3.0.18948
PluginInfo: Version: 1.6
2023-08-16 22:44:26.8226|INFO|dev.duerrenberger.clockify|1|Plugin version: 1.6
2023-08-16 22:44:26.8226|INFO|dev.duerrenberger.clockify|1|Connecting to Stream Deck...
2023-08-16 22:44:28.9216|INFO|dev.duerrenberger.clockify|1|Connected to Stream Deck
2023-08-16 22:44:28.9216|INFO|dev.duerrenberger.clockify|1|GlobalSettingsManager initialized
2023-08-16 22:44:30.4216|INFO|dev.duerrenberger.clockify|10|API key successfully set
2023-08-16 22:44:31.1487|FATAL|dev.duerrenberger.clockify|4|Unhandled Exception: System.InvalidOperationException: Sequence contains more than one matching element
at System.Linq.ThrowHelper.ThrowMoreThanOneMatchException()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 , Func`2 , Boolean& )
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 , Func`2 )
at Clockify.ClockifyContext.GetRunningTimerAsync(String workspaceName, String projectName, String timeName) in D:\a\streamdeck-clockify\streamdeck-clockify\Clockify\ClockifyContext.cs:line 127
at Clockify.ToggleAction.OnTick() in D:\a\streamdeck-clockify\streamdeck-clockify\Clockify\ToggleAction.cs:line 61
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object )
at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
at System.Threading.Thread.StartCallback()
I'm guessing it's because I have multiple projects with the same name? The issue I have is the way I've set up Clockify is to have multiple standard projects (emails, virtual meeting, F2F meeting, etc.) for different clients, so I won't have unique project names. Hopefully if support for client this would resolve this?
I believe this is indeed a duplicate of #8 and should be fixed in V1.7: https://github.com/eXpl0it3r/streamdeck-clockify/releases/tag/1.7
Sorry, new to Clockify and trying to get this setup. I keep getting the yellow exclamation mark so I regenerated my API key and carefully repasted (as I understand that's often the issue!) but no change.
Looking at the Stream Deck logs it looks like it keeps exiting - do you have any logging I can switch on to help you debug this, or is it something you've seen before?