Getting this error when attempting to explore datasets

I keep receiving this error when running my streamlit dataset explorer app:

TypeError: join() argument must be str or bytes, not ‘NoneType’


  File "c:\users\mark.nations\appdata\local\continuum\anaconda3-1\lib\site-packages\streamlit\", line 311, in _run_script
    exec(code, module.__dict__)
  File "C:\Users\MARK~1.NAT\AppData\Local\Temp\tmp76nf2c09\", line 157, in <module>
  File "C:\Users\MARK~1.NAT\AppData\Local\Temp\tmp76nf2c09\", line 28, in main
    filename = file_selector()
  File "C:\Users\MARK~1.NAT\AppData\Local\Temp\tmp76nf2c09\", line 26, in file_selector
    return os.path.join(folder_path,selected_filename)
  File "c:\users\mark.nations\appdata\local\continuum\anaconda3-1\lib\", line 115, in join
    genericpath._check_arg_types('join', path, *paths)
  File "c:\users\mark.nations\appdata\local\continuum\anaconda3-1\lib\", line 149, in _check_arg_types
    (funcname, s.__class__.__name__)) from None

Hi @markusj1201,

Welcome to the forums :wave:

From the stacktrace it looks as if either folder_path or selected_filename are None when passed to os.path.join(folder_path, selected_filename)

Could you verify the value of those arguments before that call?

Also, providing a code snippet would allow us to better help.

Lastly, could you share info such as your OS, Python version, Anaconda version, etc?

I figured it out. Just local file permissions. Thank you for responding though.

Also figured out that anaconda does not always play well with others…