Tue May 22, 2012 2:56 am
Leftos wrote:You mean the upper-right list box in the Player Overview screen?
I just changed this to fill the lists with the players ordered by last name. Should I also have their last name show up first? (Like "Prince, Tayshaun (SF)" rather than "Tayshaun Prince (SF)") The way the names show up determines whether you're searching first by first name or last name when typing with the keyboard. So if the list has focus, would you rather type "Tay" for Tayshaun, or "Pri" for Prince to quickly get to the player you're looking for?
Tue May 22, 2012 3:18 am
Wed May 23, 2012 12:10 am
System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.Collections.Generic.SortedDictionary`2.get_Item(TKey key)
at NBA_Stats_Tracker.Data.SQLiteIO.SaveTeamsToDatabase(String file, TeamStats[] tstToSave, TeamStats[] tstoppToSave, Int32 season, Int32 maxSeason) in C:\Users\Leftos\Documents\Visual Studio 2010\Projects\NBA Stats Tracker\NBA Stats Tracker\Data\NST.Data.SQLiteIO.cs:line 245
at NBA_Stats_Tracker.Data.SQLiteIO.saveSeasonToDatabase(String file, TeamStats[] tstToSave, TeamStats[] tstoppToSave, Dictionary`2 pstToSave, Int32 season, Int32 maxSeason, Boolean doNotSaveBoxScores) in C:\Users\Leftos\Documents\Visual Studio 2010\Projects\NBA Stats Tracker\NBA Stats Tracker\Data\NST.Data.SQLiteIO.cs:line 61
at NBA_Stats_Tracker.Windows.MainWindow.<>c__DisplayClassd.<mnuFileGetRealStats_Click>b__c(Object , RunWorkerCompletedEventArgs ) in C:\Users\Leftos\Documents\Visual Studio 2010\Projects\NBA Stats Tracker\NBA Stats Tracker\Windows\MainWindow.xaml.cs:line 1112
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
None
Wed May 23, 2012 1:22 am
Wed May 23, 2012 4:23 am
Sun Jun 17, 2012 12:19 am
Sun Jun 17, 2012 1:54 am
Mon Jul 02, 2012 8:24 am
System.Exception: Unable to load DLL 'SQLite.Interop.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Query: select Name from Teams;
at SQLite_Database.SQLiteDatabase.GetDataTable(String sql) in C:\Users\Leftos\Documents\Visual Studio 2010\Projects\NBA Stats Tracker\SQLiteDatabase\SQLiteDatabase.cs:line 91
at NBA_Stats_Tracker.Data.SQLiteIO.LoadSeason(String file, TeamStats[]& _tst, TeamStats[]& _tstopp, Dictionary`2& pst, SortedDictionary`2& _TeamOrder, PlayoffTree& _pt, IList`1& _bshist, Boolean updateCombo, Int32 _curSeason, Boolean doNotLoadBoxScores) in C:\Users\Leftos\Documents\Visual Studio 2010\Projects\NBA Stats Tracker\NBA Stats Tracker\Data\NST.Data.SQLiteIO.cs:line 879
at NBA_Stats_Tracker.Data.SQLiteIO.LoadSeason() in C:\Users\Leftos\Documents\Visual Studio 2010\Projects\NBA Stats Tracker\NBA Stats Tracker\Data\NST.Data.SQLiteIO.cs:line 851
at NBA_Stats_Tracker.Windows.MainWindow.cmbSeasonNum_SelectionChanged(Object sender, SelectionChangedEventArgs e) in C:\Users\Leftos\Documents\Visual Studio 2010\Projects\NBA Stats Tracker\NBA Stats Tracker\Windows\MainWindow.xaml.cs:line 1810
at System.Windows.Controls.SelectionChangedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.Controls.ComboBox.OnSelectionChanged(SelectionChangedEventArgs e)
at System.Windows.Controls.Primitives.Selector.InvokeSelectionChanged(List`1 unselectedItems, List`1 selectedItems)
at System.Windows.Controls.Primitives.Selector.SelectionChanger.End()
at System.Windows.Controls.Primitives.Selector.SelectionChanger.SelectJustThisItem(Object item, Boolean assumeInItemsCollection)
at System.Windows.Controls.Primitives.Selector.OnSelectedItemChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at NBA_Stats_Tracker.Windows.MainWindow.PopulateSeasonCombo() in C:\Users\Leftos\Documents\Visual Studio 2010\Projects\NBA Stats Tracker\NBA Stats Tracker\Windows\MainWindow.xaml.cs:line 1245
at NBA_Stats_Tracker.Windows.MainWindow.txtFile_TextChanged(Object sender, TextChangedEventArgs e) in C:\Users\Leftos\Documents\Visual Studio 2010\Projects\NBA Stats Tracker\NBA Stats Tracker\Windows\MainWindow.xaml.cs:line 1234
at System.Windows.Controls.TextChangedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.Controls.Primitives.TextBoxBase.OnTextChanged(TextChangedEventArgs e)
at System.Windows.Controls.Primitives.TextBoxBase.OnTextContainerChanged(Object sender, TextContainerChangedEventArgs e)
at System.Windows.Controls.TextBox.OnTextContainerChanged(Object sender, TextContainerChangedEventArgs e)
at System.Windows.Documents.TextContainerChangedEventHandler.Invoke(Object sender, TextContainerChangedEventArgs e)
at System.Windows.Documents.TextContainer.EndChange(Boolean skipEvents)
at System.Windows.Documents.TextContainer.System.Windows.Documents.ITextContainer.EndChange(Boolean skipEvents)
at System.Windows.Documents.TextRangeBase.EndChange(ITextRange thisRange, Boolean disableScroll, Boolean skipEvents)
at System.Windows.Documents.TextRange.System.Windows.Documents.ITextRange.EndChange(Boolean disableScroll, Boolean skipEvents)
at System.Windows.Documents.TextRange.ChangeBlock.System.IDisposable.Dispose()
at System.Windows.Controls.TextBox.OnTextPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.Controls.TextBox.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at NBA_Stats_Tracker.Windows.MainWindow.mnuFileNew_Click(Object sender, RoutedEventArgs e) in C:\Users\Leftos\Documents\Visual Studio 2010\Projects\NBA Stats Tracker\NBA Stats Tracker\Windows\MainWindow.xaml.cs:line 1547
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
None
Mon Jul 02, 2012 8:31 am
Mon Jul 02, 2012 8:50 am
Leftos wrote:There seems to be something wrong with your installation. The file "SQLite.Interop.dll" should be in your installation folder. Download and install again, and check your installation folder for the file. It's "%PROGRAMFILES%\NBA Stats Tracker" by default.
Mon Jul 02, 2012 8:56 am
Mon Jul 02, 2012 9:02 am
Mon Jul 02, 2012 9:19 am
Tue Jul 03, 2012 3:13 am
Tue Jul 03, 2012 10:49 am
Tue Jul 03, 2012 11:02 am
Tue Jul 03, 2012 11:05 am
Tue Jul 03, 2012 11:15 am
Tue Jul 03, 2012 11:24 am
from pytesser import *
image = Image.open('1.tif')
a = image_to_string(image)
b = a.strip()
print b
Tue Jul 03, 2012 11:25 am
Tue Jul 03, 2012 11:38 am
Leftos wrote:Is there a way we could feed Pytesser some corrections and have it learn from them, kind of like OCR suites do?
Tue Jul 03, 2012 11:42 am
Tue Jul 03, 2012 11:47 am
Tue Jul 03, 2012 11:49 am
john26 wrote:Yeah I might send you something tomorrow or next day
Thu Jul 05, 2012 9:04 am