pulpTunes Community Forums The Web Server for iTunes

Please login or register.

Login with username, password and session length
Advanced search  

News:

Author Topic: Can't launch PulpTunes from application icon  (Read 713 times)

Goatboy

  • Padawan
  • **
  • Posts: 5
    • View Profile
Can't launch PulpTunes from application icon
« on: January 23, 2010, 01:46:12 PM »

I'm having trouble posting this in the other thread, so I'm trying a new one.

I have a similar (same?) issue to the OP, on Leopard 10.5.8, fully updated. (Actually picked up a security update today too, hasn't impacted it either way.)

I can't launch PulpTunes from the icon, but it will launch fine from the terminal (once I have set the new Java as the default, obviously...):

Chriss-iMac:Java Chris$ java -jar PulpTunes.jar
23-01 18:31:51 INFO  - XML Location: /Users/Chris/Music/iTunes/iTunes Music Library.xml
23-01 18:32:07 INFO  - Getting external IP...
23-01 18:32:07 INFO  - Server started. Listening on port 15000
23-01 18:32:08 INFO  - External IP is: 95.149.252.97


Then all is well as far as I can tell, but trying to launch from the icon gives me this in the logs:

23/01/2010 18:38:56 [0x0-0x24024].com.pulptunes.com.pulpTunes.pulpTunes[323] [JavaAppLauncher Warning] Java application launched from PPC or bad stub. Relaunching in 32-bit, and tagging sub-processes to prefer 32-bit with $JAVA_ARCH=i386.

23/01/2010 18:38:56 [0x0-0x24024].com.pulptunes.com.pulpTunes.pulpTunes[323] [JavaAppLauncher Error] This process is [i386] and was re-exec'd from [i386], but for some reason we are trying re-exec to [].

23/01/2010 18:38:56 [0x0-0x24024].com.pulptunes.com.pulpTunes.pulpTunes[323] [JavaAppLauncher Error] unable to find a version of Java to launch

23/01/2010 18:38:56 com.apple.launchd[191] ([0x0-0x24024].com.pulptunes.com.pulpTunes.pulpTunes[323]) Exited with exit code: 1
Logged

alpeb

  • Administrator
  • Grand Master
  • *****
  • Gender: Male
  • Posts: 402
    • View Profile
    • Email
Re: Can't launch PulpTunes from application icon
« Reply #1 on: January 24, 2010, 06:12:53 AM »

Ok there's definitely something wrong on some OS/java combinations that I haven't been able to reproduce. I'll see what I can do and I'll let you guys know if I need some assistance.

Thanks,
Alejandro
Logged

Goatboy

  • Padawan
  • **
  • Posts: 5
    • View Profile
Re: Can't launch PulpTunes from application icon
« Reply #2 on: February 02, 2010, 01:00:06 PM »

Cheers!  :)
Logged

alpeb

  • Administrator
  • Grand Master
  • *****
  • Gender: Male
  • Posts: 402
    • View Profile
    • Email
Re: Can't launch PulpTunes from application icon
« Reply #3 on: February 18, 2010, 11:08:54 AM »

I'm preparing the next release and I'm digging around this issue. It definitely only happens on Leopard machines. Not sure if on all of them (can anybody confirm?)
Goatboy, can you please explain where is that you're seeing that log?
Also, please try replacing the file /Applications/pulpTunes.app/Contents/MacOS/JavaApplicationStub with a copy of  /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub

Let me know how it goes.
Logged

Goatboy

  • Padawan
  • **
  • Posts: 5
    • View Profile
Re: Can't launch PulpTunes from application icon
« Reply #4 on: February 23, 2010, 12:13:45 AM »

Hi!

The logs show up in /private/var/logs/system.log (I think... It's the 'system.log' under log files on the 'log list' pane if you open the Console app.)

I've only got one Leopard machine at my disposal, but replacing JavaApplicationStub has worked for me. :)

Nice work!
Logged