Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
frostming opened this issue Jun 8, 2022 · 29 comments
Open

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

frostming opened this issue Jun 8, 2022 · 29 comments
Labels
FAQ Frequently Asked Questions GUI Related to GUI

Comments

@frostming
Copy link
Collaborator

MacOS

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

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

@frostming frostming pinned this issue Jun 8, 2022
@frostming frostming added FAQ Frequently Asked Questions GUI Related to GUI labels Jun 8, 2022
@NightFog007
Copy link

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

@frostming
Copy link
Collaborator Author

@NightFog007 试试手动输入cookie

@windilt
Copy link

windilt commented Jun 26, 2022

manjaro运行失败,显示如下

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

@ProfessorX
Copy link

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

@yihong0618
Copy link
Owner

@qcgzxw
Copy link

qcgzxw commented Jun 27, 2022

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

@qcgzxw
Copy link

qcgzxw commented Jun 27, 2022

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
Copy link
Owner

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
Copy link
Owner

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

@qcgzxw
Copy link

qcgzxw commented Jun 27, 2022

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
Copy link
Owner

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

@qcgzxw
Copy link

qcgzxw commented Jun 28, 2022

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

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

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

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

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

@ProfessorX
Copy link

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.

@qcgzxw
Copy link

qcgzxw commented Jun 28, 2022

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.

@aqssxlzc
Copy link

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

@ProfessorX
Copy link

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

双击之后没有反应。

image

@ProfessorX
Copy link

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

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

@yihong0618
Copy link
Owner

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

@ProfessorX
Copy link

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

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

@otakutyrant
Copy link
Contributor

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

@yihong0618
Copy link
Owner

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

@otakutyrant
Copy link
Contributor

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

@yihong0618
Copy link
Owner

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

@otakutyrant
Copy link
Contributor

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.

@beornot
Copy link

beornot commented Feb 27, 2023

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

@polarpython
Copy link

1.4也是如此,MacOS Big Sur

@yihong0618
Copy link
Owner

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

@frostming
Copy link
Collaborator Author

这个应该是因为 #112

@GoblinScarecrow
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FAQ Frequently Asked Questions GUI Related to GUI
Projects
None yet
Development

No branches or pull requests