Версия приложения:
RSDN@Home версия 1.2.0 alpha 2 ревизия 872
Тип БД:
JetDB
Трассировка стека:
at BLToolkit.Data.DbManager.OnOperationException(OperationType op, Exception ex)
at BLToolkit.Data.DbManager.ExecuteReaderInternal(CommandBehavior commandBehavior)
at BLToolkit.Data.DbManager.ExecuteListInternal(IList list, Type type, Object[] parameters)
at BLToolkit.Data.DbManager.ExecuteList(IList list, Type type, Object[] parameters)
at Rsdn.Janus.JanusDB.ExecuteParamList[T,T1](String sql, Object[] parameters)
at Rsdn.Janus.DatabaseManager.GetMessageList(Int32 forumID, SortType sort, Boolean isLoadAll, Msg parent)
at Rsdn.Janus.ObjectModel.Forum.ReadMsg(Boolean isLoadAll)
at Rsdn.Janus.ObjectModel.Forum.get_Msgs()
at Rsdn.Janus.ObjectModel.Forum.FindMsgByID(Int32 idMsg)
at Rsdn.Janus.ObjectModel.Forum.get_ActiveMsg()
at Rsdn.Janus.ForumDummyForm.FillMessages()
at Rsdn.Janus.ForumDummyForm.Rsdn.Janus.ObjectModel.IFeatureView.Activate(IFeature feature)
at Rsdn.Janus.Navigator.Features_AfterFeatureActivate(IFeature oldFeature, IFeature newFeature)
at Rsdn.Janus.ObjectModel.Features.AfterFeatureActivateHandler.Invoke(IFeature oldFeature, IFeature newFeature)
at Rsdn.Janus.ObjectModel.Features.OnAfterFeatureActivate(IFeature oldFeature, IFeature newFeature)
at Rsdn.Janus.ObjectModel.Features.set_ActiveFeature(IFeature value)
at Rsdn.Janus.NavigationDummyForm._treeGrid_AfterActivateNode(ITreeNode ActivatedNode)
at Rsdn.TreeGrid.TreeGrid.OnAfterActivateNode(ITreeNode activatedNode)
at Rsdn.Janus.JanusGrid.OnAfterActivateNode(ITreeNode activatedNode)
at Rsdn.TreeGrid.TreeGrid.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ListView.WmReflectNotify(Message& m)
at System.Windows.Forms.ListView.WndProc(Message& m)
at Rsdn.TreeGrid.TreeGrid.WndProc(Message& m)
at Rsdn.Janus.JanusGrid.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)
Здравствуйте, AndrewVK, Вы писали:
AVK>Глючит SQLite на запросе: AVK>
AVK>FROM([moderatorials] mdr
AVK> LEFT OUTER JOIN [users] u ON u.[uid] = mdr.[userId])
AVK> LEFT OUTER JOIN [server_forums] f ON f.[id] = mdr.[forumId]
AVK>
У SQLite странное понимание области видимости алиасов. В данном конкретном случае можно либо вообще убрать круглые скобки, либо переписать в виде
FROM ([moderatorials] mdr
LEFT OUTER JOIN [users] u ON u.[uid] = mdr.[userId]) foobarLEFT OUTER JOIN [server_forums] f ON f.[id] = mdr.[forumId]
и уже через foobar достукиваться до полей из users и moderatorials. Первое проще.
Здравствуйте, AndrewVK, Вы писали:
AVK>Это в следствие того, что не используется 3.5 фреймворк ни в самом янусе, ни в R.SAT, а extension методы нужны. Как его убрать, кроме как запретить все подобные варнинги для всего проекта, я не знаю.
Можно в каждую сборку, где используются extension методы положить такой атрибут и сделать его internal.
Здравствуйте, Блудов Павел, Вы писали:
БП>и уже через foobar достукиваться до полей из users и moderatorials. Первое проще.
Проще то оно проще, но без скобок уже джет начинает взбрыкивать. Ох уж эти писатели ... Казалось бы ничего сложного в написании парсера сиквела, совместимого с базой SQL'92 нет, а вот пойди ж ты.
... << RSDN@Home 1.2.0 alpha 2 rev. 872 on Windows Vista 6.0.6001.65536>>
Здравствуйте, AndrewVK, Вы писали:
AVK>В каждой сборке есть такой internal атрибут, из-за этого и варнинг.
Ну они сами себе злые буратино. Если атрибуты internal, то что же плохого в том что у них имена одинаковые?
Здравствуйте, Блудов Павел, Вы писали:
AVK>>В каждой сборке есть такой internal атрибут, из-за этого и варнинг. БП>Ну они сами себе злые буратино. Если атрибуты internal, то что же плохого в том что у них имена одинаковые?
Не знаю, спроси у МС.
БП>Тогда наверное только добавлением
<NoWarn>CS1685</NoWarn>
в проектный файл.
Не лучший выход — вдруг где по делу сработает.
... << RSDN@Home 1.2.0 alpha 2 rev. 872 on Windows Vista 6.0.6001.65536>>
Ошибка:
InvalidArgument=Значение '0' недопустимо для 'index'.
Имя параметра: index
Описание:
Версия приложения:
RSDN@Home версия 1.2.0 alpha 3 ревизия 882
Тип БД:
SQLiteDB
Трассировка стека:
в System.Windows.Forms.ListView.EnsureVisible(Int32 index)
в Rsdn.TreeGrid.TreeGrid.set_Nodes(ITreeNode value)
в Rsdn.Janus.FavoritesSelectFolderForm._createFolderButton_Click(Object sender, EventArgs e) в D:\source\rsdn@home\Janus\Features\Favorites\FavoritesSelectFolderForm.cs:строка 235
в System.Windows.Forms.Control.OnClick(EventArgs e)
в System.Windows.Forms.Button.OnClick(EventArgs e)
в System.Windows.Forms.Button.WndProc(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
в System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
в System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
в System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
в System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message& m)
в System.Windows.Forms.Control.WmCommand(Message& m)
в System.Windows.Forms.Control.WndProc(Message& m)
в System.Windows.Forms.ScrollableControl.WndProc(Message& m)
в System.Windows.Forms.ContainerControl.WndProc(Message& m)
в System.Windows.Forms.Form.WndProc(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
в System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
в System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
в System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
в System.Windows.Forms.Control.DefWndProc(Message& m)
в System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
в System.Windows.Forms.Control.WndProc(Message& m)
в System.Windows.Forms.ButtonBase.WndProc(Message& m)
в System.Windows.Forms.Button.WndProc(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
в System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
в System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
в System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
в System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
в System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
в System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
в Rsdn.Janus.ForumDummyForm.AddToFavorites() в D:\source\rsdn@home\Janus\Features\ForumViewer\ForumDummyForm.cs:строка 839
в Rsdn.Janus.Framework.StripEventDispatcher.DispatchEvent(String eventId) в D:\source\rsdn@home\Janus\Framework\StripSerializer\StripEventDispatcher.cs:строка 67
в Rsdn.Janus.Framework.StripEventDispatcher.ClickHandler(Object sender, EventArgs e) в D:\source\rsdn@home\Janus\Framework\StripSerializer\StripEventDispatcher.cs:строка 75
в System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
в System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
в System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
в System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
в System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
в System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
в System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
в System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
в System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
в System.Windows.Forms.Control.WndProc(Message& m)
в System.Windows.Forms.ScrollableControl.WndProc(Message& m)
в System.Windows.Forms.ToolStrip.WndProc(Message& m)
в System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
в System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
в System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
в System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
в System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
в System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
в System.Windows.Forms.Application.Run(Form mainForm)
в Rsdn.Janus.ApplicationManager.Run(IServiceProvider serviceProvider) в D:\source\rsdn@home\Janus\Core\ApplicationManager.cs:строка 138
в Rsdn.Janus.Janus.Main() в D:\source\rsdn@home\Janus\Core\Janus.cs:строка 156
Ошибка:
The database file is locked
database is locked
Описание:
Версия приложения:
RSDN@Home версия 1.2.0 alpha 3 ревизия 882
Тип БД:
SQLiteDB
Трассировка стека:
в BLToolkit.Data.DbManager.OnOperationException(OperationType op, Exception ex)
в BLToolkit.Data.DbManager.ExecuteNonQueryInternal()
в BLToolkit.Data.DbManager.ExecuteNonQuery()
в Rsdn.Janus.JanusDB.Execute(String sql, Object[] parameters) в D:\source\rsdn@home\Janus\Core\DataManagement\JanusDB.cs:строка 127
в Rsdn.Janus.JanusDB.ExecuteNonQuery(String sql, Object[] parameters) в D:\source\rsdn@home\Janus\Core\DataManagement\JanusDB.cs:строка 183
в Rsdn.Janus.DatabaseManager.ToggleMessageTagMark(Int32 mid, Int32 tagId, String comment) в D:\source\rsdn@home\Janus\Core\DataManagement\DatabaseManager\DatabaseManager.Favorites.cs:строка 193
в Rsdn.Janus.FavoritesManager.ToggleMessageTagMark(IMsg message, Int32 fid) в D:\source\rsdn@home\Janus\Features\Favorites\FavoritesManager.cs:строка 254
в Rsdn.Janus.ForumDummyForm.MarkMessageByTag(ToolStripItem mi, IMsg current) в D:\source\rsdn@home\Janus\Features\ForumViewer\ForumDummyForm.cs:строка 1168
в Rsdn.Janus.ForumDummyForm.<>c__DisplayClass7.<TagSubmenu>b__3(Object sender, EventArgs e) в D:\source\rsdn@home\Janus\Features\ForumViewer\ForumDummyForm.cs:строка 1157
в System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
в System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
в System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
в System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
в System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
в System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
в System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
в System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
в System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
в System.Windows.Forms.Control.WndProc(Message& m)
в System.Windows.Forms.ScrollableControl.WndProc(Message& m)
в System.Windows.Forms.ToolStrip.WndProc(Message& m)
в System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
в System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
в System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
в System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
в System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
в System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
в System.Windows.Forms.Application.Run(Form mainForm)
в Rsdn.Janus.ApplicationManager.Run(IServiceProvider serviceProvider) в D:\source\rsdn@home\Janus\Core\ApplicationManager.cs:строка 138
в Rsdn.Janus.Janus.Main() в D:\source\rsdn@home\Janus\Core\Janus.cs:строка 156
Здравствуйте, ArtDenis, Вы писали:
AD>Ревизия 894 не сториться при помощи файла build-release-x86.bat или build-release.bat. Пишет ошибку:
виноват-с вроде должно было уже поправиться...
... << RSDN@Home 1.2.0 alpha 3 rev. 895>>
Если при компиляции и исполнении вашей программы не происходит ни одной ошибки — это ошибка компилятора :)))
InvalidArgument=Value of '0' is not valid for 'SelectedIndex
Ошибка:
InvalidArgument=Value of '0' is not valid for 'SelectedIndex'.
Parameter name: SelectedIndex
Описание:
Версия приложения:
RSDN@Home версия 1.2.0 alpha 3 ревизия 896
Тип БД:
MsSqlDB
Трассировка стека:
at System.Windows.Forms.ListBox.set_SelectedIndex(Int32 value)
at Rsdn.Janus.Framework.ComboListBox.OnResize(EventArgs e)
at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
at System.Windows.Forms.Control.UpdateBounds()
at System.Windows.Forms.Control.WmWindowPosChanged(Message& m)
at System.Windows.Forms.Control.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)
Здравствуйте, Hacker_Delphi, Вы писали:
H_D>Здравствуйте, ArtDenis, Вы писали:
AD>>Ревизия 894 не сториться при помощи файла build-release-x86.bat или build-release.bat. Пишет ошибку: H_D>виноват-с вроде должно было уже поправиться...
Уже получше. Но в конце билда выдаёт:
"D:\don_net\rsdn_home\master.build" (BuildRelease32 target) (1) ->
(_CompliteRelease target) ->
D:\don_net\rsdn_home\master.build(42,3): error MSB3021: Unable to copy file "D:\don_net\rsdn_home\Janus\bin\Debug\JanusDoc.chm" to "D:\don_net\rsdn
_home\Build\Release\JanusDoc.chm". Could not find file 'D:\don_net\rsdn_home\Janus\bin\Debug\JanusDoc.chm'.
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Documents%20and%20Settings\%D0%95%D0%B2%D0%B3%D0%B5%D0%BD%D0%B8%D0%B9\%D0%9C%D0%BE%D0%B8%20%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B\Sources\Janus\Janus\bin\Release'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption)
at System.IO.Directory.GetDirectories(String path, String searchPattern, SearchOption searchOption)
at System.IO.Directory.GetDirectories(String path)
at Rsdn.Janus.JanusHost.<GetExtensionAssemblies>d__0.MoveNext()
at Rsdn.Janus.JanusHost.InitExtensibility()
at Rsdn.Janus.JanusHost..ctor(IServiceProvider serviceProvider)
at Rsdn.Janus.Janus.Main()
922-я ревизия не билдится ни в экспресс-студии, ни из бат-файла. Лезет огромного колисчевтво ошибок типа
Error 2 The type or namespace name 'IDBConfigControl' could not be found (are you missing a using directive or an assembly reference?) D:\don_net\rsdn_home\Janus-Common\Database\DBConfigControlBase.cs 8 57 Janus-Common
Error 3 The type or namespace name 'IDBSchemaDriver' could not be found (are you missing a using directive or an assembly reference?) D:\don_net\rsdn_home\Janus-Common\Database\DBSchemaDriverBase.cs 17 45 Janus-Common
Error 4 The type or namespace name 'DBSchema' could not be found (are you missing a using directive or an assembly reference?) D:\don_net\rsdn_home\Janus-Common\Database\Schema\SchemaHelper.cs 9 40 Janus-Common
Error 5 The type or namespace name 'DBSchema' could not be found (are you missing a using directive or an assembly reference?) D:\don_net\rsdn_home\Janus-Common\Database\Schema\SchemaHelper.cs 22 39 Janus-Common