-
-
Notifications
You must be signed in to change notification settings - Fork 556
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debugger invoked when run fails #153
Comments
It's not supposed to be happening that way, but I see that I might be missing some error handling in fact. Could you please type in |
Here you go:
|
Ok it seems to be quite a simple error I made when refactoring the image hooks. Can you build from source to confirm that the bug is fixed? I think it warrant a 3.2.1 release already, so I will schedule that for this week when I have your confirmation that the bug is fixed. |
Thanks Dimitri for the fix. I just cloned the repo and tried make; but haven't had success although this time it was the build itself (sorry I'm not quite familiar with the build environment):
Is this invocation of the debugger normal? |
In the middle of the build output we see the connection failure, that makes it all fail. Try again with network attached?
|
The virtual machine DOES have network attached. Is it possible that:
may be caused by a proxy sitting between my box and whatever it is trying to connect to? |
To use a proxy, edit the Makefile as shown in the example you found... Other than that, you can use a build machine with direct connection then sync the binary over, it's self-contained. |
Ok, making some change as you suggested in the Makefile, things seem to proceed only to stop and invoke debugger with stack looking like:
The same libsybdb.so related failure.
Does the previous commit miss something? By the way, I did following to the Makefile:
|
Yeah freetds-devel is an hard dependency for building pgloader, sorry I should have mentioned that. It's only optional when using the artefact binary. Your |
And then I got hit by the SBCL 1.0.38 related issue with:
I'm on CentOS 6, :( |
SBCL 1.0.38 is so old that no SBCL maintainer I've heard of would consider working on it. Please install a more recent one on the build machine, consider a local static binary as from http://prdownloads.sourceforge.net/sbcl/sbcl-1.2.7-x86-64-linux-binary.tar.bz2 (from http://sbcl.org/platform-table.html). |
Travis is unhappy about the spelling of the command, so let's not try to be cleverer here and accept a runaway line here. See #153 too.
Sweet, deploying SBCL 1.2.7 binary made it work for me. By the way, I had to turn off the compress option:
|
Yeah, or recompile sbcl from source as described in the INSTALL.md file... do you also confirm the bugfix is effective? |
Yes, all the problems I reported in this issue have been fixed thanks to your commits up to the point that I can now run pgloader, 👍 |
Awesome, thanks for confirming! |
I installed pgloader from PGDG repository, and this annoying debugger appears. It says |
@hron84 which version are you using? Normally it's fixed now, you might need to use the current tree version for that tho. I'm thinking of cutting a release “soon”, but I'm not there yet. |
Hit the same error today, using postgresql96 from pgdg repository. system in question is fully updated 64b scientific linux 7.4 with
|
@dimitri you can check yourself which pgloader is contained in PGDG repository, but IIRC it was https://apt.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7.6-x86_64/pgloader-3.4.1-1.rhel7.x86_64.rpm (I already changed job so I have no longer access to the affected system). This version is may be outdated. The problem is I often use restricted environments where discouraged or disallowed to install stuffs from a targz binary, especially in production environment. Mostly the only thing I can and would do is install an RPM/DEB package because these stuffs keep managed by the platform's own package manager, however, there is enough task to not have enough time to make an RPM/DEB package from every single stuff. I recommend you to check https://packagecloud.io/ that supports both popular platforms, and provides a repository for them. The only thing you need is make a proper RPM Spec / DEB packaging scripts and build a package from your stuff. Also be sure you do not include unnecessary dependencies. |
I installed pgloader from the latest 3.2.0 rpm. Then the following:
It seems (sbcl) debugger was invoked upon not finding libsybdb.so or something like that. It remains in interactive mode until I enter (sb-ext:quit), which is something I found on Googling. I also saw where I got that little trick is that sbcl can be invoked in --non-interactive mode. Maybe that should be the default as this's possibly surprising behavior. Not sure if it applies here though.
Thoughts?
The text was updated successfully, but these errors were encountered: