Crash-m / thelastripper

Automatically exported from code.google.com/p/thelastripper
0 stars 0 forks source link

not login in Mac OS X 10.4 #140

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Description of the issue:
Just installed TheLastRipper 1.1.1 and MonoFramework-2.2_5 on Mac OS X 10.4 
(Tiger).
I open up TheLastRipper and Settings page appears, I type my Login and Password 
and click 
Login but nothing happens. OK button is never enable. Am I missing something?

What steps will reproduce the problem?
1. Install and run for the first time
2. Type Login and Password
3. Login button would do nothing

What is the expected output?

GENERAL INFORMATION ABOUT YOUR SYSTEM:

TheLastRipper version? 1.1.1
Mono/.Net runtime version? 2.2_5
Operating system and version? Mac OS X 10.4 (Tiger)

Original issue reported on code.google.com by paulartc...@gmail.com on 24 Jan 2009 at 3:33

GoogleCodeExporter commented 8 years ago
TheLastRipper is currently broken on OS X... I must admit I don't know the 
status of
a new port/fix... But it's been broken for a long time..

Alternately the windows version can run on OS X under mono... But that requires 
that
you know how to use a terminal...

Original comment by jopsen@gmail.com on 24 Jan 2009 at 4:05

GoogleCodeExporter commented 8 years ago
oh, ok. yep. i'll download the windows version then. no problem about using 
terminal, i'm used to linux and 
such. but i know nothing about mono, how do i run an .exe under mono? 

Original comment by paulartc...@gmail.com on 24 Jan 2009 at 10:43

GoogleCodeExporter commented 8 years ago
Cool, most Mac users are lost when you tell them there's a terminal in their 
system :)

If you don't want to look through SVN to find the latest windows binaries... 
I've
attached them to this post...
Just extract them and execute the .exe file with mono, if you've ever used wine 
to
run windows apps under Linux it's almost the same... E.g:
$ cd /path/to/windows/binaries
$ mono TheLastRipper.exe
If you've got mono installed, the mono command should be available to you... 
And it
takes the binary it should run as the first parameter. Note the .dll files in 
the
archive must also be present in the same directory.
Let me know if you've got any problems...

If you get it running and is interested in packaging it as an .app for other Mac
users I'll gladly help...
I've helped a mac user do it once before, and it just an icon, a launch script, 
a few
directories and a disk image...

Anyway, please post an problems experiences you have here... As I'm not sure if 
the
current windows version runs under OS X... Though mono runs it fine under 
Linux...

Original comment by jopsen@gmail.com on 24 Jan 2009 at 11:22

Attachments:

GoogleCodeExporter commented 8 years ago
hey, cool! it's working, sort of. it login and connects: it rips Artist, Tag, 
Personal and Loved. Didn't manage to rip 
my Playlists, neither with Playlist button nor URL. Sometimes Stop button is 
unavailable while ripping (more often 
than not, could not find a pattern), but then it stops ripping when I click on 
Skip (?!).

Packaging it as an .app? i have no idea how to do that (aha... that was ironic. 
i guess i'm a native Linux user 
pretending to be a Mac user :)). i'll take a look though...

Original comment by paulartc...@gmail.com on 25 Jan 2009 at 12:59

GoogleCodeExporter commented 8 years ago
ah, just for completeness: 

- it works at Mac OS X 10.4 (with the caveats I described above).

- it crashes in OS X 10.5 with "Unhandled Exception: 
System.TypeInitializationException: An exception was 
thrown by the type initializer for 
System.Windows.Forms.WindowsFormsSynchronizationContext ---> 
System.TypeInitializationException: ..."

Original comment by paulartc...@gmail.com on 25 Jan 2009 at 11:25

GoogleCodeExporter commented 8 years ago
Weird... The windows version only depends on mono, so this could be a mono 
specific
bug, or a bug in the windows version... Note. the binaries I attached is the 
latest
beta release, so there certainly could be bugs in it...
Please include the entire exception track if you have it...

With regards to how to package as an .app all you should need to know is that a 
.app
bundle is not a file, but a directory... Finder in OS X just represents and 
treats
them like files...
If you right click a .app bundle there should be some option to browse the 
bundle...
Otherwise that can be done from terminal.
If you're want to package it, you should just download this .app bundle:
http://code.google.com/p/thelastripper/downloads/detail?name=TheLastRipper 
0.2.1 Beta.dmg

It's a VERY old windows version packaged and released for mac. Back when it was
released, mono's windows.forms implementation only ran under X11.
Inside the .app bundle there should be some binaries, just replace them with 
the new
ones... There should also be a launch script, which first opens X11 and then 
launches
the windows app with mono... You should modify this launch script to just 
launch the
windows app with mono, no need to use X11 as never releases of mono has a 
native OS X
driver...
If you're uncomfortable with shell scripting, just pack the .app as is in a .zip
archive (I can't open the .dmg file) and post it here, then I'll take a look at 
it...

Original comment by jopsen@gmail.com on 25 Jan 2009 at 11:42

GoogleCodeExporter commented 8 years ago
here's the whole exception in 10.5. i'll work on the app bundle on the 10.4 and 
send you soon.

[Nighteyes:~/Music/TheLastRipper] pcoelho% mono TheLastRipper.exe

Unhandled Exception: System.TypeInitializationException: An exception was 
thrown by the type initializer for 
System.Windows.Forms.WindowsFormsSynchronizationContext ---> 
System.TypeInitializationException: An 
exception was thrown by the type initializer for 
System.Windows.Forms.ThemeEngine ---> 
System.TypeInitializationException: An exception was thrown by the type 
initializer for 
System.Windows.Forms.ThemeWin32Classic ---> System.TypeInitializationException: 
An exception was 
thrown by the type initializer for System.Drawing.KnownColors ---> 
System.TypeInitializationException: An 
exception was thrown by the type initializer for System.Drawing.GDIPlus ---> 
System.DllNotFoundException: 
libc.dylib
  at (wrapper managed-to-native) System.Drawing.GDIPlus:uname (intptr)
  at System.Drawing.GDIPlus..cctor () [0x00000] 
  --- End of inner exception stack trace ---
  at System.Drawing.KnownColors..cctor () [0x00000] 
  --- End of inner exception stack trace ---
  at System.Drawing.Color.get_Black () [0x00000] 
  at System.Windows.Forms.ThemeWin32Classic..cctor () [0x00000] 
  --- End of inner exception stack trace ---
  at System.Windows.Forms.ThemeVisualStyles..ctor () [0x00000] 
  at System.Windows.Forms.ThemeEngine..cctor () [0x00000] 
  --- End of inner exception stack trace ---
  at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00000] 
  at System.Windows.Forms.Control..ctor () [0x00000] 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor ()
  at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] 
  --- End of inner exception stack trace ---
  at System.Windows.Forms.Control..ctor () [0x00000] 
  at System.Windows.Forms.ScrollableControl..ctor () [0x00000] 
  at System.Windows.Forms.ContainerControl..ctor () [0x00000] 
  at System.Windows.Forms.Form..ctor () [0x00000] 
  at WinFormsClient.FatalExceptionHandler..ctor (System.Exception e) [0x00000] 
  at (wrapper remoting-invoke-with-check) WinFormsClient.FatalExceptionHandler:.ctor (System.Exception)
  at WinFormsClient.MainForm.Main (System.String[] args) [0x00000] 

Original comment by paulartc...@gmail.com on 25 Jan 2009 at 12:49

GoogleCodeExporter commented 8 years ago
so, i can't download TheLastRipper 0.2.1 Beta.dmg. link is broken?

again, for the sake of completeness, that are some exceptions when logging in 
under 10.4:
[Amber:~/Music/TheLastRipper] pcoelho% LastManager.ParseHandshake() Unknown 
key: info_message Value: 
LastManager.ParseHandshake() Unknown key: fingerprint_upload_url Value: 
http://ws.audioscrobbler.com/fingerprint/upload.php
LastManager.ParseHandshake() Unknown key: permit_bootstrap Value: 0

(but it logins in anyway).

Original comment by paulartc...@gmail.com on 25 Jan 2009 at 1:29

