robofont-mechanic / Mechanic

Package manager for RoboFont extensions
http://robofontmechanic.com
MIT License
26 stars 7 forks source link

Installation & updates failing ("Couldn't connect to the internet...") #26

Open thundernixon opened 6 years ago

thundernixon commented 6 years ago

When I try to install extensions, these get a progress bar that shows "halfway" but stops there.

Additionally, the Updates tab of Mechanic gives the error "Couldn't connect to the internet..."

However, my internet seems to be working just fine – I'm having no problem connecting to GitHub, etc.

I've installed the latest version of Mechanic (1.4.0) and I'm in RoboFont 1.8.4. I've restarted RoboFont a couple of times to see whether that would solve the issue, but it hasn't. I recently updated to macOS 10.13.3, and that could potentially be causing the issue...

Examples:

image

image

jackjennings commented 6 years ago

Does anything get printed to the output window in this case?

thundernixon commented 6 years ago

Sorry, I should have included that in the original post!

Even when I restart RoboFont, have the Output window open before opening Mechanic, and try to check for updates and then install an extension, I'm not seeing any output. I also restarted my computer and tried again, just to be thorough. It's still stalling out, and not outputting anything. Confusing!

image

(I should also mention that overall, Mechanic is terrific, and I appreciate your work on it. 👍 If you're already optimizing for the next version of RF and you're deciding between supporting that version versus patching today's version, I totally understand optimizing for what's ahead.)

thundernixon commented 6 years ago

Update: I actually am seeing an Output message related to Mechanic, if I open the Output window at the right moment (I'm not exactly sure what's triggering it, but I'm also scripting something, so it's probably somehow related).

The message I'm now seeing is:

('|/Users/stephennixon/Library/Application Support/RoboFont/plugins/Mechanic.roboFontExt/lib/site-packages/certifi/cacert.pem|', '|None|')
franzheidl commented 6 years ago

Same problem here I’m afraid, with a fresh install of Robofont (1.8.4) on macOS 10.12.6, with Mechanic being the firstand only extension installed .

jackjennings commented 6 years ago

I'm really busy at the moment, so I'd love to see a pull request if anyone can contribute. @typemytype do you think you'd be able to look at this? Anyone else that might be able to check in? I'd be really happy to get a few additional maintainers on this project, because my time has been very limited…

miguelsousa commented 6 years ago

@jackjennings got this after a bit of tinkering,

('/Users/msousa/Library/Application Support/RoboFont/plugins/Mechanic.roboFontExt/lib/mechanic/update.pyc',
SSLError(SSLError(SSLError(1, u'[SSL: TLSV1_ALERT_PROTOCOL_VERSION] unknown error (_ssl.c:590)'),),))

Isn't the update workflow dependent on your GitHub account? Is GH trying to say the connection can't be performed with the settings it was requested with?

franzheidl commented 6 years ago

Just installed Robofont 3, in contrast to v1.8.4 I can actually install extensions, although the progress bar "Installing XYZ…" gets stuck at 100% and never finishes, while the install itself works fine, and the new extension is perfectly usable.

p.s. would love to help, but code-wise Mechanic is a bit over my head I’m afraid. If you need someone to quickly test something I’d be up for it!

thundernixon commented 6 years ago

Shoot, yeah, experiencing the same issue in RF3 as @franzheidl ... the extension appears to install successfully, but Mechanic gets into a stuck state, and can't be closed without a force quit of RF itself.

image

typemytype commented 6 years ago

@thundernixon and @franzheidl could you send me the robofont-3-py3.log file? this is located at <user>/Library/Application Support/RoboFont

I assume this is an error in the installed extension which is not RF3 ready...

Im looking now at the RF1 Mechanic SSL issue

(@gferreira)

franzheidl commented 6 years ago

Sent you a link to my logfile via Twitter Frederik.

thundernixon commented 6 years ago

Let me know if you need any other info, @typemytype! robofont-3-py3.log

jenskutilek commented 6 years ago

If that’s indeed a problem with RoboChrome, it seems that the FontFont GitHub account has been killed off for good. Thanks to the monopolist, I guess!

I have a fork on my GitHub that can be used as the extension source in Mechanic: https://github.com/jenskutilek/RoboChrome

I’m also looking into RF3 compatibility for RoboChrome.