Unhandled exception #155

Closed
opened 2025-10-09 16:59:46 -05:00 by giteasync · 4 comments
Owner

Originally created by @danielsza on GitHub.

running the macos arm version

Last login: Thu Dec 26 11:20:55 on ttys001
/Applications/cleanuperr-osx-arm64/cleanuperr ; exit;
macserver@macservers ~ % /Applications/cleanuperr-osx-arm64/cleanuperr ; exit;
Unhandled exception. System.InvalidOperationException: Section 'Triggers' not found in configuration.
at Microsoft.Extensions.Configuration.ConfigurationExtensions.GetRequiredSection(IConfiguration configuration, String key)
at Executable.DependencyInjection.QuartzDI.<>c__DisplayClass0_0.b__0(IServiceCollectionQuartzConfigurator q)
at Quartz.ServiceCollectionExtensions.AddQuartz(IServiceCollection services, NameValueCollection properties, Action1 configure) at Quartz.ServiceCollectionExtensions.AddQuartz(IServiceCollection services, Action1 configure)
at Executable.DependencyInjection.QuartzDI.AddQuartzServices(IServiceCollection services, IConfiguration configuration)
at Executable.DependencyInjection.MainDI.AddInfrastructure(IServiceCollection services, IConfiguration configuration)
at Program.

$(String[] args)
zsh: abort /Applications/cleanuperr-osx-arm64/cleanuperr

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

Originally created by @danielsza on GitHub. running the macos arm version Last login: Thu Dec 26 11:20:55 on ttys001 /Applications/cleanuperr-osx-arm64/cleanuperr ; exit; macserver@macservers ~ % /Applications/cleanuperr-osx-arm64/cleanuperr ; exit; Unhandled exception. System.InvalidOperationException: Section 'Triggers' not found in configuration. at Microsoft.Extensions.Configuration.ConfigurationExtensions.GetRequiredSection(IConfiguration configuration, String key) at Executable.DependencyInjection.QuartzDI.<>c__DisplayClass0_0.<AddQuartzServices>b__0(IServiceCollectionQuartzConfigurator q) at Quartz.ServiceCollectionExtensions.AddQuartz(IServiceCollection services, NameValueCollection properties, Action`1 configure) at Quartz.ServiceCollectionExtensions.AddQuartz(IServiceCollection services, Action`1 configure) at Executable.DependencyInjection.QuartzDI.AddQuartzServices(IServiceCollection services, IConfiguration configuration) at Executable.DependencyInjection.MainDI.AddInfrastructure(IServiceCollection services, IConfiguration configuration) at Program.<Main>$(String[] args) zsh: abort /Applications/cleanuperr-osx-arm64/cleanuperr Saving session... ...copying shared history... ...saving history...truncating history files... ...completed.
Author
Owner

@danielsza commented on GitHub:

Looks like the issues was me launching it from the GUI.

If I launched it from the CLI it works as it should.

On Dec 26, 2024, at 3:51 PM, Marius Nechifor @.***> wrote:

It's probably because you're trying to run cleanuperr from outside of its directory. From those logs it seems that you're trying to run /Applications/cleanuperr-osx-arm64/cleanuperr, so that means your working directory is something else. cleanuperr is looking for that settings file where you executed the command from. I'd recommend running cd /Applications/cleanuperr-osx-arm64 before trying to run cleanuperr or copy the configuration file into your working directory.


Reply to this email directly, view it on GitHub https://github.com/flmorg/cleanuperr/issues/26#issuecomment-2563092231, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABR7B5SPUZGXFKCOBTMU5CT2HRT4VAVCNFSM6AAAAABUHNQLBSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRTGA4TEMRTGE.
You are receiving this because you authored the thread.

@danielsza commented on GitHub: Looks like the issues was me launching it from the GUI. If I launched it from the CLI it works as it should. > On Dec 26, 2024, at 3:51 PM, Marius Nechifor ***@***.***> wrote: > > > It's probably because you're trying to run cleanuperr from outside of its directory. From those logs it seems that you're trying to run /Applications/cleanuperr-osx-arm64/cleanuperr, so that means your working directory is something else. cleanuperr is looking for that settings file where you executed the command from. I'd recommend running cd /Applications/cleanuperr-osx-arm64 before trying to run cleanuperr or copy the configuration file into your working directory. > > — > Reply to this email directly, view it on GitHub <https://github.com/flmorg/cleanuperr/issues/26#issuecomment-2563092231>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABR7B5SPUZGXFKCOBTMU5CT2HRT4VAVCNFSM6AAAAABUHNQLBSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRTGA4TEMRTGE>. > You are receiving this because you authored the thread. >
Author
Owner

@Flaminel commented on GitHub:

Did you also copy the appsettings.json file from the archive in the same place you put the cleanuperr binary?

@Flaminel commented on GitHub: Did you also copy the `appsettings.json` file from the archive in the same place you put the cleanuperr binary?
Author
Owner

@Flaminel commented on GitHub:

It's probably because you're trying to run cleanuperr from outside of its directory. From those logs it seems that you're trying to run /Applications/cleanuperr-osx-arm64/cleanuperr, so that means your working directory is something else. cleanuperr is looking for that settings file where you executed the command from. I'd recommend running cd /Applications/cleanuperr-osx-arm64 before trying to run cleanuperr or copy the configuration file into your working directory.

@Flaminel commented on GitHub: It's probably because you're trying to run cleanuperr from outside of its directory. From those logs it seems that you're trying to run `/Applications/cleanuperr-osx-arm64/cleanuperr`, so that means your working directory is something else. cleanuperr is looking for that settings file where you executed the command from. I'd recommend running `cd /Applications/cleanuperr-osx-arm64` before trying to run cleanuperr or copy the configuration file into your working directory.
Author
Owner

@danielsza commented on GitHub:

Yes both files are in the same folderSent from my iPhoneOn Dec 26, 2024, at 11:52, Marius Nechifor @.***> wrote:
Did you also copy the appsettings.json file from the archive in the same place you put the cleanuperr binary?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

@danielsza commented on GitHub: Yes both files are in the same folderSent from my iPhoneOn Dec 26, 2024, at 11:52, Marius Nechifor ***@***.***> wrote: Did you also copy the appsettings.json file from the archive in the same place you put the cleanuperr binary? —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Cleanuparr#155