GoogleCodeExporter commented 8 years ago
From the mono exception stack it seems as libc.dylib was not found, that do 
looks
like a mono specific bug... I've attached a VERY simple HelloWorld windows.forms
application... It should close when you click the single button... See if it 
works
under 10.5 with mono, if not there's probably a bug in mono, which we should 
report.

Not, exceptions, just some stuff we don't know what is :)
So we print to terminal on Unix systems and put it in log on Windows...

I think the link is broken because there's spaces in it... So it wasn't 
formatted
correctly... here is the link again, in quotation:
"code.google.com/p/thelastripper/downloads/detail?name=TheLastRipper 0.2.1 
Beta.dmg"
Alternately, just go to the download tab at the top of this page and search 
through
ust as easy to use deprecated downloads.

On second thought it might be easier to use latest .app, the one that doesn't 
work.
Replace the binaries in TheLastRipper.app/Contents/Resources with the binaries 
from
windows version, also delete the .nib (file/directory) and keep the .icns file 
(I
think that's the icon)
The open TheLastRipper.app/Contents/MacOS/TheLastRipper
it's a shell script, I think app you'd have to do is to change the variables
COCOASHARP_MODE from 1 to 0 and MWF_MODE from 0 to 1.

I don't know if that shell script works, if not we'll have to come up with one 
that
can locate a binary in a relative directory and execute it with mono.
Or try to see if the macpack utility that comes with mono works...

Original comment by jopsen@gmail.com on 25 Jan 2009 at 8:11

Attachments:

GoogleCodeExporter commented 8 years ago
so, looks like there's a bug in mono indeed, i can't run HelloWorld.exe in OS X 
10.5. here are the messages:

Unhandled Exception: System.TypeInitializationException: An exception was 
thrown by the type initializer for 
System.Windows.Forms.XplatUI ---> System.DllNotFoundException: libc.dylib
  at (wrapper managed-to-native) System.Windows.Forms.XplatUI:uname (intptr)
  at System.Windows.Forms.XplatUI..cctor () [0x00000] 
  --- End of inner exception stack trace ---
  at System.Windows.Forms.Application.EnableVisualStyles () [0x00000] 
  at HelloWorld.Program.Main (System.String[] args) [0x00000] 

Original comment by paulartc...@gmail.com on 26 Jan 2009 at 9:08

GoogleCodeExporter commented 8 years ago
but the good news is that the modifications you told me to do in the .app 
worked!
i'm uploading the new dir in a tgz file here.

Original comment by paulartc...@gmail.com on 26 Jan 2009 at 9:11

Attachments:

GoogleCodeExporter commented 8 years ago
I'll publish it as an Alpha release, so that Mac users can use it...
But if we wanted to do something seriously, we probably should do a Cocoa# port 
(or
fix the one that already exists)...

I'm marked this issue fixed as it's kind of fixed... :)

Anyway, if you're interested in fixing the Cocoa# port join the development 
list and
make post about how we can fix the Cooca# port...
Development list: http://groups.google.com/group/thelastripper-dev

Original comment by jopsen@gmail.com on 28 Jan 2009 at 6:39

GoogleCodeExporter commented 8 years ago
hello, I'm running thelastripper on my ubuntu (latest= intrepid). I think I 
have the
same problem: it worked perfectly once (twice ?).

and today it's broken: when i start thelastripper from term, i have the 
following a
couple of seconds after cliking on login button:

LastManager.ParseHandshake() Unknown key: info_message Value: 
LastManager.ParseHandshake() Unknown key: fingerprint_upload_url Value:
http://ws.audioscrobbler.com/fingerprint/upload.php
LastManager.ParseHandshake() Unknown key: permit_bootstrap Value: 0

so i dont think this is a mac oir windows specific bug.

Original comment by idrisa...@gmail.com on 3 Feb 2009 at 10:49

GoogleCodeExporter commented 8 years ago
The ubuntu version is a bit older than the windows version and uses a different 
api,
so any problems with it probably is a TheLastRipper on ubuntu specific issue... 
:)

Original comment by jopsen@gmail.com on 4 Feb 2009 at 4:21