Skip to content

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

@garetht

Description

@garetht

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:

  • pgloader --version

    pgloader version "3.6.26cc9ca"
    compiled with SBCL 1.5.9
    
  • did you test a fresh compile from the source tree?
    The version appears to be the same as the most recent commit.

  • did you search for other similar issues?

    This seems to be the most similar related issue: "with" option fail when use the pgloader cli  #1055

    This earlier issue is somewhat similar but has no error message at all: Loading transformations.lisp prevents command file from running #526

  • how can I reproduce the bug?

    touch transform.lisp file.load
    echo "(in-package #:pgloader.transforms)" > transform.lisp
    pgloader -l transform.lisp file.load
    

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.

  • pgloader output you obtain
#<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).
  • data that is being loaded, if relevant

No data is loaded.

  • How the data is different from what you expected, if relevant

The Lisp file should be loaded without an error message.

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