Skip to content
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

Test error #8

Closed
kination opened this issue Jul 6, 2017 · 4 comments
Closed

Test error #8

kination opened this issue Jul 6, 2017 · 4 comments

Comments

@kination
Copy link

kination commented Jul 6, 2017

I found some error while on test.

Traceback (most recent call last):
  File "/Users/kwangin/workspace/github_source/NoDB/tests/tests.py", line 56, in test_nodb
    nodb._deserialize(serialized)
  File "/Users/kwangin/workspace/github_source/NoDB/nodb/__init__.py", line 170, in _deserialize
    return_me['obj'] = pickle.loads(base64.b64decode(des_obj))
  File "/Users/kwangin/.pyenv/versions/3.5.1/lib/python3.5/base64.py", line 90, in b64decode
    return binascii.a2b_base64(s)
binascii.Error: Incorrect padding

It looks like known one because it has been commented as #python 3 in decoding line.
Is it right?

@Miserlou
Copy link
Owner

Miserlou commented Jul 6, 2017

NoDB doesn't support Python3 right now, but if you want add support and send a PR, I'd gladly merge it!

@kination
Copy link
Author

kination commented Jul 6, 2017

@Miserlou Okay! Is this test works well in python 2?

@Miserlou
Copy link
Owner

Miserlou commented Jul 6, 2017

Yeah, it should all work fine on 2.7. NoDB was designed for AWS Lambda before it supported 36, so 36 support needs to be added to NoDB now.

@kination
Copy link
Author

kination commented Jul 6, 2017

@Miserlou Okay. I'm looking on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants