dimitri / pgloader

Migrate to PostgreSQL in a single command!
http://pgloader.io
Other
5.48k stars 551 forks source link

load-lisp-file option fails with Lisp error #1063

Open garetht opened 4 years ago

garetht commented 4 years ago

Thanks for contributing to pgloader by reporting an issue! Reporting an issue is the only way we can solve problems, fix bugs, and improve both the software and its user experience in general.

The best bug reports follow those 3 simple steps:

  1. show what you did,
  2. show the result you got,
  3. explain how the result is not what you expected.

In the case of pgloader, here's the information I will need to read in your bug report. Having all of this is a big help, and often means the bug you reported can be fixed very efficiently as soon as I get to it.

Please provide the following information:

This is observed to occur once the -l option is specified even if the command file was previously working, so the contents of the command file are thought to be independent of the bug. The error also appears to be independent of the contents of the Lisp file.

#<CLOSURE (LAMBDA (COMMAND-LINE-ARGUMENTS::VALUE)
            :IN
            COMMAND-LINE-ARGUMENTS::MAKE-OPTION-ACTION) {1004DFB0DB}> fell through ETYPECASE expression.
Wanted one of (NULL KEYWORD SYMBOL CONS).

No data is loaded.

The Lisp file should be loaded without an error message.

mfkhr commented 4 years ago

command-line-arguments version "2.0.0" can reproduce this error. "2.0.0" is incompatible with "1.0.2" used in pgloader.

dimitri commented 4 years ago

Hi @mfkhr ; could you send a bug fix PR?

antonkulaga commented 4 years ago

So, what should I do to make it work?

mfkhr commented 4 years ago

https://github.com/fare/command-line-arguments/issues/5

bummzack commented 4 years ago

Is this fix released somewhere? I have the following installed and run into this problem:

pgloader version "3.6.2"
compiled with SBCL 2.0.10
jordanebordet commented 3 years ago

Same problem with 3.6.2 on Centos from yum postgresql repo. Can you explain me how to solve this ? Thanks.