-
Notifications
You must be signed in to change notification settings - Fork 289
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
Cannot generate example - messed up path? #79
Comments
Been trying this again and tried a variety of fixes (e.g. try I should add - I can get rid of the above error if I do use something like |
This is the same bug as </issues/61>, so this should be marked as a duplicate of that one, which will also link to your useful comment above. By the way, what happens when you have plain ol' Markdown like: |
Thanks for the error msg. When you try again, can you outline your exact steps in more detail? I'm esp. curious about generating client credentials and what you do with them. Really try to follow these steps as verbatim as possible. Note that email addresses of the Cloud project must be the same as the user running the script. Don't mix work, test, or personal accounts. I also may be missing a step or 2, so that's why I need to know. I'm going to link to a intro to Workspace APIs tutorial. The tutorial is in Python (my main development tool), and that API used is the Drive API, but those aren't important here... getting authorization to use the Slides API is the same as the Drive API. The bulleted instructions should match all the steps outlined in module 7 (Authorize API requests (user authorization) so make sure I didn't miss anything. In particular, you have to fill out an "OAuth consent screen" which aren't in my instructions (yet), so see if this page helps. |
Strange, I have the same error. I tried to follow the instructions step by step as best I can, bearing in mind some things in Google have changed. I'll do them again now here so you can see. I am using my personal account only for this. First, delete everything, all projects, credentials, everything, then, below are the current steps in the readme plus any comments from me.
Then...
I notice in Google's documentation you linked this page, which using your method doesn't present the section about BUT, on one of my tries it did present this screen to me automatically when I clicked Once I completed that I still have the error. BUT, if I go back to that section I notice there's a button The error has now goes away. Except I now get this: I click advanced and then click the continue anyway button. It finally takes me to the consent screen and I can authorise. Phew!! The only issue now is the path issue as per this issue. To answer the above question, |
You're definitely in a better place now. I think last time you clicked "external" app (instead of "internal") for the OAuth consent screen. I should add a bullet for that to the Unfortunately I've got a medical procedure coming up and won't be able to look at the filepath issue until I get back. However, if you know anyone with Node.js skills who could do it, I'm happy to look at PRs. I just don't have the expertise to do it quickly. (This should be some sort-of known problem in the Node.js ecosystem though... I'd be surprised if there isn't a solution out there already.) |
Oh, I mean both times I selected external because the internal option is ghosted. I forget the message why, something to do with organisation maybe (I had to choose No Organisation for my project). The key to get it working was to click the publish button in the OAuth consent section. Although I guess leaving it as testing and entering my own email in the authorised testers section towards the bottom might have helped. Don't worry about the other thing. I'll keep trying to work it out when I have the time and might ask the person who fixed it exactly what they did over on their issue. Hope the procedure goes well (and that it's nothing too serious). If I have the chance, I'll try to do a PR to update the readme installation instructions but it might take some time as I'll have to delete everything and run through a few times to be confident exactly what steps are essential. I think there might need to be an "If your project has to be under No Organisation" section do ... But I can't check what has to be done for the case where you can put your project under an organisation (which is presumably where "Internal" would work) because my company doesn't allow it. At least not with an arduous back and forth with IT that I expect they will rule out. Good luck, again. |
Solved for Windows users with manual modification of installed code. See #61. |
When trying to run
md2gslides
on a cloned copy of the example slide, I get the following error:image_slide.png is definitely in the correct folder so I presume the problem is the additional
C:\\
appended to the path - how do I prevent md2gslides from doing that? I tried specifying the full path in the example.md, but that doesn't help.The text was updated successfully, but these errors were encountered: