Comments (4)
@Fearycxy 你贴的堆栈并不全,可否贴下完全的堆栈(return self.resolve()
下面的)?
from okcat.
已经修复,可以使用sudo pip install okcat --upgrade
升级到1.1.0,谢谢。
from okcat.
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.
ok,这个原因是因为你没有提供解析日志用的配置文件,解析的配置文件很简单,可以参考下这里。
可以通过-y=
来提供配置文件:
okcat -y=配置文件名 日志文件路径
这个也确实是BUG,这个将在1.1.1中修复,将这个异常改为一个提示。
from okcat.
Related Issues (11)
- Traceback (most recent call last) HOT 2
- windows error: KeyError: 'HOME' HOT 1
- 多终端连接如何指定具体设备的log HOT 1
- 没有任何输出啊
- 只能运行在linux平台?是否有计划windows版本 HOT 1
- Can I install OkCat under windows ?
- 运行okcat 包名 会出现以下错误 是怎么回事呢? HOT 1
- 是否可以添加指定TAG的消息功能 HOT 1
- Support 'from' keyword to let yml config file extends from exist yml file
- adb connection is lost HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from okcat.