Skip to content

Chapter 11 - Text Search - Weird exception being thrown #26

@cmcknight

Description

@cmcknight

Never finds the config.ini. Always claims grin3 not installed even though it is and the config.ini file exists. Repo code has the same issue as the book code.

Mac OS 10.14.4
32G RAM
Python 3.7.3


Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/Volumes/ProjectDrive/git-projects/Creating_GUI_Applications_with_wxPython/src/Chapter_11/text_search/search_thread.py", line 29, in run
output = subprocess.check_output(cmd, encoding='UTF-8')
File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 395, in check_output
**kwargs).stdout
File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 472, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 775, in init
restore_signals, start_new_session)
File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: '/Volumes/ProjectDrive/git-projects/Creating_GUI_Applications_with_wxPython/src/Chapter_11/text_search/config.ini'

-rw-r--r-- 1 chuck wheel 132B Apr 25 08:01 config.ini
-rw-r--r-- 1 chuck wheel 7.2K Apr 25 07:54 main.py
-rw-r--r-- 1 chuck wheel 2.6K Apr 25 07:44 preferences.py
-rw-r--r-- 1 chuck wheel 1.2K Apr 25 07:53 search_thread.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions