- 博客(14)
- 收藏
- 关注
原创 DeprecationWarning: PY_SSIZE_T_CLEAN will be required for ‘#‘ formats
Crypto日志提示(非异常)位置:self._cipher.encrypt(plaintext)消息:DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
2022-08-09 12:58:48
2399
2
原创 odoo15 异常系列
ValueError: Function has keyword-only parameters or annotations, use getfullargspec() API which can support them
2022-08-07 09:29:06
434
原创 odoo异常:Expected singleton: res.users()
添加with_user(即可)#如下列这一条报错:task.message_post(body = "消息")#改成以下这样:from odoo import SUPERUSER_IDtask.with_user(SUPERUSER_ID).message_post(body = "")
2022-05-23 10:32:04
497
原创 关于odoo12中所遇到的Element odoo has extra content: data, line 3
查询你的视图xml文件中是否出现未知属性,
2019-12-11 13:32:50
2091
原创 关于odoo12启动报错 'gbk' codec can't decode byte 0x80 in position 33: illegal multibyte sequence问题
解决方式:项目路径\odoo\tools\config.py中547行p.read([self.rcfile])改成p.read([self.rcfile],“utf-8”)
2019-12-07 21:08:16
483
原创 Error resolving template [], template might not exist or might not be accessible by any
打包后运行访问 报错: Error resolving template [/html/index], template might not exist or might not be accessible by any of the configured Template Resolvers把return “/html/tab/log_tables”改成 return “html/tab/...
2019-11-10 09:25:41
240
原创 mybatis-plins 使用insert方法添加报错argument type mismatch(参数类型不匹配)
报错:argument type mismatch解决方法:自增的id要在实体类主键上增加了一个@TableId(type = IdType.AUTO)
2019-10-19 09:53:47
1820
原创 (HttpMessageNotReadableException)注解@RequestBody不能和@GetMapping一起使用
1.如果前端传过来的是一个实体,那么我们需要注解@RequestBody,一点要注意这个注解不能和@GetMapping一起用,而是要搭配@PostMapping解决办法:使用@RequestParam在把数据处理成对象...
2019-10-09 12:04:57
492
原创 反射实例子类不能使用继承父类的方法
反射踩坑:反射实例子类不能使用继承父类的方法参考:https://www.jianshu.com/p/34b636d47152
2019-10-09 00:24:29
629
原创 Docker安装配置Elasticsearch(Head ik)
一、ElasticSearch是什么?Elasticsearch也使用Java开发并使用Lucene作为其核心来实现所有索引和搜索的功能,但是它的目的是通过简单的RESTful API来隐藏Lucene的复杂性,从而让全文搜索变得简单。不过,Elasticsearch不仅仅是Lucene和全文搜索,我们还能这样去描述它:分布式的实时文件存储,每个字段都被索引并可被搜索分布式的实时分析搜索...
2019-09-02 13:51:55
123
原创 springboot返回枚举值只返回了枚举的名字的问题
在枚举上面加上@JsonFormat(shape = JsonFormat.Shape.OBJECT)这个注解即可答案出处:https://segmentfault.com/a/1190000019879423
2019-08-05 10:44:11
2123
1
原创 OpenEvent("Global\ngx_reload_16928") failed (2: The system cannot find the file specified)
使用 nginx -s reload的时候,报错: OpenEvent(“Global\ngx_reload_16928”) failed (2: The system cannot find the file specified)原因: nginx没启动解决方法:start nginx...
2019-07-31 20:17:19
3693
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人