GithubHelp home page GithubHelp logo

swp's Introduction

jang sumi 20193216 Kookmin UNIV. SOFTWARE local-commit

swp's People

Contributors

jangsumi avatar

Watchers

 avatar

swp's Issues

소스 코드 디렉토리 생성 #2

[문제점]
소스 코드와 다른 파일들이 섞여 있어과 분리하여 관리가 어려움
[개선 방안]
src 부디렉토리를 생성하고 소스 코드를 src 디렉토리로 이동하여 다른 파일들과 분리함

ssh –Y 옵션없이 접속해도 그래프 생성되게 #1

[현상]
ssh –Y 옵션이 없으면 그래프 생성 불가
[재현 방법]

ssh 접속 시 -Y 옵션을 사용하지 않고 접속
서버 실행
http:://XXX.YYY.ZZZ.WWW:8051 접속
값 입력 후, submit
그래프 이미지 나오지 않고 에러 발생
[해결 방안]
ssh -Y 옵션으로 접속하지 않고 서버를 실행하더라도 그래프 생성에 문제 발생하지 않도록
(

[SWP1-3/graph.py](https://github.com/kmu-jhan/SWP1-3/blob/1c479a449cc043cac41f098a7c36976af9aa7f91/graph.py#L2)

Line 2 in [1c479a4](https://github.com/kmu-jhan/SWP1-3/commit/1c479a449cc043cac41f098a7c36976af9aa7f91)

 from template import html 
) line 앞에 다음 코드를 추가

import matplotlib as mpl
mpl.use('Agg')

그래프 이미지 생성 실패 #3

[현상]
소스 디렉토리 이동으로 인해 이미지 저장하기/불러오기 경로가 달라져 그래프 이미지를 생성/호출하지 못함
[재현 방법]

ssh 접속
서버 실행
http:://XXX.YYY.ZZZ.WWW:8051 접속
값 입력 후, submit
서버에서 다음과 같은 graph.png 파일 입출력 에러 발생:
IOError: [Errno 2] No such file or directory: 'img/graph.png'
[개선 방향]
소스 코드 이동을 반영한 이미지 파일 경로를 지정할 수 있도록 graph.py 소스 코드를
수정
[로그 확인 결과, 실제 문제가 발생하는 코드]
입력 오류 라인:
출력 오류 라인:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.