做了一个上传excel表格的功能,老是报这个错误,这个错误找了大半天了,最后的解决方式也很简单

expected 512 bytes将读取您的前512个字节,Inputstream并在没有足够的字节读取时抛出异常。认为您的文件不够大,无法被POI阅读。”

可以修改一下excel格式或者把xls改成xlsx都行,
 亲测有效!!!

Unable to read entire header; 80 bytes read; expected 512 bytes相关推荐

  1. FileUploadException: Header section has more than 10240 bytes (maybe it is not properly terminated)]

    通过zuul网关文件上传报错: 2020-10-19 16:29:01.976 ERROR 8 --- [nio-9090-exec-6] o.a.c.c.C.[.[.[/].[dispatcherS ...

  2. TypeError: expected str, bytes or os.PathLike object, not int(解决方法)

    在使用 pip 安装软件时,报错如下 $ pip install numpy Exception: Traceback (most recent call last):   File "/u ...

  3. TypeError: expected str, bytes or os.PathLike object, not module

    TypeError: expected str, bytes or os.PathLike object, not module 目录 TypeError: expected str, bytes o ...

  4. pip安装库包遇到错误:TypeError: expected str, bytes or os.PathLike object, not int 的解决方法

    1 问题描述 1.在安装python3的库包时候,遇到和os模块相关的错误:TypeError: expected str, bytes or os.PathLike object, not int, ...

  5. PyQt:成功解决Exception quot;unhandled TypeErrorquot; expected str, bytes or os.PathLike object, no

    PyQt:成功解决Exception "unhandled TypeError" expected str, bytes or os.PathLike object, no 目录 ...

  6. python bytes转换为string_Python3 中 bytes 和 string 之间的互相转换

    Table of Contents Python3 最重要的新特性大概要算是对文本(text)和二进制数据(binary data)作了更为清晰的区分.文本总是 Unicode,由 str 类型表示. ...

  7. Django 遇到的错误:expected str, bytes or os.PathLike object, not _io.TextIOWrapper

    1.由于在开发一个导出pdf的功能,在之前已经写过一篇所遇到的错误记录文档,文章链接如下:https://blog.csdn.net/u012561176/article/details/836552 ...

  8. 解决HuggingFace加载预训练模型时报错TypeError: expected str, bytes or os.PathLike object, not NoneType

    完整报错: TypeError: expected str, bytes or os.PathLike object, not NoneType 解决方法 检查下载的组件: 步骤1:完整的下载组件,包 ...

  9. Invalid header signature; read 0x3C0A0D0A0DBFBBEF, expected 0xE11AB1A1E011CFD0

    读取word文档报错 错误信息 Invalid header signature; read 0x3C0A0D0A0DBFBBEF, expected 0xE11AB1A1E011CFD0 priva ...

  10. ChunkedEncodingError: ('Connection broken: IncompleteRead(0 bytes read)', IncompleteRead(0 bytes rea

    python2使用requests发生报错 环境:服务端使用的是IIS 报错:ChunkedEncodingError: ('Connection broken: IncompleteRead(0 b ...

最新文章

  1. python是什么编程教程-Python 从不懂到入门
  2. spring对JDBC的支持
  3. PHPStorm IDE 快捷键
  4. java中三种转string的方法_java中int,char,string三种类型的相互转换
  5. Python编程从入门到实践~异常
  6. 中国女性灭菌装置行业市场供需与战略研究报告
  7. 微软Bing翻译API的使用
  8. 机器人开发--技术路线简介
  9. 究竟是谁弄脏了我们的世界
  10. 如何去除html的flash,去除网站Flash动画效果,提升seo优化友好度
  11. ARM体系结构与编程
  12. matlab求解线性规划问题的实例代码,matlab 求解线性规划问题
  13. 老式计算机如何设置u盘启动,老主板电脑没有USB-HDD如何设置从U盘启动装系统
  14. 《下终南山过斛斯山人宿置酒》 作者:李白
  15. 基于A*算法的迷宫游戏
  16. RAR Extractor - The Unarchiver Pro for mac(解压缩软件)
  17. 盘点适合入门学习的C/C++开源项目
  18. sfsfdgsdfg
  19. 初露锋芒的AI战斗机,打开AI军备竞赛的潘多拉盒子
  20. golang 读取Response Body 超时问题

热门文章

  1. word如何给多张图片批量添加边框
  2. jsp自定义标签 线程安全
  3. for while循环练习
  4. git创建本地ssh密匙
  5. python --离线识别图片中文字(easyocr)
  6. android微信摇一摇(抽奖)
  7. 【工具封装】不用 for 循环, 教你如何向MySQL数据库批量插入数据
  8. 高中计算机试讲教案模板,15分钟试讲教案模板.doc
  9. 利用python合并csv文件
  10. 2021-2025年中国DNA基因芯片行业市场供需与战略研究报告