Kindle_download_helper icon indicating copy to clipboard operation
Kindle_download_helper copied to clipboard

各平台运行GUI遇到的问题及解决方法

Open frostming opened this issue 2 years ago • 29 comments

MacOS

打开 kindle_download_helper 时弹出错误「无法打开」 image

点击「好」,此时打开「系统偏好设置——安全性与隐私」输入密码解锁后可以看到「仍要打开」按钮,点击即可。 截屏2022-06-08 22 34 19

frostming avatar Jun 08 '22 14:06 frostming

mac版输入了csrf,点击登录, 然后获取下拉列表提示 KeyError: 'OwnershipData' OperationalError: no such table: moz_cookies

NightFog007 avatar Jun 11 '22 14:06 NightFog007

@NightFog007 试试手动输入cookie

frostming avatar Jun 12 '22 14:06 frostming

manjaro运行失败,显示如下

./kindle_download_helper [1] 125644 segmentation fault (core dumped) ./kindle_download_helper

windilt avatar Jun 26 '22 13:06 windilt

Win10 64位打不开,双击无反应。准备试试cmd

ProfessorX avatar Jun 27 '22 01:06 ProfessorX

@ProfessorX can you check v0.4.2. 感谢~ https://github.com/yihong0618/Kindle_download_helper/releases/tag/v0.4.2

yihong0618 avatar Jun 27 '22 01:06 yihong0618

最多只能获取前几页的书籍 有时候加载出18页 有时候加载出36、54页,无法下载后面的书籍

qcgzxw avatar Jun 27 '22 13:06 qcgzxw

gui日志

Amazon api limit when this download done.
 Please run it again`
Amazon api limit when this download done.
 You can add command `resume-from 54`
Amazon api limit when this download done.
 You can add command `resume-from 36`
Amazon api limit when this download done.
 You can add command `resume-from 54`

qcgzxw avatar Jun 27 '22 13:06 qcgzxw

gui日志


Amazon api limit when this download done.

 Please run it again`

Amazon api limit when this download done.

 You can add command `resume-from 54`

Amazon api limit when this download done.

 You can add command `resume-from 36`

Amazon api limit when this download done.

 You can add command `resume-from 54`



可以使用命令行试试么?

yihong0618 avatar Jun 27 '22 13:06 yihong0618

@qcgzxw 已经验证,触发了亚马逊的风控,目前无法下载 pdoc

yihong0618 avatar Jun 27 '22 13:06 yihong0618

gui日志


Amazon api limit when this download done.

 Please run it again`

Amazon api limit when this download done.

 You can add command `resume-from 54`

Amazon api limit when this download done.

 You can add command `resume-from 36`

Amazon api limit when this download done.

 You can add command `resume-from 54`

可以使用命令行试试么?

多谢 使用命令行 下载完了

qcgzxw avatar Jun 27 '22 14:06 qcgzxw

@qcgzxw 想办法解决了,需要 sleep 勉强能用。

yihong0618 avatar Jun 27 '22 15:06 yihong0618

@qcgzxw 想办法解决了,需要 sleep 勉强能用。

可以优化下这里,不要每次点击获取列表都全部重新加载,直接往上堆会好一点。

比如首次点击已经获取了18条,下次点击就从 加上resume-from 18

因为就算是加了sleep,中途还是可能会有限制频率的问题,就会又重新加载了。

所以这里还是手动控制可操作性强一点,也方便一次性全部下载,不会重复下载

qcgzxw avatar Jun 28 '22 02:06 qcgzxw

Still cannot open v0.4.2

Either run or run as admin can not open GUI.

Maybe I should run cmd but currently I do not have python3 installed lol.

ProfessorX avatar Jun 28 '22 03:06 ProfessorX

Still cannot open v0.4.2

Either run or run as admin can not open GUI.

Maybe I should run cmd but currently I do not have python3 installed lol.

Try the latest version v0.6 and check the GUI log. BTW, you should really upgrade to python3.

qcgzxw avatar Jun 28 '22 03:06 qcgzxw

我补充一点,命令行模式我在zsh下运行出错,遇到类似问题的我建议切换到bash来跑

aqssxlzc avatar Jul 12 '22 12:07 aqssxlzc

  1. 已下载并安装python3
  2. 下载最新版本的release
  3. 还是无法打开,等下尝试下win下面的命令行

双击之后没有反应。

image

ProfessorX avatar Sep 25 '22 09:09 ProfessorX

Update: 试了一下双击不行,拖路径到 cmd 里面再执行,可以看到GUI了。

我试下能不能下载,买了一百来本书,停用了就可惜了。

ProfessorX avatar Sep 25 '22 09:09 ProfessorX

@ProfessorX clone 这个项目参考 README 用 cli 试试?

yihong0618 avatar Sep 25 '22 09:09 yihong0618

@ProfessorX clone 这个项目参考 README 用 cli 试试?

不用clone,还是exe文件,在Win10 环境 直接双击打不开,python装了,环境应该是OK的; 拖路径到CMD 里面可以跑,很奇怪,不知道在哪看日志 (:狗头:)

ProfessorX avatar Sep 26 '22 06:09 ProfessorX

在 Arch Linux 上运行 kindle_download_helper 直接 Segmentation fault (core dumped),用的是 1.1.2 的 kindle-linux-x86_64.zip

otakutyrant avatar Oct 22 '22 16:10 otakutyrant

@otakutyrant 我们看一下 ,尝试 cli 版本试试?

yihong0618 avatar Oct 23 '22 11:10 yihong0618

@yihong0618 已经用过 CLI 版了,没有问题。

otakutyrant avatar Oct 23 '22 13:10 otakutyrant

初步怀疑是权限问题,可以用 coredumpctl 看下信息

yihong0618 avatar Oct 23 '22 13:10 yihong0618

coredumpctl dump 如下:

           PID: 8144 (kindle_download)
           UID: 1000 (otakutyrant)
           GID: 1000 (otakutyrant)
        Signal: 11 (SEGV)
     Timestamp: Sun 2022-10-23 21:11:37 CST (2min 15s ago)
  Command Line: ./kindle_download_helper
    Executable: /home/otakutyrant/Downloads/kindle_download_helper
 Control Group: /user.slice/user-1000.slice/session-2.scope
          Unit: session-2.scope
         Slice: user-1000.slice
       Session: 2
     Owner UID: 1000 (otakutyrant)
       Boot ID: 03571de6d4884382802f2db08f22e181
    Machine ID: 8c515009fbc145dfa23a099e7729cf10
      Hostname: PC
       Storage: /var/lib/systemd/coredump/core.kindle_download.1000.03571de6d4884382802f2db08f22e181.8144.1666530697000000.zst (present)
     Disk Size: 59.4K
       Message: Process 8144 (kindle_download) of user 1000 dumped core.

                Module /home/otakutyrant/Downloads/kindle_download_helper with build-id 9230f3fa19123436d7e9b46b02c11f1e492895c1
                Module linux-vdso.so.1 with build-id 3fb718048e626a7b3d54d869125080f52fab6c15
                Module ld-linux-x86-64.so.2 with build-id 22bd7a2c03d8cfc05ef7092bfae5932223189bc1
                Module libc.so.6 with build-id 1e94beb079e278ac4f2c8bce1f53091548ea1584
                Module libpthread.so.0 with build-id 3954d7fd57fa4db438d0ccdd8e2c6f7cc97c2e46
                Module libz.so.1 with build-id fefe3219a96d682ec98fcfb78866b8594298b5a2
                Module libdl.so.2 with build-id 414d1d630bc04818a150b9c73e4493f3395e8869
                Stack trace of thread 8144:
                #0  0x00007ff9ba6fc64c n/a (libc.so.6 + 0x8864c)
                #1  0x00007ff9ba6ac958 raise (libc.so.6 + 0x38958)
                #2  0x000000000040414a n/a (/home/otakutyrant/Downloads/kindle_download_helper + 0x414a)
                ELF object binary architecture: AMD x86-64
More than one entry matches, ignoring rest.

otakutyrant avatar Oct 23 '22 13:10 otakutyrant

1.31版本macOS,gui版本打开无反应(mac已经设置为打开任何来源的文件)

beornot avatar Feb 27 '23 21:02 beornot

1.4也是如此,MacOS Big Sur

polarpython avatar Mar 12 '23 08:03 polarpython

可以先用 cli 试试么?稍后我看下 gui 的问题

yihong0618 avatar Mar 12 '23 08:03 yihong0618

这个应该是因为 #112

frostming avatar Mar 12 '23 12:03 frostming

您好win gui1.41版本勾选DeDRM选项后,epub下载提示[Errno 2] No such file or directory是要在哪儿新建一个位置吗?

GoblinScarecrow avatar Jul 01 '23 14:07 GoblinScarecrow