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

Directory setting instructions are unclear; Google Collab doesn't work #89

Open
quietmansoath opened this issue Feb 12, 2024 · 5 comments

Comments

@quietmansoath
Copy link

I'm trying to set the path and I'm getting the following error:

image

I've tried several iterations of this directory and I'm not actually sure what to put. The instructions in the FAQ are rather vague.

My book is in a folder in my drive called "book". /book/ does not work. Using the full directory extension that's in my browser doesn't work. Unsure how to proceed.

@kha-white
Copy link
Owner

Did you run the previous cell?

from google.colab import drive
drive.mount('/content/drive')

The window with Google Drive authorization should appear. If it was successful, then you should see your drive in the colab file browser:
obraz
Then you should be able to find the book folder and copy its path in the context menu.

@quietmansoath
Copy link
Author

Okay, so that's helpful and should be in the instructions, imo. It's not clear that I have to click the folder (was not expanded by default) or that I have to select the path from there.

So I did that, but now I'm stuck somewhere else. I run the program and it asks me to select yes or no. But I hit y on my keyboard, nothing happens. There is nothing to actually select on screen, no yes/no button. Not sure what to do here either.

image

@kha-white
Copy link
Owner

add --disable_confirmation to the command, like this:
!mokuro --parent_dir "/content/drive/MyDrive/book" --disable_confirmation

Sorry for the confusion, I agree that the instructions could be better.

@quietmansoath
Copy link
Author

Thank you for your help and patience. I'm not a coder so I haven't had any idea what to do. I really want to get this working since I wasn't able to get past the error message installing it on my desktop; this is my only way to use your app.

That said, I was able to get it fully run (finally!) but of course once it's done, I still have no idea what to do. I'm not sure what to click on to actually open the files to be able to read them like in the demo.

@Interlinked
Copy link

That said, I was able to get it fully run (finally!) but of course once it's done, I still have no idea what to do. I'm not sure what to click on to actually open the files to be able to read them like in the demo.

Where you listed your directory, a new file with the same name as your folder containing the images, should appear with the .html tag, just look around there

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

3 participants