Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating a Configuration File Prevents QPter from Opening #20

Open
Mach3Maelstrom opened this issue Oct 27, 2022 · 7 comments
Open

Creating a Configuration File Prevents QPter from Opening #20

Mach3Maelstrom opened this issue Oct 27, 2022 · 7 comments
Labels
bug Something isn't working question Further information is requested

Comments

@Mach3Maelstrom
Copy link

  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

@vonshednob
Copy link
Owner

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

@vonshednob vonshednob self-assigned this Oct 28, 2022
@vonshednob vonshednob added the bug Something isn't working label Oct 28, 2022
@vonshednob
Copy link
Owner

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?

@vonshednob vonshednob removed their assignment Nov 5, 2022
@goyalyashpal
Copy link

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$

@vonshednob
Copy link
Owner

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

@vonshednob
Copy link
Owner

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

@goyalyashpal
Copy link

%LOCALAPPDATA%/Programs/Python/ Python<version> / share/doc/pter/ example.conf
- #23 (comment)

so, should the pter.conf go there as well?

@vonshednob
Copy link
Owner

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

@vonshednob vonshednob added the question Further information is requested label Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants