You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is something wrong when Saving / Reloading ciphertexts in Windows10 Python3. Full error message:
======================================================================
ERROR: test_Pyfhel_5d_save_restore_batch (__main__.PyfhelTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Pyfhel\Pyfhel.pyx", line 390, in Pyfhel.Pyfhel.Pyfhel.decryptBatch
RuntimeError: <Pyfhel ERROR> wrong encoding typein PyCtxt
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "..\Pyfhel\test.py", line 424, in test_Pyfhel_5d_save_restore_batch
self.assertEqual(pyfhel.decryptBatch(loaded)[:4], [1, 2, 3, 4])
SystemError: <method 'decryptBatch' of 'Pyfhel.Pyfhel.Pyfhel' objects> returned a result with an error set
======================================================================
ERROR: test_Pyfhel_5d_save_restore_float (__main__.PyfhelTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Pyfhel\Pyfhel.pyx", line 366, in Pyfhel.Pyfhel.Pyfhel.decryptFrac
RuntimeError: <Pyfhel ERROR> wrong encoding typein PyCtxt
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "..\Pyfhel\test.py", line 408, in test_Pyfhel_5d_save_restore_float
self.assertEqual(pyfhel.decryptFrac(loaded), 3.125)
SystemError: <method 'decryptFrac' of 'Pyfhel.Pyfhel.Pyfhel' objects> returned a result with an error set
======================================================================
ERROR: test_Pyfhel_5d_save_restore_int (__main__.PyfhelTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Pyfhel\Pyfhel.pyx", line 343, in Pyfhel.Pyfhel.Pyfhel.decryptInt
RuntimeError: <Pyfhel ERROR> wrong encoding typein PyCtxt
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "..\Pyfhel\test.py", line 392, in test_Pyfhel_5d_save_restore_int
self.assertEqual(pyfhel.decryptInt(loaded), 42)
SystemError: <method 'decryptInt' of 'Pyfhel.Pyfhel.Pyfhel' objects> returned a result with an error set
======================================================================
FAIL: test_Pyfhel_5c_save_restore_all (__main__.PyfhelTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "..\Pyfhel\test.py", line 375, in test_Pyfhel_5c_save_restore_all
pyfhel2.decryptInt(ctxt_restored), 42, "decrypting ciphertext should work"
The text was updated successfully, but these errors were encountered:
There is something wrong when Saving / Reloading ciphertexts in Windows10 Python3. Full error message:
The text was updated successfully, but these errors were encountered: