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

TypeError: 'function' object is not subscriptable when running example #537

Closed
diro5t opened this issue Apr 22, 2024 · 4 comments
Closed
Assignees
Labels
question Further information is requested

Comments

@diro5t
Copy link

diro5t commented Apr 22, 2024

Hi,

when I try to run the following example, I get this error:

image

Am I doing sth. wrong?

Thanks

@SamWitty
Copy link
Collaborator

Thanks for your interest in ChiRho!

I believe this error is because of incompatible versions of Pyro 1.9.0 and ChiRho 0.2.0, which has been addressed in master at 90675c0 but hasn't made its way into a release. Could you please share which versions of Pyro and ChiRho you're using? If Pyro > 1.8.6, downgrading to 1.8.6 should fix the issue.

@SamWitty SamWitty added the question Further information is requested label Apr 22, 2024
@SamWitty SamWitty self-assigned this Apr 22, 2024
@diro5t
Copy link
Author

diro5t commented Apr 22, 2024

Thanks for letting me know. Are updates planned, which are compatible with Pyro 1.9.0?

@SamWitty
Copy link
Collaborator

SamWitty commented Apr 22, 2024

Yes, we'll be releasing another version soon that is compatible with Pyro 1.9.0. See #521 and #527.

Did my suggestion of downgrading Pyro to 1.8.6 work?

@diro5t
Copy link
Author

diro5t commented Apr 22, 2024

Hi Sam, yep thanks - worked like a charm!

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

No branches or pull requests

2 participants