It looks like installing libmono-winforms2.0-cil did the trick.
Still trying to figure a few things out but I'm one step further nowCode:sudo apt-get install libmono-winforms2.0-cil
Hi all,
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.
Info
Code:cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=11.04 DISTRIB_CODENAME=natty DISTRIB_DESCRIPTION="Ubuntu 11.04"OM InstallationCode:dpkg -l |grep mono |grep ii ii libmono-addins-gui0.2-cil 0.4-8 GTK# frontend library for Mono.Addins ii libmono-addins0.2-cil 0.4-8 addin framework for extensible CLI applications/libraries ii libmono-cairo2.0-cil 2.6.7-5ubuntu3 Mono Cairo library (for CLI 2.0) ii libmono-corlib2.0-cil 2.6.7-5ubuntu3 Mono core library (for CLI 2.0) ii libmono-data-tds2.0-cil 2.6.7-5ubuntu3 Mono Data Library (for CLI 2.0) ii libmono-i18n-west2.0-cil 2.6.7-5ubuntu3 Mono I18N.West library (for CLI 2.0) ii libmono-management2.0-cil 2.6.7-5ubuntu3 Mono Management library (for CLI 2.0) ii libmono-posix2.0-cil 2.6.7-5ubuntu3 Mono.Posix library (for CLI 2.0) ii libmono-security2.0-cil 2.6.7-5ubuntu3 Mono Security library (for CLI 2.0) ii libmono-sharpzip2.84-cil 2.6.7-5ubuntu3 Mono SharpZipLib library (for CLI 2.0) ii libmono-sqlite2.0-cil 2.6.7-5ubuntu3 Mono Sqlite library (for CLI 2.0) ii libmono-system-data2.0-cil 2.6.7-5ubuntu3 Mono System.Data Library (for CLI 2.0) ii libmono-system2.0-cil 2.6.7-5ubuntu3 Mono System libraries (for CLI 2.0) ii libmono-zeroconf1.0-cil 0.9.0-2 CLI library for multicast DNS service discovery ii mono-2.0-gac 2.6.7-5ubuntu3 Mono GAC tool (for CLI 2.0) ii mono-csharp-shell 2.6.7-5ubuntu3 interactive C# shell ii mono-gac 2.6.7-5ubuntu3 Mono GAC tool ii mono-gmcs 2.6.7-5ubuntu3 Mono C# 2.0 and C# 3.0 compiler for CLI 2.0 ii mono-runtime 2.6.7-5ubuntu3 Mono runtime ii ubuntu-mono 0.0.30 Ubuntu Mono Icon theme
As User
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 lineCode:user@machine:~/Downloads$ chmod +x openMobile-0.8-linux-x64.bin user@machine:~/Downloads$ ./openMobile-0.8-linux-x64.bin
Ok, so it is waiting for a sudo password, I enter it. This results in second window come up with the followingCode:[sudo] password for user:
"Error running sudo mono '/opt/openMobile/Tools/OpenInstaller.exe' -install : child process exited abnormally"
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.
Lets see what is going on
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.Code:user@machine:~/Downloads$ ls -l /opt/ |grep openmobile user@machine:~/Downloads$
Let me try by running the installer using sudo
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 followingCode:user@machine:~/Downloads$ sudo ./openMobile-0.8-linux-x64.bin
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. Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. File name: 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
It looks like installing libmono-winforms2.0-cil did the trick.
Still trying to figure a few things out but I'm one step further nowCode:sudo apt-get install libmono-winforms2.0-cil
Thanks! Dev's and testers are still around...Openmobile looks like it has some promise, I hope the devs and testers are still working on it.
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.
Current Worklog: TBA - '05 Rav4 (Mobo Dead).
www.rav4world.com - Forums for Rav4 owners
www.flavorfeasts.com - Cooking website/forums
-Basic forums live atm, come contribute!
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 ---
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 ---
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
ZOTAC G43ITX-A-E 2.5ghz Dual Core Celeron 2GB 160GB SSD
Win7 Ultimate - Remote Starter - Directed HD - Wifi
Garmin Mobile + MS GPS Puck - LTE WiFi Hotspot
2 Zones - Matrix Orbital LCD - Arduino - Build Pics
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)
Last edited by Efess; 03-14-2012 at 08:41 AM.
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.
I'm not a Linux guru at all but I did set up a "how to" in this thread for OM on ubuntu: http://www.mp3car.com/openmobile/147...on-ubuntu.html maybe some off this might be of help.
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.
Failure is not an option...
__________________________________________________ ______________________________
The only full multizone / multiscreen cross platform open source Front End -> OpenMobile
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.
Bookmarks