JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

Need help with IRToWav
Goto page 1, 2  Next
 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - Software
View previous topic :: View next topic  
Author Message
uwereinert
Advanced Member


Joined: 27 Aug 2003
Posts: 153
Location: Chemnitz

                    
PostPosted: Fri Mar 25, 2005 3:42 am    Post subject: Need help with IRToWav Reply with quote

IRToWav doesn't work for me. IR6 says: Unable to write to "file name" and from the command line I get the message:

Exception in thread "main" java.lang.NoClassDefFoundError: IRToWav

Can someone of the java gurus help?

Thanks, Uwe
Back to top
View user's profile Send private message
uwereinert
Advanced Member


Joined: 27 Aug 2003
Posts: 153
Location: Chemnitz

                    
PostPosted: Sun Mar 27, 2005 10:53 am    Post subject: Reply with quote

OK, solved by myself.

Thanks, Uwe
Back to top
View user's profile Send private message
johnsfine
Site Admin


Joined: 10 Aug 2003
Posts: 4766
Location: Bedford, MA

                    
PostPosted: Sun Mar 27, 2005 12:17 pm    Post subject: Reply with quote

I think someone else was asking for help with exactly the same symptom recently, so what was your solution?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
uwereinert
Advanced Member


Joined: 27 Aug 2003
Posts: 153
Location: Chemnitz

                    
PostPosted: Mon Mar 28, 2005 3:36 am    Post subject: Reply with quote

The environment "classpath" was set to a path, where IRToWav.class wasn't to find.

Uwe
Back to top
View user's profile Send private message
Capn Trips
Expert


Joined: 03 Oct 2003
Posts: 3990

                    
PostPosted: Mon Aug 08, 2005 1:19 pm    Post subject: Reply with quote

Uhh... I'm having the exact same problem/symptom with IRtoWAV on my desktop (works fine on my laptop?!).

Where do I go to look at and correct this "classpath" problem? Embarassed
Back to top
View user's profile Send private message
uwereinert
Advanced Member


Joined: 27 Aug 2003
Posts: 153
Location: Chemnitz

                    
PostPosted: Mon Aug 08, 2005 1:52 pm    Post subject: Reply with quote

Right click on MyComp, Characteristics, Advanced, Environment.

Delete the entry classpath, this should do the trick.

Uwe
Back to top
View user's profile Send private message
Capn Trips
Expert


Joined: 03 Oct 2003
Posts: 3990

                    
PostPosted: Mon Aug 08, 2005 3:53 pm    Post subject: Reply with quote

I did this, and it partially helped.

Using the IRtoWAV.bat program as described in the ReadMe i.e. dragging and dropping an IR file onto the IRtoWAV program on the desktop works now, and I get an "upgrade.wav" file that I can then play.

BUT when I try to "Export to Wav" directly from IR, I get the dialogue: "Unable to write to [path/filename]"

I have verified that the IRtoWAV path setting in IR points to the correct location.
Again, on my laptop, BOTH methods work. What ought I check next?

Edit: Correction - "drag&drop" worked ONCE. Now it won't work any more. I checked to see if the CLASSPATH had somehow gotten set again, but it has not. I know so little about this software that I can't even begin to figure out what info to provide nor questions to ask.

When I try "Drag&Drop" now, the DOS window error message is:
"Building sound file, wait.....
Exception in thread "main" java.lang.NoClassDefFoundError: IRToWAV
Prepare the remote for download:
Click on the play button on your audio player when you are ready.
Press any key to continue..."

I'm pretty sure the bold section is my problem - the rest of the batch file does nothing since no wav file gets created.

Help? Please?


Last edited by Capn Trips on Mon Aug 08, 2005 4:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
Mark Pierson
Expert


Joined: 03 Aug 2003
Posts: 3017
Location: Connecticut, USA

                    
PostPosted: Mon Aug 08, 2005 4:23 pm    Post subject: Reply with quote

