Openmobile looks like it has some promise, I hope the devs and testers are still working on it.

I'm running Ubuntu Natty and tried to get OM up and running. I have not had much success thus far. Here is some information as well as error messages. Can anyone suggest where I am going wrong. Here is info and what i have done and the results.

The setup screen comes up. I click "Forward" and use the default path of "/home/user/openMobile" as my installation path and click Forward. Setup is now ready to begin.... I click "Forward" and the installer runs and then says "Installation Completed" but only the "Cancel" button has the option to be selected. I then notice on the command line

Code:

[sudo] password for user:

Ok, so it is waiting for a sudo password, I enter it. This results in second window come up with the following

I click "OK" to close the error message, and then the first windows tells me that "Setup has finished installing Open Mobile on your computer" and gives me the option to click "Finish". Odd, since I received an error while installing.

Hrmmm, it looks like /opt/openMobile never gets created, perhaps an issue with waiting for elevated sudo privileges. The installer never really completely like it said it did.

Let me try by running the installer using sudo

Code:

user@machine:~/Downloads$ sudo ./openMobile-0.8-linux-x64.bin

The setup screen comes up. I click "Forward" and use the default path of "/opt/openMobile" as my installation path and click Forward. Setup is now ready to begin.... I click "Forward" and the installer runs and then says "Installation Completed" but 1 second later a window pops up with the following

Window Title = ROOT:Error

Code:

Error running sudo mono '/opt/openMobile/Tools/OpenInstaller.exe' -install :
** (/opt/openMobile/Tools/OpenInstaller.exe:21644): WARNING **: The following assembly referenced from /opt/openMobile/Tools/OpenInstaller.exe could not be loaded:
Assembly: System.Windows.Forms (assemblyref_index=1)
Version: 2.0.0.0
Public Key: b77a5c561934e089
The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/opt/openMobile/Tools/).

** (/opt/openMobile/Tools/OpenInstaller.exe:21644): WARNING **: Could not load file or assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.

Openmobile looks like it has some promise, I hope the devs and testers are still working on it.

Thanks! Dev's and testers are still around...

On to the issue though: I am not a linux guy at all fyi, but here, all the way at the bottom, is a rev671-linux.zip (http://openmobile.sourceforge.net/main/trunk/). Would you mind trying that one please. The 671 for windows doesn't need to be installed, so not sure about the linux side. But I did notice that the version you had said 0.8. and OM's come a long way since then. Just be aware that the build isn't 100% bug free.

03-13-2012, 09:44 PM

gumby_

Quote:

Originally Posted by detlion1643

Thanks! Dev's and testers are still around...

On to the issue though: I am not a linux guy at all fyi, but here, all the way at the bottom, is a rev671-linux.zip (http://openmobile.sourceforge.net/main/trunk/). Would you mind trying that one please. The 671 for windows doesn't need to be installed, so not sure about the linux side. But I did notice that the version you had said 0.8. and OM's come a long way since then. Just be aware that the build isn't 100% bug free.

Thanks for your response. It is great to hear from someone so promptly. I downloaded the rev671-linux-zip as you suggested. I unzipped the file then ran mono OpenMobile.exe, the results were not happy. Did I miss instructions on how to properly run Trunk (or any other version) in Linux?

Code:

mono ./OpenMobile.exe

Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for OpenMobile.Core ---> System.TypeInitializationException: An exception was thrown by the type initializer for OpenMobile.PluginHost ---> System.TypeInitializationException: An exception was thrown by the type initializer for OpenMobile.DisplayDevice ---> System.PlatformNotSupportedException: This platform is not supported.
at OpenMobile.Platform.Factory+UnsupportedPlatform.CreateDisplayDeviceDriver () [0x00000] in <filename unknown>:0
at OpenMobile.DisplayDevice..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at OpenMobile.PluginHost..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at OpenMobile.Core..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---

03-13-2012, 10:19 PM

gumby_

I've downloaded many versions and anything after version 626 I get errors trying to run OM. Were there dependency or dependency version changes from revision 626 to 627?

Code:

mono Open\ Mobile.exe

Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for OpenMobile.Core ---> System.TypeInitializationException: An exception was thrown by the type initializer for OpenMobile.PluginHost ---> System.TypeInitializationException: An exception was thrown by the type initializer for OpenMobile.DisplayDevice ---> System.PlatformNotSupportedException: This platform is not supported.
at OpenMobile.Platform.Factory+UnsupportedPlatform.CreateDisplayDeviceDriver () [0x00000] in <filename unknown>:0
at OpenMobile.DisplayDevice..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at OpenMobile.PluginHost..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at OpenMobile.Core..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---

03-14-2012, 07:09 AM

jmullan99

Hi Gumby. I'm one of the testers. Although I only test on Windows.

As Detlion mentioned, devs are still around. The latest build was just done yesterday in fact. However, everyone is in different timezones and work different hours, etc. So it may take a day to get some additional responses.

Now, if I recall, there was a call out for somebody to check and test against Linux. Perhaps you are interested in being this person? I will try to have one of the others get back to you on this issue.

John

03-14-2012, 07:59 AM

Efess

I've had Ubuntu 11.10 installed for a week, so maybe I can help. I haven't tried the installer yet (maybe I can try it tonight), but can you see if you have System.*.dll in /usr/lib/mono/2.0 ? Specifically System.Windows.Forms.dll

Edit- for some reason I didn't read the rest of your posts, and your current issue about initializing the display - it didn't detect that you're running under linux and never created an X11 display device.

I can help more when I'm out of work (I'm east coast US)

03-14-2012, 09:44 AM

heezer7

Yeah I can't say I have run it under linux in months and yes the easiest way was to just upzip the latest build and mono openmobile.exe it. Based on the exception my guess would be Justin was working on the opengl code to work on ARM chips and under opengles. Something in there must has messed with the linux detection process.

Btw: The latest builds (rev 671) isn't fully tested on Linux yet so they might fail. I'll see if I can do a quick test tonight.

Good morning/afternoon/evening to you all. Thanks for all your responses, it is good to see an active community.

@Borte: Thanks for the suggestions. I did read and follow your thread however you missed a few dependencies or they have changed or are different in later versions of Ubuntu. Missing were libmono-windowsbase3.0-cil and libmono-corlib1.0-cil and most likely some of the dependencies that apt brought in when installing them.

@heezer7: You may be on the right track.

@Efess: I'm not a developer but I can usually follow through a bit of code for troubleshooting purposes. If I have some time maybe I will try to find the OS detection snippet of code and see what it is trying to detect and why it is failing for me.

@John: I may be interested in testing and helping out. I generally use Linux as my primary OS of choice.