Code Monkey home page Code Monkey logo

swp1-22's Introduction

20223157 Heo Garim Kookmin Univ. SW

swp1-22's People

Contributors

hgarim avatar

Watchers

 avatar

swp1-22's Issues

그래프 이미지 생성 실패

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

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

소스 코드 디렉토리 생성

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

그래프 생성시, 오류

[현상]
그래프 생성할 수 없다며 기능 동작 실패
[재현 방법]

  1. ssh 접속 시 -Y 옵션을 사용하지 않고 접속
  2. 서버 실행
  3. http:://XXX.YYY.ZZZ.WWW/fig 접속
  4. 값 입력 후, submit
  5. 그래프 이미지 나오지 않음
    [개선 방향]
    ssh -Y 옵션으로 접속하지 않고 서버를 실행하더라도 그래프 생성에 문제 발생하지 않도록
    수정

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.