vonshednob / pter

Manage your todo.txt in a commandline user interface (TUI)

Home Page:https://vonshednob.cc/pter/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Creating a Configuration File Prevents QPter from Opening

Mach3Maelstrom opened this issue · comments

  1. Created pter.conf at the prescribed file location, with everything but sections commented out.
  2. Run qpter.exe.
  3. Qpter will not run.
  4. Rename config file to temp.conf.
  5. Qpter runs without any adjustments.

System: Windows 11 Pro, version 21H2, OS Build 22000.1098

commented

Thanks for the report, I’ll look into it!

commented

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$

commented

Hm, interesting, thanks for providing more information! I’ll try that again

commented

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?

commented

%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.