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

panic: Get "": unsupported protocol scheme "" #16

Open
morriscox opened this issue Mar 27, 2021 · 8 comments
Open

panic: Get "": unsupported protocol scheme "" #16

morriscox opened this issue Mar 27, 2021 · 8 comments

Comments

@morriscox
Copy link

morriscox commented Mar 27, 2021

I started using ZiniGo today. At first, I would get an error message about the connection being terminated, once forcely from the host, and I would just try again. However, I now get this error message.

Checking if issue exists: E:\Zinio/issue/[name].pdf
Issue already found: E:\Zinio/issue/[name].pdf
.....
Checking if issue exists: E:\Zinio/issue/[name].pdf
Downloading issue: [name]
Source
ID: 0
panic: Get "": unsupported protocol scheme ""

goroutine 1 [running]:
main.main()
C:/projects/ZiniGo/Grabazine.go:124 +0x2439

E:\Zinio>

C:/projects doesn't exist for me so that folder must be on your end, though I suspect it has nothing to do with this issue. I am not using any special paramaters and I tried without and with config.json. Windows 10, build 20H2. Binary, not compiled.

@TheAxeDude
Copy link
Owner

Thanks for the detail, will take a look.

@TheAxeDude
Copy link
Owner

TheAxeDude commented Mar 27, 2021

Can you confirm that in the log, there is nothing after the word "Source"? If so, I think this is a new case - where there is no SVG link to the page. I might need you to let me know what the magazine/issue is so I can take a closer look.

Checking if issue exists: E:\Zinio/issue/[name].pdf
Downloading issue: [name]
Source
ID: 0

@morriscox
Copy link
Author

morriscox commented Mar 27, 2021 via email

@morriscox
Copy link
Author

I created a dummy file and it started running again.

@morriscox
Copy link
Author

Can you confirm that in the log, there is nothing after the word "Source"? If so, I think this is a new case - where there is no SVG link to the page. I might need you to let me know what the magazine/issue is so I can take a closer look.

Checking if issue exists: E:\Zinio/issue/[name].pdf
Downloading issue: [name]
Source
ID: 0

I have that error again but with another file. Source is still blank.


Downloading issue: Newsweek - 03_03_2017
Source
ID: 0
panic: Get "": unsupported protocol scheme ""

goroutine 1 [running]:
main.main()
C:/projects/ZiniGo/Grabazine.go:124 +0x2439

E:\Zinio>

TheAxeDude added a commit that referenced this issue Apr 7, 2021
@TheAxeDude
Copy link
Owner

Thanks, I havent been able to find a way (yet) to dig into the cause of this. I have just pushed a fix for this, which skips pages where the Source is empty.

@morriscox
Copy link
Author

Working great. Thanks.

@morriscox
Copy link
Author

Drat. I was certain that it was fixed since ZiniGo was running again. I tried 3 times again this time and no luck. Maybe a way that we can blacklist a particular issue/filename?

Checking if issue exists: E:\Zinio/issue/Newsweek - 03_03_2017.pdf
Downloading issue: Newsweek - 03_03_2017
Source
ID: 0
panic: Get "": unsupported protocol scheme ""

goroutine 1 [running]:
main.main()
C:/projects/ZiniGo/Grabazine.go:124 +0x2439

E:\Zinio>

@morriscox morriscox reopened this Apr 8, 2021
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