Comments (11)
我很想知道你的created_date_time里面是啥 为啥不是文件名而是时间出问题。。
Anyway,试着先在Shell里跑一句
PYTHONENCODING=utf-8 ?
from onedrivecmd.
created_date_time 我木知道啊。。这个是直接pip 安装onedrivecmd的
anyway是什么 怎么跑
from onedrivecmd.
你先运行一下
PYTHONENCODING=utf-8
看看是不是encoding不对?
from onedrivecmd.
PYTHONENCODING=utf-8 无输出 本机好像没设utf-8
from onedrivecmd.
然后再list一下试试?
from onedrivecmd.
我用国内的服务器测试了正常 感觉是服务器系统编码没写的问题
root@ubuntu:~# onedrivecmd list od:/
od:/附件/ 0 2017-10-03T16:08:36.000000Z
od:/test.html 6 2017-10-03T16:10:31.000000Z
感谢回答 这个项目非常不错
from onedrivecmd.
跑一句:
export LC_ALL="en_US.UTF-8"
把服务器设成UTF-8.
from onedrivecmd.
因为我用的是docker的镜相 哪天我重新弄个 现在问题以经找到了就好解决了 就是系统编码的问题 国内速度那是一坑逼 谢谢了
from onedrivecmd.
在Dockerfile里写一句RUN
就行。
from onedrivecmd.
Ensure UTF-8 locale
#COPY locale /etc/default/locale
RUN locale-gen zh_CN.UTF-8 &&
DEBIAN_FRONTEND=noninteractive dpkg-reconfigure locales
RUN locale-gen zh_CN.UTF-8
ENV LANG zh_CN.UTF-8
ENV LANGUAGE zh_CN:zh
ENV LC_ALL zh_CN.UTF-8
EXPOSE 22
CMD ["/usr/sbin/sshd", "-D"]
是不起作用的构建没出错 这个都是小问题 找个国内的镜相去 这问题以经解决了
from onedrivecmd.
Thx for your effort.
from onedrivecmd.
Related Issues (20)
- requirments.txt 是不是应该改为 requirements.txt?
- 405 Not Allowed
- AADSTS90093: The directory object quota limit for the Tenant has been exceeded.
- 365教育版onedrivecmd init_business认证失败 HOT 1
- init_business error HOT 1
- init_bussiness not working, only init
- 在登陆时候报错
- 用Microsoft Azure App获取redirect url
- ubuntu18安装时报错 HOT 1
- onedrivecmd init 时报错 HOT 2
- 求助,win10系统下运行报错 HOT 1
- Business dont work HOT 3
- onedrivecmd is disabled HOT 1
- 不能登录世纪互联网呀 HOT 1
- 安装报错 HOT 1
- 非交互环境如何使用
- 这个项目已经不维护了?
- Error
- Troublesome to run on Python 3.11
- 上传覆盖原文件
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 onedrivecmd.