terminate called after throwing an instance of 'std::out_of_range'

Issue #62 resolved
louetme created an issue

Hello,

When I try to run a simple volume calculation on the command line I encountered the same error, whatever parameters I give to Epock. Here is the error I get :

terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::substr: __pos (which is 30) > this->size() (which is 26) Aborted (core dumped)

Epock only creates an empty file called volume.dat

The command I'm running is :

epock -s struct.pdb -c epock.ini

I've enclosed to this message the two files (struct.pdb and epock.ini). I'm using the already compiled executable I found on the bitbucket platform.

When I use exactly the same files with the VMD plugin, it works fine.

My running environment is a linux Ubuntu 16.04 distribution with the 4.4.0-83-generic kernel. Am I wrongly using Epock or is it due to an Epock internal error?

Thanks in advance.

Maxime Louet

Comments (6)

  1. Benoist LAURENT

    Hi,

    It seems that there is a bug in the binary available in the download section. I will correct it ASAP.

    In the meantime, you can download the sources and compile it.

    Cheers, Benoist

  2. louetme reporter

    Epock works fine when I compiled it again from scratch. Thanks for the advice.

    Cheers,

    Maxime

  3. Benoist LAURENT

    I've just uploaded a new version of epock-1.0.3-Linux-x86_64.tar.gz (did nothing but compile it again).

    From my point of view it work but if you're in the mood of testing it again, please let me know the result.

    Thanks again for reporting this issue.

  4. Log in to comment