buxx / buxx/trsync

Windows10: removing trsync.conf broken trsync but not directly

Open
#55 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
15
Forks
3
PR merge metrics
No merged PRs in 30d

Description

## At present

I have removing the conf file because some config inside is not good. When I start Trsync, everything seems to be working correctly but I can seen this error in log window

~~~
Exception in Tkinter callback
Traceback (most recent call last):
File "tkinter\__init__.py", line 1892, in __call__
File "trsync\tab.py", line 43, in _choose
File "configparser.py", line 1201, in set
File "configparser.py", line 902, in set
configparser.NoSectionError: No section: 'server'
~~~

But no information exist about what I need to do.

When I start app, I can seen this so it is just a verification mistake about file exist
~~~
Load config from C:\Users\xandercagexxx\AppData\Local\trsync.conf
~~~

## Expected

- check if config file is available when Trsync start.
- If not:
- inform user and ask him about: `create file` or `quit and put config file in the right place`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.