Не запускается Hydra 4.1.4
Atom
26.09.2012


Добрый день!

Подскажите, пожалуйста, почему не запускается Hydra 4.1.4.
Windows 7 x64, В настройках даты краткая дата установлена MM/dd/yyyy.
И почему кстати пути к исходникам "E:\StockSharpReleases\StockSharp_4.1.4"? Это может влиять на запуск?
В логе:
Код

2012/09/26 10:37:26.394|Error  |StockSharp|System.AggregateException: Произошла одна или несколько ошибок. ---> System.FormatException: Строка не распознана как действительное значение DateTime.
   в System.DateTime.Parse(String s, IFormatProvider provider)
   в System.Convert.ToDateTime(String value, IFormatProvider provider)
   в System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
   в Ecng.Common.Converter.To(Object value, Type destinationType)
   в Ecng.Serialization.XmlSerializer`1.Deserialize(Stream stream, FieldList fields, SerializationItemCollection source)
   в Ecng.Serialization.XmlSerializer`1.Deserialize(Stream stream, FieldList fields, SerializationItemCollection source)
   в Ecng.Serialization.XmlSerializer`1.Deserialize(Stream stream, FieldList fields, SerializationItemCollection source)
   в Ecng.Data.Database.<>c__DisplayClass3b.<GroupSource>b__37(Object v)
   в System.Linq.Parallel.PartitionedDataSource`1.ListContiguousIndexRangeEnumerator.MoveNext(T& currentElement, Int32& currentKey)
   в System.Linq.Parallel.StopAndGoSpoolingTask`2.SpoolingWork()
   в System.Linq.Parallel.SpoolingTaskBase.Work()
   в System.Linq.Parallel.QueryTask.BaseWork(Object unused)
   в System.Threading.Tasks.Task.Execute()
   --- Конец трассировки внутреннего стека исключений ---
   в System.Linq.Parallel.QueryTaskGroupState.QueryEnd(Boolean userInitiatedDispose)
   в System.Linq.Parallel.DefaultMergeHelper`2.System.Linq.Parallel.IMergeHelper<TInputOutput>.Execute()
   в System.Linq.Parallel.MergeExecutor`1.Execute[TKey](PartitionedStream`2 partitions, Boolean ignoreOutput, ParallelMergeOptions options, TaskScheduler taskScheduler, Boolean isOrdered, CancellationState cancellationState, Int32 queryId)
   в System.Linq.Parallel.PartitionedStreamMerger`1.Receive[TKey](PartitionedStream`2 partitionedStream)
   в System.Linq.Parallel.UnaryQueryOperator`2.UnaryQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient`1 recipient)
   в System.Linq.Parallel.QueryOperator`1.GetOpenedEnumerator(Nullable`1 mergeOptions, Boolean suppressOrder, Boolean forEffect, QuerySettings querySettings)
   в System.Linq.Parallel.QueryOpeningEnumerator`1.OpenQuery()
   в System.Linq.Parallel.QueryOpeningEnumerator`1.MoveNext()
   в System.Linq.ParallelEnumerable.ToList[TSource](ParallelQuery`1 source)
   в Ecng.Data.Database.GroupSource(IEnumerable`1 fields, SerializationItemCollection input, IEnumerable`1 innerSchemaNameOverrides)
   в Ecng.Data.Database.GetOrAddCacheTable[TEntity](SerializationItemCollection table)
   в Ecng.Data.Database.ReadAll[TEntity](Int64 startIndex, Int64 count, Field orderBy, SortDirection direction)
   в Ecng.Data.HierarchicalPageLoadList`1.OnGetGroup(Int64 startIndex, Int64 count, Field orderBy, SortDirection direction)
   в Ecng.Serialization.RelationManyList`1.ReadAll(Int64 startIndex, Int64 count, Field orderBy, SortDirection direction)
   в Ecng.Serialization.RelationManyList`1.RelationManyListEnumerator.ProcessMove(Boolean& canProcess)
   в Ecng.Collections.BaseEnumerator`2.MoveNext()
   в StockSharp.Hydra.MainWindow.InitializeMarketSources() в E:\StockSharpReleases\StockSharp_4.1.4\Hydra\Hydra\MainWindow.xaml.cs:строка 264
   в StockSharp.Hydra.MainWindow.<MainWindowLoaded>b__21() в E:\StockSharpReleases\StockSharp_4.1.4\Hydra\Hydra\MainWindow.xaml.cs:строка 484
   в System.Threading.Tasks.Task`1.InvokeFuture(Object futureAsObj)
   в System.Threading.Tasks.Task.Execute()
---> (Внутреннее исключение #0) System.FormatException: Строка не распознана как действительное значение DateTime.
   в System.DateTime.Parse(String s, IFormatProvider provider)
   в System.Convert.ToDateTime(String value, IFormatProvider provider)
   в System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
   в Ecng.Common.Converter.To(Object value, Type destinationType)
   в Ecng.Serialization.XmlSerializer`1.Deserialize(Stream stream, FieldList fields, SerializationItemCollection source)
   в Ecng.Serialization.XmlSerializer`1.Deserialize(Stream stream, FieldList fields, SerializationItemCollection source)
   в Ecng.Serialization.XmlSerializer`1.Deserialize(Stream stream, FieldList fields, SerializationItemCollection source)
   в Ecng.Data.Database.<>c__DisplayClass3b.<GroupSource>b__37(Object v)
   в System.Linq.Parallel.PartitionedDataSource`1.ListContiguousIndexRangeEnumerator.MoveNext(T& currentElement, Int32& currentKey)
   в System.Linq.Parallel.StopAndGoSpoolingTask`2.SpoolingWork()
   в System.Linq.Parallel.SpoolingTaskBase.Work()
   в System.Linq.Parallel.QueryTask.BaseWork(Object unused)
   в System.Threading.Tasks.Task.Execute()<---

Теги:


Спасибо:


Moadip

Фотография
Дата: 26.09.2012
Ответить


Попробуйте последнюю версию с CodePlex
Спасибо:

guest13

Фотография
Дата: 26.09.2012
Ответить


Скачал исходники по ревизии 19549.
При сборке всего проекта ругается
Код

Ошибка	6	The OutputPath property is not set for project 'Indicators.csproj'.  Please check to make sure that you have specified a valid combination of Configuration and Platform for this project.  Configuration='Debug'  Platform='BNB'.  This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform.	SampleRealTimeTesting

Код

Ошибка	9	The OutputPath property is not set for project 'AlfaDirect.csproj'.  Please check to make sure that you have specified a valid combination of Configuration and Platform for this project.  Configuration='Debug'  Platform='BNB'.  This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform.	SampleAlfaCandles

У меня VS2010 Express. Возможно в этом проблема. + при открытии проекта варнинги "Папки решений не поддерживаются в этой версии приложения".

В общем буду ждать следующей стабильной версии.
Спасибо.
Спасибо:

Moadip

Фотография
Дата: 27.09.2012
Ответить


Собранная гидра 4.1.5 последней сборки с Codeplex 19550.

Hydra_4.1.5_19550
Спасибо: guest13

guest13

Фотография
Дата: 27.09.2012
Ответить




По ссылке пишет "The item you are trying to access has either been deleted or is unavailable to you".
Но я собрал из исходников с помощью SharpDevelop.
Ошибка та же
Код
2012/09/27 08:57:55.214|Error  |StockSharp|System.AggregateException: Произошла одна или несколько ошибок. ---> System.FormatException: Строка не распознана как действительное значение DateTime.
   в System.DateTime.Parse(String s, IFormatProvider provider)
   в System.Convert.ToDateTime(String value, IFormatProvider provider)
   в System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
. . .
   в StockSharp.Hydra.MainWindow.InitializeMarketSources() в c:\work\trade\S#\sources\stocksharp-19550\trunk\Hydra\Hydra\MainWindow.xaml.cs:строка 260
   в StockSharp.Hydra.MainWindow.<MainWindowLoaded>b__26() в c:\work\trade\S#\sources\stocksharp-19550\trunk\Hydra\Hydra\MainWindow.xaml.cs:строка 488
   в System.Threading.Tasks.Task`1.InvokeFuture(Object futureAsObj)
. . .
Спасибо:

guest13

Фотография
Дата: 27.09.2012
Ответить


Разобрался :)
Все оказалось просто.
У меня была старая версия датафайла, еще с 4.0.22.
Путь к файлу прописывается в т.ч. в конфиге: %Documents%\StockSharp\Hydra\StockSharp.db

После его удаления Гидра запустилась.
Спасибо!
Спасибо:


Добавить файлы через драг-н-дроп, , или вставить из буфера обмена.

loading
clippy