cannot load thconfig in xtherion
If you run xtherion then try to load a thconfig file you get this error: <path>/thconfig.thcfg does not exist It works if you run xtherion thconfig (or otherwise specifying the correct path to the thconfig file) So something in the codebase seems to have decided that thconfig files must now be called thconfig.thcfg or thconfig.thconfig. This seems quite broken. -- Wookey
Years problem on Mac. I have to use foo.thconfig. Martin Odesláno z iPhonu 22. 8. 2021 v 23:57, Wookey <wookey@wookware.org>:
If you run xtherion then try to load a thconfig file you get this error:
<path>/thconfig.thcfg does not exist
It works if you run
xtherion thconfig
(or otherwise specifying the correct path to the thconfig file)
So something in the codebase seems to have decided that thconfig files must now be called thconfig.thcfg or thconfig.thconfig. This seems quite broken.
--
Wookey
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Hmmm, it seems that's there is a bug in tk_getOpenFile implementation on unix systems. If it finds some valid "dot" extension in allowed file extensions, it is used when a file without extension is selected. I have tried a lot of things, but only a very dirty extension - using "/" as default file extension - seems to work. Could you please try the latest commit? S. On Mon, 23 Aug 2021 at 09:11, Martin Sluka via Therion <therion@speleo.sk> wrote:
Years problem on Mac. I have to use foo.thconfig.
Martin
Odesláno z iPhonu
22. 8. 2021 v 23:57, Wookey <wookey@wookware.org>:
If you run xtherion then try to load a thconfig file you get this error:
<path>/thconfig.thcfg does not exist
It works if you run
xtherion thconfig
(or otherwise specifying the correct path to the thconfig file)
So something in the codebase seems to have decided that thconfig files must now be called thconfig.thcfg or thconfig.thconfig. This seems quite broken.
--
Wookey
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
BTW, using for project “foo" name “foo.thconfig" is not a bad idea. M.
22. 8. 2021 v 23:57, Wookey <wookey@wookware.org>:
If you run xtherion then try to load a thconfig file you get this error:
<path>/thconfig.thcfg does not exist
It works if you run
xtherion thconfig
(or otherwise specifying the correct path to the thconfig file)
So something in the codebase seems to have decided that thconfig files must now be called thconfig.thcfg or thconfig.thconfig. This seems quite broken.
--
Wookey
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
On 23/08/2021 09:29, Martin Sluka via Therion wrote:
BTW, using for project “foo" name “foo.thconfig" is not a bad idea.
Indeed. It makes your code more portable, since Windows doesn't show a "what do you want me to do with this 'thconfig.[nothing]' file that has no mimetype data?" dialog. Grr.
If there is a vote going on extensions, I'd go for .thc rather than .thconfig, but I guess it is not so important. Bruce -----Original Message----- From: Therion <therion-bounces@speleo.sk> On Behalf Of Tarquin Wilton-Jones via Therion Sent: Monday, 23 August 2021 20:37 To: therion@speleo.sk Cc: Tarquin Wilton-Jones <tarquin.wilton-jones@ntlworld.com> Subject: Re: [Therion] cannot load thconfig in xtherion On 23/08/2021 09:29, Martin Sluka via Therion wrote:
BTW, using for project “foo" name “foo.thconfig" is not a bad idea.
Indeed. It makes your code more portable, since Windows doesn't show a "what do you want me to do with this 'thconfig.[nothing]' file that has no mimetype data?" dialog. Grr. _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
participants (6)
-
Bruce Mutton -
Martin Sluka -
Martin Sluka -
Stacho Mudrak -
Tarquin Wilton-Jones -
Wookey