Quantcast

Meu site esta com problema com decode messagem erro AttributeError at str object has no atribute 'decode' sera alguem pode me ajudar?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Meu site esta com problema com decode messagem erro AttributeError at str object has no atribute 'decode' sera alguem pode me ajudar?

Marcio Shochi
  1. erro AttributeError at   str object has no atribute  'decode' sera alguem pode me ajudar?


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/68146ddd-8fb7-4854-89cf-7d617b9dcd00%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Captura de tela de 2017-04-18 08:00:02.png (175K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Meu site esta com problema com decode messagem erro AttributeError at str object has no atribute 'decode' sera alguem pode me ajudar?

Camilo Torres
Hi,
You have not pasted enough information for me to know the error. You can paste the entire stack trace (as text, no need for a screen shot), or even better, if you have access to the server logs (django logs), you can see the entire stack trace there. You can also paste the relevant code if you need more help.
  • http://www.wikihow.com/Ask-a-Question-Intelligently
  • https://support.microsoft.com/en-us/help/555375/suggestions-for-asking-a-question-on-help-forums
For now, I can only recommend you to watch at line 68 of file .../web_server_moip.py, your error is being detected there. You are using a 'decode' attribute of some variable, but that variable contains a str object (string text), and do not have such 'decode' property. The problem is probably because you are expecting another type of object like bytes or bytearray.

On Tuesday, April 18, 2017 at 8:11:38 AM UTC-4, Marcio Shochi wrote:
  1. erro AttributeError at   str object has no atribute  'decode' sera alguem pode me ajudar?


<a href="https://lh3.googleusercontent.com/-z61KEoZsvUU/WPXy_VPpXdI/AAAAAAAAEHc/Dw82xMM3lFM0WY_HBZtkUqBW48c6bQLcQCLcB/s1600/Captura%2Bde%2Btela%2Bde%2B2017-04-18%2B08%253A00%253A02.png" style="clear:left;margin-bottom:1em;float:left;margin-right:1em" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://lh3.googleusercontent.com/-z61KEoZsvUU/WPXy_VPpXdI/AAAAAAAAEHc/Dw82xMM3lFM0WY_HBZtkUqBW48c6bQLcQCLcB/s1600/Captura%2Bde%2Btela%2Bde%2B2017-04-18%2B08%253A00%253A02.png&#39;;return true;" onclick="this.href=&#39;https://lh3.googleusercontent.com/-z61KEoZsvUU/WPXy_VPpXdI/AAAAAAAAEHc/Dw82xMM3lFM0WY_HBZtkUqBW48c6bQLcQCLcB/s1600/Captura%2Bde%2Btela%2Bde%2B2017-04-18%2B08%253A00%253A02.png&#39;;return true;">

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/09559516-cbfa-4a07-a0c2-68abd70ca294%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...