SCM

[#1011351] Running with --dry-run option crashes pgloader

View Trackers | Bugs | Download .csv | Monitor

Date:
2013-08-08 04:43
Priority:
3
State:
Open
Submitted by:
Victor Beresnev (igel)
Assigned to:
Nobody (None)
Category:
None
Group:
None
Resolution:
None
 
Summary:
Running with --dry-run option crashes pgloader

Detailed description
igel@18w-it26:~/work/python$ pgloader --vacuum --dry-run --debug --config=pgloader.conf csv
pgloader INFO Logger initialized
pgloader WARNING path entry '/usr/share/python-support/pgloader/reformat' does not exists, ignored
pgloader INFO Reformat path is []
pgloader INFO Will consider following sections:
pgloader INFO csv
pgloader INFO Will load 1 section at a time
pgloader INFO dry run mode, not connecting to database
Traceback (most recent call last):
File "/usr/bin/pgloader", line 779, in <module>
ret = load_data()
File "/usr/bin/pgloader", line 687, in load_data
(started[s], finished[s]), summary[s])
File "/usr/lib/pymodules/python2.7/pgloader/pgloader.py", line 142, in __init__
self._read_conf(name, config, db)
File "/usr/lib/pymodules/python2.7/pgloader/pgloader.py", line 290, in _read_conf
parse_pg_options(log, config, name, self.db.pg_options, overwrite=True)
AttributeError: 'NoneType' object has no attribute 'pg_options'

Followup

No Followups Have Been Posted

Attached Files:

Changes:

No Changes Have Been Made to This Item

Powered By FusionForge