question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

@BossGrand I have a similar issue, it errors out this `graphql.error.located_error.GraphQLLocatedError: 'ImageFieldFile' object has no attribute 'decode'`

See original GitHub issue

@BossGrand I have a similar issue, it errors out this graphql.error.located_error.GraphQLLocatedError: 'ImageFieldFile' object has no attribute 'decode'

_Originally posted by @horiyomi in https://github.com/graphql-python/graphene-django/issues/769#issuecomment-560012948_

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
horiyomicommented, Jun 10, 2020

It works now, i had a typo. Thanks

1reaction
udemezue01commented, Jan 23, 2020

class ProfileType(DjangoObjectType): class Meta: model = Profile extra_field = graphene.String() def resolve_extra_field(self, info): return info.context.build_absolute_uri(self.profile.url)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Developers - @BossGrand I have a similar issue, it errors out this ...
BossGrand I have a similar issue, it errors out this `graphql.error.located_error.GraphQLLocatedError: 'ImageFieldFile' object has no attribute 'decode'`
Read more >
Django error "'ImageFieldFile' object has no attribute 'replace'"
The problem happens when I try to display my views. I am not even making a reference to the image in base.html. My...
Read more >
django error "'imagefieldfile' object has no attribute 'replace'"
I have a Project MODEL, that takes an image. anycodings_django I added the model to my admin page, and I anycodings_django created an...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found