Cyberduck Mountain Duck CLI

#7868 closed defect (thirdparty)

Invalid argument in CreateNativeFont

Reported by: karl.fisher Owned by: dkocher
Priority: normal Milestone: 4.4.4
Component: core Version: 4.4.3
Severity: minor Keywords:
Cc: Architecture:
Platform: Windows 7

Description

Sometime within the past week or so CyberDuck stopped working and won't launch. I have tried reinstalling, uninstalling and installing fresh, but same issue occurs. I also tried uninstalling and reinstalling Java, not sure what is happening. We are using FileZilla in the meantime but we prefer CyberDuck. Please help!

Attachments (2)

shawmut_cd_crash.png (943.9 KB) - added by karl.fisher on Mar 25, 2014 at 9:17:47 PM.
This is what happens when we launch CyberDuck.
crashreport.txt (4.9 KB) - added by karl.fisher on Apr 1, 2014 at 3:39:53 PM.
Crash Report

Download all attachments as: .zip

Change History (14)

Changed on Mar 25, 2014 at 9:17:47 PM by karl.fisher

This is what happens when we launch CyberDuck.

comment:1 Changed on Mar 25, 2014 at 9:57:02 PM by dkocher

Cyberduck requires no Java installation.

comment:2 Changed on Mar 25, 2014 at 9:58:34 PM by dkocher

  • Owner set to yla

comment:3 Changed on Mar 25, 2014 at 9:58:56 PM by dkocher

  • Summary changed from CyberDuck fails on launch to Crash on launch

comment:4 Changed on Mar 31, 2014 at 2:33:26 PM by karl.fisher

Anyone have any idea what could be happening here?

comment:5 Changed on Apr 1, 2014 at 9:23:41 AM by dkocher

Please attach the file cyberduck.log, Queue.plist (if it exists) and the folder Transfers in the application support directory.

comment:6 Changed on Apr 1, 2014 at 9:23:51 AM by dkocher

  • Milestone set to 4.4.4
  • Owner changed from yla to dkocher
  • Status changed from new to assigned

Changed on Apr 1, 2014 at 3:39:53 PM by karl.fisher

Crash Report

comment:7 Changed on Apr 1, 2014 at 3:41:21 PM by karl.fisher

The cyberduck.log file was completely blank, there was no queue.plist file or a Transfers folder. I did upload a crash report file though, maybe that will help?

comment:8 Changed on Apr 1, 2014 at 6:22:01 PM by dkocher

  • Summary changed from Crash on launch to Invalid argument in CreateNativeFont

comment:9 Changed on Apr 1, 2014 at 6:22:51 PM by dkocher

Inner Exception 2
Type:        System.ArgumentException
Message:     Font 'Courier New' does not support style 'Regular'.
Source:      System.Drawing
Stack Trace: at System.Drawing.Font.CreateNativeFont()
   at System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
   at System.Drawing.Font..ctor(FontFamily family, Single emSize)
   at Ch.Cyberduck.Ui.Winforms.BrowserForm..cctor()

comment:10 Changed on Apr 1, 2014 at 7:03:34 PM by dkocher

  • Resolution set to thirdparty
  • Status changed from assigned to closed

Looks like an issue with your Windows installation. Apparently your system is missing the Courier New font. Try copying it from another system.

References

comment:11 follow-up: Changed on Apr 1, 2014 at 8:01:56 PM by karl.fisher

That WAS the problem, Windows only had Courier Italic, Bold, and Bold Italic. I copied cour.ttf in C:\Windows/Fonts from another Windows 7 system and installed using the Fonts control panel in Windows and it installed the missing Courier New font (it isn't labeled as regular, but it was what I needed). CyberDuck launched as expected after the font was installed.

comment:12 in reply to: ↑ 11 Changed on Apr 2, 2014 at 6:10:20 AM by dkocher

Replying to karl.fisher:

That WAS the problem, Windows only had Courier Italic, Bold, and Bold Italic. I copied cour.ttf in C:\Windows/Fonts from another Windows 7 system and installed using the Fonts control panel in Windows and it installed the missing Courier New font (it isn't labeled as regular, but it was what I needed). CyberDuck launched as expected after the font was installed.

Thanks for the confirmation and description of the workaround.

Note: See TracTickets for help on using tickets.
swiss made software