Giter Site home page Giter Site logo

运行有问题,会闪退 about jdseckill HOT 4 CLOSED

abeelan avatar abeelan commented on August 28, 2024
运行有问题,会闪退

from jdseckill.

Comments (4)

abeelan avatar abeelan commented on August 28, 2024

具体的报错信息有吗?

from jdseckill.

lanming-pan avatar lanming-pan commented on August 28, 2024

File"F: jdseckill-main Nmain
line 1. in <module
g
File "F: \idseckill-main\logger. py", line 32, in <module
)
File " F: \ijaseckill-main \logger. py, line 27. in set
Lename
D, interval=1, backupCount=5, encoding=utf-8
File D: \python\lib\logging \handlers. py, line 199. in -init
encoding, delay)
File D: \python 37\lib\logging \handlers. py, line 54. in
pigging. FileHandler__<self, filename. mode, encoding, delay)
Le "D: \python 37\lib\logg
line 1041, infinit
Streamhand
n()
py, line 1070. in _open
turn open (self. base Filename, self mode, encoding=selfencoding>
FileNotFoundError: [Errno 2] No such file or directory: F:\jdseckill-main \\log
Soutput

from jdseckill.

angelshadow avatar angelshadow commented on August 28, 2024

File"F: jdseckill-main Nmain
line 1. in <module
g
File "F: \idseckill-main\logger. py", line 32, in <module
)
File " F: \ijaseckill-main \logger. py, line 27. in set
Lename
D, interval=1, backupCount=5, encoding=utf-8
File D: \python\lib\logging \handlers. py, line 199. in -init
encoding, delay)
File D: \python 37\lib\logging \handlers. py, line 54. in
pigging. FileHandler__<self, filename. mode, encoding, delay)
Le "D: \python 37\lib\logg
line 1041, infinit
Streamhand
n()
py, line 1070. in _open
turn open (self. base Filename, self mode, encoding=selfencoding>
FileNotFoundError: [Errno 2] No such file or directory: F:\jdseckill-main \log
Soutput

没有log目录,自己建一个就OK了

from jdseckill.

abeelan avatar abeelan commented on August 28, 2024

这个目录判断没有会自动创建,我在 mac 系统上没有出现问题,windows 没有机器测试。
2.1 日起,京东关闭 web 抢购通道。所以这个问题也不用兼容了,原地解散~

from jdseckill.

Related Issues (12)

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.