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

Installation issue on Win10 with accented character in user name #72

Open
jkbgbr opened this issue Jun 12, 2020 · 3 comments
Open

Installation issue on Win10 with accented character in user name #72

jkbgbr opened this issue Jun 12, 2020 · 3 comments

Comments

@jkbgbr
Copy link

jkbgbr commented Jun 12, 2020

Hi,

I just tried multiple ways to install PyNSources (exe, source...), but no success for a few hours.
When installing from source, a setup.py is missing - I generated one and installed the package to a non-virtual environment - still no success with starting the App but at least there was a trackback.

The problem comes from the fact I have a character with an accent in my name: "á" thus around pynsource-gui.py Line 481

config_dir = os.path.join(wx.StandardPaths.Get().GetUserConfigDir(), PYNSOURCE_CONFIG_DIR)

returns a value that configobj.py in line 2117 can't handle, so I hardcoded a new path.

Then, when setting the details for "some sensible defaults" the same problem occurs, but simply commenting out these lines enabled starting the App \o/.

I wonder if the config dir could be user-defined during the install process or fall back to some sane location if the original attempt fails, as simply installing the App will not result in a working install.

@abulka
Copy link
Owner

abulka commented Jun 19, 2020

Thanks for the info - I will take a look at this sometime and improve the situation with accented characters.

P.S. There is no setup.py because Pynsource is not a package. Simply follow the installation instructions in the Readme which is just to pip3 install -r requirements.txt etc.

@jkbgbr
Copy link
Author

jkbgbr commented Jun 19, 2020

Thank you. Currently the app works, I'm happy :-)

@canglangshushu
Copy link

AssertionError
OnInit returned false, exiting...
sys:1: RuntimeWarning: coroutine 'MainApp.check_for_updates' was never awaited
when I run .\bin\run-win10.bat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants