Xiaoguang Sun

Results 8 comments of Xiaoguang Sun

我使用的es是7.9.2,下载源码后,修改build.gradle,plugin-descriptor.properties文件对应的版本后执行gradle pz,报如下错误 * What went wrong: Could not determine the dependencies of task ':pz'. > Could not resolve all task dependencies for configuration ':distJars'. > Could not resolve project :jieba-analysis....

> > 还有7.6.2的版本么? > > 这个改一下版本号,自己打包即可。 你那边打包正常吗,我这边打包报错如下: Downloading https://services.gradle.org/distributions/gradle-4.4.1-bin.zip Exception in thread "main" java.net.ConnectException: Connection timed out (Connection timed out)

> 网络得问题,想想办法 孙晓光 ***@***.***> 于2021年4月8日周四 上午8:47写道: > […](#) > 还有7.6.2的版本么? 这个改一下版本号,自己打包即可。 你那边打包正常吗,我这边打包报错如下: Downloading https://services.gradle.org/distributions/gradle-4.4.1-bin.zip Exception in thread "main" java.net.ConnectException: Connection timed out (Connection timed out) — You are receiving this...

``` # write_task def write_task(task_name): """测试任务,写文件""" try: with open(os.path.join(static_path, f'{task_name}.txt'), mode='a') as f: f.write(datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')) f.write('\n') except Exception as e: print(e) ``` ``` # schedule拷贝您的代码 from apscheduler.jobstores.mongodb import MongoDBJobStore from...

假如我想单独测试apscheduer,跟在不在fastapi项目没有关系吧。因为我这个测试文件,我也引入scheduler执行init_scheduler了 还有一个问题就是能知道某个任务的执行状态吗

> 可以的 > > ```python > import jieba > jieba.set_dictionary("Mydict.txt") > ``` 这样我试了不行啊,假如我自定义了词典库mydict,我想让分词出来的结果只包含mydict 词典中的单词, jieba.set_dictionary("Mydict.txt")这种方式是不行的,你那边可以吗

> > > 可以的 > > > ```python > > > import jieba > > > jieba.set_dictionary("Mydict.txt") > > > ``` > > > > > > 这样我试了不行啊,假如我自定义了词典库mydict,我想让分词出来的结果只包含mydict 词典中的单词, jieba.set_dictionary("Mydict.txt")这种方式是不行的,你那边可以吗...

> could you try upgrade clickhouse-sqlalchemy to 0.1.8 and check again? Sorry, I wrote wrong, I used clickhouse-sqlalchem==0.1.9, there is this problem