chirun-ncl / chirun

A Python package providing the command line interface for building flexible and accessible content with Chirun.
https://chirun.org.uk/
Other
29 stars 4 forks source link

Global Flags Error #154

Closed RailEngMaths closed 11 months ago

RailEngMaths commented 1 year ago

I have followed the installation instructions for MacOS and am using the Conda environment. I used the sample course to test if all was good, but ...

image

I am getting the error: global flags not at the start of the expression at position 32.

I don't know what this means, please could you advise?

Many thanks, Alex

christianp commented 1 year ago

It's not clear where that error is coming from. It's a Python error; what version of Python are you using? Do you get any more information if you run chirun -vv?

christianp commented 1 year ago

By looking at other references to this error message, I think this is a breaking change in python 3.11. I'll see if I can reproduce it.

RailEngMaths commented 1 year ago

Hi Christian. Thank you.

The version of Python is 3.11.4. I ran Chirun -vv and this was the final output:

image

christianp commented 1 year ago

Great, thanks!

christianp commented 11 months ago

@RailEngMaths I think I've found the cause of the problem and fixed it. Can you have another go and tell me if it works OK?

I've just merged my recent developments from the dev branch into master, so when you do git pull there will be lots more commits than just the one fixing this.