atom-beautify sqlparse中文乱码|Could not find ‘sqlFormat‘ Beautify 0.28.7
1、atom-beautify sqlparse中文乱码
atom-beautify底层调用Python3,故需设置默认编码为UTF-8
解决办法:添加以下系统变量
- 参数:PYTHONIOENCODING
- 值:UTF-8
2、 Could not find ‘sqlformat’. The program may not be installed.
https://github.com/andialbrecht/sqlparse
解决方法:使用文件搜索工具查找sqlformat.exe路径,添加到环境变量中,以下路径供参考:
C:\Users\***\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\Scripts
Could not find 'sqlformat'. The program may not be installed.See sqlformat installation instructions at https://github.com/Glavin001/atom-beautify#beautifiers or go to https://github.com/andialbrecht/sqlparse
Your program is properly installed if running 'where.exe sqlformat' in your CMD prompt returns an absolute path to the executable.
Hide Stack Trace
Error: Could not find 'sqlformat'. The program may not be installed.at Function.Executable.commandNotFoundError (file:///C:/Users/liguangliang/.atom/packages/atom-beautify/src/beautifiers/executable.coffee:277:10)at HybridExecutable.Executable.commandNotFoundError (file:///C:/Users/liguangliang/.atom/packages/atom-beautify/src/beautifiers/executable.coffee:269:18)at file:///C:/Users/liguangliang/.atom/packages/atom-beautify/src/beautifiers/executable.coffee:197:22at tryCatcher (C:\Users\liguangliang\.atom\packages\atom-beautify\node_modules\bluebird\js\release\util.js:16:23)at Promise._settlePromiseFromHandler (C:\Users\liguangliang\.atom\packages\atom-beautify\node_modules\bluebird\js\release\promise.js:547:31)at Promise._settlePromise (C:\Users\liguangliang\.atom\packages\atom-beautify\node_modules\bluebird\js\release\promise.js:604:18)at Promise._settlePromise0 (C:\Users\liguangliang\.atom\packages\atom-beautify\node_modules\bluebird\js\release\promise.js:649:10)at Promise._settlePromises (C:\Users\liguangliang\.atom\packages\atom-beautify\node_modules\bluebird\js\release\promise.js:725:18)at _drainQueueStep (C:\Users\liguangliang\.atom\packages\atom-beautify\node_modules\bluebird\js\release\async.js:93:12)at _drainQueue (C:\Users\liguangliang\.atom\packages\atom-beautify\node_modules\bluebird\js\release\async.js:86:9)at Async._drainQueues (C:\Users\liguangliang\.atom\packages\atom-beautify\node_modules\bluebird\js\release\async.js:102:5)at Async.drainQueues (C:\Users\liguangliang\.atom\packages\atom-beautify\node_modules\bluebird\js\release\async.js:15:14)at processTicksAndRejections (internal/process/task_queue
atom-beautify sqlparse中文乱码|Could not find ‘sqlFormat‘ Beautify 0.28.7相关推荐
- Ubuntu中Atom编辑器显示中文乱码的处理方法
在Ubuntu14.04 64位机上安装Atom,依次在终端输入如下命令: 1. $ sudo add-apt-repository ppa:webupd8team/atom 2. $ sudo ap ...
- linux atom编码设置,Ubuntu中Atom编辑器显示中文乱码的处理方法
在Ubuntu14.04 64位机上安装Atom,依次在终端输入如下命令: 1.$ sudo add-apt-repository ppa:webupd8team/atom 2.$ sudo apt- ...
- jsp form提交到后台中文乱码_2019.6.12 servlet 3.0 和 JSP
一 . servlet 3.0 @webservlet("/***") -- 当前资源的对外访问路径 - 注解对外访问 @webFilter("/*") --- ...
- file:///f:winwwwxml2.php,php simplexml_load_file 中文乱码的解决方法
中文乱码多半是编码导致的我们只要调整一下输出编码即可解决中文乱码问题,下面我们看simplexml_load_file中文乱码解决办法. 在PHP5.0 中,simplexml_load_file() ...
- zabbix 彻底解决图片中文乱码
zabbix 彻底解决图片中文乱码 环境: CentOS 7.2 zabbix-3.0.4 LTS nginx-1.10.0 php-5.6.26 mariadb-10.1.13 请参看zabbix- ...
- linux下java程序乱码,解决linux下java程序(例如applet)中文乱码问题
解决linux下java程序(例如applet)中文乱码问题 平台:Mandriva 2006.0 将Windows下的字体文件simsun.ttc拷贝到/usr/share/fonts/zh_CN, ...
- Python操作kafka实现数据定时推送和获取,并解决中文乱码问题
上篇介绍了kafka环境的搭建以及实现了Python如何简单操作kafka.本篇实现如何定时向kafka推送和接收数据,并解决了中文乱码问题. 设置Producer每隔5秒推送一次数据,Consume ...
- SpringSecurity安全验证中文乱码问题
使用SpringSecurity做安全验证时发现form表单中提交中文名会出现乱码问题. 原因是因为我在web.xml配置文件中将springSecurityFilterChain拦截器放在了 cha ...
- httpclient工具类,post请求发送json字符串参数,中文乱码处理
在使用httpclient发送post请求的时候,接收端中文乱码问题解决. 正文: 我们都知道,一般情况下使用post请求是不会出现中文乱码的.可是在使用httpclient发送post请求报文含中文 ...
- 关于HttpClient上传中文乱码的解决办法
使用过HttpClient的人都知道可以通过addTextBody方法来添加要上传的文本信息,但是,如果要上传中文的话,或还有中文名称的文件会出现乱码的问题,解决办法其实很简单: 第一步:设置Mult ...
最新文章
- sqlmap 相关参数
- Coursera机器学习笔记(一) - 监督学习vs无监督学习
- Qt维基文档翻译:D-指针,D-Pointer
- 吴恩达深度学习之一《神经网络和深度学习》学习笔记
- 最新37网游JS逆向分析
- 谈一下“男”字“,女”字,怎样解析?
- android语音识别服务,使用语音服务 API 的语音识别 - Xamarin | Microsoft Docs
- MySql常用语句汇总
- 《图书管理系统》需求分析
- 域控制器组策略:域用户加入域,默认加入本地管理员组
- 安卓前端车牌识别技术
- 男性软件测试师容易找到女朋友吗?
- catkin build 工作空间锁定 —— [build] Error: Unable to find source space `/home/xxx/src`
- 加拿大大西洋雇主担保移民 这个项目好申请吗?
- AppStore隐私政策网址(URL)
- 新生儿肚脐清洗小窍门
- leetcode_263:丑数(丑数II)
- 剑指Offer(29)顺时针打印矩阵
- Nature综述:肠道菌群如何划分肠型
- 深度学习刷SOTA有哪些trick?
热门文章
- android studio logcat 字体,android studio - 修改logcat颜色字体
- 第46届EC-Final总结
- 从零开始写一个Jison解析器(7/10):解析器生成器 `parser generator` 的迭代式开发流程
- 雷声大雨点小:Bakkt「见光死」了吗?
- 周集中团队Nature子刊中网络图布局的R语言可视化复现
- AI-语音处理理论与应用-语音处理简介
- 05_dither(抖动)
- CPU 和 GPU - 异构计算的演进与发展
- android studio图形验证码,android 一行代码,快速实现图片验证码(附android studio 版小demo)...
- 从0.1开始学Python——[24]