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

Fix check wxGUI Set vector output format native format dsn #450

Merged

Conversation

tmszi
Copy link
Member

@tmszi tmszi commented Mar 23, 2020

Reproduce:

  1. Open Set vector output format dialog

Error message appear in the Console page:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/wx/core.py", line
3190, in <lambda>

lambda event: event.callable(*event.args, **event.kw) )
  File
"/usr/local/grass79/gui/wxpython/gui_core/gselect.py", line
1662, in _postInit

dsn = os.path.expandvars(dsn)  # v.external.out uses $HOME
  File "/usr/lib/python3.6/posixpath.py", line 288, in
expandvars

path = os.fspath(path)
TypeError
:
expected str, bytes or os.PathLike object, not NoneType

@petrasovaa petrasovaa self-requested a review March 23, 2020 15:04
@landam landam added bug Something isn't working GUI wxGUI related labels Mar 23, 2020
@landam landam added this to the 7.8.3 milestone Mar 23, 2020
@petrasovaa petrasovaa merged commit 754b5a4 into OSGeo:master Mar 24, 2020
@tmszi tmszi deleted the fix_check_vector_output_native_format_dsn branch July 28, 2020 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working GUI wxGUI related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants