Code Monkey home page Code Monkey logo

Comments (4)

Jacksgong avatar Jacksgong commented on August 15, 2024

@Fearycxy 你贴的堆栈并不全,可否贴下完全的堆栈(return self.resolve()下面的)?

from okcat.

Jacksgong avatar Jacksgong commented on August 15, 2024

已经修复,可以使用sudo pip install okcat --upgrade 升级到1.1.0,谢谢。

from okcat.

Fearycxy avatar Fearycxy commented on August 15, 2024

Traceback (most recent call last):
File "/usr/local/bin/okcat", line 11, in
load_entry_point('OkCat==1.1.0', 'console_scripts', 'okcat')()
File "/usr/local/lib/python3.5/dist-packages/okcat/init.py", line 99, in main
parser.setup(args.yml)
File "/usr/local/lib/python3.5/dist-packages/okcat/logfile_parser.py", line 43, in setup
loader.load(get_conf_path(yml_file_name))
File "/usr/local/lib/python3.5/dist-packages/okcat/helper.py", line 50, in get_conf_path
if not conf_name.endswith('.yml'):
AttributeError: 'NoneType' object has no attribute 'endswith'
还是不行诶。。大神再看看?
我就okcat接一个log

from okcat.

Jacksgong avatar Jacksgong commented on August 15, 2024

ok,这个原因是因为你没有提供解析日志用的配置文件,解析的配置文件很简单,可以参考下这里

可以通过-y=来提供配置文件:

okcat -y=配置文件名 日志文件路径

这个也确实是BUG,这个将在1.1.1中修复,将这个异常改为一个提示。

from okcat.

Related Issues (11)

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.