Bug #404

GetSettingsFilePathFromDictionaryPath Throws

Added by Cambell Prince almost 2 years ago. Updated almost 2 years ago.

Status:Closed Start:02/22/2010
Priority:Normal Due date:
Assigned to:Cambell Prince % Done:

100%

Category:application Spent time: -
Target version:V0.11
Resolution:

Description

Parameter name: length in mscorlib
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook Express 6.00.2900.5843
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
Date: Thu, 18 Feb 2010 08:00:16 -0500

Msg: Length cannot be less than zero.
Parameter name: length
Source: mscorlib
Assembly: mscorlib, Version=3D2.0.0.0, Culture=3Dneutral, =
PublicKeyToken=3Db77a5c561934e089
Stack: at System.String.InternalSubStringWithChecks(Int32 startIndex, =
Int32 length, Boolean fAlwaysCopy)
at =
SolidEngine.SolidSettings.GetSettingsFilePathFromDictionaryPath(String =
dataFilePath)
at SolidGui.MainWindowPM.ShouldAskForTemplateBeforeOpening(String =
filePath)
at SolidGui.MainWindowView.ChooseProject()
at SolidGui.MainWindowView.OnOpenClick(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, =
EventArgs e)
at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs =
e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, =
ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons =
button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at =
System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& =
m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, =
IntPtr wparam, IntPtr lparam)

--Error Reporting Properties--
culture: en-US
dotnetversion: 2.0.50727.3603
currentdirectory: C:\Documents and Settings\Kelly Smith\My =
Documents\Solid Examples
username: Kelly Smith
workingset: 7929856
osversion: Microsoft Windows NT 5.1.2600 Service Pack 3
userdomainname: KELLY_SMITH
commandline: "C:\Program Files\Solid\Solid.exe"
version: 0.11.344 (apparent build date: 10/9/2009)
machinename: KELLY_SMITH

--Log--
Thursday, February 18, 2010
9:37:54 AM App Launched with ["C:\Program Files\Solid\Solid.exe"]
9:58:04 AM Exception: Length cannot be less than zero.
Parameter name: length
Details of most recent events:
9:38:05 AM Http Report Failed
9:58:04 AM Exception: Length cannot be less than zero.
Parameter name: length

To Reproduce: I used the Open Lexicon icon and then tried to open a =
small MDF database lexicon then this came up. Does it first need to be =
converted/saved as a .txt file?

Kelly Smith
SIL Brazil

Associated revisions

Revision 355
Added by cambell almost 2 years ago

Fix #404 SettingsFileFromDictionaryPath Throws

Revision 392
Added by cambell over 1 year ago

Fix #404 SettingsFileFromDictionaryPath Throws

History

Updated by Cambell Prince almost 2 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r355.

Updated by Cambell Prince almost 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF