WechatExporter icon indicating copy to clipboard operation
WechatExporter copied to clipboard

打开HTML后是一片空白

Open KevinY001 opened this issue 4 years ago • 10 comments

您好,为什么导出的HTML格式文件,打开后是一片空白呢?我也尝试了用PDF导出,依旧是空白的,也尝试了导出不同的微信记录,打开HTML还是空白

KevinY001 avatar Dec 15 '21 04:12 KevinY001

是1.9.0.2版本吗?日志有提示什么错误信息吗?

BlueMatthew avatar Dec 15 '21 05:12 BlueMatthew

是1.9.0.2版本吗?日志有提示什么错误信息吗?

是1.9.0.2版本,日志没有提示错误信息,但HTTP的状态显示400和404,不知道为什么,截了图给你麻烦帮忙看下

Screenshot 2021-12-15 175047

KevinY001 avatar Dec 15 '21 09:12 KevinY001

另外我用多个浏览器都试了,还是不行

KevinY001 avatar Dec 15 '21 09:12 KevinY001

和浏览器应该没有关系。你是直接双击exe运行的 还是建了快捷方式?

今天发现有个bug,查找当前路径使用的api不合理。直接双击exe应该没有问题。 路径有什么特别的吗?

Best regards, Matthew

在 2021年12月15日,17:55,KevinY001 @.***> 写道:



另外我用多个浏览器都试了,还是不行

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FBlueMatthew%2FWechatExporter%2Fissues%2F49%23issuecomment-994598056&data=04%7C01%7C%7Ca8a6fc15c6ad4738999708d9bfb10e72%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637751589440026905%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=M0zjJj2r75LxagaeC2FnjTcHdpp8j9vzvmDS6V1Ong4%3D&reserved=0, or unsubscribehttps://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAI6VD2CO5NPVEDWEQPR4O2TURBQZ3ANCNFSM5KCUC5GQ&data=04%7C01%7C%7Ca8a6fc15c6ad4738999708d9bfb10e72%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637751589440036877%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=NvXOAdm2r%2FwAckGvSV%2Fopv0iq5uxjlgbfO48DP5xLt0%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7C%7Ca8a6fc15c6ad4738999708d9bfb10e72%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637751589440036877%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=U0GHZSTrPunsbhzp69kSDEABVkBEyPN5jka9tk7Yf9Q%3D&reserved=0 or Androidhttps://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7C%7Ca8a6fc15c6ad4738999708d9bfb10e72%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637751589440046860%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=8gQKxt4H82Zi%2FZvK3Pl3yAFMppPYdxKnI2EpLQsWZcM%3D&reserved=0.

BlueMatthew avatar Dec 15 '21 09:12 BlueMatthew

我是直接解压缩,然后双击exe运行的

KevinY001 avatar Dec 15 '21 10:12 KevinY001

我是直接解压缩,然后双击exe运行的

下面的版本,我增加了一个日志,如果模版加载出错,你试试看呢。

issue49.zip

BlueMatthew avatar Dec 15 '21 13:12 BlueMatthew

下面的版本,我增加了一个日志,如果模版加载出错,你试试看呢。

issue49.zip

谢谢。但我试了下还是不行,打开HTML还是一片空白

Screenshot 2021-12-15 223157

KevinY001 avatar Dec 15 '21 14:12 KevinY001

导出的html用文本编辑器打开看看呢,是不是空文件?

BlueMatthew avatar Dec 15 '21 14:12 BlueMatthew

导出的html用文本编辑器打开看看呢,是不是空文件?

我用记事本以及notepad++打开了都是空文件,HTML文件的大小只有0KB

Screenshot 2021-12-16 085519

KevinY001 avatar Dec 16 '21 01:12 KevinY001

这就怪了,解压之后的res\templates子目录下应该有很多html文件,都存在,并且文件size不是0吧,类似下图

image

我再弄个更详细的日志的版本,看看是什么问题吧。

BlueMatthew avatar Dec 16 '21 02:12 BlueMatthew