Re: [Therion] cannot load thconfig in xtherion
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 On Behalf Of Tarquin Wilton-Jones via Therion Sent: Monday, 23 August 2021 20:37 To: therion@speleo.sk Cc: Tarquin Wilton-Jones 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 ___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
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
Re: [Therion] cannot load thconfig in xtherion
BTW, using for project “foo" name “foo.thconfig" is not a bad idea. M. > 22. 8. 2021 v 23:57, Wookey : > > If you run xtherion then try to load a thconfig file you get this error: > > /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
Re: [Therion] cannot load thconfig in xtherion
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 wrote: > Years problem on Mac. I have to use foo.thconfig. > > Martin > > Odesláno z iPhonu > > 22. 8. 2021 v 23:57, Wookey : > > > If you run xtherion then try to load a thconfig file you get this error: > > > > /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 > ___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Re: [Therion] cannot load thconfig in xtherion
Years problem on Mac. I have to use foo.thconfig. Martin Odesláno z iPhonu 22. 8. 2021 v 23:57, Wookey : > If you run xtherion then try to load a thconfig file you get this error: > > /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
[Therion] cannot load thconfig in xtherion
If you run xtherion then try to load a thconfig file you get this error: /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