Capn Trips wrote:
What ought I check next?
Check the setting found under File, Set Directory, IRToWAV Path...
_________________
Mark
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Capn Trips
Expert


Joined: 03 Oct 2003
Posts: 3990

                    
PostPosted: Mon Aug 08, 2005 4:24 pm    Post subject: Reply with quote

Setting checked and verified correct - see my edit to my immediately preceding post.

Thx.
Back to top
View user's profile Send private message
Capn Trips
Expert


Joined: 03 Oct 2003
Posts: 3990

                    
PostPosted: Tue Aug 09, 2005 2:20 am    Post subject: Reply with quote

If it's useful info - I'm running Windows XP Home and Java 2 Runtime Environment SE v1.4.1_02. And RM works just fine, so I think the JRE is properly installed.
Back to top
View user's profile Send private message
uwereinert
Advanced Member


Joined: 27 Aug 2003
Posts: 153
Location: Chemnitz

                    
PostPosted: Tue Aug 09, 2005 5:26 am    Post subject: Reply with quote

Do you have the last release of IRToWav.class?

IIRC, there was an older release, that doesn't work properly.

Uwe
Back to top
View user's profile Send private message
Capn Trips
Expert


Joined: 03 Oct 2003
Posts: 3990

                    
PostPosted: Tue Aug 09, 2005 5:35 am    Post subject: Reply with quote

I think so, as I downloaded it yesterday from the same link you provided, and I used the same .zip file in both of my installations (i.e. I downloaded it to one computer, unzipped it, and it works, copied the same .zip file to the other computer and unzipped it, and it doesn't work?!) Confused

When I get home, I will try deleting all IRtoWAV-related files from everywhere (I've place copies in every directory I could think of - desktop, root, windows, sytem, ...) and try a "clean" download and unzip.

Where is the best place to put all of the files? In the root directory?

P.S. I appreciate the assist in troubleshooting. I suppose this will all become moot once I receive my pogo adapter. Rolling Eyes
Back to top
View user's profile Send private message
uwereinert
Advanced Member


Joined: 27 Aug 2003
Posts: 153
Location: Chemnitz

                    
PostPosted: Tue Aug 09, 2005 7:53 am    Post subject: Reply with quote

Capn Trips wrote:
Where is the best place to put all of the files? In the root directory?


I think, that's not good. I have a directory "drive letter":\Program Files\IRC for IR.exe and the tools (KM, RM, IRTool, IRToWav, RDF and so on) each in a sub directory. For DecodeIR.dll, the best place is "drive letter":\Windows\System32, so all tools have access to this dll.

Uwe
Back to top
View user's profile Send private message
Capn Trips
Expert


Joined: 03 Oct 2003
Posts: 3990

                    
PostPosted: Tue Aug 09, 2005 11:36 am    Post subject: Reply with quote

Well, I deleted all of the IRtoWAV-related fies and re-unzipped them - all into the same directory (as I had before, btw). THIS TIME, the drag and drop method didn't work (same error msg in the DOS box), but direct creation of the .wav from IR DID work.

Right now I am TOTALLY confused what conditions/circumstances make this work or not work on my home desktop.

To recap: First time I unzipped the files, I could create a wav file ONCE, only by drag&drop, ZERO from within IR.
Second time I unzipped the files, I could create the file REPEATABLY (well, at least twice in a row), from within IR, while drag&drop doesn't work at all. Confused
Back to top
View user's profile Send private message
mtakahar
Expert


Joined: 03 Aug 2003
Posts: 281

                    
PostPosted: Tue Aug 09, 2005 6:26 pm    Post subject: Reply with quote

What if you add "-class path ." to the .bat files like this? (notice the . (dot))
Quote:
java -classpath . IRToWav %1


Hal
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - Software All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

Powered by phpBB © 2001, 2005 phpBB Group
Top 7 Advantages of Playing Online Slots The Evolution of Remote Control