묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결React로 NodeBird SNS 만들기
onsubmitForm이 작동은 안합니다ㅠㅠ
https://github.com/MollyKim/Molly/tree/master/ReactNodeBird/front 여기 제 깃 주소입니다ㅠㅠ 도와주세여ㅠㅠ
-
해결됨구성 관리 자동화 도구 - 앤서블(Ansible)
vm 양방향 authorized_keys 와 known_hosts 등록 질문입니다.
강의 잘 보고 있습니다. 감사합니다. 그런데 강의해주신대로 해서 server -> node 로 단방향은 ssh 접속이 잘 되는데요.. node -> server 도 ssh 접속이 그냥 되도록 authorized_keys 와 known_hosts 등록되는 방법이 있을까요? 양방향으로 node <-> server 되도록 authorized_keys 와 known_hosts 등록하는 앤서블 스크립트를 작성하는 방법이 궁금합니다... 감사합니다.
-
해결됨Vue.js 중급 강좌 - 웹앱 제작으로 배워보는 Vue.js, ES6, Vuex
권한 요청보냈습니다.
권한 요청했습니다. 혹시나 싶어 여기에도 남깁니다.감사합니다.
-
미해결Davinci Resolve (다빈치 리졸브) V15의 입문
교안 파일이 안열립니다
교안을 다운로드 받았는데[HD]Davinci Resolve (다빈치 리졸브) V15의 입문 Part3.zip - 이 파일은 분할 ZIP 파일이지만 다른 분할 파일(.z01, .z02..)이 없으므로 파일을 열 수 없습니다.
-
Vue.js 중급 강좌 - 웹앱 제작으로 배워보는 Vue.js, ES6, Vuex
리스트 내에 이름이 안 보입니다.
삭제된 글입니다
-
미해결it 취업을 위한 알고리즘 문제풀이 입문 (with C/C++) : 코딩테스트 대비
질문있습니다.
좀 이상한 질문이긴한데... check함수를 미로찾기에서는 2차원배열로 쓰고 경로탐색에서는 1차원배열로 쓰셨는데...이게 1차원으로 해야하는지 2차원으로 해야하는지 어떻게 알수 있는방법이있을까요?
-
미해결대세는 쿠버네티스 (초급~중급편)
블루그린 배포시엔 다플로이먼트를 이용하지 않는 이유
블루그린 배포시엔 디플로이먼트를 이용하지 않는 이유가 따로 있나요?
-
미해결파이썬 사용자를 위한 웹개발 입문 A to Z Django + Bootstrap
영상에서 나온대로 따라하다 오류가 생겼습니다.
영상 7분 보시면 views.py 에 이렇게 쓰셔서 매개변수가 2개 있고 urls.py에 urlpatterns에는 매개 변수가 없는 함수를 호출하도록 작성하셨습니다. 저는 실행결과가 타입에러로 이렇게 나와 urlpattern에 2개의 파라메터를 작성해달라고 되어있는데 즉 urls.py의 views.post_detail(여기에 무엇을 두개 써야 정상 작동 할까요?) 뒤부분에서 더욱 쉬운 방법인 as_view쓰는 방법도 알려주셨지만 이 방법도 배우고 싶습니다. 저번에 views.index는 매개변수 넘기는게 없었는데 pk라는게 생겨서 어떻게 써야할지 모르겠습니다. 예제로 하나 보여주시면 감사하겠습니다~!
-
해결됨[리뉴얼] 파이썬입문과 크롤링기초 부트캠프 [파이썬, 웹, 데이터 이해 기본까지] (업데이트)
크롤링 관련하여 soup.find 차이점, error 질문
import requests from bs4 import BeautifulSoup res = requests.get('https://news.v.daum.net/v/20170615203441266') soup = BeautifulSoup(res.content, 'html.parser') mydata1 = soup.find('p', attrs={'dmcf-pid':"nzh7QZekII", 'dmcf-ptype':'general'}) print(mydata1.get_text()) mydata2 = soup.find('p', dmcf-pid='nzh7QZekII', dmcf-ptype='general' ) ---------------------------------------------------------------------------------------- error : File "<ipython-input-40-9918cd039826>", line 10 mydata2 = soup.find('p', dmcf-pid='nzh7QZekII', dmcf-ptype='general' ) ^ SyntaxError: keyword can't be an expression ---------------------------------------------------------------------------------------- 안녕하세요 강사님 다름이아니라 위 코드내용에서 mydata1 처럼 attrs={ } 형식에서는 err가 나진않지만 mydata2 는 error 를 발생합니다 두개의 차이점에대해서 혹시 어떤부분을 놓치고 있는 걸까요?
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기
fileFilter가 정상적으로 작동되지 않는것 같습니다.
영상에서는 diskStorage 함수 내부에 fileFilter 함수를 작성하여 파일 확장자에 따라 오류 처리를 하도록 했는데 안되는 것 같아요. 구글링해보니 multer 함수 내부에 fileFilter 함수를 정의해야한다고합니다. 궁금해서 찾아봤습니다. ... const multerFilter = (req, file, cb) => { const ext = path.extname(file.originalname); // 동영상이 아닌 경우 에러 발생 if (ext !== ".mp4") { return cb(new Error("only mp4 is allwoed!")); } // 동영상 파일 cb(null, true); }; const upload = multer({ storage: storage, fileFilter: multerFilter }).single("file");
-
미해결지금 당장 성과내기, 페이스북 퍼포먼스 마케팅 실습
비지니스 관리자 2개 이상 가능한가요?
안녕하세요 유성민 대표님, 유익한 강의 잘 듣고 있습니다. 페이스북 광고 입문자라 기초 질문 드리는데요! 제 개인 계정이 현재 재직 중인 회사 비지니스 관리자로 등록이 되어 있습니다. 그래서 본 강의 실습을 위해 비지니스 관리자 메뉴로 들어가면 회사 관련 광고 계정이 떠요ㅠㅠ 제 개인(?) 비지니스 관리자를 추가로 만들고 싶은데 가능할까요? 감사합니다.
-
미해결Node.js - Express
sanitizeHtml을 쓰면....
var sanitizeHtml = require('sanitize-html'); 을 쓰면 바로 module not found가 나와버려요..... 해결해주시면 감사하겠습니다!!
-
미해결자바 ORM 표준 JPA 프로그래밍 - 기본편
안녕하세요. Insert bulk 연산의 동시성에 대해 궁금한 점이 있습니다.
멀티 쓰레드를 통해 Batch Insert를 수행하고 있습니다. batch 사이즈를 30으로 설정하였고 table에는 중복 insert를 막기 위해 unique key 설정을 했습니다. 비지니스 로직에서도 중복을 막기위해 unique key를 쿼리메소드를 통해 조회(id를 통한 조회 x)하며 enttiy가 존재하면 entitiy 값을 update하고 없으면 save하고 있습니다. batch를 위해 saveAll을 사용하고 있습니다. 쿼리메소드를 통해 조회를 해도 duplicate entry error가 발생하고 있습니다. 궁극적으로 multi thread에서 동일한 unique key값으로 동시에 insert가 발생하는걸로 보입니다. 동일한 transaction이 아닌 곳에서 duplicate entry error가 발생하지 않기 위해 어떻게 해야할까요? transcation isolation level READ UNCOMMITTED, 2차 캐시 등 찾아봐서 확인해봤는데 어떻게 해결해야할지 막막합니다. 답변 달아주시면 감사하겠습니다~~!!!
-
미해결파이썬 무료 강의 (기본편) - 6시간 뒤면 나도 개발자
pylint 설치하는법
이 강좌를 보기 전에 Linter pylint is not installed창에서 do not show again을 눌러버려서 저 창이 안뜨는데 어떻게하면 설치할 수 있을까요?
-
해결됨파이썬 무료 강의 (기본편) - 6시간 뒤면 나도 개발자
스타그래프트 관련 질문 드립니다.
저는 탱크 공격력이 *= 2 연산이 안되고 35.0으로 출력이 됩니다. 왜 저는 연산이 안되고 실수로 출력이 될까요
-
우리를 위한 프로그래밍 : 파이썬 중급 (Inflearn Original)
atom-python-test package 관련 질문입니다
삭제된 글입니다
-
미해결Flutter 초급 - Http통신, 상태관리
BehaviorSubject를 쓰면 오류가 발생합니다.
I/flutter (30325): 213123123 E/flutter (30325): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: NoSuchMethodError: The getter 'length' was called on null. E/flutter (30325): Receiver: null E/flutter (30325): Tried calling: length E/flutter (30325): #0 Object.noSuchMethod (dart:core-patch/object_patch.dart:53:5) Stream<String> get centerResult => _centerSubject.stream; 이런식으로 쓴 부분에서 게터 부분이 자꾸 오류가 발생하는거 같은데 아무리 찾아봐도 방법이 없어 문의드립니다. 플루터 자체 구조적인 문제라고 봐야되나요?
-
미해결실전! Querydsl
DTO 변환 질문입니다.
User라는 entity에서 AuthorityDTO라는 클래스로 변환을 하려고 하는 데 에러가 나서 원인을 혹시 아시나요? bean, fields, constructor 전부 같은 에러가 나네요. org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type [com.illunex.invest.user.persistence.entity.User] to type [com.illunex.invest.api.core.user.dto.AuthorityDTO] public List<AuthorityDTO> findByCompanyIdx(Long companyIdx) { QUser user = QUser.user; return queryFactory.select(Projections.bean(AuthorityDTO.class , user.id , user.username , user.name , user.authorities , user.profileImg , user.companyIdx)) .from(user) .where(user.companyIdx.eq(companyIdx)) .fetch(); } @NoArgsConstructor @AllArgsConstructor @Getter @Setter public class AuthorityDTO { private Long id; private String username; private String name; //private Set<RoleDTO> authorities = new HashSet<>(); private String profileImg; private Long companyIdx; } @Entity @Table(name = "user" , indexes = { @Index(name = "IDX_USERNAME", unique = true, columnList = "username"), @Index(name = "IDX_COMPANY_IDX", columnList = "companyIdx") }) @NoArgsConstructor @AllArgsConstructor @Getter @Setter @Builder public class User implements UserInterface { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(nullable = false, updatable = false) private Long id; @Column(nullable = false, unique = true) private String username; @Column(nullable = false) private String password; private String name; @ManyToMany(cascade=CascadeType.ALL) @JoinTable(name = "user_role", joinColumns = @JoinColumn(name = "user_id"), inverseJoinColumns = @JoinColumn(name = "role_id")) private Set<Role> authorities = new HashSet<>(); private String profileImg; private String vender; private Long companyIdx; private Boolean certification = false; private String token; @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.DETACH, mappedBy = "user") private List<Signature> signatures = new ArrayList<>(); public static User createUser(String username, String password, String name, String vender, String token, Long companyIdx) { return getUserBuilder(username, password, name, vender, token, companyIdx) .authorities(Role.initRoles()) .build(); } public static User createCompanyAdminUser(String username, String password, String name, String vender, String token, Long companyIdx) { return getUserBuilder(username, password, name, vender, token, companyIdx) .authorities(Role.companyAdminRoles()) .build(); } private static UserBuilder getUserBuilder(String username, String password, String name, String vender, String token, Long companyIdx) { return User.builder() .username(username) .password(encodePassword(password)) .name(name) .vender(vender) .certification(false) .token(token) .companyIdx(companyIdx); } public static String encodePassword(String password) { BCryptPasswordEncoder encoder = new BCryptPasswordEncoder(); return encoder.encode(password); } public static boolean matchPassword(String prePassword, String inputPassword) { BCryptPasswordEncoder encoder = new BCryptPasswordEncoder(); return encoder.matches(inputPassword, prePassword); } @Override public Collection<Role> getAuthorities() { return authorities; } @Override public boolean isAccountNonExpired() { return true; } @Override public boolean isAccountNonLocked() { return true; } @Override public boolean isCredentialsNonExpired() { return true; } @Override public boolean isEnabled() { return true; } }
-
미해결파이썬 사용자를 위한 웹개발 입문 A to Z Django + Bootstrap
Post 오류창
A server error occurred. Please contact the administrator. def __str__(self): return '{} :: {}'.format(self, self.title, self.author)이 줄들을 입력하고 cmder 열어서 python manage.py runserver 한 뒤,창을 열고 Post 를 열어보면흰 바탕화면에 A server error occurred. Please contact the administrator. 달랑 이 문구만 나옵니다....그리고 cmder을 확인해보면C:\github\django_my_website (master -> origin) (venv) λ python manage.py runserver Watching for file changes with StatReloader Performing system checks... System check identified no issues (0 silenced). March 19, 2020 - 15:01:28 Django version 2.2, using settings 'my_site_prj.settings' Starting development server at http://127.0.0.1:8000/ Quit the server with CTRL-BREAK. [19/Mar/2020 15:01:30] "GET /admin/blog/ HTTP/1.1" 200 2410 Traceback (most recent call last): File "C:\github\django_my_website\venv\lib\site-packages\django\db\models\options.py", line 565, in get_field return self.fields_map[field_name] KeyError: '__str__' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\github\django_my_website\venv\lib\site-packages\django\contrib\admin\utils.py", line 262, in lookup_field f = _get_non_gfk_field(opts, name) File "C:\github\django_my_website\venv\lib\site-packages\django\contrib\admin\utils.py", line 293, in _get_non_gfk_field field = opts.get_field(name) File "C:\github\django_my_website\venv\lib\site-packages\django\db\models\options.py", line 567, in get_field raise FieldDoesNotExist("%s has no field named '%s'" % (self.object_name, field_name)) django.core.exceptions.FieldDoesNotExist: Post has no field named '__str__' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 34, in inner response = get_response(request) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\base.py", line 145, in _get_response response = self.process_exception_by_middleware(e, request) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\base.py", line 143, in _get_response response = response.render() File "C:\github\django_my_website\venv\lib\site-packages\django\template\response.py", line 106, in render self.content = self.rendered_content File "C:\github\django_my_website\venv\lib\site-packages\django\template\response.py", line 83, in rendered_content content = template.render(context, self._request) File "C:\github\django_my_website\venv\lib\site-packages\django\template\backends\django.py", line 61, in render return self.template.render(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\base.py", line 171, in render return self._render(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\base.py", line 163, in _render return self.nodelist.render(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\base.py", line 937, in render bit = node.render_annotated(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\base.py", line 904, in render_annotated return self.render(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\loader_tags.py", line 150, in render return compiled_parent._render(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\base.py", line 163, in _render return self.nodelist.render(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\base.py", line 937, in render bit = node.render_annotated(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\base.py", line 904, in render_annotated return self.render(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\loader_tags.py", line 150, in render return compiled_parent._render(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\base.py", line 163, in _render return self.nodelist.render(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\base.py", line 937, in render bit = node.render_annotated(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\base.py", line 904, in render_annotated return self.render(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\loader_tags.py", line 62, in render result = block.nodelist.render(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\base.py", line 937, in render bit = node.render_annotated(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\base.py", line 904, in render_annotated return self.render(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\loader_tags.py", line 62, in render result = block.nodelist.render(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\base.py", line 937, in render bit = node.render_annotated(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\base.py", line 904, in render_annotated return self.render(context) File "C:\github\django_my_website\venv\lib\site-packages\django\contrib\admin\templatetags\base.py", line 33, in render return super().render(context) File "C:\github\django_my_website\venv\lib\site-packages\django\template\library.py", line 214, in render _dict = self.func(*resolved_args, **resolved_kwargs) File "C:\github\django_my_website\venv\lib\site-packages\django\contrib\admin\templatetags\admin_list.py", line 339, in result_list 'results': list(results(cl)), File "C:\github\django_my_website\venv\lib\site-packages\django\contrib\admin\templatetags\admin_list.py", line 315, in results yield ResultList(None, items_for_result(cl, res, None)) File "C:\github\django_my_website\venv\lib\site-packages\django\contrib\admin\templatetags\admin_list.py", line 306, in __init__ super().__init__(*items) File "C:\github\django_my_website\venv\lib\site-packages\django\contrib\admin\templatetags\admin_list.py", line 229, in items_for_result f, attr, value = lookup_field(field_name, result, cl.model_admin) File "C:\github\django_my_website\venv\lib\site-packages\django\contrib\admin\utils.py", line 275, in lookup_field value = attr() File "C:\github\django_my_website\blog\models.py", line 14, in __str__ return '{} :: {}'.format(self, self.title, self.author) File "C:\github\django_my_website\blog\models.py", line 14, in __str__ return '{} :: {}'.format(self, self.title, self.author) File "C:\github\django_my_website\blog\models.py", line 14, in __str__ return '{} :: {}'.format(self, self.title, self.author) [Previous line repeated 230 more times] RecursionError: maximum recursion depth exceeded During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 34, in inner response = get_response(request) File "C:\github\django_my_website\venv\lib\site-packages\django\utils\deprecation.py", line 94, in __call__ response = response or self.get_response(request) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 36, in inner response = response_for_exception(request, exc) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 90, in response_for_exception response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 125, in handle_uncaught_exception return debug.technical_500_response(request, *exc_info) File "C:\github\django_my_website\venv\lib\site-packages\django\views\debug.py", line 94, in technical_500_response html = reporter.get_traceback_html() File "C:\github\django_my_website\venv\lib\site-packages\django\views\debug.py", line 332, in get_traceback_html t = DEBUG_ENGINE.from_string(fh.read()) UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 9735: illegal multibyte sequence During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 34, in inner response = get_response(request) File "C:\github\django_my_website\venv\lib\site-packages\django\utils\deprecation.py", line 94, in __call__ response = response or self.get_response(request) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 36, in inner response = response_for_exception(request, exc) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 90, in response_for_exception response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 125, in handle_uncaught_exception return debug.technical_500_response(request, *exc_info) File "C:\github\django_my_website\venv\lib\site-packages\django\views\debug.py", line 94, in technical_500_response html = reporter.get_traceback_html() File "C:\github\django_my_website\venv\lib\site-packages\django\views\debug.py", line 332, in get_traceback_html t = DEBUG_ENGINE.from_string(fh.read()) UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 9735: illegal multibyte sequence During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 34, in inner response = get_response(request) File "C:\github\django_my_website\venv\lib\site-packages\django\utils\deprecation.py", line 94, in __call__ response = response or self.get_response(request) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 36, in inner response = response_for_exception(request, exc) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 90, in response_for_exception response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 125, in handle_uncaught_exception return debug.technical_500_response(request, *exc_info) File "C:\github\django_my_website\venv\lib\site-packages\django\views\debug.py", line 94, in technical_500_response html = reporter.get_traceback_html() File "C:\github\django_my_website\venv\lib\site-packages\django\views\debug.py", line 332, in get_traceback_html t = DEBUG_ENGINE.from_string(fh.read()) UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 9735: illegal multibyte sequence During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 34, in inner response = get_response(request) File "C:\github\django_my_website\venv\lib\site-packages\django\utils\deprecation.py", line 94, in __call__ response = response or self.get_response(request) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 36, in inner response = response_for_exception(request, exc) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 90, in response_for_exception response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 125, in handle_uncaught_exception return debug.technical_500_response(request, *exc_info) File "C:\github\django_my_website\venv\lib\site-packages\django\views\debug.py", line 94, in technical_500_response html = reporter.get_traceback_html() File "C:\github\django_my_website\venv\lib\site-packages\django\views\debug.py", line 332, in get_traceback_html t = DEBUG_ENGINE.from_string(fh.read()) UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 9735: illegal multibyte sequence During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 34, in inner response = get_response(request) File "C:\github\django_my_website\venv\lib\site-packages\django\utils\deprecation.py", line 94, in __call__ response = response or self.get_response(request) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 36, in inner response = response_for_exception(request, exc) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 90, in response_for_exception response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 125, in handle_uncaught_exception return debug.technical_500_response(request, *exc_info) File "C:\github\django_my_website\venv\lib\site-packages\django\views\debug.py", line 94, in technical_500_response html = reporter.get_traceback_html() File "C:\github\django_my_website\venv\lib\site-packages\django\views\debug.py", line 332, in get_traceback_html t = DEBUG_ENGINE.from_string(fh.read()) UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 9735: illegal multibyte sequence During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 34, in inner response = get_response(request) File "C:\github\django_my_website\venv\lib\site-packages\django\utils\deprecation.py", line 94, in __call__ response = response or self.get_response(request) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 36, in inner response = response_for_exception(request, exc) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 90, in response_for_exception response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 125, in handle_uncaught_exception return debug.technical_500_response(request, *exc_info) File "C:\github\django_my_website\venv\lib\site-packages\django\views\debug.py", line 94, in technical_500_response html = reporter.get_traceback_html() File "C:\github\django_my_website\venv\lib\site-packages\django\views\debug.py", line 332, in get_traceback_html t = DEBUG_ENGINE.from_string(fh.read()) UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 9735: illegal multibyte sequence During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 34, in inner response = get_response(request) File "C:\github\django_my_website\venv\lib\site-packages\django\utils\deprecation.py", line 94, in __call__ response = response or self.get_response(request) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 36, in inner response = response_for_exception(request, exc) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 90, in response_for_exception response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 125, in handle_uncaught_exception return debug.technical_500_response(request, *exc_info) File "C:\github\django_my_website\venv\lib\site-packages\django\views\debug.py", line 94, in technical_500_response html = reporter.get_traceback_html() File "C:\github\django_my_website\venv\lib\site-packages\django\views\debug.py", line 332, in get_traceback_html t = DEBUG_ENGINE.from_string(fh.read()) UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 9735: illegal multibyte sequence During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Lee Ji Hyun\anaconda3\lib\wsgiref\handlers.py", line 137, in run self.result = application(self.environ, self.start_response) File "C:\github\django_my_website\venv\lib\site-packages\django\contrib\staticfiles\handlers.py", line 65, in __call__ return self.application(environ, start_response) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\wsgi.py", line 141, in __call__ response = self.get_response(request) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\base.py", line 75, in get_response response = self._middleware_chain(request) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 36, in inner response = response_for_exception(request, exc) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 90, in response_for_exception response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) File "C:\github\django_my_website\venv\lib\site-packages\django\core\handlers\exception.py", line 125, in handle_uncaught_exception return debug.technical_500_response(request, *exc_info) File "C:\github\django_my_website\venv\lib\site-packages\django\views\debug.py", line 94, in technical_500_response html = reporter.get_traceback_html() File "C:\github\django_my_website\venv\lib\site-packages\django\views\debug.py", line 332, in get_traceback_html t = DEBUG_ENGINE.from_string(fh.read()) UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 9735: illegal multibyte sequence [19/Mar/2020 15:01:33] "GET /admin/blog/post/ HTTP/1.1" 500 59너무 길어서 멘붕이 되는데 무슨 소린지 모르겠어서 끝 줄 오류부분 UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 9735: illegal multibyte sequence 이것만 검색해서 찾아봤더니debug.py 에서 비어있던 open method에서 encoding = "utf-8" 도 기입했고 span 은 고칠게 따로 없었고 그랬습니다..뭐가 잘못된 것일까요,,,ㅕ
-
미해결DANO 영양교육 프로그램
그럼 아침을 꼭 먹을필요는 없나요?
입맛이 없거나 먹고나서 속이 별로라면 굳이 아침을 챙기지않아도 괜찮을까요? 강의 내용중에 체질에 따라서 아침이 필수는 아니라고한건지, 아침에 탄수화물이 필수가 아니라고한건지 헷깔려요 ㅠㅠ!