Code Monkey home page Code Monkey logo

wechatexporter's Introduction

WeChatExporter

2020年10月23日:

这个项目从创建到现在已经三年了,最开始只是为了自己备份聊天记录查看用。后来到现在越来越多的人开始star这个项目,到目前已经近600个star了。fork也近100个。 说实话这个项目我做得还有非常多不完善的地方。比如消息类别显示的并不全面,不支持Windows与安卓等等。然后对于新手来说操作也不是特别的方便。 这些问题我也是非常想解决掉,但无奈时间和精力不允许,项目基本处于放弃状态。 等我有时间,闲下来了,可能会继续把这个项目完善一下。 当然,开源最伟大的精神就是互相合作。这个项目非常需要大家的PR。 可能大家提的issue我无力解答,但是PR我一定会第一时间查看并回复。

以上。

===

A software to export wechat records, which you can review your chattings on your computer.
If there is any non-Chinese user trying to use this software, open an issue let me know, I will add an English version.

===

微信聊天记录导出工具。无需越狱手机,即可导出备份微信聊天记录。目前支持文字、语音、图片、视频的查看。 项目基于nodejs实现,框架采用angularjs

目前支持导出iOS系统导出,软件运行仅限MacOS系统。(其实安卓和Windows系统也能用,只是现在懒得适配多平台)

使用方法:

一、准备工作

Step1:数据导出: 首先需要将微信聊天数据进行导出。目前只支持iOS系统,如果你用的是安卓机,可以尝试将聊天记录迁移到iPad上,再导出。

按照下图使用iTunes备份整机数据,注意不要选择给iPhone备份加密

image

使用第三方软件导出微信备份数据,这里使用的是iMazing。导出Documents文件夹即可。

image

Step2:安装nodejs 下载地址:https://nodejs.org

Step3:安装nwjs 下载地址:https://dl.nwjs.io

二、运行软件

Step1:下载项目 git clone https://github.com/tsycnh/WeChatExporter

Step2: cd path/to/WeChatExporter

Step3: cd development

Step4: npm install

Step5: 编译sqlite3.

  1. 安装Xcode(AppStore 直接安装)
  2. sudo npm install -g node-gyp
  3. npm install sqlite3 --build-from-source --runtime=node-webkit --target_arch=x64 --target=0.40.1 --python=/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 --registry=https://registry.npm.taobao.org

注意事项:

  • 【必须】target_arch参数为ia32或x64 ,分别对应32位或64位的nwjs
  • 【必须】target参数为你所用的nwjs版本
  • 【可选】Python为自定义的路径,必须为2.7版本。默认可不指定此参数。
  • 【可选】Registry为国内镜像节点,下载不顺可尝试添加此参数
  1. 如果出现
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance  

则是未安装Xcode或Xcode相关设置问题造成的。

安装之。安装完之后在终端输入

sudo xcodebuild -license

按[space]全部读完后输入agree

回到第3.步

如仍无法解决,可参考此:https://stackoverflow.com/questions/17980759/xcode-select-active-developer-directory-error/40819686#40819686

  1. 编译完成后会在如下目录出现已编译好的文件。 Path/to/WeChatExporter/development/node_modules/sqlite3/lib/binding/node-webkit-v0.40.1-darwin-x64/node_sqlite3.node 用的nwjs版本不同,生成的文件也不一样。

*懒人看这↓*
如果你用库版本为以下之一:
nodejs==8.11.3 nwjs==0.32.1
nodejs==10.16.3 nwjs==0.40.1

我已经将编译好的node_sqlite3.node文件放在了development/framework之下,将对应版本的文件夹拷贝到Path/to/WeChatExporter/development/node_modules/sqlite3/lib/binding/即可

Step6: /path/to/nw/nwjs.app/Contents/MacOS/nwjs .

即可运行导出工具。

三、使用软件

工具由两部分组成:

1.解析并导出数据

2.直接查看聊天内容


Step1: 点击开始原始数据分析按钮,然进入分析模式

