codestates / codestates/ds-TIL
[TIL] 오예은_201203
- Dominant language
- No language data
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
## Section3 Project Week) day 4
### To-do
- 기능 구현(진행중)
- 블로그 초안 작성
### 에러 리포트
#### 400 Bad request. The browser (or proxy) sent a request that this server could not understand.
- 이 경우는 서버의 flask에서 받아들여야 하는 POST parameter가 없을 때 발생한다. 웹페이지의 form에서 실제로 만들어서 submit하는 name과 value의 조합 중에서, 정작 flask에서 실제로 파싱해야 하는 파라미터의 값이 없는 경우이다.
따라서 웹페이지에서 사용자 입력을 통해서 만들어 보내는 form에서 전송하는 파라미터 이름의 목록과 flask에서 request.form['파라미터_이름']으로 받아들이는 목록이 일치하는지 확인하자.
출처: https://skylit.tistory.com/316
#### tweepy.error.tweeperror: [{'code': 32, 'message': 'could not authenticate you.'}]
- 트위터 API 키값이 잘못되어서 났던 오류. API token, Access token 세트를 다시 발급받아서 넣었더니 해결되었다.
#### TypeError : 'int' object is not subscriptable
- 이중리스트가 아닌데 자꾸 인덱싱해서 값을 내놓으라고 하면 이 오류가 뜬다.
데이터를 불러올 때 데이터타입을 잘 확인하자.
### 느낀 것
- 결국 기능구현을 마치지 못한 채로 리허설에 참여해서 조바심이 났다.
머릿속엔 있는 결과가 손으로 구현하는 데에 시간이 더디게 걸려서 마음이 답답한 것 같다.
그래도 그 답답함 때문에 해결하려고 노력하게 되는 것 같다고 합리화중...
(에러와 여러 번 하이파이브하면서 코딩 중, 그 와중에 만난 에러를 또 만나서 민망한 인사)
- 리허설을 하면서 다른 동기들의 발표를 보니 같은 트위터 앱으로도 다양한 결과물들이 보여서 신기했다.
각자의 강점이 보이는 것도 신기하다. 내 강점은 어떤 것일지, 프로젝트를 몇 번 더 하다보면 나올것 같아 기대된다.
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue is a TIL entry describing Flask form parameters, Tweepy authentication, and a Python TypeError; no source file, test, or entry point is named. Review the repository's TIL contribution format first, then confirm the intended documentation scope and consider the work done only when that scope is explicitly defined and the entry meets the repository's format.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- flask, python
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100