Use of uninitialized value $_[1] in pattern match (m//) at /usr/local/share/perl/5.18.2/IO/Pager.pm

28 views
Skip to first unread message

Ivan Nunes

unread,
Feb 21, 2016, 12:20:45 PM2/21/16
to Sqitch Users
This error occurs after the log.
Use of uninitialized value $_[1] in pattern match (m//) at /usr/local/share/perl/5.18.2/IO/Pager.pm
sqitch (App::Sqitch) 0.9994

$ sqitch log testes 

On database testes
ESC[32mDeploy 6bc9d20b15dcb868c4ac05082d7c63f53b95128dESC[0m
Name:      schema_escola
Committer: Ivan Nunes <ivan....@iv4n.com>
Date:      2016-02-21 16:47:42 +0000
    add schema escola to db_escola
ESC[31mFail 6bc9d20b15dcb868c4ac05082d7c63f53b95128dESC[0m
Name:      schema_escola
Committer: Ivan Nunes <ivan....@iv4n.com>
Date:      2016-02-21 16:46:31 +0000
    add schema escola to db_escola
ESC[34mRevert 6bc9d20b15dcb868c4ac05082d7c63f53b95128dESC[0m
Name:      schema_escola
Committer: Ivan Nunes <ivan....@iv4n.com>
Date:      2016-02-21 14:12:18 +0000
    add schema escola to db_escola
ESC[32mDeploy 6bc9d20b15dcb868c4ac05082d7c63f53b95128dESC[0m
Name:      schema_escola
Committer: Ivan Nunes <ivan....@iv4n.com>
Date:      2016-02-21 14:05:06 +0000
    add schema escola to db_escola


My plan file:

%syntax-version=1.0.0
%project=escola
%uri=https://github.com/ivanelson/escola_sqitch.git
schema_escola 2016-02-21T13:58:28Z Ivan Nunes <ivan....@iv4n.com> # add schema escola to db_escola

My  sqitch.conf 

[core]
        engine = pg
        # plan_file = sqitch.plan
        # top_dir = .
[engine "pg"]
        # target = db:pg:
        # registry = sqitch
        # client = /opt/PostgreSQL/9.4/bin/psql
[target "testes"]
        uri = db:pg://vagrant:post...@127.0.0.1:5432/db_escola
[deploy]
        verify = true
[rebase]
        verify = true

David E. Wheeler

unread,
Feb 22, 2016, 4:56:32 PM2/22/16
to Ivan Nunes, Sqitch Users
On Feb 21, 2016, at 9:20 AM, Ivan Nunes <ivanels...@gmail.com> wrote:

> This error occurs after the log.
> Use of uninitialized value $_[1] in pattern match (m//) at /usr/local/share/perl/5.18.2/IO/Pager.pm
> sqitch (App::Sqitch) 0.9994

What version of IO::Pager to you have? Run

perl -MIO::Pager -E 'say IO::Pager->VERSION'

To find out. Make sure it’s the latest (0.35). It’s not the first time I’ve seen this error from that module.

> $ sqitch log testes
>
> On database testes
> ESC[32mDeploy 6bc9d20b15dcb868c4ac05082d7c63f53b95128dESC[0m
> Name: schema_escola
> Committer: Ivan Nunes <ivan....@iv4n.com>
> Date: 2016-02-21 16:47:42 +0000
> add schema escola to db_escola
> ESC[31mFail 6bc9d20b15dcb868c4ac05082d7c63f53b95128dESC[0m

Your terminal isn’t configured to support xterm color escapes. Use `--no-color` to prevent those escapes from appearing. You can also turn it off in your configuration on that system with:

sqitch config --user --bool log.color 0
sqitch config --user --bool plan.color 0

Best,

David

Ivanelson Nunes

unread,
Feb 22, 2016, 5:00:18 PM2/22/16
to David E. Wheeler, Sqitch Users

2016-02-22 18:56 GMT-03:00 David E. Wheeler <da...@justatheory.com>:
    perl -MIO::Pager -E 'say IO::Pager->VERSION'

Version 0.35 

@ivanelson
[]s

Brian Sorahan

unread,
Jan 16, 2018, 11:38:06 AM1/16/18
to Sqitch Users
I am also seeing this message using the docker image by aleksandrvin. Here is the version of IO::Pager in that image:

docker run --rm --entrypoint perl aleksandrvin/sqitch -MIO::Pager -E 'say IO::Pager->VERSION'
0.35
Reply all
Reply to author
Forward
0 new messages