Step2: 左上角显示的是在当前手机上登陆过的微信帐号,点击任意一个将在左下角显示和你聊过天的朋友,默认只显示聊天消息总数超过100的朋友(或群聊)。

Step3:点击左下角任意一聊天对象,会在右侧显示10条最近的聊天记录,以做确认之用。

Step4:这时右上角会显示某某与某某的聊天记录红色字符,点击下一步。

image

Step5:填写数据导出目录,日期区间可以控制导出聊天记录的时间范围,默认不填表示全部导出。然后点击开始生成数据。生成结束后会得到一个文件夹,即path/to/output 里面存放了所有需要的信息。至此Documents目录已经没有用了,可以删除。

image

Step6:点击左上角为微信备份回到主页点击显示聊天记录,输入刚到导出的output目录,即可开始查看导出的聊天记录了。

之后再查看直接进入显示聊天记录页面即可。

image

四、疑难问题

  1. 当你出现困难时,先确保是否认真并仔细的阅读了这片文档的每一个字,如果没有,就再读一遍。
  2. 试着搜索来解决你的问题。
  3. 在软件中的右上角 [工具]->[导出运行日志] 查看日志,试着从日志中解决自己的问题。最常见的问题就是版本不符的问题。
  4. 提issue,请仔细描述问题及自身环境,并附上运行日志内容。

待添加功能

  • soft1和soft2合并 ✔
  • 为微信用户添加头像 ✔
  • 为微信用户添加昵称 ✔
  • 导出html功能
  • 聊天查看页面增加图像点击放大 ✔

wechatexporter's People

Contributors

ms1995 avatar stanleytian avatar tsycnh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wechatexporter's Issues

npm install sqlite3出错,不知道是什么原因,烦请看看,感谢

执行后出错
log 如下:
(base) $  ~/Downloads/WeChatExporter/development   master  npm install sqlite3 --build-from-source --runtime=node-webkit --target_arch=x64 --target=0.40.1 --python=/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 --registry=https://registry.npm.taobao.org

[email protected] install /Users/gun/Downloads/WeChatExporter/development/node_modules/sqlite3
node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'nw-gyp configure --fallback-to-build --module=/Users/gun/Downloads/WeChatExporter/development/node_modules/sqlite3/lib/binding/node-webkit-v0.40.1-darwin-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/gun/Downloads/WeChatExporter/development/node_modules/sqlite3/lib/binding/node-webkit-v0.40.1-darwin-x64 --napi_version=3 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-webkit-v0.40.1 --python=/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7' (Error: spawn nw-gyp ENOENT)
node-pre-gyp ERR! stack at ChildProcess. (/Users/gun/Downloads/WeChatExporter/development/node_modules/node-pre-gyp/lib/util/compile.js:77:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:189:13)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12)
node-pre-gyp ERR! stack at onErrorNT (internal/child_process.js:415:16)
node-pre-gyp ERR! stack at process._tickCallback (internal/process/next_tick.js:63:19)
node-pre-gyp ERR! System Darwin 18.5.0
node-pre-gyp ERR! command "/usr/local/bin/node" "/Users/gun/Downloads/WeChatExporter/development/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/gun/Downloads/WeChatExporter/development/node_modules/sqlite3
node-pre-gyp ERR! node -v v10.15.3
node-pre-gyp ERR! node-pre-gyp -v v0.11.0
node-pre-gyp ERR! not ok
Failed to execute 'nw-gyp configure --fallback-to-build --module=/Users/gun/Downloads/WeChatExporter/development/node_modules/sqlite3/lib/binding/node-webkit-v0.40.1-darwin-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/gun/Downloads/WeChatExporter/development/node_modules/sqlite3/lib/binding/node-webkit-v0.40.1-darwin-x64 --napi_version=3 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-webkit-v0.40.1 --python=/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7' (Error: spawn nw-gyp ENOENT)
npm WARN Invalid version: "1.0"
npm WARN development No description
npm WARN development No repository field.
npm WARN development No README data
npm WARN development No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/gun/.npm/_logs/2019-08-17T14_22_04_848Z-debug.log

  运行nwjs时出现问题“发生个人资料错误”

