SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Studio

Notices

SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-16-2006, 07:05 AM
dflachbart dflachbart is offline
SageTVaholic
 
Join Date: Jan 2006
Location: Brookfield, CT
Posts: 2,743
Circularities

What are those, and what is causing them ?

I noticed that I get a bunch of widgets in the Circularities folder after re-importing my stvi (the first import works fine). I am using Niel's utility functions, and it looks like that removing the existing menu (with DeleteWidgetTree) is causing it somehow ...

Thanks,
Dirk
Reply With Quote
  #2  
Old 02-16-2006, 08:07 AM
BobPhoenix BobPhoenix is offline
SageTVaholic
 
Join Date: Oct 2004
Posts: 3,151
For me it was loops. To get rid of them I put in unlinked widgets that had names like "ReplaceLoop1", "ReplaceLoop2" etc. and then used NIELM's Link routines to replace them with the appropriate linked widget and location. But YMMV.

BobP.
Reply With Quote
  #3  
Old 02-16-2006, 08:32 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
They are loops that have no parent outside the loop, so they become circular references...

They can do no harm (other than make the STV bigger) because they are never referenced...

They often appear after an import because my delete widget tree code cannot handle them - it dereferences the loop from any parents in the tree it is deleting, but it cannot determine whether the starting widget of a loop is referenced only be widgets within the loop, so it does not delete it.
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #4  
Old 02-16-2006, 08:47 PM
dflachbart dflachbart is offline
SageTVaholic
 
Join Date: Jan 2006
Location: Brookfield, CT
Posts: 2,743
Quote:
Originally Posted by nielm
They are loops that have no parent outside the loop, so they become circular references...

They can do no harm (other than make the STV bigger) because they are never referenced...
Yeah, my code contains indeed loops... Well, I have the tree deletion code now working with loops, and the circular refs went away. Thanks !

Dirk
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump


All times are GMT -6. The time now is 12:48 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.