Skip to content

IMPORT configuration causes "Can't call method 'logit'" error in Ora2Pg v25.0 #1919

@tarulkinra

Description

@tarulkinra

Hi,

It looks like there's a bug in Ora2Pg version 25.0 related to the IMPORT configuration directive.

I have a shared/common configuration file stored in a config folder, and I try to include it from another config file like this:

Main config:

cat config/ora2pg_new.conf
IMPORT ./config/ora2pg_common.conf

However, when I run Ora2Pg with this config:

$ ora2pg -c config/ora2pg_new.conf -d -a "TABLE[XYZ]"

I get the following error:

Can't call method "logit" on an undefined value at /usr/local/share/perl5/Ora2Pg.pm line 14858, line 1.

This worked fine in earlier versions of Ora2Pg (e.g., 24.x), so it seems like a regression in v25.0.

Let me know if you need help reproducing the issue or more environment details. Thanks for maintaining this awesome tool!

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