|
View:
New views
10 Messages
—
Rating Filter:
Alert me
|
|
|
Webbrowser and UbuntuHi All,
I am trying to create a desktop application with webbrowser control in it. I need this application run in ubuntu using mono. When i tried to run the application, an error comes up saying Thread (nil) may have been prematurely finalized but the application builds successfully. I googled around and i came to know about libgluezilla. I installed libgluzilla by using the command apt-get install libgluezilla. But still the webbrowser control is not working. Am I missing something? Please help. Regards, Chris |
|
|
Re: Webbrowser and Ubuntuchrisjob012 wrote:
> Hi All, > > I am trying to create a desktop application with webbrowser control in it. > I need this application run in ubuntu using mono. When i tried to run the > application, an error comes up saying > > Thread (nil) may have been prematurely finalized > > but the application builds successfully. > > I googled around and i came to know about libgluezilla. > > I installed libgluzilla by using the command apt-get install libgluezilla. > > But still the webbrowser control is not working. > > Am I missing something? Obviously, you also need xulrunner package installed -- check this. It's not working how? Do you get any error message on the terminal? -- Alex _______________________________________________ Mono-winforms-list maillist - Mono-winforms-list@... http://lists.ximian.com/mailman/listinfo/mono-winforms-list |
|
|
Re: Webbrowser and UbuntuHow can i install xulrunner? When I tried for an apt-cache search, it returned lots of results. which one of them should I install? thanks, chris |
|
|
Re: Webbrowser and Ubuntuchrisjob012 wrote:
>> > How can i install xulrunner? > > When I tried for an apt-cache search, it returned lots of results. which one > of them should I install? I'd go the most straightforward way: apt-get install xulrunner -- Cheers, Alex _______________________________________________ Mono-winforms-list maillist - Mono-winforms-list@... http://lists.ximian.com/mailman/listinfo/mono-winforms-list |
|
|
Re: Webbrowser and UbuntuHi Alex, when i typed in the command at the terminal, it seemed to install. But I am still getting the error. Am i missing something? regards, chris |
|
|
Re: Webbrowser and Ubuntuchrisjob012 wrote:
> > Alexander Shulgin wrote: >> chrisjob012 wrote: >>> How can i install xulrunner? >>> >>> When I tried for an apt-cache search, it returned lots of results. which >>> one >>> of them should I install? >> I'd go the most straightforward way: >> >> apt-get install xulrunner >> >> -- >> Cheers, >> Alex >> >> _______________________________________________ >> Mono-winforms-list maillist - Mono-winforms-list@... >> http://lists.ximian.com/mailman/listinfo/mono-winforms-list >> >> > > Hi Alex, > > when i typed in the command at the terminal, it seemed to install. But I am > still getting the error. > > Am i missing something? Probably. Don't you think it's time to enlighten us on the subject of what exactly is the error you get? :) -- Alex _______________________________________________ Mono-winforms-list maillist - Mono-winforms-list@... http://lists.ximian.com/mailman/listinfo/mono-winforms-list |
|
|
Re: Webbrowser and Ubuntu
Hi Alex, This is my scenario. I have a C#.Net application that i have developed in Visual studio. This program is intented to run on Ubuntu. This application has a form with a webbrowser control in it. I basically need to display a flash file in the webbrowser control. I have two Ubuntu machines, 1 is running on Ubuntu 8.10 and the second one is running on 8.04. When I open and run my application in MonoDevelop, I get two different errors. in the first machine, i get an error - Thread (nil) may have been prematurely finalized and in the second machine, I get an error - libgluezilla not found. To have webbrowser support, you need libgluezilla installed I have installed libgluezilla and xulrunner in both machines using the apt command. Hope you are clear with this. Thanks Chris |
|
|
Re: Webbrowser and Ubuntuchrisjob012 wrote:
> > Hi Alex, > > This is my scenario. > > I have a C#.Net application that i have developed in Visual studio. This > program is intented to run on Ubuntu. This application has a form with a > webbrowser control in it. I basically need to display a flash file in the > webbrowser control. > > I have two Ubuntu machines, 1 is running on Ubuntu 8.10 and the second one > is running on 8.04. When I open and run my application in MonoDevelop, I get > two different errors. > > in the first machine, i get an error - Thread (nil) may have been > prematurely finalized and in the second machine, I get an error - > libgluezilla not found. To have webbrowser support, you need libgluezilla > installed > > I have installed libgluezilla and xulrunner in both machines using the apt > command. Hm, I remember a similar problem with gluezilla on my Ubuntu-9.4. I don't recall how exactly I solved it but suppose I've compiled mono and gluezilla myself. You can try running MONO_LOG_LEVEL=debug mono myapp.exe | grep gluezilla on the second machine. In theory this should reveal which locations did mono try to find the lib and why it doesn't find one. About the problem on your first machine I have no idea. Maybe others have to say something about it. -- Regards, Alex _______________________________________________ Mono-winforms-list maillist - Mono-winforms-list@... http://lists.ximian.com/mailman/listinfo/mono-winforms-list |
|
|
Re: Webbrowser and Ubuntu
I tried your command and I am getting a lot of errors. Mono-WARNING **: The request to load the assembly mscorlib v1.0.5000.0 was remapped to v2.0.0.0 Mono-WARNING **: The request to load the assembly System.Drawing v1.0.5000.0 was remapped to v2.0.0.0 Mono-WARNING **: DllImport unable to load library 'libgdi32: cannot open shared object file: No such file or directory'. Mono-INFO: DllImport attempting to load: 'gluezilla'. Mono-INFO: DllImport loading location: 'libgluezilla.so'. Mono-INFO: DllImport error loading library: 'libgluezilla.so: cannot open shared object file: No such file or directory'. Mono-WARNING **: DllImport unable to load library 'libgluezilla: cannot open shared object file: No such file or directory'. Mono-INFO: DllImport error loading library: 'libgluezilla.so: cannot open shared object file: No such file or directory'. Mono-INFO: DllImport loading library: './libgluezilla.so'. Mono-INFO: DllImport error loading library './libgluezilla.so: cannot open shared object file: No such file or directory'. Mono-INFO: DllImport error loading library 'gluezilla: cannot open shared object file: No such file or directory'. Mono-WARNING **: DllImport unable to load library 'libgluezilla: cannot open shared object file: No such file or directory'. Mono-WARNING **: DllImport unable to load library 'lib/System/Library/Frameworks/Carbon.framework/Versions/Current/Carbon: cannot open shared object file: No such file or directory'. Mono-WARNING **: DllImport unable to load library 'libgdi32: cannot open shared object file: No such file or directory'. Mono-WARNING **: DllImport unable to load library 'libuxtheme: cannot open shared object file: No such file or directory'. What shoul I be doing? thanks, Chris |
|
|
Re: Webbrowser and UbuntuHi,
> What shoul I be doing? Okay, this throwback is interesting. For a start, why are you trying to load Mono 1.0 assemblies - have you checked what you're referencing in the build file (or if you're using MD what that shows)? It looks like you need libgluezilla-devel (this is how it would be called if it was on a Fedora box) - the .so files live in there. libgdi32 comes from libgdiplus, again, have you got that installed on your box (both the main package and the -devel package)? Carbon is MacOSX - no idea why you're getting this on an Ubuntu box. Again, check your makefile (or however you build the app) libuxtheme - no idea what that is! HTH TTFN Paul -- Sie können mich aufreizen und wirklich heiß machen! _______________________________________________ Mono-winforms-list maillist - Mono-winforms-list@... http://lists.ximian.com/mailman/listinfo/mono-winforms-list |
| Free embeddable forum powered by Nabble | Forum Help |