Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] import jionlp 时候会默认创建/.jionlp_logs文件夹,报permission denied #183

Open
y111x opened this issue Jan 30, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@y111x
Copy link

y111x commented Jan 30, 2024

描述(Description)

描述你遇到了什么问题(Please describe your issue here)
import jionlp 时候会默认创建/.jionlp_logs文件夹,报permission denied

  1. 版本(Version):
  • python 版本: python3.6
  • jionlp 版本: 1.5.6
  1. jionlp的调用代码与输入文本(Code & Text):
import jionlp as jio
  1. 调用报错日志如下(Log):
permission denied :'/.jionkp-logs'

期望行为(Expectation)

若返回结果不理想,描述你期望发生的事情(Please describe your expectation)
部分公司应用权限管理比较严格,会导致import时候创建日志文件夹失败,建议是否能源码去掉创建文件夹,由用户去判断是否创建日志文件夹。

@y111x y111x added the bug Something isn't working label Jan 30, 2024
@dongrixinyu
Copy link
Owner

也可以,我不提供日志服务

@ViCrack
Copy link

ViCrack commented Mar 12, 2024

这个运行次数一多jiojio_logs文件夹会写入一堆的无用的txt,而且这个多进程的时候还容易冲突。。。建议作者默认场景下日志不要写入文件

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants