fplll / fpylll

A Python interface for https://github.com/fplll/fplll
GNU General Public License v2.0
118 stars 60 forks source link

RuntimeError: Aborted #226

Open quchangle1 opened 2 years ago

quchangle1 commented 2 years ago

When we run the following code, some errors occur. The code is:

from fpylll import BKZ
          BKZ.EasyParam(5)

Error reported as:

  ---------------------------------------------------------------------------
          RuntimeError                              Traceback (most recent call last)
          <ipython-input-38-202ec960dbb7> in <module>
                1 from fpylll import BKZ
          ----> 2 BKZ.EasyParam(Integer(5))

          src/fpylll/fplll/bkz_param.pyx in fpylll.fplll.bkz_param.BKZEasyParam()

          src/fpylll/fplll/bkz_param.pyx in fpylll.fplll.bkz_param.BKZParam.__init__()

          RuntimeError: Aborted

We want to know how to solve it! QQ图片20220510191546

joerowell commented 2 years ago

I can't reproduce this:

In [1]: from fpylll import BKZ

In [2]: BKZ.EasyParam(5)
Out[2]: <BKZParam(5, flags=0x0020) at 0x7f630ad42040>

Could you give us more details please? What version of fpylll are you using?

quchangle1 commented 2 years ago

I use the 9.4 version of sagemath,and I don't know what to think of fpylll's version.And there is no problem using other functions in fpylll.

joerowell commented 2 years ago

I also can't replicate this inside a SagemathCell, so I'm leaning towards thinking it's an issue on your side.

Maybe @malb has an idea?

quchangle1 commented 2 years ago

I also have no problem running locally, but this problem occurs when running in the server.

quchangle1 commented 2 years ago

@malb

malb commented 2 years ago

I can't reproduce it either, using SageMath 9.4.