python - Flask 出现 RPI ValueError : timestamp out of range for platform time_t

标签 python raspberry-pi

我希望我的 Flask 服务器在 RPI 启动时运行。当它启动时,脚本正常运行,但是当我访问该站点时,它收到一个 ValueError: timestamp out of range for platform time_t 错误。这很奇怪,因为如果我手动运行它,只有当 RPI 在启动时自动启动它时,我不会收到此错误。 enter image description here

最佳答案

哈哈,问题实际上是我没有清除 chrome 上的浏览​​数据。这就是问题所在。

关于python - Flask 出现 RPI ValueError : timestamp out of range for platform time_t,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54845184/

相关文章:

python - 创建亚马逊 lambda 函数时出现服务错误

docker - 如何解决 Raspberry Pi 上的 Gradle docker 图像卡住问题并发出有关单调时钟的警告?

python - 记录数据并同时检查条件的最有效方法?

python - 为什么我的长时间运行的 python 脚本在运行大约 3 天后崩溃了 "invalid pointer"?

python - 列出目录中的类 (Python)

python - 类实例作为静态属性

python - 如何在Python中返回文本文件中的下一行

python - RS485 Modbus-RTU 设备给出的错误是什么

c# - Mono 上的 DateTime 行为异常

python - 将程序安装到树莓派