Opened 3 months ago
Closed 2 months ago
#8 closed defect (fixed)
using Slash for concatenation is not supported
| Reported by: | frankl | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Version: | Keywords: | ||
| Cc: |
Description
For example: project_root / "generator" generates the following error
TypeError: unsupported operand type(s) for /: type 'str' and type 'str'
I guess this is a Python version issue and we need to use a backward compatibility
Change History (2)
comment:1 by , 3 months ago
comment:2 by , 2 months ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
You can run the script under windows from project root via
python.exe -m scripts.generate_exam json_file
Note:
See TracTickets
for help on using tickets.

Successfully tested when using >> Path(os.path.join(project_root,"generator")) << instead. Looks more complex but works. It's just suggestion and so no other code needs to get changed.