home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Exception in Configuration
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="framug" data-source="post: 294699" data-attributes="member: 19448"><p>Hello,</p><p></p><p>I believe I found a bug when specific hardware is plugged on COM Port.</p><p>A device like a serial printer.</p><p></p><p>This is not a new feature like RenameTVRecorded program, only a bug correction.</p><p></p><p>* Before :</p><p></p><p>Reproduced each time configuration.exe is launched</p><p>1/ Exception Form :</p><p></p><p><a href="http://img135.imageshack.us/my.php?image=img1ak2.jpg" target="_blank"><img src="http://img135.imageshack.us/img135/2596/img1ak2.th.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p></p><p>2/ Entire exception text :</p><p></p><p>[code]************** Texte de l'exception **************</p><p>JH.CommBase.CommPortException: Bad com settings</p><p> à JH.CommBase.CommBase.ThrowException(String reason)</p><p> à JH.CommBase.CommBase.Open()</p><p> à MediaPortal.SerialIR.SerialUIR.SetPort(String CommPort)</p><p> à MediaPortal.Configuration.Sections.RemoteSerialUIR.CommPortCombo_SelectedIndexChanged(Object sender, EventArgs e)</p><p> à System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)</p><p> à System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)</p><p> à System.Windows.Forms.ComboBox.set_Text(String value)</p><p> à MediaPortal.Configuration.Sections.RemoteSerialUIR.LoadSettings()</p><p> à MediaPortal.Configuration.SettingsForm.LoadSectionSettings(TreeNode currentNode)</p><p> à MediaPortal.Configuration.SettingsForm.SettingsForm_Load(Object sender, EventArgs e)</p><p> à System.Windows.Forms.Form.OnLoad(EventArgs e)</p><p> à System.Windows.Forms.Form.OnCreateControl()</p><p> à System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)</p><p> à System.Windows.Forms.Control.CreateControl()</p><p> à System.Windows.Forms.Control.WmShowWindow(Message& m)</p><p> à System.Windows.Forms.Control.WndProc(Message& m)</p><p> à System.Windows.Forms.ScrollableControl.WndProc(Message& m)</p><p> à System.Windows.Forms.ContainerControl.WndProc(Message& m)</p><p> à System.Windows.Forms.Form.WmShowWindow(Message& m)</p><p> à System.Windows.Forms.Form.WndProc(Message& m)</p><p> à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)</p><p> à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)</p><p> à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)[/code]</p><p></p><p>3/ A config Form wich use Com informations :</p><p></p><p><a href="http://img174.imageshack.us/my.php?image=img2cr6.jpg" target="_blank"><img src="http://img174.imageshack.us/img174/8867/img2cr6.th.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p></p><p></p><p>* After :</p><p></p><p>1/ No exception Form.</p><p></p><p>2/ Configuration.log :</p><p>2008-08-18 09:25:18.590720 [ERROR][Config Main]: CommBase: Bad com settings</p><p></p><p></p><p>3/ The config Form wich use COM informations :</p><p></p><p><a href="http://img353.imageshack.us/my.php?image=img3ds9.jpg" target="_blank"><img src="http://img353.imageshack.us/img353/525/img3ds9.th.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p></p><p>We can see information that COM1 port is not available, now.</p><p></p><p>I modified a little bit Open() method in CommBase class.</p><p>I attached modified class.</p><p>Could replace older CommBase.cs located in \MediaPortal\Core\SerialUIR\ folder.</p><p></p><p>Only if you want, of course.</p></blockquote><p></p>
[QUOTE="framug, post: 294699, member: 19448"] Hello, I believe I found a bug when specific hardware is plugged on COM Port. A device like a serial printer. This is not a new feature like RenameTVRecorded program, only a bug correction. * Before : Reproduced each time configuration.exe is launched 1/ Exception Form : [URL=http://img135.imageshack.us/my.php?image=img1ak2.jpg][IMG]http://img135.imageshack.us/img135/2596/img1ak2.th.jpg[/IMG][/URL] 2/ Entire exception text : [code]************** Texte de l'exception ************** JH.CommBase.CommPortException: Bad com settings à JH.CommBase.CommBase.ThrowException(String reason) à JH.CommBase.CommBase.Open() à MediaPortal.SerialIR.SerialUIR.SetPort(String CommPort) à MediaPortal.Configuration.Sections.RemoteSerialUIR.CommPortCombo_SelectedIndexChanged(Object sender, EventArgs e) à System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e) à System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value) à System.Windows.Forms.ComboBox.set_Text(String value) à MediaPortal.Configuration.Sections.RemoteSerialUIR.LoadSettings() à MediaPortal.Configuration.SettingsForm.LoadSectionSettings(TreeNode currentNode) à MediaPortal.Configuration.SettingsForm.SettingsForm_Load(Object sender, EventArgs e) à System.Windows.Forms.Form.OnLoad(EventArgs e) à System.Windows.Forms.Form.OnCreateControl() à System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) à System.Windows.Forms.Control.CreateControl() à System.Windows.Forms.Control.WmShowWindow(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.WmShowWindow(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.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)[/code] 3/ A config Form wich use Com informations : [URL=http://img174.imageshack.us/my.php?image=img2cr6.jpg][IMG]http://img174.imageshack.us/img174/8867/img2cr6.th.jpg[/IMG][/URL] * After : 1/ No exception Form. 2/ Configuration.log : 2008-08-18 09:25:18.590720 [ERROR][Config Main]: CommBase: Bad com settings 3/ The config Form wich use COM informations : [URL=http://img353.imageshack.us/my.php?image=img3ds9.jpg][IMG]http://img353.imageshack.us/img353/525/img3ds9.th.jpg[/IMG][/URL] We can see information that COM1 port is not available, now. I modified a little bit Open() method in CommBase class. I attached modified class. Could replace older CommBase.cs located in \MediaPortal\Core\SerialUIR\ folder. Only if you want, of course. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Exception in Configuration
Contact us
RSS
Top
Bottom