관리 메뉴

Silver Library (Archived)

Django - debug note (2) SMTP? < Unicode?? 본문

Personal DB/Unclassified record

Django - debug note (2) SMTP? < Unicode??

Chesed Kim 2021. 1. 14. 11:36
반응형

1. Encountered Unicode error.

2. Panic...and returned to the trackback page (jango).

What can be the problem? And got some hint from somebody...

ourcstory.tistory.com/39

 

[Python] UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-3: ordinal not in range(128)

들어가며 파이썬으로 구현을 하다보면 한번씩은 겪는 UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-3: ordinal not in range(128) 파이썬은 기본적으로 unicode를 사용한다. 그렇기..

ourcstory.tistory.com

I tried to investigate the location for website.text(...). It was nothing!

 

Solution:

So that 'Korean word' is the one I should edit now.

 

Note:

When on earth did I input that in Korean? I guess that one must be autogenerated somehow...

AND FOUND IT.

Verdict:

1. This error is due to this Korean word. Must be auto-generated because of the existing account name in Korean (PC).

2. (Option 1. - risk). Delete that .zcompdump-'Korean'-5.4.2 file.

3. (Option 2. - leave it for now). I chose this for now...

 

Consequence:

At least everything works as usual EXCEPT Signup page redirection to its main page.

Sign up(account registration), works with that logged in account, it all works flawlessly.

 

Unsolved issue:

Page redirection error due to Unicode error.

 

Future plan (my satisfaction 3/5):

Use Windows with English, or consider ubuntu OS.

 

Attempted again.

Changed Korean name local account to English(via windows control panel). Does not change the condition.

Opened the folder. The file name with Korean word still exists.

Mailgun webpage has some trouble to verify my mobile phone (their error message: internal error) to pass its verification step after registration.

 

Already spent almost more than a day. Recommended to move on to the next learning path.

Come back here after finishing all of them.

 

Possible solution URL.

ourcstory.tistory.com/39

 

[Python] UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-3: ordinal not in range(128)

들어가며 파이썬으로 구현을 하다보면 한번씩은 겪는 UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-3: ordinal not in range(128) 파이썬은 기본적으로 unicode를 사용한다. 그렇기..

ourcstory.tistory.com

developer0809.tistory.com/19

 

[#Python Django] 장고 유니코드 디코드 에러, UnicodeDecodeError: 'utf-8' codec can't decode byte

Django로 만들어둔 웹에서 한글을 적으니 갑자기 UnicodeDecodeError가 발생하기 시작했다 먼저 두 가지 방법을 시도해봤다 ① django version 바꾸기, 업그레이드 해보기(현재 Django==3.0.4) -> 실패 ② techni..

developer0809.tistory.com

kis6473.tistory.com/38

 

[django]python manage.py runserver 오류 해결법

cmd에서 python manage.py runserver을 쳤더니 아래와 같은 오류가 났다. UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc0 in position 0: invalid start byte 해결법1 python manage.py runserver 0:..

kis6473.tistory.com

etc.

stackoverflow.com/questions/38572974/vs-code-search-for-text-in-all-files-in-a-directory

'Personal DB > Unclassified record' 카테고리의 다른 글

Django - Unsolved error (solved)  (0) 2021.01.20
[Django] How to test something - user's viewpoint  (0) 2021.01.19
django - cleaned_data  (0) 2021.01.12
Django - all about URL  (0) 2021.01.12
jango - render  (0) 2021.01.05