SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Studio
Forum Rules FAQs Community Downloads Today's Posts Search

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 03-07-2006, 07:58 AM
dflachbart dflachbart is offline
SageTVaholic
 
Join Date: Jan 2006
Location: Brookfield, CT
Posts: 2,743
Transformer Exception in Studio when saving STV file

I am always getting the following exception

Code:
There was an error saving the file: tv.sage.b: kind=4; javax.xml.transform.TransformerException: java,io.FileNotFoundException:file:\D:\SageTV\SagetTV\STVs\SageTV3\test.xml (The filename, directory name, or volume label syntax is incorrect
when trying to save a STV file in Studio. It's not an permission issue, the directory is writeable, and it happens on any directory.

I am using JDK 1.4.2_10, but I tried changing the PATH to a 1.5.0 JDK, without any difference. This only happens on my PC here at work (it shouldnt have anything to do with not having an encoder installed, does it ?).

Any ideas ?

Thanks,
Dirk
Reply With Quote
  #2  
Old 03-07-2006, 06:14 PM
dflachbart dflachbart is offline
SageTVaholic
 
Join Date: Jan 2006
Location: Brookfield, CT
Posts: 2,743
Never mind, after looking into the logfile I noticed that SageTV was still using JDK 1.5.0, although only 1.4.2 was in the PATH... After I uninstalled the 1.5 JDK the error went away.

Which raises another question for me - how does Sage determine which JDK to use if multiple versions are installed on the machine ?


Dirk
Reply With Quote
  #3  
Old 03-08-2006, 05:21 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
The 'standard' way to determine the current JRE version is to read the reg for the key/value:

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment]
CurrentVersion=1.5

Which points to:

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.5]

Which contains the paths...don't know whether sage does the same...
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki

Last edited by nielm; 03-08-2006 at 05:27 AM.
Reply With Quote
  #4  
Old 03-08-2006, 09:32 AM
BobPhoenix BobPhoenix is offline
SageTVaholic
 
Join Date: Oct 2004
Posts: 3,152
The post here from Jeff indicates that that is almost where Sage gets it from.

BobP.

Last edited by BobPhoenix; 03-08-2006 at 09:39 AM.
Reply With Quote
  #5  
Old 03-08-2006, 09:52 AM
dflachbart dflachbart is offline
SageTVaholic
 
Join Date: Jan 2006
Location: Brookfield, CT
Posts: 2,743
Thanks for the info, Niel and Bob !

Dirk
Reply With Quote
Reply


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

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 07:05 PM.


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