[Therion] Command line Therion on Windows

Rhys Tyers rhystyers1 at gmail.com
Sun Apr 5 19:14:41 CEST 2020


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 <lists at group-s.sk> 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 <rhystyers1 at gmail.com> 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 <beni at hallinger.org>
>> 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, <phil.vernant at gmail.com>
>>> > 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 <rhystyers1 at gmail.com> 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 at speleo.sk
>>> >>> https://mailman.speleo.sk/listinfo/therion
>>> >>
>>> >> _______________________________________________
>>> >> Therion mailing list
>>> >> Therion at speleo.sk
>>> >> https://mailman.speleo.sk/listinfo/therion
>>> > _______________________________________________
>>> > Therion mailing list
>>> > Therion at speleo.sk
>>> > https://mailman.speleo.sk/listinfo/therion
>>>
>> _______________________________________________
>> Therion mailing list
>> Therion at speleo.sk
>> https://mailman.speleo.sk/listinfo/therion
>>
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> https://mailman.speleo.sk/listinfo/therion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20200405/793a53e4/attachment.htm>


More information about the Therion mailing list