Creating a Configuration File Prevents QPter from Opening
Mach3Maelstrom opened this issue · comments
- Created pter.conf at the prescribed file location, with everything but sections commented out.
- Run qpter.exe.
- Qpter will not run.
- Rename config file to temp.conf.
- Qpter runs without any adjustments.
System: Windows 11 Pro, version 21H2, OS Build 22000.1098
Thanks for the report, I’ll look into it!
Sorry, I can’t quite reproduce the issue; I created an "empty" configuration file with only the following content:
[General]
[Keys]
[Editor:Keys]
[Colors]
[Highlight]
[GUI:Keys]
[GUI]
[GUI:Colors]
[GUI:Highlight]
Starting qpter works just fine. I find it possible that I misunderstood the reproduction scenario. Do you mind sharing the bad, i.e. breaking, configuration files?
replicated after #22:
- on windows 10 20H2
- with
pter --version
3.4.1
the %USERPROFILE%/.config/pter/pter.conf
states:
font-size=8
it doesn't work when i end the file with a manual newline either, which with cat -vET
shows:
font-size=8^M$
Hm, interesting, thanks for providing more information! I’ll try that again
the
%USERPROFILE%/.config/pter/pter.conf
states:font-size=8
Okay, this part I can reproduce, but it’s also not following the required layout of the file.
Please change it to:
[GUI]
font-size=8
This’ll fix your problem, @yashpalgoyal1304
However, I still cannot reproduce the original problem (see above).
%LOCALAPPDATA%/Programs/Python/
Python<version> /share/doc/pter/
example.conf
- #23 (comment)
so, should the pter.conf go there as well?
%LOCALAPPDATA%/Programs/Python/
Python /share/doc/pter/
example.conf
so, should the pter.conf go there as well?
No, the pter.conf
should go to %USERPROFILE%/.config/pter/pter.conf
.