-
Notifications
You must be signed in to change notification settings - Fork 66
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
Not working for MacOS Catalina Version 10.15.3 #40
Comments
Your license file is probably broken, i.e., empty. Sorry, it's a known issue — #4, #30, #39 (tangentially). Doesn't come up that often and I haven't had a lot of time to work on substantial improvements lately :/ I'm guessing there's a previous invocation of the script not depicted here, which is where the output required to actually debug this would be, but it's probably just a one-off fluke. Easiest surefire fix:
(If it fails again after that, please repeat steps 1 and 2 one more time, and then step 3, but add the verbose flag: Fewer steps, but might not work:
|
Thanks for the quick reply! After deleting both the .odm and the .odm.license files, I redownloaded from my library and then ran the script again and got this:
At that point, nothing happens and we're back to square one. I deleted each file (.odm and .odm.license) and tried again and the same thing happened. Then I deleted each file and input the --verbose addition. Got the following from that:
I don't know what any of that means, but hope it can help. |
By "nothing happens" I assume you mean it just exits and shows your terminal prompt again? If so, I expect you're running into the curl security conflict described in #36. I described a workaround at #36 (comment); namely: open the CURLOPTS=(-s -L -A "$UserAgent" --compressed) with this line: CURLOPTS=(-s -L -A "$UserAgent" --compressed --insecure) then delete the If that is the problem, you won't need to delete and redownload the Btw, that command at the bottom of your previous comment was meant to be run after downloading a fresh |
Sorry, "nothing happens" was unclear. I don't know this kind of stuff at all so I'm not sure what are the right words to use. I meant that I received the code that I had pasted and then I'm left with the ability to just type in a new line of code. I guess I was just trying to say that no new event seemed to have happened. The Terminal window doesn't close, but it does let me type in whatever my next line is going to be. (I hope that kind of clears that up). I don't think I have an overdrive.sh script? The first thing I believe I did once I found my way to this github was to input:
I see that I can click on the link overdrive.sh and it takes me to a new page with an "Executable File" with 291 lines and it's 8.7 KB. Based on your latest message, I edited that and replaced the old line with the new line you gave me and then copied that whole code and pasted it into Terminal. I got the following:
Also, I believe I deleted the .odm file correctly this time but maybe I'm missing something. I'm sending it to trash and then emptying out the trash too. |
Oops no you can't just paste it into the terminal like that. Hopefully that didn't make too much of a mess ;) Open it up in a text editor by calling this from terminal: open -t "$(which overdrive)" |
So I just opened the text editor using that line of code you gave me, made replacement of the one line with the other, deleted the .odm.license file, and then started from the beginning with:
followed by:
Now a new .odm.license file has been created but nothing else has occured. This was the latest code in Terminal after doing the above:
So after that, I figured I'd delete the files again, re-download from my library, and then run the code with the --verbose add on. Here is that:
Note for this last --verbose included one, I just went straight to
I hope we're getting closer to the fix! Thanks again. |
Okay, yep, definitely the problem from #36. Unfortunately, the installation step: mkdir -p ~/.local/bin
curl https://chbrown.github.io/overdrive/overdrive.sh -o ~/.local/bin/overdrive
chmod +x ~/.local/bin/overdrive overwrites the "replacement of the one line with the other" step :( You only need to run that 'installation step' one time, ever (well, per computer), which you've already done! So now just:
🤞 |
It worked! Wow, thank you so much. You're damn good. Couple other questions for you.
Thanks again! |
Awesome, glad we were able to get it working 😄 Answers:
|
Hi @chbrown, first of all, thank you for doing this. I'm sure once I get it going correctly, this will be such an amazing tool to have.
I don't have any experience coding or using Terminal, so it's more than likely I'm not doing something right, but when I copy/paste the code listed on your GitHub, I get the following:
Then I move on to step 2 and type
overdrive
and get the following:So all seems to be working well. But then I input the download code and get the following:
I have the .license file that goes along with the .odm file, but nothing happens at this point and I can't seem to figure out a way to fix anything.
Any help would be greatly appreciated!
The text was updated successfully, but these errors were encountered: