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

--resume would raise error: 'NoneType' object has no attribute 'replace' you can resume it next time #381

Closed
imWildCat opened this issue Feb 2, 2024 · 5 comments

Comments

@imWildCat
Copy link

Hello, the resume functionality seems to be broken.

I tried it like

bbook_maker --openai_key xxx --api_base 'https://xxx.openai.azure.com/' --deployment_id 'gpt35' --book_name xxx --resume

it just returned

'NoneType' object has no attribute 'replace'
you can resume it next time

there's no call stack shown

@yihong0618
Copy link
Owner

@imWildCat try to fix it, not sure if its this problem, reopen it

please try to use the latest package(or code)

@yihong0618 yihong0618 reopened this Feb 2, 2024
@imWildCat
Copy link
Author

thank you!

using the latest version, it now shows:

  0%|                                                                                | 0/4728 [00:00<?, ?it/s]









NoneType takes no arguments
you can resume it next time

@yihong0618
Copy link
Owner

seems something is wrong will take a look tonight or romorrow and revert the latest commit

@yihong0618
Copy link
Owner

@imWildCat seems fixed this time

@yihong0618 yihong0618 reopened this Feb 2, 2024
@imWildCat
Copy link
Author

I can confirm the fix. thanks for your quick action!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants