MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal TV-Server » Help on Development » Bugreports: TV Server / Client » Bugreport Archive » pre 1.0 RC1


pre 1.0 RC1 Bugreports from the time before the 1.0RC1 release are stored in here.

Reply
 
Thread Tools Display Modes
Old 2007-09-17, 18:02   #1 (permalink)
Portal Member
 
Join Date: Jun 2007
Posts: 576
Thanks: 22
Thanked 25 Times in 19 Posts

Country:

My System

Default Deleting Radio Channels hangs TVServer Setup

When trying to delete a radio channel via TVServer setup the app hangs and the channel is not being deleted. Same for "clear" button.

grubi.
grubi is offline   Reply With Quote
Old 2007-09-17, 18:35   #2 (permalink)
Portal Developer
 
gemx's Avatar
 
Join Date: Oct 2006
Age: 32
Posts: 1,300
Thanks: 25
Thanked 198 Times in 105 Posts

Country:

My System

Default

Could you please provide some logs (tv.log, error.log)?
Also the svn rev. could be of interest.
__________________
ACCENT HT-100 | 2x16 VFD | ADM Athlon 64 3500+ | Win XP SP2 | SkyStar 2 DVB-S PCI | TT connect S2-3600
gemx is online now   Reply With Quote
Old 2007-09-17, 19:15   #3 (permalink)
Portal Member
 
Join Date: Jun 2007
Posts: 576
Thanks: 22
Thanked 25 Times in 19 Posts

Country:

My System

Default

Quote:
Originally Posted by gemx View Post
Could you please provide some logs (tv.log, error.log)?
Also the svn rev. could be of interest.
It's rev. 15939.
Checked this multiple times by recreating the whole db.
Seems that radio channels can be deleted directly after installation and channel scan, but then after reboot when the "all channels" group was being created deletion fails and the display is not refreshed. If you then kill the setuptv and restart it you can see that the channel was removed from the channel mapping but is still present. From which log do you think any additional information can be gathered?

Regards,
grubi.
grubi is offline   Reply With Quote
Old 2007-09-18, 22:26   #4 (permalink)
Portal Tester
 
Join Date: Feb 2005
Location: England
Posts: 1,039
Thanks: 5
Thanked 8 Times in 8 Posts

My System

Default

This is the error log I get with the same problem SVN 15947

18/09/2007 21:24:32 1 Exception :Error: StatementErrorUnclassified
Gentle.Common.GentleException: delete from Channel where idChannel = @idChannel; ---> System.Data.SqlClient.SqlException: The DELETE statement conflicted with the REFERENCE constraint "FK_RadioGroupMap_Channel". The conflict occurred in database "TvLibrary", table "dbo.RadioGroupMap", column 'idChannel'.
The statement has been terminated.
at System.Data.SqlClient.SqlConnection.OnError(SqlExc eption exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnErro r(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndW arning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.FinishExecuteRead er(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderT ds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader( CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.InternalExecuteNo nQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Gentle.Framework.SqlStatement.Execute(IDbConnectio n conn, IDbTransaction tr)
--- End of inner exception stack trace ---
at Gentle.Framework.SqlStatement.Execute(IDbConnectio n conn, IDbTransaction tr)
at Gentle.Framework.PersistenceBroker.Execute(Object obj, StatementType st, IDbConnection conn, IDbTransaction tr)
at Gentle.Framework.PersistenceBroker.Remove(Object obj, IDbTransaction dbTransaction)
at Gentle.Framework.Persistent.Remove()
at TvDatabase.Channel.Delete()
at SetupTv.Sections.RadioChannels.mpButtonDel_Click(O bject sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)System.Data.SqlClient.SqlException: The DELETE statement conflicted with the REFERENCE constraint "FK_RadioGroupMap_Channel". The conflict occurred in database "TvLibrary", table "dbo.RadioGroupMap", column 'idChannel'.
The statement has been terminated.
at System.Data.SqlClient.SqlConnection.OnError(SqlExc eption exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnErro r(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndW arning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.FinishExecuteRead er(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderT ds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader( CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.InternalExecuteNo nQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Gentle.Framework.SqlStatement.Execute(IDbConnectio n conn, IDbTransaction tr)
18/09/2007 21:24:32 1 Exception :delete from Channel where idChannel = @idChannel;
18/09/2007 21:24:32 1 site :Gentle.Framework.SqlResult Execute(System.Data.IDbConnection, System.Data.IDbTransaction)
18/09/2007 21:24:32 1 source :Gentle.Framework
18/09/2007 21:24:32 1 stacktrace: at Gentle.Framework.SqlStatement.Execute(IDbConnectio n conn, IDbTransaction tr)
at Gentle.Framework.PersistenceBroker.Execute(Object obj, StatementType st, IDbConnection conn, IDbTransaction tr)
at Gentle.Framework.PersistenceBroker.Remove(Object obj, IDbTransaction dbTransaction)
at Gentle.Framework.Persistent.Remove()
at TvDatabase.Channel.Delete()
at SetupTv.Sections.RadioChannels.mpButtonDel_Click(O bject sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
SciDoctor is offline   Reply With Quote
Old 2007-09-19, 10:27   #5 (permalink)
Portal Member
 
Join Date: Jun 2007
Posts: 576
Thanks: 22
Thanked 25 Times in 19 Posts

Country:

My System

Default

Log is showing clearly what's going on.
Channel has to be removed from radio group map before deletion due to foreign key constraint.

grubi.
grubi is offline   Reply With Quote
Old 2007-09-19, 20:12   #6 (permalink)
Portal Developer
 
gemx's Avatar
 
Join Date: Oct 2006
Age: 32
Posts: 1,300
Thanks: 25
Thanked 198 Times in 105 Posts

Country:

My System

Default

Fixed in rev. 15964
__________________
ACCENT HT-100 | 2x16 VFD | ADM Athlon 64 3500+ | Win XP SP2 | SkyStar 2 DVB-S PCI | TT connect S2-3600
gemx is online now   Reply With Quote
This User Say Thank You:
Old 2007-09-19, 20:17   #7 (permalink)
Portal Member
 
Join Date: Jun 2007
Posts: 576
Thanks: 22
Thanked 25 Times in 19 Posts

Country:

My System

Default

Quote:
Originally Posted by gemx View Post
Fixed in rev. 15964
grubi is offline   Reply With Quote
Reply

Bookmarks

Tags
deleting, hangs, radio, setup, tvserver

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Scanning for channels hangs again SCHRANK pre 1.0 RC1 71 2008-07-29 01:19
My Radio - MP hangs when playing any radio station natrlhy fixed 0.2.0.0 bugs 8 2008-05-29 13:38
Cannot order TV channels in TVServer setup bollen Get Support 2 2006-10-26 18:41
Deleting tv channels? knutinh General Support 4 2006-07-03 21:51
150MCE hangs on radio sjakskus General Support 2 2006-01-16 19:00


All times are GMT +1. The time now is 21:39.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden