Comments (13)
Hi @zmz-zzzzz . Could you provide the following information:
- QQ version,
- QQ-MHT2HTML version.
Unfortunately the app doesn't export any log file. I may release a separated version for debugging later. Please wait.
from qq-mht2html.
Open #2 PR for the fix.
from qq-mht2html.
Hi @zmz-zzzzz , could you try the version below for the same input file? I've added some try-catch so that the line stukced should be skipped handling. If you don't mind could you please attach your log regarding to the problematic line here in this issue? Thank you.
https://github.com/gyakkun/qq-mht2html/releases/tag/v1.2.2
from qq-mht2html.
Sorry for letting you wait! Version info below:
QQ 9.7.1.28934
qq-mht2html 1.2.1.0
I tried the latest release just now. It didn't stop but the count of conversations seems wrong.
I use regex .*消息对象:(.*?)</div>
then found 71 "消息对象:" but only 48 html files extracted.
Btw, didn't see log
folder in C:\Program Files\QQ Mht2html
. 🤷♂️
from qq-mht2html.
Could it be emoji reason?
Some conversations' title contain special emoji but Windows path may not support these characters.
For example, this conversation is not in output html files.
from qq-mht2html.
Hi @zmz-zzzzz , in terms of the absence of log file, have you re-run the program using the 1.2.2 version? Or could you launch the 1.2.2 version and just click start without setting any file location to see if any log files are generated? The location of logging file may vary across different environments of machines. The tool Everything may help. You can search qq-mht2html.log
for the log file.
Emoji in title should be supported. My Windows version is 21H2 LTSC (19044.2486). May I know your Windows version?
from qq-mht2html.
Yes, I installed version 1.2.2-alpha and I have re-run it.
I clicked "start" button but Everything didn't found qq-mht2html.log
.
OS version : Windows 10 Home 22H2 19045.2486
from qq-mht2html.
Hi @zmz-zzzzz , the log doesn't show up due to lack of write permission to C:\Program Files
. You can install it in D:\Program Files
or other disc or you can run it with Administrator permission.
from qq-mht2html.
@gyakkun Hi.
Got the log!
qq-mht2html.log
What about setting log folder to %APPDATA%
?
from qq-mht2html.
@gyakkun Hi. Got the log! qq-mht2html.log
What about setting log folder to
%APPDATA%
?
Hi @zmz-zzzzz . Judging from the log, it should be illegal character in filename or filename over maximum length in Windows. I do have some handling for filename sanitization but seems not adequate (https://github.com/gyakkun/qq-mht2html/blob/master/src/jvmMain/kotlin/Mht2Html.kt#L321-L327).
If you don't mind, could you provide some group / contact titles following the "消息对象" regex above that have no output html files? Along with the html output folder location, see if I can reproduce. Thank you.
from qq-mht2html.
Hi @gyakkun
Titles are in this file.
match_lines.txt
from qq-mht2html.
Hi @zmz-zzzzz . There're some control characters (0x11, "DC1") at line 47 of the txt file you provide. Have fixed it with a more strict sanitization for these special characters. Could you please check the latest version and see if it stucks again or lacks any files? Thank you very much for your support.
https://github.com/gyakkun/qq-mht2html/releases/tag/v1.2.3
from qq-mht2html.
Hi @gyakkun . I tried the latest version. It didn't stuck and all conversations were extracted correctly.
Thank you for developping such useful tool. It helps a lot!
from qq-mht2html.
Related Issues (1)
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 qq-mht2html.