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

Exception accessing a numpy inside a persistent StorageObj #318

Open
yolandab opened this issue Mar 27, 2020 · 0 comments
Open

Exception accessing a numpy inside a persistent StorageObj #318

yolandab opened this issue Mar 27, 2020 · 0 comments
Labels

Comments

@yolandab
Copy link
Collaborator

Accessing an numpy attribute inside a persistent StorageObj fails. The following code throws an exception

class myclass(StorageObj);
 '''
@ClassField myattr numpy.ndarray
'''
o=myclass("name")
x=np.ones(4)
o.myattr=x
print(o.myattr)

The message of the exception is:
TypeError: unsupported operand type(s) for //: 'int' and 'NoneType'

@yolandab yolandab added the bug label Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant