Re: [Therion] Command line Therion on Windows
Oh, thats the issue. On Linux I can run Therion from any folder i.e therion _config/plan.thconfig But on Windows I need to be in the directory with the config. therion _config/plan.thconfig - does not work cd _config therion plan.thconfig - does work Thanks, Rhys On Sun, 5 Apr 2020 at 15:44, Stacho Mudrak wrote: > Hi, we have never faced any problems compiling same dataset on win and on > linux. > > Could you please post some minimal sample where it fails? > > There is nothing xtherion is doing with your thconfig file. It just change > working dir to your thconfig file directory and run therion with full path > from this directory with thconfig as an argument. No changes to paths are > made. > > Thanks, S. > > On Sun, 5 Apr 2020 at 11:36, Rhys Tyers wrote: > >> I agree, but also when compiling in XTherion it does work so there is >> some magic happening in XTherion. I tried to have a look through the >> Therion source to see what the difference is between how XTherion >> parses file paths and how Therion command line parses file paths but I am >> not a C developer (or anything close) and could not work it out. >> >> On Sat, 4 Apr 2020 at 23:45, Benedikt Hallinger >> wrote: >> >>> Wed had a similar problem and resorted to make everywhere unix slashes. >>> It would be cool if therion would parse that to backslash reference on >>> windows when parsing filepaths. >>> >>> Am 2020-04-05 0:16, schrieb Rhys Tyers: >>> > I think so. If I change the first file path to have backslashes then >>> > the error is about the second file path in the config, and so on. >>> > >>> > On Sat, 4 Apr 2020, 23:14 Philippe Vernant, >>> > wrote: >>> > >>> >> Hi Rhys, >>> >> >>> >> Are you sure that is is not the end of the line rather than the >>> >> slashes ? >>> >> >>> >> Phil >>> >> >>> >>> On 4 Apr 2020, at 11:00, Rhys Tyers wrote: >>> >>> >>> >>> Hello, >>> >>> >>> >>> I have therion data repo that has been mainly worked on by >>> >>> linux/mac users. Now I'm trying to work on it in Windows. Using >>> >>> the xtherion gui works fine, but if I try to use the therion.exe >>> >>> directly on the command line (like I would in linux) then it fails >>> >>> because all the file paths have forward slashes rather than back >>> >>> slashes. >>> >>> >>> >>> Is there a way to get command line therion to run on files with >>> >>> linux style file paths? I assume there must be because xtherion >>> >>> manages it somehow. >>> >>> >>> >>> Thanks, >>> >>> Rhys ___ >>> >>> 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 >>> >> ___ >> 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] Command line Therion on Windows
Hi, we have never faced any problems compiling same dataset on win and on linux. Could you please post some minimal sample where it fails? There is nothing xtherion is doing with your thconfig file. It just change working dir to your thconfig file directory and run therion with full path from this directory with thconfig as an argument. No changes to paths are made. Thanks, S. On Sun, 5 Apr 2020 at 11:36, Rhys Tyers wrote: > I agree, but also when compiling in XTherion it does work so there is some > magic happening in XTherion. I tried to have a look through the Therion > source to see what the difference is between how XTherion parses file paths > and how Therion command line parses file paths but I am not a C developer > (or anything close) and could not work it out. > > On Sat, 4 Apr 2020 at 23:45, Benedikt Hallinger > wrote: > >> Wed had a similar problem and resorted to make everywhere unix slashes. >> It would be cool if therion would parse that to backslash reference on >> windows when parsing filepaths. >> >> Am 2020-04-05 0:16, schrieb Rhys Tyers: >> > I think so. If I change the first file path to have backslashes then >> > the error is about the second file path in the config, and so on. >> > >> > On Sat, 4 Apr 2020, 23:14 Philippe Vernant, >> > wrote: >> > >> >> Hi Rhys, >> >> >> >> Are you sure that is is not the end of the line rather than the >> >> slashes ? >> >> >> >> Phil >> >> >> >>> On 4 Apr 2020, at 11:00, Rhys Tyers wrote: >> >>> >> >>> Hello, >> >>> >> >>> I have therion data repo that has been mainly worked on by >> >>> linux/mac users. Now I'm trying to work on it in Windows. Using >> >>> the xtherion gui works fine, but if I try to use the therion.exe >> >>> directly on the command line (like I would in linux) then it fails >> >>> because all the file paths have forward slashes rather than back >> >>> slashes. >> >>> >> >>> Is there a way to get command line therion to run on files with >> >>> linux style file paths? I assume there must be because xtherion >> >>> manages it somehow. >> >>> >> >>> Thanks, >> >>> Rhys ___ >> >>> 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 >> > ___ > 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] Command line Therion on Windows
What does “make config-windows”? Martin Odesláno z iPhonu 5. 4. 2020 v 12:24, Benedikt Hallinger : > Maybe TCL does it automatically since its platform independent, c is usually > not (directly). Xtherion compiled is a tcl program. > >> Am 05.04.2020 um 11:36 schrieb Rhys Tyers : >> >> >> I agree, but also when compiling in XTherion it does work so there is some >> magic happening in XTherion. I tried to have a look through the Therion >> source to see what the difference is between how XTherion parses file paths >> and how Therion command line parses file paths but I am not a C developer >> (or anything close) and could not work it out. >> >>> On Sat, 4 Apr 2020 at 23:45, Benedikt Hallinger wrote: >>> Wed had a similar problem and resorted to make everywhere unix slashes. >>> It would be cool if therion would parse that to backslash reference on >>> windows when parsing filepaths. >>> >>> Am 2020-04-05 0:16, schrieb Rhys Tyers: >>> > I think so. If I change the first file path to have backslashes then >>> > the error is about the second file path in the config, and so on. >>> > >>> > On Sat, 4 Apr 2020, 23:14 Philippe Vernant, >>> > wrote: >>> > >>> >> Hi Rhys, >>> >> >>> >> Are you sure that is is not the end of the line rather than the >>> >> slashes ? >>> >> >>> >> Phil >>> >> >>> >>> On 4 Apr 2020, at 11:00, Rhys Tyers wrote: >>> >>> >>> >>> Hello, >>> >>> >>> >>> I have therion data repo that has been mainly worked on by >>> >>> linux/mac users. Now I'm trying to work on it in Windows. Using >>> >>> the xtherion gui works fine, but if I try to use the therion.exe >>> >>> directly on the command line (like I would in linux) then it fails >>> >>> because all the file paths have forward slashes rather than back >>> >>> slashes. >>> >>> >>> >>> Is there a way to get command line therion to run on files with >>> >>> linux style file paths? I assume there must be because xtherion >>> >>> manages it somehow. >>> >>> >>> >>> Thanks, >>> >>> Rhys ___ >>> >>> 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 > ___ > 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] Command line Therion on Windows
Maybe TCL does it automatically since its platform independent, c is usually not (directly). Xtherion compiled is a tcl program. > Am 05.04.2020 um 11:36 schrieb Rhys Tyers : > > > I agree, but also when compiling in XTherion it does work so there is some > magic happening in XTherion. I tried to have a look through the Therion > source to see what the difference is between how XTherion parses file paths > and how Therion command line parses file paths but I am not a C developer (or > anything close) and could not work it out. > >> On Sat, 4 Apr 2020 at 23:45, Benedikt Hallinger wrote: >> Wed had a similar problem and resorted to make everywhere unix slashes. >> It would be cool if therion would parse that to backslash reference on >> windows when parsing filepaths. >> >> Am 2020-04-05 0:16, schrieb Rhys Tyers: >> > I think so. If I change the first file path to have backslashes then >> > the error is about the second file path in the config, and so on. >> > >> > On Sat, 4 Apr 2020, 23:14 Philippe Vernant, >> > wrote: >> > >> >> Hi Rhys, >> >> >> >> Are you sure that is is not the end of the line rather than the >> >> slashes ? >> >> >> >> Phil >> >> >> >>> On 4 Apr 2020, at 11:00, Rhys Tyers wrote: >> >>> >> >>> Hello, >> >>> >> >>> I have therion data repo that has been mainly worked on by >> >>> linux/mac users. Now I'm trying to work on it in Windows. Using >> >>> the xtherion gui works fine, but if I try to use the therion.exe >> >>> directly on the command line (like I would in linux) then it fails >> >>> because all the file paths have forward slashes rather than back >> >>> slashes. >> >>> >> >>> Is there a way to get command line therion to run on files with >> >>> linux style file paths? I assume there must be because xtherion >> >>> manages it somehow. >> >>> >> >>> Thanks, >> >>> Rhys ___ >> >>> 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 ___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Re: [Therion] Command line Therion on Windows
I agree, but also when compiling in XTherion it does work so there is some magic happening in XTherion. I tried to have a look through the Therion source to see what the difference is between how XTherion parses file paths and how Therion command line parses file paths but I am not a C developer (or anything close) and could not work it out. On Sat, 4 Apr 2020 at 23:45, Benedikt Hallinger wrote: > Wed had a similar problem and resorted to make everywhere unix slashes. > It would be cool if therion would parse that to backslash reference on > windows when parsing filepaths. > > Am 2020-04-05 0:16, schrieb Rhys Tyers: > > I think so. If I change the first file path to have backslashes then > > the error is about the second file path in the config, and so on. > > > > On Sat, 4 Apr 2020, 23:14 Philippe Vernant, > > wrote: > > > >> Hi Rhys, > >> > >> Are you sure that is is not the end of the line rather than the > >> slashes ? > >> > >> Phil > >> > >>> On 4 Apr 2020, at 11:00, Rhys Tyers wrote: > >>> > >>> Hello, > >>> > >>> I have therion data repo that has been mainly worked on by > >>> linux/mac users. Now I'm trying to work on it in Windows. Using > >>> the xtherion gui works fine, but if I try to use the therion.exe > >>> directly on the command line (like I would in linux) then it fails > >>> because all the file paths have forward slashes rather than back > >>> slashes. > >>> > >>> Is there a way to get command line therion to run on files with > >>> linux style file paths? I assume there must be because xtherion > >>> manages it somehow. > >>> > >>> Thanks, > >>> Rhys ___ > >>> 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 > ___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion