~sircmpwn/aerc2#506: 
Cannot run master without stylesets-dirs set in config

Not sure if this is an intentional change between 0.5.2 and master but stylesets-dirs now appears to be effectively a required property in the config. Without it you'll see:

Failed to load config: Unable to load default styleset: Can't find styleset "default" in any of [stylesets]

Status
RESOLVED NOT_OUR_BUG
Submitter
~samhh
Assigned to
No-one
Submitted
2 months ago
Updated
a month ago
Labels
No labels applied.

~samhh a month ago

I'm seeing the same behaviour with the template-dirs option, too. It doesn't seem to be checking the default directory (per the config manpage). Adding it to the config manually fixes it.

~labrat a month ago

What's your PREFIX when you compile aerc?

Aerc merges the SHAREDIR with "stylesets" / "templates" and looks in there.

I can't reproduce your issue to be honest, works fine for me

~samhh a month ago

I'm setting the PREFIX to /usr when compiling. It's correctly propagating to make. I can see all the stuff in /usr/share/aerc/ but it doesn't find it unless I set the config explicitly in aerc.conf.

~labrat REPORTED NOT_OUR_BUG a month ago

I have no idea how you get aerc to fail... I can build the current master, use the default config with stylesets-dirs and template-dirs removed and aerc happily does what's expected and starts up.

Closing this as I can't reproduce it, if you get an error like

Failed to load config: Unable to load default styleset: Can't find styleset "default" in any of [stylesets]

That means that you are in fact setting SHAREDIR to "" in the compilation step which is nonsensical. You also need to go out of your way to manage that as the makefile has a sane default.

Register here or Log in to comment, or comment via email.