Re: Export Error

From: Michael Benjamin <michaelbenjamin(at)advancedneuralbio(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com>, "pgadmin-support lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: Re: Export Error
Date: 2020-04-14 17:09:32
Message-ID: 8369F195-9411-417D-8557-535E9D59C941@advancedneuralbio.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Haven’t heard back on this yet.

2020-04-07 15:08:44,503: ERROR flask.app: expected str, bytes or os.PathLike object, not NoneType
Traceback (most recent call last):
File "/Library/PostgreSQL/12/pgAdmin 4.app/Contents/Resources/web/pgadmin/tools/import_export/__init__.py", line 323, in create_import_export_job
p.start()
File "/Library/PostgreSQL/12/pgAdmin 4.app/Contents/Resources/web/pgadmin/misc/bgprocess/processes.py", line 406, in start
preexec_fn=preexec_function, env=env
File "/Library/PostgreSQL/12/pgAdmin 4.app/Contents/Resources/venv/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/Library/PostgreSQL/12/pgAdmin 4.app/Contents/Resources/venv/lib/python3.7/subprocess.py", line 1433, in _execute_child
env_list.append(k + b'=' + os.fsencode(v))
File "/Library/PostgreSQL/12/pgAdmin 4.app/Contents/Resources/venv/lib/python3.7/os.py", line 809, in fsencode
filename = fspath(filename) # Does type-checking of `filename`.
TypeError: expected str, bytes or os.PathLike object, not NoneType

Note: I uninstalled and reinstalled everything and found the web folder.

Thanks

> On Apr 8, 2020, at 12:44 PM, Michael Benjamin <michaelbenjamin(at)advancedneuralbio(dot)com> wrote:
>
> 2020-04-07 15:08:44,503: ERROR flask.app: expected str, bytes or os.PathLike object, not NoneType
> Traceback (most recent call last):
> File "/Library/PostgreSQL/12/pgAdmin 4.app/Contents/Resources/web/pgadmin/tools/import_export/__init__.py", line 323, in create_import_export_job
> p.start()
> File "/Library/PostgreSQL/12/pgAdmin 4.app/Contents/Resources/web/pgadmin/misc/bgprocess/processes.py", line 406, in start
> preexec_fn=preexec_function, env=env
> File "/Library/PostgreSQL/12/pgAdmin 4.app/Contents/Resources/venv/lib/python3.7/subprocess.py", line 775, in __init__
> restore_signals, start_new_session)
> File "/Library/PostgreSQL/12/pgAdmin 4.app/Contents/Resources/venv/lib/python3.7/subprocess.py", line 1433, in _execute_child
> env_list.append(k + b'=' + os.fsencode(v))
> File "/Library/PostgreSQL/12/pgAdmin 4.app/Contents/Resources/venv/lib/python3.7/os.py", line 809, in fsencode
> filename = fspath(filename) # Does type-checking of `filename`.
> TypeError: expected str, bytes or os.PathLike object, not NoneType
>
> Note: I uninstalled and reinstalled everything and found the web folder.
>
>> On Apr 7, 2020, at 3:49 AM, Dave Page <dpage(at)pgadmin(dot)org <mailto:dpage(at)pgadmin(dot)org>> wrote:
>>
>>
>>
>> On Mon, Apr 6, 2020 at 5:57 PM Michael Benjamin <michaelbenjamin(at)advancedneuralbio(dot)com <mailto:michaelbenjamin(at)advancedneuralbio(dot)com>> wrote:
>> There is no folder /web
>>
>> Then one has to wonder what you're running. Probably 95% of the code for pgAdmin is in the web/ directory in the macOS build. Are you running a container or the Python package?
>>
>>
>>> On Mar 29, 2020, at 11:27 PM, Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com <mailto:khushboo(dot)vashi(at)enterprisedb(dot)com>> wrote:
>>>
>>>
>>>
>>> On Sat, Mar 28, 2020 at 2:04 AM Michael Benjamin <michaelbenjamin(at)advancedneuralbio(dot)com <mailto:michaelbenjamin(at)advancedneuralbio(dot)com>> wrote:
>>> There is no folder “web/“ (Mac) and about 10 different “config.py” files.
>>>
>>> on MacOS, path would be /Applications/pgAdmin 4.app/Contents/Resources/web .
>>>> On Mar 27, 2020, at 12:15 AM, Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com <mailto:khushboo(dot)vashi(at)enterprisedb(dot)com>> wrote:
>>>>
>>>> Hi,
>>>>
>>>> On Fri, Mar 27, 2020 at 2:07 AM Michael Benjamin <michaelbenjamin(at)advancedneuralbio(dot)com <mailto:michaelbenjamin(at)advancedneuralbio(dot)com>> wrote:
>>>> In pgadmin 4.16 I get the following error when I try to export a file: "expected str, bytes or os.PathLike object, not NoneType". Any thoughts? Thanks.
>>>>
>>>> Please enable logging and send the pgAdmin log file. Please refer: https://www.pgadmin.org/faq/#8 <https://www.pgadmin.org/faq/#8>
>>>>
>>>> Thanks,
>>>> Khushboo
>>>
>>
>>
>>
>> --
>> Dave Page
>> Blog: http://pgsnake.blogspot.com <http://pgsnake.blogspot.com/>
>> Twitter: @pgsnake
>>
>> EnterpriseDB UK: http://www.enterprisedb.com <http://www.enterprisedb.com/>
>> The Enterprise PostgreSQL Company
>

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Darren Duncan 2020-04-14 17:51:17 Re: Proposal: Drop support for Internet Explorer
Previous Message Akshay Joshi 2020-04-14 15:47:55 Re: Proposal: Drop support for Internet Explorer