报错说:
个人资料来自更高版本的NW.js, 因此无法使用。
某些功能可能无法使用,请指定其他个人资料目录或使用更高版本NW.js。

之后无法进入GUI界面。NW.js文件位置不用在WechatExplorer目录下么?

Can't install sqlite3 (Error: spawn nw-gyp ENOENT)

NWJS Version: 0.40.1
Node Version: 10.16.3
Operating System: macOS Mojave (10.14.3)

run npm install sqlite3 --build-from-source --runtime=node-webkit --target_arch=x64 --target=0.40.1 --python=/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
and I got this error:

node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'nw-gyp configure --fallback-to-build --module=/Users/xiuyang/WeChatExporter/development/node_modules/sqlite3/lib/binding/node-webkit-v0.40.1-darwin-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/xiuyang/WeChatExporter/development/node_modules/sqlite3/lib/binding/node-webkit-v0.40.1-darwin-x64 --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-webkit-v0.40.1 --python=/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7' (Error: spawn nw-gyp ENOENT)

node-pre-gyp ERR! stack at ChildProcess. (/Users/xiuyang/WeChatExporter/development/node_modules/node-pre-gyp/lib/util/compile.js:77:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:198:13)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12)
node-pre-gyp ERR! stack at onErrorNT (internal/child_process.js:415:16)
node-pre-gyp ERR! stack at process._tickCallback (internal/process/next_tick.js:63:19)
node-pre-gyp ERR! System Darwin 18.2.0
node-pre-gyp ERR! command "/usr/local/bin/node" "/Users/xiuyang/WeChatExporter/development/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/xiuyang/WeChatExporter/development/node_modules/sqlite3
node-pre-gyp ERR! node -v v10.16.3
node-pre-gyp ERR! node-pre-gyp -v v0.11.0
node-pre-gyp ERR! not ok
Failed to execute 'nw-gyp configure --fallback-to-build --module=/Users/xiuyang/WeChatExporter/development/node_modules/sqlite3/lib/binding/node-webkit-v0.40.1-darwin-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/xiuyang/WeChatExporter/development/node_modules/sqlite3/lib/binding/node-webkit-v0.40.1-darwin-x64 --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-webkit-v0.40.1 --python=/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7' (Error: spawn nw-gyp ENOENT)
npm WARN [email protected] No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/7zip-bin-linux):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"linux","arch":"any"} (current: {"os":"darwin","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/7zip-bin-win):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"win32","arch":"any"} (current: {"os":"darwin","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/xiuyang/.npm/_logs/2019-09-19T02_38_02_626Z-debug.log

Any ideas why? Thanks!

报错Use NSWindow's -titlebarAppearsTransparent=YES instead.

完成Step1~Step5后,

运行时弹出上面这个WARNING

 ✘ gabrielfeng@gwfarena  ~/Downloads/WeChatExporter/development   master ●  ~/Downloads/nwjs-v0.36.1-osx-x64/nwjs.app/Contents/MacOS/nwjs .
2019-02-22 23:59:59.616 nwjs[94550:8735316] *** WARNING: Textured window <NativeWidgetMacNSWindow: 0x7f9f886f0160> is getting an implicitly transparent titlebar. This will break when linking against newer SDKs. Use NSWindow's -titlebarAppearsTransparent=YES instead.

然后按步骤进行,这个地方没有显示聊天对象。
image

继续点击下一步,就一直卡在这个地方。
image

nodejs v11.10.0
nwjs v0.36.1 (从官网 https://nwjs.io 直接下载)

请问是什么原因呢?我用的是iMazing导出的备份。
顺便问一下这个Use NSWindow's -titlebarAppearsTransparent=YES instead.的错误,应该怎么修改。我在其他一些项目也遇到类似问题。

我这里也是打开之后微信用户名点不了

有几个小疑问
“Step2:安装nodejs(8.11.3版本) 下载地址:https://nodejs.org/dist/v8.11.3/node-v8.11.3-x64.msi“
这个.msi不是mac上安装的吧,我就手动找了nodejs8.11.3的mac版本
安装之后输入node -v 结果是v8.11.3
但打开nwjs里面显示的是
nw.js v0.32.1
Node v10.8.0
Chromium 68.0.3440.84
不知道是不是因为这个node版本不对导致微信用户名点不了?
我想尝试运行这个程序一两个月了,很想导出聊天记录0 0每次都是各种各样的原因失败,希望得到指点

Failed to parse extension manifest

node v10.16.3

nw v1.4.4

nwjsv0.40.2

/path/to/development 目录下执行

/Applications/nwjs-v0.40.2-osx-x64/nwjs.app/Contents/MacOS/nwjs .

控制台提示:

[9353:775:0904/090428.404459:ERROR:component_loader.cc(168)] Failed to parse extension manifest.

但是应用能打开,输入document目录后,只有微信账号名。

看到代码提交是近一年前,所以又下载nwjs v0.32.3尝试了一下,出现了和#4 一样的错误。

[9245:52227:0904/085232.822907:ERROR:web_database_backend.cc(113)] Cannot initialize the web database: 2

请问作者还在维护没有。

无法识别微信账号

IOS14.2无法识别微信账号

root@ZhangdeMacBook-Pro development # /Applications/nwjs-v0.40.1-osx-x64/nwjs.app/Contents/MacOS/nwjs .
[44469:775:0927/171830.337675:ERROR:component_loader.cc(168)] Failed to parse extension manifest.
2020-09-27 17:18:30.971 nwjs[44469:2696414] imkxpc_getApplicationProperty:reply: called with incorrect property value 4, bailing.
2020-09-27 17:18:30.971 nwjs[44469:2696414] Text input context does not respond to _valueForTIProperty:
2020-09-27 17:18:30.971 nwjs[44469:2696414] imkxpc_getApplicationProperty:reply: called with incorrect property value 4, bailing.
2020-09-27 17:31:36.527 nwjs[44469:2696414] Text input context does not respond to _valueForTIProperty:
[44469:85763:0927/173138.668909:ERROR:process_mac.cc(91)] task_policy_set TASK_CATEGORY_POLICY: (ipc/send) invalid destination port (0x10000003)
root@ZhangdeMacBook-Pro development #

完全按照教程无法正常运行

完全按照教程中的操作步骤和版本来运行,错误如下:

$ /Users/air/APP/WechatExporter/nwjs-v0.40.1-osx-x64/nwjs.app/Contents/MacOS/nwjs . [2968:50179:0131/104940.680247:ERROR:web_database_backend.cc(113)] Cannot initialize the web database: 2 [2968:775:0131/104940.687154:ERROR:component_loader.cc(168)] Failed to parse extension manifest. [2968:85251:0131/104940.767783:ERROR:login_database.cc(664)] Password store database is too new, kCurrentVersionNumber=24, GetCompatibleVersionNumber=28 [2968:85251:0131/104940.768021:ERROR:password_store_default.cc(43)] Could not create/open login database. [2968:82947:0131/105018.190569:ERROR:process_mac.cc(60)] task_policy_get TASK_CATEGORY_POLICY: (ipc/send) invalid destination port (0x10000003) [2968:82947:0131/105018.190665:ERROR:process_mac.cc(91)] task_policy_set TASK_CATEGORY_POLICY: (ipc/send) invalid destination port (0x10000003)

运行日志如下:

`---- Session started: Sun Jan 31 2021 10:54:37 GMT+0800 (**标准时间) ----

[In] New entry controller constructor
[Out] New entry controller constructor
[In] New entry controller constructor
[Out] New entry controller constructor
[In] New entry controller constructor
[Out] New entry controller constructor
system info:
ProductName: Mac OS X
ProductVersion: 10.13.6
BuildVersion: 17G14033

node version: v10.16.3

nwjs info: 0.40.1
sqlite3 binding: node-v83-darwin-x64
node-webkit-v0.40.1-darwin-x64

---- Log retrieved: Sun Jan 31 2021 10:55:17 GMT+0800 (**标准时间) ----
---- Session duration: 00:00:40 ----`

运行画面截图:

屏幕快照 2021-01-31 上午10 56 38

step 5 problem

[email protected] install /Users/dharni/WeChatExporter/development/node_modules/sqlite3
node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'nw-gyp configure --fallback-to-build --module=/Users/dharni/WeChatExporter/development/node_modules/sqlite3/lib/binding/node-webkit-v0.44.0-darwin-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/dharni/WeChatExporter/development/node_modules/sqlite3/lib/binding/node-webkit-v0.44.0-darwin-x64 --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-webkit-v0.44.0 --python=/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7' (Error: spawn nw-gyp ENOENT)
node-pre-gyp ERR! stack at ChildProcess. (/Users/dharni/WeChatExporter/development/node_modules/node-pre-gyp/lib/util/compile.js:77:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:321:20)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:273:12)
node-pre-gyp ERR! stack at onErrorNT (internal/child_process.js:469:16)
node-pre-gyp ERR! stack at processTicksAndRejections (internal/process/task_queues.js:84:21)
node-pre-gyp ERR! System Darwin 19.2.0
node-pre-gyp ERR! command "/usr/local/bin/node" "/Users/dharni/WeChatExporter/development/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/dharni/WeChatExporter/development/node_modules/sqlite3
node-pre-gyp ERR! node -v v13.6.0
node-pre-gyp ERR! node-pre-gyp -v v0.11.0
node-pre-gyp ERR! not ok
Failed to execute 'nw-gyp configure --fallback-to-build --module=/Users/dharni/WeChatExporter/development/node_modules/sqlite3/lib/binding/node-webkit-v0.44.0-darwin-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/dharni/WeChatExporter/development/node_modules/sqlite3/lib/binding/node-webkit-v0.44.0-darwin-x64 --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-webkit-v0.44.0 --python=/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7' (Error: spawn nw-gyp ENOENT)
npm WARN [email protected] No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/7zip-bin-linux):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"linux","arch":"any"} (current: {"os":"darwin","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/7zip-bin-win):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"win32","arch":"any"} (current: {"os":"darwin","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/dharni/.npm/_logs/2020-01-17T09_44_21_648Z-debug.log

wechat account empty

after click start raw data analyse, wechat account empty .

my documents on desktop, I entered both ~/Desktop/ and /Users/user/Desktop/
doesn't work.

[4568:775:0918/135822.568760:ERROR:component_loader.cc(168)] Failed to parse extension manifest.

---- Session started: Wed Sep 18 2019 13:56:21 GMT+0800 (**标准时间) ----

[In] New entry controller constructor
[Out] New entry controller constructor
system info:
ProductName: Mac OS X
ProductVersion: 10.14.6
BuildVersion: 18G87

node version: v10.16.3

nwjs info: 0.40.1
sqlite3 binding: node_sqlite3.node

[In] New entry controller constructor
[Out] New entry controller constructor
system info:
ProductName: Mac OS X
ProductVersion: 10.14.6
BuildVersion: 18G87

node version: v10.16.3

nwjs info: 0.40.1
sqlite3 binding: node_sqlite3.node

---- Log retrieved: Wed Sep 18 2019 13:56:46 GMT+0800 (**标准时间) ----
---- Session duration: 00:00:24 ----

编译sqlite错误

`
hahadeMacBook-Pro:development haha$ npm install sqlite3 --build-from-source --runtime=node-webkit --target_arch=x64 --target=0.40.1 --registry=https://registry.npm.taobao.org

[email protected] install /Users/haha/Desktop/Code/Github/WeChatExporter/development/node_modules/sqlite3
node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'nw-gyp configure --fallback-to-build --module=/Users/haha/Desktop/Code/Github/WeChatExporter/development/node_modules/sqlite3/lib/binding/node-webkit-v0.40.1-darwin-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/haha/Desktop/Code/Github/WeChatExporter/development/node_modules/sqlite3/lib/binding/node-webkit-v0.40.1-darwin-x64 --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-webkit-v0.40.1' (Error: spawn nw-gyp ENOENT)
node-pre-gyp ERR! stack at ChildProcess. (/Users/haha/Desktop/Code/Github/WeChatExporter/development/node_modules/node-pre-gyp/lib/util/compile.js:77:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:209:13)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:270:12)
node-pre-gyp ERR! stack at onErrorNT (internal/child_process.js:456:16)
node-pre-gyp ERR! stack at processTicksAndRejections (internal/process/task_queues.js:77:11)
node-pre-gyp ERR! System Darwin 18.6.0
node-pre-gyp ERR! command "/usr/local/bin/node" "/Users/haha/Desktop/Code/Github/WeChatExporter/development/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/haha/Desktop/Code/Github/WeChatExporter/development/node_modules/sqlite3
node-pre-gyp ERR! node -v v12.9.1
node-pre-gyp ERR! node-pre-gyp -v v0.11.0
node-pre-gyp ERR! not ok
Failed to execute 'nw-gyp configure --fallback-to-build --module=/Users/haha/Desktop/Code/Github/WeChatExporter/development/node_modules/sqlite3/lib/binding/node-webkit-v0.40.1-darwin-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/haha/Desktop/Code/Github/WeChatExporter/development/node_modules/sqlite3/lib/binding/node-webkit-v0.40.1-darwin-x64 --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-webkit-v0.40.1' (Error: spawn nw-gyp ENOENT)
npm WARN Invalid version: "1.0"
npm WARN development No description
npm WARN development No repository field.
npm WARN development No README data
npm WARN development No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/haha/.npm/_logs/2019-08-27T05_34_44_194Z-debug.log


hahadeMacBook-Pro:development haha$ npm install sqlite3 --build-from-source --runtime=node-webkit --target_arch=x64 --target=0.40.1

[email protected] install /Users/haha/Desktop/Code/Github/WeChatExporter/development/node_modules/sqlite3
node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'nw-gyp configure --fallback-to-build --module=/Users/haha/Desktop/Code/Github/WeChatExporter/development/node_modules/sqlite3/lib/binding/node-webkit-v0.40.1-darwin-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/haha/Desktop/Code/Github/WeChatExporter/development/node_modules/sqlite3/lib/binding/node-webkit-v0.40.1-darwin-x64 --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-webkit-v0.40.1' (Error: spawn nw-gyp ENOENT)
node-pre-gyp ERR! stack at ChildProcess. (/Users/haha/Desktop/Code/Github/WeChatExporter/development/node_modules/node-pre-gyp/lib/util/compile.js:77:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:209:13)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:270:12)
node-pre-gyp ERR! stack at onErrorNT (internal/child_process.js:456:16)
node-pre-gyp ERR! stack at processTicksAndRejections (internal/process/task_queues.js:77:11)
node-pre-gyp ERR! System Darwin 18.6.0
node-pre-gyp ERR! command "/usr/local/bin/node" "/Users/haha/Desktop/Code/Github/WeChatExporter/development/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/haha/Desktop/Code/Github/WeChatExporter/development/node_modules/sqlite3
node-pre-gyp ERR! node -v v12.9.1
node-pre-gyp ERR! node-pre-gyp -v v0.11.0
node-pre-gyp ERR! not ok
Failed to execute 'nw-gyp configure --fallback-to-build --module=/Users/haha/Desktop/Code/Github/WeChatExporter/development/node_modules/sqlite3/lib/binding/node-webkit-v0.40.1-darwin-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/haha/Desktop/Code/Github/WeChatExporter/development/node_modules/sqlite3/lib/binding/node-webkit-v0.40.1-darwin-x64 --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-webkit-v0.40.1' (Error: spawn nw-gyp ENOENT)
npm WARN Invalid version: "1.0"
npm WARN development No description
npm WARN development No repository field.
npm WARN development No README data
npm WARN development No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/haha/.npm/_logs/2019-08-27T05_35_56_540Z-debug.log
`

step 2 能显示账号,但是没有任何聊过天的朋友

Hi,我按照步骤都做完备份和导出 Documents 文件夹,但是 WeChatExporter 后,在 step 2 能看到自己微信的账号,但是下面的列表没有任何朋友的昵称。

程序的输出是

$ /Applications/nwjs.app/Contents/MacOS/nwjs .
[8350:775:0313/211959.695964:ERROR:component_loader.cc(162)] Failed to parse extension manifest.
2019-03-13 21:20:00.730 nwjs[8350:223323] *** WARNING: Textured window <NativeWidgetMacNSWindow: 0x7fa16c82f9f0> is getting an implicitly transparent titlebar. This will break when linking against newer SDKs. Use NSWindow's -titlebarAppearsTransparent=YES instead.

这会是什么问题?

填写了document路径之后无法正常显示账号信息

Error: Command failed: plutil -convert xml1 /Users/yswtrue/Downloads/Documents/3608f95dde1dc51de91cd2ddbe29bf59/mmsetting.archive
    at checkExecSyncError (child_process.js:616)
    at Object.execSync (child_process.js:652)
    at ChildScope.$scope.parseMmsetting (chatList.js:26)
    at ChildScope.$scope.ChatListController (chatList.js:66)
    at Object.<anonymous> (chatList.js:73)
    at Object.invoke (angular.js:4842)
    at $controllerInit (angular.js:10695)
    at nodeLinkFn (angular.js:9572)
    at compositeLinkFn (angular.js:8881)
    at publicLinkFn (angular.js:8746) "<div class="container ng-scope" ui-view="main">"
(anonymous) @ angular.js:14328

好像是已经没有这个文件了,最新版的iOS微信

我把/Users/yswtrue/Downloads/Documents/3608f95dde1dc51de91cd2ddbe29bf59/mmsettingext.archive 复制到 /Users/yswtrue/Downloads/Documents/3608f95dde1dc51de91cd2ddbe29bf59/mmsetting.archive 也还是用不了

进入界面后,微信账户点击不了

进入界面后,微信账户点击不了,怎么点击都没有反应,中间还报错,NPM PROBLEM: Node-pre-gyp. Using request for node-pre-gyp https download

Cannot initialize the web database: 2

[15408:48387:0112/161942.313363:ERROR:web_database_backend.cc(113)] Cannot initialize the web database: 2
2019-01-12 16:20:07.861 nwjs Helper[15416:720048] Couldn't set selectedTextBackgroundColor from default ()
2019-01-12 16:20:14.691 nwjs Helper[15416:720048] Couldn't set selectedTextColor from default ()

on nodejs 8.11.3 nwjs 0.32.1

when running nwjs-v0.32.1-osx-x64/nwjs.app/Contents/MacOS/nwjs .

并且"微信账户"的表格只有左边有数据,右边没有

"已选择

与 的聊天记录

显示10条信息用于确认聊天对象"

能够成功提取数据,但是查看聊天记录列表是空白

能够成功的分析数据并导出,但是在查看聊天记录时,列表始终是空白,求解决办法。

屏幕快照 2019-09-30 上午10 52 54

屏幕快照 2019-09-30 上午10 50 32

运行日志如下:

---- Session started: Mon Sep 30 2019 13:10:27 GMT+0800 (**标准时间) ----

[In] New entry controller constructor
[Out] New entry controller constructor
[In] New entry controller constructor
[Out] New entry controller constructor
[In] New entry controller constructor
[Out] New entry controller constructor
system info:
ProductName: Mac OS X
ProductVersion: 10.14.6
BuildVersion: 18G103

node version: v10.16.3

nwjs info: 0.40.1
sqlite3 binding: node-webkit-v0.40.1-darwin-x64

---- Log retrieved: Mon Sep 30 2019 13:11:21 GMT+0800 (**标准时间) ----
---- Session duration: 00:00:53 ----

是否有办法把数据写入mac wechart?

现在很明显往手机中迁移微信聊天记录是很方便的
而想要往电脑里塞基本上没可能
这造成了win换Mac或者mac换win用户的麻烦
其实有些时候还是直接能在pc微信里查看聊天记录更好,更是有些无法同步的聊天记录是有必要在pc客户端上运行
所以我就在想是不是有可能把聊天记录直接从wx的backup文件中提取出来然后写入聊天记录

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.