From cdhowie at gmail.com Thu May 1 10:58:03 2008 From: cdhowie at gmail.com (Chris Howie) Date: Thu, 1 May 2008 10:58:03 -0400 Subject: [Mono-list] mono trademark 2891361 n face of Mono Ltd, Croatia ? In-Reply-To: <998453.92385.qm@web28210.mail.ukl.yahoo.com> References: <998453.92385.qm@web28210.mail.ukl.yahoo.com> Message-ID: <3d2f29dc0805010758u1912406ap5d68c910220845df@mail.gmail.com> On Tue, Apr 29, 2008 at 7:19 PM, Gerd Bauer wrote: > hello, > > why is mono a trademark of novell (for software)? > Why only in the us, and not in europe too? > I think Mono Ltd. sold software in the usa before the > mono-project started. (older rights?) > > Are the mono-project logos protected by any law too? > >I just wondering if this is an issue of copyright / > trademark breach? Misunderstanding? > http://logosauce.com/images/logos/thumbnails/20450-lightbox-1209489346.png > > best regards > gerd bauer IANAL, but I'm pretty sure that "mono" by itself cannot be trademarked as it is an English word. The logo can be trademarked, and possibly the name "Mono Project" can. IMO there is no issue here. (Striking similarities between the logos, though.) -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers From alan.mcgovern at gmail.com Thu May 1 11:10:42 2008 From: alan.mcgovern at gmail.com (Alan McGovern) Date: Thu, 1 May 2008 16:10:42 +0100 Subject: [Mono-list] mono trademark 2891361 n face of Mono Ltd, Croatia ? In-Reply-To: <3d2f29dc0805010758u1912406ap5d68c910220845df@mail.gmail.com> References: <998453.92385.qm@web28210.mail.ukl.yahoo.com> <3d2f29dc0805010758u1912406ap5d68c910220845df@mail.gmail.com> Message-ID: <117799f00805010810s56eb241bld5039d3415e5f567@mail.gmail.com> Well, the logo that was linked has been created recently as part of a logo competition, so if there is an issue that it's too similar - they copied the mono-project logo. IANAL and all that ;) Alan. On Thu, May 1, 2008 at 3:58 PM, Chris Howie wrote: > On Tue, Apr 29, 2008 at 7:19 PM, Gerd Bauer wrote: > > hello, > > > > why is mono a trademark of novell (for software)? > > Why only in the us, and not in europe too? > > I think Mono Ltd. sold software in the usa before the > > mono-project started. (older rights?) > > > > Are the mono-project logos protected by any law too? > > >I just wondering if this is an issue of copyright / > > trademark breach? Misunderstanding? > > > http://logosauce.com/images/logos/thumbnails/20450-lightbox-1209489346.png > > > > best regards > > gerd bauer > > IANAL, but I'm pretty sure that "mono" by itself cannot be trademarked > as it is an English word. The logo can be trademarked, and possibly > the name "Mono Project" can. IMO there is no issue here. > > (Striking similarities between the logos, though.) > > -- > Chris Howie > http://www.chrishowie.com > http://en.wikipedia.org/wiki/User:Crazycomputers > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080501/11588c84/attachment.html From webmaster at cosmicperl.com Thu May 1 11:40:14 2008 From: webmaster at cosmicperl.com (Lyle - CosmicPerl.com Support) Date: Thu, 01 May 2008 16:40:14 +0100 Subject: [Mono-list] VB problems Message-ID: <4819E45E.5060700@cosmicperl.com> I am having a problem getting vb aspx pages to work under Centos 5 64bit with mono server .net 2.0. My setup is: Mono-core 1.2.4 from the centos extras repo with all related mono packages devel, winforms, etc and required dependencies Xsp 1.2.4 from centos extras repo Mono-basic 1.2.4 from source mono project C# and the test pages work under both .net 1.0 and .net 2.0 VB pages work to some extent under .net 1.0, but I get the following error trying to run under the .net 2.0 Internal Server Error I would be greatfull for any comments of suggestions regarding this. Kind Regards From robertj at gmx.net Thu May 1 12:50:10 2008 From: robertj at gmx.net (Robert Jordan) Date: Thu, 01 May 2008 18:50:10 +0200 Subject: [Mono-list] VB problems In-Reply-To: <4819E45E.5060700@cosmicperl.com> References: <4819E45E.5060700@cosmicperl.com> Message-ID: Lyle - CosmicPerl.com Support wrote: > VB pages work to some extent under .net 1.0, but I get the following > error trying to run under the .net 2.0 If VB pages were working under 1.0 then you've installed the old discontinued mono-basic compiler. This guy does not support 2.0 at all. Please consider upgrading your mono to a recent version. 1.2.4 is over one year old. Robert From steve at abelscreening.com Thu May 1 12:57:29 2008 From: steve at abelscreening.com (Steve Harp) Date: Thu, 1 May 2008 12:57:29 -0400 Subject: [Mono-list] Closing console application on Linux Message-ID: <004a01c8abac$743e6570$5cbb3050$@com> Hi All, I'm writing a console application to run on Linux. The application will have a database connection open and may also read/write text files at any time. How do I ensure that connections and files are closed properly if someone stops the application (Ctrl+Z, Ctrl+C, etc.)? Thanks, Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080501/209e841e/attachment.html From jonpryor at vt.edu Thu May 1 14:12:07 2008 From: jonpryor at vt.edu (Jonathan Pryor) Date: Thu, 01 May 2008 18:12:07 +0000 Subject: [Mono-list] Closing console application on Linux In-Reply-To: <004a01c8abac$743e6570$5cbb3050$@com> References: <004a01c8abac$743e6570$5cbb3050$@com> Message-ID: <1209665527.342.25.camel@lina.magi.jprl.com> On Thu, 2008-05-01 at 12:57 -0400, Steve Harp wrote: > I?m writing a console application to run on Linux. The application > will have a database connection open and may also read/write text > files at any time. How do I ensure that connections and files are > closed properly if someone stops the application (Ctrl+Z, Ctrl+C, > etc.)? There are two answers: 1. You don't, because you can't -- the process is not alerted for many Unix signals, including SIGSTOP (Ctrl+Z) and SIGKILL (kill -9). Consequently, you might consider calling Stream.Flush() to (help) ensure that the contents are (more likely to be) written to disk so that a sudden process death isn't too problematic. This won't help for database connections, though. 2. For a limited set of signals, you could use Mono.Unix.UnixSignal to capture the signal, and poll the UnixSignal instance to see if it has been set (i.e. the signal has been generated), and gracefully close your app if the signal has been set. This works for SIGINT (Ctrl+C), etc. http://www.go-mono.com/docs/monodoc.ashx?link=T:Mono.Unix.UnixSignal - Jon From webmaster at cosmicperl.com Thu May 1 15:16:17 2008 From: webmaster at cosmicperl.com (Lyle - CosmicPerl.com Support) Date: Thu, 01 May 2008 20:16:17 +0100 Subject: [Mono-list] VB problems In-Reply-To: References: <4819E45E.5060700@cosmicperl.com> Message-ID: <481A1701.6060607@cosmicperl.com> Robert Jordan wrote: > If VB pages were working under 1.0 then you've installed the old > discontinued mono-basic compiler. This guy does not support > 2.0 at all. > > Please consider upgrading your mono to a recent version. > 1.2.4 is over one year old. > > Hi Robert, This is the only version of Mono we've managed to get working. We've tried new versions but without much luck. As Mono-Project only provide 32bit RPM's for RHEL4 I'm guessing there are problems getting it to work on 64bit RHEL5. I'm struggling to find some good clear guides on setting up and configuring Mono. VB pages were only half working under .NET 1, some loaded fine, others gave an error can't find VB8 compiler. When I looked at the file system VB7 is under mono/1/ and VB8 is under mono/2 so I guessed that was the VB 8 compiler for .NET 2? Thanks for your reply. I appreciate it. From iggy.ma at gmail.com Thu May 1 15:21:17 2008 From: iggy.ma at gmail.com (Iggy) Date: Thu, 1 May 2008 14:21:17 -0500 Subject: [Mono-list] Native Gtk# on OS X? Message-ID: <527a90a10805011221j1e3e8926qb75eb4851917ab2e@mail.gmail.com> Does Gtk# run natively on OS X now without having to use X11? I thought I read somewhere that it did... From gnorton at novell.com Thu May 1 17:07:09 2008 From: gnorton at novell.com (Geoff Norton) Date: Thu, 1 May 2008 17:07:09 -0400 Subject: [Mono-list] Native Gtk# on OS X? In-Reply-To: <527a90a10805011221j1e3e8926qb75eb4851917ab2e@mail.gmail.com> References: <527a90a10805011221j1e3e8926qb75eb4851917ab2e@mail.gmail.com> Message-ID: <6ACB246F-9131-4059-9F72-A640C8293335@novell.com> Yes it does, assuming you have Gtk+ with the Gdk Quartz backend installed. -g On 1-May-08, at 3:21 PM, Iggy wrote: > Does Gtk# run natively on OS X now without having to use X11? I > thought I read somewhere that it did... > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list From thisaddressisnotmine at td.selfip.net Thu May 1 19:36:17 2008 From: thisaddressisnotmine at td.selfip.net (Oleg Deribas) Date: Fri, 02 May 2008 09:36:17 +1000 Subject: [Mono-list] VB problems In-Reply-To: <481A1701.6060607@cosmicperl.com> References: <4819E45E.5060700@cosmicperl.com> <481A1701.6060607@cosmicperl.com> Message-ID: Lyle - CosmicPerl.com Support wrote: > This is the only version of Mono we've managed to get working. We've > tried new versions but without much luck. As Mono-Project only provide > 32bit RPM's for RHEL4 I'm guessing there are problems getting it to work > on 64bit RHEL5. There is repository here: http://anmar.eu.org/ -- Oleg From peter at wingsofdeath.nu Fri May 2 05:43:13 2008 From: peter at wingsofdeath.nu (Peter Hagen) Date: Fri, 2 May 2008 11:43:13 +0200 Subject: [Mono-list] appdomains Message-ID: <949A4C0B-BFF8-402C-A715-E075B962EE19@wingsofdeath.nu> Hi i have a very strange resource problem. I'm using the GemBox.Spreadsheet dll and it seemed that somehow the resources (or something) aren't freed on finishing. I did a manual GC.Collect and could see that the garbage collector did release the memory, but when looking into top or some kind of proces list, the memory was still in use. If I ran it a second time, it would even allocate more memory. The only way the memory is freed, is on killing xsp of apache. So, I thought I should use a different AppDomain. After sometime I got i working, but unfortunally, the memory is still not freed! I have the same issue with mono 1.9.1 and 1.2.6. According to GemBox, the GC.Collect should clean up the memory. Here is my code: AppDomainSetup setup = new AppDomainSetup(); setup.ApplicationBase = Path.Combine (ApplicationInfo.ApplicationPath, "bin"); setup.PrivateBinPath = ApplicationInfo.ApplicationPath; setup.ApplicationName = "CsvImport"; AppDomain appDomain = AppDomain.CreateDomain("Converter", null, setup); try { //Console.Error.WriteLine("Checkpoint 1"); ObjectHandle oh = (ObjectHandle)appDomain.CreateInstanceFrom (Path.Combine(Path.Combine(ApplicationInfo.ApplicationPath, "bin"), "DMICTService.Converter.GemBoxSpreadsheet.dll"), "DMICTService.Converter.GemBoxSpreadsheet.GemBoxConverter"); //Console.Error.WriteLine("Checkpoint 2"); object o = oh.Unwrap(); //if (o != null) // Console.Error.WriteLine("o={0}", o.GetType()); if (o is iAppDomainConverter) { // Console.Error.WriteLine("we have a iAppDomainConverter"); iAppDomainConverter conv = (iAppDomainConverter) o; // Console.Error.WriteLine(conv.ToUpper("test")); Willow.Common.IO io = new Willow.Common.IO(); Encoding enc = io.TextFileEncodingGuess(path); if (conv.LoadFileCsv(path, seperator, enc)) Console.Error.WriteLine("csv file loaded"); } } finally { AppDomain.Unload(appDomain); appDomain = null; } I thought that running something in a different domain would seperate the memory usage etc. So, shouldnt this construction clean up the memory? with kind regards Peter Hagen peter at wingsofdeath.nu www.WingsOfDeath.nu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080502/930ef912/attachment.html From webmaster at cosmicperl.com Fri May 2 09:57:55 2008 From: webmaster at cosmicperl.com (Lyle - CosmicPerl.com Support) Date: Fri, 02 May 2008 14:57:55 +0100 Subject: [Mono-list] VB problems In-Reply-To: <057e01c8ac4a$86a978f0$93fc6ad0$@com> References: <4819E45E.5060700@cosmicperl.com> <481A1701.6060607@cosmicperl.com> <057e01c8ac4a$86a978f0$93fc6ad0$@com> Message-ID: <481B1DE3.4000007@cosmicperl.com> Rolf Bjarne Kvinge wrote: >> Robert Jordan wrote: >> >>> If VB pages were working under 1.0 then you've installed the old >>> discontinued mono-basic compiler. This guy does not support >>> 2.0 at all. >>> >>> Please consider upgrading your mono to a recent version. >>> 1.2.4 is over one year old. >>> >>> >> Lyle wrote:- >> >> VB pages were only half working under .NET 1, some loaded fine, others >> gave an error can't find VB8 compiler. When I looked at the file system >> VB7 is under mono/1/ and VB8 is under mono/2 so I guessed that was the >> VB 8 compiler for .NET 2? >> >> > > The VB7 compiler we had (mbas) has been removed completely, and replaced by > a new compiler (vbnc) which targets VB8 / .NET 2.0. > > ... > If this still doesn't work, I'd need more info about the error (accessing > the page from the same machine as localhost will normally show an error page > with more information). > > Rolf > Pages have <%@ Page Language="VB" %> at the top Under mono 1.0: (mod-mono-server.exe) The default.aspx page loads http://www.uk-insurance-online.com/mono/ but some other pages work some don't. The error messages on the ones that don't work are: Could not load file or assembly 'Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Under mono 2.0 (mod-mono-server2.exe) an internal server message error occurs on loading all pages From rolflists at ya.com Fri May 2 10:14:15 2008 From: rolflists at ya.com (Rolf Bjarne Kvinge) Date: Fri, 2 May 2008 16:14:15 +0200 Subject: [Mono-list] VB problems In-Reply-To: <481B1DE3.4000007@cosmicperl.com> References: <4819E45E.5060700@cosmicperl.com> <481A1701.6060607@cosmicperl.com> <057e01c8ac4a$86a978f0$93fc6ad0$@com> <481B1DE3.4000007@cosmicperl.com> Message-ID: <058e01c8ac5e$ce308a10$6a919e30$@com> > -----Original Message----- > From: Lyle - CosmicPerl.com Support [mailto:webmaster at cosmicperl.com] > Sent: viernes, 02 de mayo de 2008 15:58 > To: Rolf Bjarne Kvinge > Cc: Mono-list at lists.ximian.com > Subject: Re: [Mono-list] VB problems > > Rolf Bjarne Kvinge wrote: > >> Robert Jordan wrote: > >> > >>> If VB pages were working under 1.0 then you've installed the old > >>> discontinued mono-basic compiler. This guy does not support > >>> 2.0 at all. > >>> > >>> Please consider upgrading your mono to a recent version. > >>> 1.2.4 is over one year old. > >>> > >>> > >> Lyle wrote:- > >> > >> VB pages were only half working under .NET 1, some loaded fine, > others > >> gave an error can't find VB8 compiler. When I looked at the file > system > >> VB7 is under mono/1/ and VB8 is under mono/2 so I guessed that was > the > >> VB 8 compiler for .NET 2? > >> > >> > > > > The VB7 compiler we had (mbas) has been removed completely, and > replaced by > > a new compiler (vbnc) which targets VB8 / .NET 2.0. > > > > ... > > If this still doesn't work, I'd need more info about the error > (accessing > > the page from the same machine as localhost will normally show an > error page > > with more information). > > > > Rolf > > > > Pages have > > <%@ Page Language="VB" %> > > at the top > > Under mono 1.0: (mod-mono-server.exe) VB for mono 1.0 isn't supported anymore, you need to use 2.0. (...) > Under mono 2.0 (mod-mono-server2.exe) > an internal server message error occurs on loading all pages This should work, but it's impossible to diagnose without more information. Are you sure vbnc (the VB8 compiler) is installed and accessible for mod-mono-server2.exe? Rolf From paul at all-the-johnsons.co.uk Fri May 2 10:33:00 2008 From: paul at all-the-johnsons.co.uk (Paul) Date: Fri, 02 May 2008 15:33:00 +0100 Subject: [Mono-list] Accessing one class from another Message-ID: <1209738780.16351.13.camel@T7.Linux> Hi, I have an application which is causing me a small headache (too much code, not enough rest syndrome!). I have two files - mainform.cs which contains code for dealing with the main winform. In the second file called xmlhander.cs, I have a class called xmlhander. In mainform.cs, I have a public class called Mainform. In this I have public Mainform() { this.InitializeComponent(); reset(); } then code. I can access everything defined in Mainform from other classes by just creating a new instance of it. Easy enough. Mainform mf = new Mainform(); In xmlhandler.cs, I have a public class called xmlhandler(). In this I have public xmlhandler() {} However, if I try and create an instance of xmlhandler within Mainform (same way : xmlhandler xml = new xmlhandler();), I get the following error (from monodevelop - my other thread holds, I'm editing using emacs and building via monodevelop) Line 30 : The type or namespace name `xmlhandler' could not be found. Are you missing a using directive of assembly reference? (CS0246) All source is in the same namespace (marker). Any help on this would be appreciated. TTFN Paul -- ?Sie k?nnen mich aufreizen und wirklich hei? machen! -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part Url : http://lists.ximian.com/pipermail/mono-list/attachments/20080502/414ad34c/attachment.bin From paul at all-the-johnsons.co.uk Fri May 2 10:55:16 2008 From: paul at all-the-johnsons.co.uk (Paul) Date: Fri, 02 May 2008 15:55:16 +0100 Subject: [Mono-list] Platform neutrality and finding where an application is Message-ID: <1209740116.16351.20.camel@T7.Linux> Hi, I need to read and write files out of a program I'm tinkering with, but I have to ensure that it makes no difference as to the platform it's on. To this end, I have the file either next to the exe (same directory) or in Resources/file.xml - problem is that while this is fine under Linux, it would have to be Resources\file.xml in Win32. Is there a way that I can read/write and let the runtime decide the host platform? Is there also a way to find out where the application is running from (for example /usr/bin/application.exe or My Documents\Somewhere \application.exe)? TTFN Paul -- ?Sie k?nnen mich aufreizen und wirklich hei? machen! -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part Url : http://lists.ximian.com/pipermail/mono-list/attachments/20080502/072fe809/attachment.bin From cdhowie at gmail.com Fri May 2 11:58:17 2008 From: cdhowie at gmail.com (Chris Howie) Date: Fri, 2 May 2008 11:58:17 -0400 Subject: [Mono-list] Platform neutrality and finding where an application is In-Reply-To: <1209740116.16351.20.camel@T7.Linux> References: <1209740116.16351.20.camel@T7.Linux> Message-ID: <3d2f29dc0805020858v6b4ceee9qca4898abfe04b36@mail.gmail.com> On Fri, May 2, 2008 at 10:55 AM, Paul wrote: > Hi, > > I need to read and write files out of a program I'm tinkering with, but > I have to ensure that it makes no difference as to the platform it's > on. > > To this end, I have the file either next to the exe (same directory) or > in Resources/file.xml - problem is that while this is fine under Linux, > it would have to be Resources\file.xml in Win32. > > Is there a way that I can read/write and let the runtime decide the host > platform? string location = System.IO.Path.Combine("Resources", "file.xml"); > Is there also a way to find out where the application is running from > (for example /usr/bin/application.exe or My Documents\Somewhere > \application.exe)? // For the directory the application was started in. This may not be the directory containing the application. string working_directory = System.Environment.CurrentDirectory; // The entry assembly's location. string assembly_location = System.Reflection.Assembly.GetEntryAssembly().Location; -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers From steve at abelscreening.com Fri May 2 12:47:51 2008 From: steve at abelscreening.com (Steve Harp) Date: Fri, 2 May 2008 12:47:51 -0400 Subject: [Mono-list] Linux Printers Message-ID: <005f01c8ac74$46b37910$d41a6b30$@com> Hi All, How do I get list of available printers on a Linux machine? I'm using C#/Mono and trying to populate a ComboBox with printers available on the computer. Thanks for any help, Steve Harp Abel Screening, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080502/7b2e7870/attachment.html From rolflists at ya.com Fri May 2 07:49:05 2008 From: rolflists at ya.com (Rolf Bjarne Kvinge) Date: Fri, 2 May 2008 13:49:05 +0200 Subject: [Mono-list] VB problems In-Reply-To: <481A1701.6060607@cosmicperl.com> References: <4819E45E.5060700@cosmicperl.com> <481A1701.6060607@cosmicperl.com> Message-ID: <057e01c8ac4a$86a978f0$93fc6ad0$@com> > -----Original Message----- > From: mono-list-bounces at lists.ximian.com [mailto:mono-list- > bounces at lists.ximian.com] On Behalf Of Lyle - CosmicPerl.com Support > Sent: jueves, 01 de mayo de 2008 21:16 > To: Robert Jordan > Cc: Mono-list at lists.ximian.com > Subject: Re: [Mono-list] VB problems > > Robert Jordan wrote: > > If VB pages were working under 1.0 then you've installed the old > > discontinued mono-basic compiler. This guy does not support > > 2.0 at all. > > > > Please consider upgrading your mono to a recent version. > > 1.2.4 is over one year old. > > > > > > Hi Robert, > This is the only version of Mono we've managed to get working. We've > tried new versions but without much luck. As Mono-Project only provide > 32bit RPM's for RHEL4 I'm guessing there are problems getting it to > work > on 64bit RHEL5. > > > I'm struggling to find some good clear guides on setting up and > configuring Mono. > > VB pages were only half working under .NET 1, some loaded fine, others > gave an error can't find VB8 compiler. When I looked at the file system > VB7 is under mono/1/ and VB8 is under mono/2 so I guessed that was the > VB 8 compiler for .NET 2? > The VB7 compiler we had (mbas) has been removed completely, and replaced by a new compiler (vbnc) which targets VB8 / .NET 2.0. You should be able to download and install newer versions of the VB compiler (and runtime) without updating your entire mono, just go to http://www.go-mono.com/mono-downloads/download.html and get the mono-basic package/source. If this still doesn't work, I'd need more info about the error (accessing the page from the same machine as localhost will normally show an error page with more information). Rolf > > > Thanks for your reply. I appreciate it. > > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > > -- > No virus found in this incoming message. > Checked by AVG. > Version: 7.5.524 / Virus Database: 269.23.7/1408 - Release Date: > 30/04/2008 18:10 From paramesh.gunasekaran at gmail.com Fri May 2 15:01:38 2008 From: paramesh.gunasekaran at gmail.com (Paramesh Gunasekaran) Date: Fri, 2 May 2008 16:01:38 -0300 Subject: [Mono-list] Compiling Mono from source code In-Reply-To: <480DF986.8050509@quarter-flash.com> References: <58d196c60804210657s12ffd1eer7a9e654694d7295b@mail.gmail.com> <58d196c60804211553r7096e4d9lc763ab4713b14222@mail.gmail.com> <58d196c60804220535s5510111bnfaadb84b77f67674@mail.gmail.com> <58d196c60804220625i6034f26bvfccdcf88c630ef4a@mail.gmail.com> <58d196c60804220738y61e804dct3a405d1cb960dbc0@mail.gmail.com> <480DF986.8050509@quarter-flash.com> Message-ID: <58d196c60805021201o5b066624nb9572f98def0bd6b@mail.gmail.com> I'm seeing the same error.... No luck.... Any other clue??? On Tue, Apr 22, 2008 at 11:43 AM, Kenneth D Weinert wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > > Paramesh Gunasekaran wrote: > > No. I'm not having Mono in PATH and PKG_CONFIG_PATH > > > > I've used bash.bashrc file at C:\Cygwin\etc to set these. But they > > are not reflecting. Do I need to specify somewhere? > > > I don't know for sure about cygwin, but on Linux in order to get those > variable set in your current shell you have to use the "source" or "." > commands. > > Just executing the shell like: > > c:\cygwin\etc\bash.bashrc > > won't set the variables in your current shell. You have to do it like: > > . c:\cygwin\etc\bash.bashrc > > or > > source c:\cygwin\etc\bash.bashrc > > You may already know this, but I thought I'd make it explicit just in > case you weren't already familiar with Linux and the command line. > It's also possible that the shell running under cygwin operates > differently and the problem lies elsewhere - just thought I'd give you > something to look at "just in case." > > > - -- > Ken Weinert > http://quarter-flash.com > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIDfmGH0OpnUzq8fARAhfBAJ9WaK9poWy5dxlZF95RgF5YtLZwsgCfX1DU > eZaUVW0a8CWY9aVXvLiREPM= > =x5Vc > -----END PGP SIGNATURE----- > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080502/777093ef/attachment.html From jonathan.gagnon at croesus.com Fri May 2 15:44:05 2008 From: jonathan.gagnon at croesus.com (Jonathan Gagnon) Date: Fri, 2 May 2008 15:44:05 -0400 Subject: [Mono-list] mono debugger Message-ID: <02d601c8ac8c$e449a650$1b36a8c0@PROG159> Hi, I have a core dump of mono that I generated with gcore. I want to be able to see the managed call stack of the diffrent threads. With the information I got from here : http://www.mono-project.com/Debugging I thought I'd be able to see it with the mono_stack macro. Unfortunately, it requires a running application and it doesn't work with a core dump (I get the error message "You can't do that without a process to debug." from gdb). I then tried the mono debugger. According to the features list found here (http://www.mono-project.com/Debugger), it is supposed to be able to examine core dumps. Unfortunately, I can't find the documentation on how to do it anywhere. The only thing I found out is that I can use the command "core coreFileName" to load the core dump, but I get an exception when I do this. Here is the exception I get : (mdb) core ./core.27349 Loading core file ./core.27349 ERROR: Caught exception while executing command Mono.Debugger.Frontend.DebuggerEngine: System.EntryPointNotFoundException: mono_debugger_server_get_registers_from_core_file at (wrapper managed-to-native) CoreFileThread:mono_debugger_server_get_registers_from_core_file (intptr,intptr) at Mono.Debugger.Backend.CoreFile+CoreFileThread.read_registers () [0x00079] in /home/jonathang/trunk/debugger/backend/arch/CoreFile.cs:238 at Mono.Debugger.Backend.CoreFile+CoreFileThread..ctor (Mono.Debugger.Backend.CoreFile core, Int32 pid) [0x00038] in /home/jonathang/trunk/debugger/backend/arch/CoreFile.cs:217 at (wrapper remoting-invoke-with-check) CoreFileThread:.ctor (Mono.Debugger.Backend.CoreFile,int) at Mono.Debugger.Backend.CoreFile.read_note_section () [0x00053] in /home/jonathang/trunk/debugger/backend/arch/CoreFile.cs:146 at Mono.Debugger.Backend.CoreFile..ctor (Mono.Debugger.Backend.ThreadManager manager, Mono.Debugger.Backend.ProcessStart start) [0x00077] in /home/jonathang/trunk/debugger/backend/arch/CoreFile.cs:66 at (wrapper remoting-invoke-with-check) Mono.Debugger.Backend.CoreFile:.ctor (Mono.Debugger.Backend.ThreadManager,Mono.Debugger.Backend.ProcessStart) at Mono.Debugger.Backend.CoreFile.OpenCoreFile (Mono.Debugger.Backend.ThreadManager manager, Mono.Debugger.Backend.ProcessStart start) [0x00000] in /home/jonathang/trunk/debugger/backend/arch/CoreFile.cs:21 at Mono.Debugger.Backend.ThreadManager.OpenCoreFile (Mono.Debugger.Backend.ProcessStart start, Mono.Debugger.Thread[]& threads) [0x00000] in /home/jonathang/trunk/debugger/backend/ThreadManager.cs:111 at (wrapper remoting-invoke-with-check) Mono.Debugger.Backend.ThreadManager:OpenCoreFile (Mono.Debugger.Backend.ProcessStart,Mono.Debugger.Thread[]&) at Mono.Debugger.Backend.DebuggerServant.OpenCoreFile (Mono.Debugger.DebuggerSession session, System.String core_file, Mono.Debugger.Thread[]& threads) [0x00020] in /home/jonathang/trunk/debugger/backend/DebuggerServant.cs:169 at (wrapper remoting-invoke-with-check) Mono.Debugger.Backend.DebuggerServant:OpenCoreFile (Mono.Debugger.DebuggerSession,string,Mono.Debugger.Thread[]&) at Mono.Debugger.Debugger.OpenCoreFile (Mono.Debugger.DebuggerSession session, System.String core_file, Mono.Debugger.Thread[]& threads) [0x00006] in /home/jonathang/trunk/debugger/classes/Debugger.cs:153 at (wrapper remoting-invoke-with-check) Mono.Debugger.Debugger:OpenCoreFile (Mono.Debugger.DebuggerSession,string,Mono.Debugger.Thread[]&) at Mono.Debugger.Frontend.Interpreter.OpenCoreFile (System.String core_file) [0x00000] at (wrapper remoting-invoke-with-check) Mono.Debugger.Frontend.Interpreter:OpenCoreFile (string) at Mono.Debugger.Frontend.OpenCoreFileCommand.DoExecute (Mono.Debugger.Frontend.ScriptingContext context) [0x00000] at Mono.Debugger.Frontend.DebuggerCommand.Execute (Mono.Debugger.Frontend.ScriptingContext context) [0x00000] at Mono.Debugger.Frontend.DebuggerCommand.Execute (Mono.Debugger.Frontend.Engine e) [0x00000] at Mono.Debugger.Frontend.Engine.Run (System.String s, System.Collections.ArrayList args) [0x00000] Is this supposed to work and if it is, how can I get it to work? Otherwise, is there any other way that I could get the managed call stack of the threads from a core dump? Thanks, Jonathan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080502/f251575c/attachment-0001.html From matte at installernet.com Fri May 2 17:00:25 2008 From: matte at installernet.com (matt) Date: Fri, 02 May 2008 17:00:25 -0400 Subject: [Mono-list] Mod Mono on CentOS 5 Message-ID: <481B80E9.8050806@installernet.com> What would be the easiest way to install and configure mono, xsp, mod-mono on CentOS5? Ive tied using the default packages via yum, it installs the 1.2.4 versions and get hung up on the following error when using any images, ect, "System.DllNotFoundException: gdiplus.dll" I've tied using the mono.repo file under the downloads section which try s to install the 1.9.1 version, but it gets hung up on a missing dependency libexif.so.9 and wont install. I've also try'ed using the Linux installer under the unsupported downloads section, which installs, but it doesn't seem to have the mod-mono system links, so I am at a loss on how to configure it with apache once its installed. I would like to ovoid trying to compile from sources only because it turned into a mess last time i try'ed, and i ended up starting with a clean os install rather then trying to manually remove a half completed mono install that error'ed out during the compile process. Also would be a bonus if i could use a maintained package to make upgrading to current versions easier. Any help on this would great :) From shana.ufie at gmail.com Fri May 2 18:22:23 2008 From: shana.ufie at gmail.com (Andreia Gaita) Date: Fri, 2 May 2008 23:22:23 +0100 Subject: [Mono-list] Linux Printers In-Reply-To: <005f01c8ac74$46b37910$d41a6b30$@com> References: <005f01c8ac74$46b37910$d41a6b30$@com> Message-ID: <3ec1038d0805021522j38d7c16eqf8ab9d15b889fd4e@mail.gmail.com> On 5/2/08, Steve Harp wrote: > Hi All, > > How do I get list of available printers on a Linux machine? I'm using > C#/Mono and trying to populate a ComboBox with printers available on the > computer. One way is to use System.Drawing.Printing.PrinterSettings.InstalledPrinters , which returns a string collection of all detected printers. andreia gaita From julien at sobrier.net Fri May 2 19:20:25 2008 From: julien at sobrier.net (Julien Sobrier) Date: Fri, 02 May 2008 16:20:25 -0700 Subject: [Mono-list] Stability fo mod_mono In-Reply-To: <4815B11B.20202@occams.info> References: <481363D1.3030908@sobrier.net> <48145F31.7070907@occams.info> <4814BDCB.705@sobrier.net> <4815B11B.20202@occams.info> Message-ID: <481BA1B9.6060403@sobrier.net> Joshua Tauberer wrote: > Julien Sobrier wrote: >> Joshua Tauberer wrote: >>> I fixed this after 1.2.6, but I don't think it's related to your >>> problems. >>> >>> So one problem at a time- On the first access after a restart, is the >>> timeout occurring in ASP.NET? (i.e. it times itself out) >>> >> Thank you. How can I figure this out? > > Well, I mean, did you get an ASP.NET error page? > No either a 500 or a 503 from Apache From julien at sobrier.net Fri May 2 19:22:19 2008 From: julien at sobrier.net (Julien Sobrier) Date: Fri, 02 May 2008 16:22:19 -0700 Subject: [Mono-list] alternative to scriptResourceHandler? Message-ID: <481BA22B.5000307@sobrier.net> Hello, as of mono 1.2.6, scriptResourceHandler is not handled in Wb.config. Is there an alternative to to emable the compression and caching when we use the MS AJAX framework on mod_mono? Thank you Julien From hannes.software at gmx.at Thu May 1 06:32:54 2008 From: hannes.software at gmx.at (hannes_a) Date: Thu, 1 May 2008 03:32:54 -0700 (PDT) Subject: [Mono-list] Using System.Data.Common.DbProviderFactory with Mono In-Reply-To: <16492564.post@talk.nabble.com> References: <15735200.post@talk.nabble.com> <1204202707.18296.147.camel@vvaradhan.blr.novell.com> <15753892.post@talk.nabble.com> <16349638.post@talk.nabble.com> <1207143241.7692.104.camel@vvaradhan.blr.novell.com> <16492564.post@talk.nabble.com> Message-ID: <16993197.post@talk.nabble.com> I have a similar problem with ASP.NET site to connect to oracle on mono. Same error message with mono 1.9.1 Oracle 11g 64 bit on openSuse 10.3 64 bit And I have actually no idea, how to solve ssamayoa wrote: > >> As with any software, bugs are part of it and we sincerely appreciate >> your efforts to help us clean these bugs. While we appreciate your >> efforts in helping us by reporting bugs, we also seek some kinda >> understanding that bugs are handled according to some priorities and >> sometimes they may not attract immediate attention. > > I cant belive that nobody else has this problem! > > -- View this message in context: http://www.nabble.com/Using-System.Data.Common.DbProviderFactory-with-Mono-tp15735200p16993197.html Sent from the Mono - General mailing list archive at Nabble.com. From justinemmanuel at gmail.com Fri May 2 14:44:45 2008 From: justinemmanuel at gmail.com (supercarrot) Date: Fri, 2 May 2008 11:44:45 -0700 (PDT) Subject: [Mono-list] using Gecko not working in Monodevelop in Ubuntu Hardy Message-ID: <17025586.post@talk.nabble.com> Please help, having real problems with trying to use Gecko. I have "using Gecko;" It states: The type namespace name `Gecko' could not be found. Are you missing a using directive or an assembley directive?(CS0246) I have installed everything in the repository that is linked with Gecko or Mozilla-dev. Still no progress. Does anyone have a solution to this? -- View this message in context: http://www.nabble.com/using-Gecko-not-working-in-Monodevelop-in-Ubuntu-Hardy-tp17025586p17025586.html Sent from the Mono - General mailing list archive at Nabble.com. From paramesh.gunasekaran at gmail.com Fri May 2 15:21:47 2008 From: paramesh.gunasekaran at gmail.com (Paramesh Gunasekaran) Date: Fri, 2 May 2008 16:21:47 -0300 Subject: [Mono-list] Compiling Mono from source code In-Reply-To: <58d196c60805021201o5b066624nb9572f98def0bd6b@mail.gmail.com> References: <58d196c60804210657s12ffd1eer7a9e654694d7295b@mail.gmail.com> <58d196c60804211553r7096e4d9lc763ab4713b14222@mail.gmail.com> <58d196c60804220535s5510111bnfaadb84b77f67674@mail.gmail.com> <58d196c60804220625i6034f26bvfccdcf88c630ef4a@mail.gmail.com> <58d196c60804220738y61e804dct3a405d1cb960dbc0@mail.gmail.com> <480DF986.8050509@quarter-flash.com> <58d196c60805021201o5b066624nb9572f98def0bd6b@mail.gmail.com> Message-ID: <58d196c60805021221y3a6fa852jc0576c50bab5dfaa@mail.gmail.com> I also tried Visual Studio build by building mono.sln present at C:\Cygwin\usr\src\mono\mono\msvc. I've attached the error produced during the build. Any clue here??? On Fri, May 2, 2008 at 4:01 PM, Paramesh Gunasekaran < paramesh.gunasekaran at gmail.com> wrote: > I'm seeing the same error.... No luck.... Any other clue??? > > > On Tue, Apr 22, 2008 at 11:43 AM, Kenneth D Weinert < > kenw at quarter-flash.com> wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > > > > > Paramesh Gunasekaran wrote: > > > No. I'm not having Mono in PATH and PKG_CONFIG_PATH > > > > > > I've used bash.bashrc file at C:\Cygwin\etc to set these. But they > > > are not reflecting. Do I need to specify somewhere? > > > > > I don't know for sure about cygwin, but on Linux in order to get those > > variable set in your current shell you have to use the "source" or "." > > commands. > > > > Just executing the shell like: > > > > c:\cygwin\etc\bash.bashrc > > > > won't set the variables in your current shell. You have to do it like: > > > > . c:\cygwin\etc\bash.bashrc > > > > or > > > > source c:\cygwin\etc\bash.bashrc > > > > You may already know this, but I thought I'd make it explicit just in > > case you weren't already familiar with Linux and the command line. > > It's also possible that the shell running under cygwin operates > > differently and the problem lies elsewhere - just thought I'd give you > > something to look at "just in case." > > > > > > - -- > > Ken Weinert > > http://quarter-flash.com > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.6 (GNU/Linux) > > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > > > iD8DBQFIDfmGH0OpnUzq8fARAhfBAJ9WaK9poWy5dxlZF95RgF5YtLZwsgCfX1DU > > eZaUVW0a8CWY9aVXvLiREPM= > > =x5Vc > > -----END PGP SIGNATURE----- > > > > _______________________________________________ > > Mono-list maillist - Mono-list at lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080502/dcd06bed/attachment-0001.html -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: err.txt Url: http://lists.ximian.com/pipermail/mono-list/attachments/20080502/dcd06bed/attachment-0001.txt From robertj at gmx.net Mon May 5 05:32:01 2008 From: robertj at gmx.net (Robert Jordan) Date: Mon, 05 May 2008 11:32:01 +0200 Subject: [Mono-list] Compiling Mono from source code In-Reply-To: <58d196c60805021221y3a6fa852jc0576c50bab5dfaa@mail.gmail.com> References: <58d196c60804210657s12ffd1eer7a9e654694d7295b@mail.gmail.com> <58d196c60804211553r7096e4d9lc763ab4713b14222@mail.gmail.com> <58d196c60804220535s5510111bnfaadb84b77f67674@mail.gmail.com> <58d196c60804220625i6034f26bvfccdcf88c630ef4a@mail.gmail.com> <58d196c60804220738y61e804dct3a405d1cb960dbc0@mail.gmail.com> <480DF986.8050509@quarter-flash.com> <58d196c60805021201o5b066624nb9572f98def0bd6b@mail.gmail.com> <58d196c60805021221y3a6fa852jc0576c50bab5dfaa@mail.gmail.com> Message-ID: You must set the env var MONO_DEPENDENCIES_PREFIX to point to your local mono installation. However, you will not succeed w/out cygwin since it's still needed for parts of mono's build process. Robert Paramesh Gunasekaran wrote: > I also tried Visual Studio build by building mono.sln present at > C:\Cygwin\usr\src\mono\mono\msvc. I've attached the error produced during > the build. > > Any clue here??? > > On Fri, May 2, 2008 at 4:01 PM, Paramesh Gunasekaran < > paramesh.gunasekaran at gmail.com> wrote: > >> I'm seeing the same error.... No luck.... Any other clue??? >> >> >> On Tue, Apr 22, 2008 at 11:43 AM, Kenneth D Weinert < >> kenw at quarter-flash.com> wrote: >> >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA1 >>> >>> >>> >>> Paramesh Gunasekaran wrote: >>>> No. I'm not having Mono in PATH and PKG_CONFIG_PATH >>>> >>>> I've used bash.bashrc file at C:\Cygwin\etc to set these. But they >>>> are not reflecting. Do I need to specify somewhere? >>>> >>> I don't know for sure about cygwin, but on Linux in order to get those >>> variable set in your current shell you have to use the "source" or "." >>> commands. >>> >>> Just executing the shell like: >>> >>> c:\cygwin\etc\bash.bashrc >>> >>> won't set the variables in your current shell. You have to do it like: >>> >>> . c:\cygwin\etc\bash.bashrc >>> >>> or >>> >>> source c:\cygwin\etc\bash.bashrc >>> >>> You may already know this, but I thought I'd make it explicit just in >>> case you weren't already familiar with Linux and the command line. >>> It's also possible that the shell running under cygwin operates >>> differently and the problem lies elsewhere - just thought I'd give you >>> something to look at "just in case." >>> >>> >>> - -- >>> Ken Weinert >>> http://quarter-flash.com >>> -----BEGIN PGP SIGNATURE----- >>> Version: GnuPG v1.4.6 (GNU/Linux) >>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org >>> >>> iD8DBQFIDfmGH0OpnUzq8fARAhfBAJ9WaK9poWy5dxlZF95RgF5YtLZwsgCfX1DU >>> eZaUVW0a8CWY9aVXvLiREPM= >>> =x5Vc >>> -----END PGP SIGNATURE----- >>> >>> _______________________________________________ >>> Mono-list maillist - Mono-list at lists.ximian.com >>> http://lists.ximian.com/mailman/listinfo/mono-list >>> >> > > > ------------------------------------------------------------------------ > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list From mbd at dbc.dk Mon May 5 05:33:37 2008 From: mbd at dbc.dk (Mads Bondo Dydensborg) Date: Mon, 5 May 2008 11:33:37 +0200 Subject: [Mono-list] using Gecko not working in Monodevelop in Ubuntu Hardy In-Reply-To: <17025586.post@talk.nabble.com> References: <17025586.post@talk.nabble.com> Message-ID: <200805051133.37699.mbd@dbc.dk> fredag 02 Maj 2008 skrev supercarrot: > > Please help, having real problems with trying to use Gecko. I have "using > Gecko;" It states: > > The type namespace name `Gecko' could not be found. Are you missing a using > directive or an assembley directive?(CS0246) You probably need an assembly reference in your monodevelop project? Regards Mads -- Med venlig hilsen/Regards Systemudvikler/Systemsdeveloper cand.scient.dat, Ph.d., Mads Bondo Dydensborg Dansk BiblioteksCenter A/S, Tempovej 7-11, 2750 Ballerup, Tlf. +45 44 86 77 34 From adrien.dessemond at softhome.net Mon May 5 07:03:42 2008 From: adrien.dessemond at softhome.net (Adrien Dessemond) Date: Mon, 5 May 2008 07:03:42 -0400 Subject: [Mono-list] Mono 1.9.1 and MonoDevelop 1.0 Packages for Debian Etch In-Reply-To: <1209304183.7591.30.camel@redbull.qnetp.net> References: <144160610804231456g77505fa3kb0ae85ed9556463a@mail.gmail.com> <1208988065.7534.4.camel@redbull.qnetp.net> <1209068821.7267.16.camel@redbull.qnetp.net> <144160610804241531g1d097571u911f0a69f1a2f03f@mail.gmail.com> <1209304183.7591.30.camel@redbull.qnetp.net> Message-ID: <20080505070342.b9be48d8.adrien.dessemond@softhome.net> On Sun, 27 Apr 2008 15:49:43 +0200 Mirco Bauer wrote: Hi, > On Thu, 2008-04-24 at 17:31 -0500, Daniel Espinosa wrote: > > Are there any plan to create Ubuntu debian packages and its repository? > > I am only a Debian Developer, you need to ask Ubuntu Developers if they > plan to create backports. FYI, I installed the packages from your repository on a Ubuntu box and everything went fine. Nice job ! Adrien From steve at abelscreening.com Mon May 5 10:08:18 2008 From: steve at abelscreening.com (Steve Harp) Date: Mon, 5 May 2008 10:08:18 -0400 Subject: [Mono-list] Linux Printers In-Reply-To: <3ec1038d0805021522j38d7c16eqf8ab9d15b889fd4e@mail.gmail.com> References: <005f01c8ac74$46b37910$d41a6b30$@com> <3ec1038d0805021522j38d7c16eqf8ab9d15b889fd4e@mail.gmail.com> Message-ID: <00d701c8aeb9$78e1dcf0$6aa596d0$@com> >On 5/2/08, Steve Harp wrote: >> Hi All, >> >> How do I get list of available printers on a Linux machine? I'm using >> C#/Mono and trying to populate a ComboBox with printers available on the >> computer. > One way is to use > System.Drawing.Printing.PrinterSettings.InstalledPrinters , which > returns a string collection of all detected printers. > > andreia gaita Thanks for the reply Andreia. With this, I get an error "libcups not found. To have printing support, you need cups installed." I do have cups installed along with several cups related libraries. I'm using openSuse 10.3 and there is no libcups available in Yast. Steve From contact at i-nz.net Mon May 5 10:57:43 2008 From: contact at i-nz.net (Ivan N. Zlatev) Date: Mon, 5 May 2008 15:57:43 +0100 Subject: [Mono-list] Linux Printers In-Reply-To: <00d701c8aeb9$78e1dcf0$6aa596d0$@com> References: <005f01c8ac74$46b37910$d41a6b30$@com> <3ec1038d0805021522j38d7c16eqf8ab9d15b889fd4e@mail.gmail.com> <00d701c8aeb9$78e1dcf0$6aa596d0$@com> Message-ID: <3db1ec7f0805050757mce6ca40g4a41190b3aeda86d@mail.gmail.com> On Mon, May 5, 2008 at 3:08 PM, Steve Harp wrote: > > > >On 5/2/08, Steve Harp wrote: > >> Hi All, > >> > >> How do I get list of available printers on a Linux machine? I'm using > >> C#/Mono and trying to populate a ComboBox with printers available on the > >> computer. > > > One way is to use > > System.Drawing.Printing.PrinterSettings.InstalledPrinters , which > > returns a string collection of all detected printers. > > > > andreia gaita > > Thanks for the reply Andreia. With this, I get an error "libcups not found. > To have printing support, you need cups installed." I do have cups > installed along with several cups related libraries. I'm using openSuse > 10.3 and there is no libcups available in Yast. > libcups is part of the cups-devel package, which you should install. From lupus at ximian.com Mon May 5 05:45:28 2008 From: lupus at ximian.com (Paolo Molaro) Date: Mon, 5 May 2008 11:45:28 +0200 Subject: [Mono-list] How best to detect if running in mono from an unmanaged library? In-Reply-To: <260A0A30F9017945932CC4F7B911B3390717ADAB@i3mail1.i3domain.inin.com> References: <260A0A30F9017945932CC4F7B911B3390717ADAB@i3mail1.i3domain.inin.com> Message-ID: <20080505094528.GA11153@debian.org> On 04/30/08 Maser, Dan wrote: > I've got a situation where my managed app p/invokes to my unmanaged > library. The unmanaged library also gets used in regular unmanaged > processes. > > The library has some logic that uses the name of the executable. > Which doesn't what I want when it's used via the interop. For example > when the library is used from "my_regular_program.exe" it generates an > output file of "my_regular_program.output". When I interop to that same > library and run under mono using the command line "mono my_assembly.exe" > the library generates "mono.output" when naturally I'd prefer > "my_assembly.output". Since you control both ends, make things explicit by having a function in the unmanaged lib that is used to set the basename and p/invoke that from the managed program. lupus -- ----------------------------------------------------------------- lupus at debian.org debian/rules lupus at ximian.com Monkeys do it better From vertexwahn at gmx.de Mon May 5 12:40:04 2008 From: vertexwahn at gmx.de (Julian Amann) Date: Mon, 5 May 2008 18:40:04 +0200 Subject: [Mono-list] ALINK: error A1010: Missing: '' for 'culture' option Message-ID: I tried to build some projects, which were originally developed under visual studio 2008 I tested 5 projects - 4 work fine but one fails The linker (???) says: "ALINK: error A1010: Missing: '' for 'culture' option" I have no idea what this means - has anybody an idea how to fix this? From matte at installernet.com Mon May 5 17:42:22 2008 From: matte at installernet.com (matt) Date: Mon, 05 May 2008 17:42:22 -0400 Subject: [Mono-list] System.DllNotFoundException: gdiplus.dll Message-ID: <481F7F3E.3080109@installernet.com> An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080505/fd3d9912/attachment.html From ben.aurel at gmail.com Tue May 6 07:05:52 2008 From: ben.aurel at gmail.com (Ben Aurel) Date: Tue, 6 May 2008 13:05:52 +0200 Subject: [Mono-list] Errormessage running Nunit on Mac Leopard Message-ID: <899c88330805060405n7cf6c970m66881c6af8012d77@mail.gmail.com> hi I've built mono from sources on my Mac 10.5.2 which went fine (mostly I guess). $ mcs HelloWorld.cs $ mono HelloWolrd.exe Hello World! that went fine so far... Now I wanted to take it to the next step by writing a simple nunit test: (sources from the nunit-site, see below): $ mcs -t:library Account.cs [1] $ mcs -pkg:dotnet -r:Nunit.Framework -r:Account -t:library AccountTest.cs [2] $ nunit-console AccountTest.dll: NUnit version 2.2.0 Copyright (C) 2002-2003 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov, Charlie Poole. Copyright (C) 2000-2003 Philip Craig. All Rights Reserved. OS Version: Unix 9.2.2.0 Mono Version: 1.1.4322.2032 .F Tests run: 1, Failures: 1, Not run: 0, Time: 0.041441 seconds Tests run: 1, Failures: 1, Not run: 0, Time: 0.041441 seconds Failures: 1) bank.AccountTest.TransferFunds : expected:<250> but was:<150> and then a strange MESSAGE: at bank.AccountTest.TransferFunds () [0x00000] at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00041] in ~/mono/compiling/mcs/class/corlib/System.Reflection/MonoMethod.cs:157 I don't think this reference to MonoMethod.cs:157 is normal. What is wrong here? Thanks in advance. Ben [1] Account.cs public class Account { private float balance; public void Deposit(float amount) { balance+=amount; } public void Withdraw(float amount) { balance-=amount; } public void TransferFunds(Account destination, float amount) { } public float Balance { get{ return balance;} } } } [2] AccountTest.cs namespace bank { using NUnit.Framework; [TestFixture] public class AccountTest { [Test] public void TransferFunds() { Account source = new Account(); source.Deposit(200.00F); Account destination = new Account(); destination.Deposit(150.00F); source.TransferFunds(destination, 100.00F); Assert.AreEqual(250.00F, destination.Balance); Assert.AreEqual(100.00F, source.Balance); } } From steve at abelscreening.com Tue May 6 08:53:17 2008 From: steve at abelscreening.com (Steve Harp) Date: Tue, 6 May 2008 08:53:17 -0400 Subject: [Mono-list] Print PDF on Linux Message-ID: <000901c8af78$27e737e0$77b5a7a0$@com> Hi All, I have a Mono C# desktop application (not ASP.NET) that I need to print PDF files from within my application. What is the best way to do this on Linux? I've tried to use a PrintDocument and I get garbage output on the printer. I'm guessing there must be a readily available driver out there. Any suggestions? Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080506/83b1750d/attachment.html From daniel.soto2k at gmail.com Tue May 6 09:20:15 2008 From: daniel.soto2k at gmail.com (Daniel Soto) Date: Tue, 6 May 2008 09:20:15 -0400 Subject: [Mono-list] Print PDF on Linux In-Reply-To: <000901c8af78$27e737e0$77b5a7a0$@com> References: <000901c8af78$27e737e0$77b5a7a0$@com> Message-ID: <72e874f00805060620h79e6528cp6cfa7b832263f57d@mail.gmail.com> iTextSharp is a good alternative ;-) It is platform independent, I tried it in windows and linux+mono and works fine. 2008/5/6 Steve Harp : > Hi All, > > > > I have a Mono C# desktop application (not ASP.NET ) that > I need to print PDF files from within my application. What is the best way > to do this on Linux? I've tried to use a PrintDocument and I get garbage > output on the printer. I'm guessing there must be a readily available > driver out there. > > > > Any suggestions? > > Steve > > > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080506/be65c067/attachment.html From charlie at nunit.com Tue May 6 09:57:04 2008 From: charlie at nunit.com (Charlie Poole) Date: Tue, 6 May 2008 06:57:04 -0700 Subject: [Mono-list] Errormessage running Nunit on Mac Leopard In-Reply-To: <899c88330805060405n7cf6c970m66881c6af8012d77@mail.gmail.com> Message-ID: <00cb01c8af81$10fb8460$6401a8c0@ferrari> Hi Ben, The test output seems correct. It gives the failure message and the stack trace for where the failure occurred. What seems wrong about it to you? I would prefer to see the stack trace filtered a little better - the entries for nunit.core have been removed correctly but the System.Reflection entries are kept. That's too much information for an assertion failure. You're using an antique version of NUnit, which is still bundled with Mono. :-) If you (or someone else) can replicate this on 2.4.7 or the 2.5 alpha, I'll update the filtering to remove any excess entries. Charlie > -----Original Message----- > From: mono-list-bounces at lists.ximian.com > [mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Ben Aurel > Sent: Tuesday, May 06, 2008 4:06 AM > To: mono-list at lists.ximian.com > Subject: [Mono-list] Errormessage running Nunit on Mac Leopard > > hi > I've built mono from sources on my Mac 10.5.2 which went fine > (mostly I guess). > $ mcs HelloWorld.cs > $ mono HelloWolrd.exe > Hello World! > > that went fine so far... Now I wanted to take it to the next > step by writing a simple nunit test: (sources from the > nunit-site, see below): > > $ mcs -t:library Account.cs [1] > $ mcs -pkg:dotnet -r:Nunit.Framework -r:Account -t:library > AccountTest.cs [2] > > $ nunit-console AccountTest.dll: > NUnit version 2.2.0 > Copyright (C) 2002-2003 James W. Newkirk, Michael C. Two, Alexei A. > Vorontsov, Charlie Poole. > Copyright (C) 2000-2003 Philip Craig. > All Rights Reserved. > > OS Version: Unix 9.2.2.0 Mono Version: 1.1.4322.2032 > > .F > > Tests run: 1, Failures: 1, Not run: 0, Time: 0.041441 seconds > > Tests run: 1, Failures: 1, Not run: 0, Time: 0.041441 seconds > > Failures: > 1) bank.AccountTest.TransferFunds : > expected:<250> > but was:<150> > > and then a strange MESSAGE: > > at bank.AccountTest.TransferFunds () [0x00000] > at (wrapper managed-to-native) > System.Reflection.MonoMethod:InternalInvoke > (object,object[],System.Exception&) > at System.Reflection.MonoMethod.Invoke (System.Object obj, > BindingFlags invokeAttr, System.Reflection.Binder binder, > System.Object[] parameters, System.Globalization.CultureInfo > culture) [0x00041] in > ~/mono/compiling/mcs/class/corlib/System.Reflection/MonoMethod.cs:157 > > I don't think this reference to MonoMethod.cs:157 is normal. > What is wrong here? > > Thanks in advance. > Ben > > [1] Account.cs > public class Account > { > private float balance; > public void Deposit(float amount) > { > balance+=amount; > } > > public void Withdraw(float amount) > { > balance-=amount; > } > > public void TransferFunds(Account destination, float amount) > { > } > > public float Balance > { > get{ return balance;} > } > } > } > > > [2] AccountTest.cs > namespace bank > { > using NUnit.Framework; > > [TestFixture] > public class AccountTest > { > [Test] > public void TransferFunds() > { > Account source = new Account(); > source.Deposit(200.00F); > Account destination = new Account(); > destination.Deposit(150.00F); > > source.TransferFunds(destination, 100.00F); > Assert.AreEqual(250.00F, destination.Balance); > Assert.AreEqual(100.00F, source.Balance); > > } > } > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > From matte at installernet.com Tue May 6 10:20:05 2008 From: matte at installernet.com (matt) Date: Tue, 06 May 2008 10:20:05 -0400 Subject: [Mono-list] System.DllNotFoundException: gdiplus.dll Message-ID: <48206915.2020109@installernet.com> -------------- next part -------------- An embedded message was scrubbed... From: matt Subject: Re: [Mono-list] System.DllNotFoundException: gdiplus.dll Date: Tue, 06 May 2008 09:03:18 -0400 Size: 4012 Url: http://lists.ximian.com/pipermail/mono-list/attachments/20080506/9e5eb0a9/attachment.eml From lee at datatrakpos.com Tue May 6 10:39:34 2008 From: lee at datatrakpos.com (Lee Jenkins) Date: Tue, 06 May 2008 10:39:34 -0400 Subject: [Mono-list] Configuration file location on windows [OT] Message-ID: <48206DA6.1050909@datatrakpos.com> A little OT, sorry. Can anyone point me to a definitive article on configuration files placement/location on Windows systems? Not user specific data like preferences, but data the application requires for all users such as database configuration/connection information. My guess is either CSIDL_LOCAL_APPDATA or CSIDL_COMMON_DOCUMENTS Thanks, -- Warm Regards, Lee From mbd at dbc.dk Tue May 6 11:23:23 2008 From: mbd at dbc.dk (Mads Bondo Dydensborg) Date: Tue, 6 May 2008 17:23:23 +0200 Subject: [Mono-list] Print PDF on Linux In-Reply-To: <000901c8af78$27e737e0$77b5a7a0$@com> References: <000901c8af78$27e737e0$77b5a7a0$@com> Message-ID: <200805061723.23860.mbd@dbc.dk> tirsdag 06 Maj 2008 skrev Steve Harp: > Hi All, > > > > I have a Mono C# desktop application (not ASP.NET) that I need to print PDF > files from within my application. What is the best way to do this on Linux? > I've tried to use a PrintDocument and I get garbage output on the printer. > I'm guessing there must be a readily available driver out there. I do not know about this PrintDocument, but a cups server can understand pdf and print it. AFAIK. Regards Mads -- Med venlig hilsen/Regards Systemudvikler/Systemsdeveloper cand.scient.dat, Ph.d., Mads Bondo Dydensborg Dansk BiblioteksCenter A/S, Tempovej 7-11, 2750 Ballerup, Tlf. +45 44 86 77 34 From ben.aurel at gmail.com Tue May 6 14:03:44 2008 From: ben.aurel at gmail.com (Ben Aurel) Date: Tue, 6 May 2008 20:03:44 +0200 Subject: [Mono-list] building r98 on Mac Leopard not possible? Message-ID: <899c88330805061103p66b2ea2cwa8e136fa5cdcf8f7@mail.gmail.com> hello I've tried to build IronRuby on my Mac Leopard and I landed in a world of trouble. - After some workarounds I was finally able to build the latest Mono release from sources - Then I got stuck when I tried to build IronRuby then, so I opened a thread on the IronRuby list: http://www.ruby-forum.com/topic/152050 where somebody answered to the following problem: >> $ rake compile mono=1 >> ... >> ./actions/comdispatch/DispCallable.cs(134,9): error CS0452: The type >> `T' must be a reference type in order to use it as type parameter `T' >> in the generic type or method >> `Microsoft.Scripting.Actions.RuleBuilder'. >> ./actions/comdispatch/comtypelibdesc.cs(141,9): error CS0452: The type >> `T' must be a reference type in order to use it as type parameter `T' >> in the generic type or method >> `Microsoft.Scripting.Actions.RuleBuilder'. > This is a recent unrelated error. This problem is reported as Mono bug #387040. > https://bugzilla.novell.com/show_bug.cgi?id=387040 > The last working revision is r98. If all you want is to try IronRuby, > you could update to old revisions That's what I did then, downgrading to r98 and build mono again: svn update -r 98. $ ./autogen.sh --prefix=/opt/mono ... and here the problems begin: 1. I guess there is no libtoolize (first line in autogen.sh). Can I use glibtoolize instead 2. Lots of errors: $ ./autogen.sh --prefix=/opt/mono mono/metadata/Makefile.am:14: `libmetadata_a_HEADERS' is used but `libmetadata_adir' is undefined configure.in:17: warning: macro `AM_PATH_GLIB' not found in library checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking build system type... i386-apple-darwin9.2.2 checking host system type... i386-apple-darwin9.2.2 checking for a sed that does not truncate output... /usr/bin/sed checking for ld used by gcc... /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is GNU ld... no checking for /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -p checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 196608 checking command to parse /usr/bin/nm -p output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking for dsymutil... dsymutil checking for nmedit... nmedit checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fno-common checking if gcc PIC flag -fno-common works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin9.2.2 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is GNU ld... no checking whether the g++ linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fno-common checking if g++ PIC flag -fno-common works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin9.2.2 dyld (cached) (cached) checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool ./configure: line 20762: syntax error near unexpected token `1.2.0,,' ./configure: line 20762: `AM_PATH_GLIB(1.2.0,,' What am I doing wrong here? thanks in advance Ben From andreas.faerber at web.de Tue May 6 17:15:06 2008 From: andreas.faerber at web.de (=?ISO-8859-1?Q?Andreas_F=E4rber?=) Date: Tue, 6 May 2008 23:15:06 +0200 Subject: [Mono-list] building r98 on Mac Leopard not possible? In-Reply-To: <899c88330805061103p66b2ea2cwa8e136fa5cdcf8f7@mail.gmail.com> References: <899c88330805061103p66b2ea2cwa8e136fa5cdcf8f7@mail.gmail.com> Message-ID: Am 06.05.2008 um 20:03 schrieb Ben Aurel: > hello > > I've tried to build IronRuby on my Mac Leopard and I landed in a world > of trouble. > > - After some workarounds I was finally able to build the latest Mono > release from sources > > - Then I got stuck when I tried to build IronRuby then, so I opened a > thread on the IronRuby list: > http://www.ruby-forum.com/topic/152050 > > where somebody answered to the following problem: > >>> $ rake compile mono=1 >>> ... >>> ./actions/comdispatch/DispCallable.cs(134,9): error CS0452: The type >>> `T' must be a reference type in order to use it as type parameter >>> `T' >>> in the generic type or method >>> `Microsoft.Scripting.Actions.RuleBuilder'. >>> ./actions/comdispatch/comtypelibdesc.cs(141,9): error CS0452: The >>> type >>> `T' must be a reference type in order to use it as type parameter >>> `T' >>> in the generic type or method >>> `Microsoft.Scripting.Actions.RuleBuilder'. > >> This is a recent unrelated error. This problem is reported as Mono >> bug #387040. >> https://bugzilla.novell.com/show_bug.cgi?id=387040 > >> The last working revision is r98. If all you want is to try IronRuby, >> you could update to old revisions > > That's what I did then, downgrading to r98 and build mono again: > > svn update -r 98. [snip] > What am I doing wrong here? Downgrading Mono to r98! Mono is beyond revision 100000, so r98 is most likely not what you want. More likely, IronRuby r98 is meant. Andreas From francisco at npgsql.org Tue May 6 23:24:21 2008 From: francisco at npgsql.org (Francisco Figueiredo Jr.) Date: Wed, 7 May 2008 00:24:21 -0300 Subject: [Mono-list] Mono process hangs on exit Message-ID: <438d02260805062024u34467f00v9e09d75cdbbab644@mail.gmail.com> Hi, all! I'm facing an interesting problem... My mono processes seem to be not finishing correctly. They hang when they were supposed to finish. If I execute nant it hangs in the end instead of returning to bash. Do you have anything like that? Is there something I can do to check what could be happening? I'm using Ubuntu Hardy 8.04 with mono 1.2.6 Thanks in advance. -- Regards, Francisco Figueiredo Jr. http://fxjr.blogspot.com http://www.npgsql.org From dgriffi at cs.csubak.edu Wed May 7 04:50:55 2008 From: dgriffi at cs.csubak.edu (David Griffith) Date: Wed, 7 May 2008 01:50:55 -0700 (PDT) Subject: [Mono-list] notebook signals troubles Message-ID: I have a notebook widget set up with tabs labeled A, B, C, and D. From within Monodevelop I dropped a custom widget into tab C that needs to know if we're logged into the database. This is handled by some business in tab D, which sets a global variable (like this: MyProgram.Global.online = true;). My problem is that the widget dropped into tab C starts up as soon as the application starts up, which means it always checks the online variable before the user has a chance to get to the database login widget in tab D. So, the solution to this is to NOT drop that custom widget into tab C, but instead wait until tab C is clicked, and THEN do something like this: if (Frame_C.Child != null) Frame_C.Remove(Frame_C.Child); MyProgram.Roster myRoster = new MyProgram.Roster(); Frame_C.Add(myRoster); Frame_C.ShowAll(); So I look at the signals available for the notebook widget -- FocusTab, ChangeCurrentTab, MoveFocusOut, SwitchPage, and SelectPage. I think maybe SelectPage is the one I want. Please correct me. Now, here's my big question: Once a handler is declared for the correct signal, how does that handler determine which tab was selected? -- David Griffith dgriffi at cs.csubak.edu From dick at ximian.com Wed May 7 06:21:51 2008 From: dick at ximian.com (Dick Porter) Date: Wed, 07 May 2008 11:21:51 +0100 Subject: [Mono-list] Mono process hangs on exit In-Reply-To: <438d02260805062024u34467f00v9e09d75cdbbab644@mail.gmail.com> (sfid-20080507_042706_521521_AEB828F7) References: <438d02260805062024u34467f00v9e09d75cdbbab644@mail.gmail.com> (sfid-20080507_042706_521521_AEB828F7) Message-ID: <1210155711.800.60.camel@hagbard.apathetic.discordia.org.uk> On Wed, 2008-05-07 at 00:24 -0300, Francisco Figueiredo Jr. wrote: > Hi, all! > > I'm facing an interesting problem... > > My mono processes seem to be not finishing correctly. They hang when > they were supposed to finish. > > If I execute nant it hangs in the end instead of returning to bash. > > Do you have anything like that? > > Is there something I can do to check what could be happening? > > I'm using Ubuntu Hardy 8.04 with mono 1.2.6 This sounds like https://bugzilla.novell.com/show_bug.cgi?id=322163 (especially the ubuntu with mono 1.2.6 part matching the later comments.) If you could add to that bug we will have more data to work with. - Dick -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.ximian.com/pipermail/mono-list/attachments/20080507/196a128d/attachment.bin From francisco at npgsql.org Wed May 7 10:21:35 2008 From: francisco at npgsql.org (Francisco Figueiredo Jr.) Date: Wed, 7 May 2008 11:21:35 -0300 Subject: [Mono-list] Mono process hangs on exit In-Reply-To: <1210155711.800.60.camel@hagbard.apathetic.discordia.org.uk> References: <438d02260805062024u34467f00v9e09d75cdbbab644@mail.gmail.com> <1210155711.800.60.camel@hagbard.apathetic.discordia.org.uk> Message-ID: <438d02260805070721v2d452dfah947593aa72b6c8c2@mail.gmail.com> On Wed, May 7, 2008 at 7:21 AM, Dick Porter wrote: > On Wed, 2008-05-07 at 00:24 -0300, Francisco Figueiredo Jr. wrote: >> Hi, all! >> >> I'm facing an interesting problem... >> >> My mono processes seem to be not finishing correctly. They hang when >> they were supposed to finish. >> >> If I execute nant it hangs in the end instead of returning to bash. >> >> Do you have anything like that? >> >> Is there something I can do to check what could be happening? >> >> I'm using Ubuntu Hardy 8.04 with mono 1.2.6 > > This sounds like https://bugzilla.novell.com/show_bug.cgi?id=322163 > (especially the ubuntu with mono 1.2.6 part matching the later > comments.) If you could add to that bug we will have more data to work > with. > Thanks Dick, for pointer. I'm having problems with my account right now but this is the information I could gather: This is the backtrace: Thread 3 (Thread 0xb769db90 (LWP 21365)): #0 0xb7fda410 in __kernel_vsyscall () #1 0x4cce6aa5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x081088ff in ?? () #3 0xb7b971dc in ?? () #4 0xb7b971c4 in ?? () #5 0x4cceb14f in pthread_getaffinity_np@@GLIBC_2.3.4 () from /lib/tls/i686/cmov/libpthread.so.0 #6 0x0810b3cd in ?? () #7 0x00000000 in ?? () Thread 2 (Thread 0xb7c25b90 (LWP 21364)): #0 0xb7fda410 in __kernel_vsyscall () #1 0x4ccea196 in nanosleep () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x08105c91 in ?? () #3 0xb7c25344 in ?? () #4 0x00000000 in ?? () Thread 1 (Thread 0xb7fc6940 (LWP 21361)): #0 0xb7fda410 in __kernel_vsyscall () #1 0x4cce7ae7 in pthread_kill () from /lib/tls/i686/cmov/libpthread.so.0 ---Type to continue, or q to quit--- #2 0x08131f92 in ?? () #3 0xb769db90 in ?? () #4 0x0000001e in ?? () #5 0x00000001 in ?? () #6 0x081255d0 in ?? () #7 0x00000000 in ?? () #0 0xb7fda410 in __kernel_vsyscall () My machine is a pentium4m with HT, but I disabled HT. I will try to reenable it again to see if I face this problem too. This stacktrace is from a nant execution. I can reproduce it all time. Interesting enough is that if I just run gmcs, which also uses mono, it exists ok. Only when I execute any other program it hangs. I hope it helps. -- Regards, Francisco Figueiredo Jr. http://fxjr.blogspot.com http://www.npgsql.org From ben.aurel at gmail.com Wed May 7 18:19:16 2008 From: ben.aurel at gmail.com (Ben Aurel) Date: Thu, 08 May 2008 00:19:16 +0200 Subject: [Mono-list] targeting and running a specific .Net version Message-ID: <48222AE4.8050305@gmail.com> hi when I look under mono/lib/mono/ I see 4 different versions: 1.0 2.0 2.1 3.5 I assume those version numbers are equivalent to the .net version numbers. What do I have to do if I want to compile for a specific and run a specific library version? 1.) building for a specific .net version with "Xcs": Is this the correct and only way to specify the version? # mcs => 1.1 runtime. # gmcs => 2.0 runtime. # smcs => 2.1 runtime, 2.) running with a specific version with mono: how is this done? with the --runtime parameter? compiling for and running with 2.0: --------------------------------------------- $ gmcs WriteFileTest.cs $ mono --runtime=2.0 WriteFileTest.exe WARNING: The runtime version supported by this application is unavailable. Using default runtime: v1.1.4322 ---------- Somethings seems to be wrong here... Thanks in advance for your help BEn From suvi at orientalmedia.com Thu May 8 08:02:41 2008 From: suvi at orientalmedia.com (suvi at orientalmedia.com) Date: Thu, 8 May 2008 20:02:41 +0800 Subject: [Mono-list] The parameter data type of om.framework.CRM.Security.TOnlineUserStatus is invalid. Message-ID: <001201c8b103$6f46fa80$0501a8c0@OMITC> Dear, The project running under windows/iis smoothly, but when I run it under Mono version 1.9.1 Build 2, there has the following errors: The parameter data type of om.framework.CRM.Security.TOnlineUserStatus is invalid. Description: HTTP 500. Error processing request. Stack Trace: System.ArgumentException: The parameter data type of om.framework.CRM.Security.TOnlineUserStatus is invalid. at System.Data.OracleClient.OracleParameter.InferOracleType (System.Object value) [0x00000] at System.Data.OracleClient.OracleParameter.set_Value (System.Object value) [0x00000] at NHibernate.Type.PersistentEnumType.Set (IDbCommand cmd, System.Object value, Int32 index) [0x00000] at NHibernate.Type.NullableType.NullSafeSet (IDbCommand cmd, System.Object value, Int32 index) [0x00000] at NHibernate.Type.NullableType.NullSafeSet (IDbCommand st, System.Object value, Int32 index, System.Boolean[] settable, ISessionImplementor session) [0x00000] at NHibernate.Persister.Entity.AbstractEntityPersister.Dehydrate (System.Object id, System.Object[] fields, System.Boolean[] includeProperty, System.Boolean[][] includeColumns, Int32 table, IDbCommand statement, ISessionImplementor session, Int32 index) [0x00000] at NHibernate.Persister.Entity.AbstractEntityPersister.Insert (System.Object id, System.Object[] fields, System.Boolean[] notNull, Int32 j, NHibernate.SqlCommand.SqlCommandInfo sql, System.Object obj, ISessionImplementor session) [0x00000] om.framework.CRM.Security.TOnlineUserStatus defined as : [Flags] public enum TOnlineUserStatus { Active = 0, Deactive = 1, Logout = 2 } public class TOnlineUsers : TIdBaseData { public TOnlineUsers():base() { this._SessionId = ""; this._Status = TOnlineUserStatus.Active; } private TOnlineUserStatus _Status; ... } Any Ideas ? Suvi Cheung phone:0086-21-52375176-802 fax:0086-21-52375175 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080508/178a108f/attachment-0001.html From timothyparez at gmail.com Thu May 8 08:13:54 2008 From: timothyparez at gmail.com (Timothy Parez) Date: Thu, 8 May 2008 14:13:54 +0200 Subject: [Mono-list] GDI+ Generic Error Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Some time ago I requested help with an ASP.NET application throwing a GDI+ Generic Error. All this time I assumed this was a Mono issue, I was wrong. The problem was simply access rights to the folder where I was saving thumbnail images. System.Drawing.Image thumbnail = ..... bla bla bla thumbnail.Save("path where I want to store"); Instead of throwing an exception with relevant information such as "The specified path does not exist or is invalid or whatever"... both Mono and .NET throw a Generic GDI+ exception here. Just posting in case someone runs into similar problems. Timothy. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iD8DBQFIIu6C+j5y+etesF8RAjkhAKCmKL+sC8rTqwbz+c21vlCG9muCUQCg4tOd /ayIAVkahgnpHLPij+Uu4KA= =oieu -----END PGP SIGNATURE----- From sebastien.pouliot at gmail.com Thu May 8 08:38:44 2008 From: sebastien.pouliot at gmail.com (Sebastien Pouliot) Date: Thu, 08 May 2008 08:38:44 -0400 Subject: [Mono-list] GDI+ Generic Error In-Reply-To: References: Message-ID: <1210250324.4147.64.camel@poupou.home> Hello Timothy, On Thu, 2008-05-08 at 14:13 +0200, Timothy Parez wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > Some time ago I requested help with an ASP.NET application throwing a > GDI+ Generic Error. > All this time I assumed this was a Mono issue, I was wrong. > > The problem was simply access rights to the folder where I was saving > thumbnail images. > > System.Drawing.Image thumbnail = ..... bla bla bla > > thumbnail.Save("path where I want to store"); > > Instead of throwing an exception with relevant information such as > "The specified path does not exist or is invalid or whatever"... > both Mono and .NET throw a Generic GDI+ exception here. We try to always match MS SD exceptions - but this is not a case I remember testing. Could you fill a bug report about this ? (extra points for a unit tests ;-) Thanks Sebastien > Just posting in case someone runs into similar problems. > > > Timothy. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (Darwin) > > iD8DBQFIIu6C+j5y+etesF8RAjkhAKCmKL+sC8rTqwbz+c21vlCG9muCUQCg4tOd > /ayIAVkahgnpHLPij+Uu4KA= > =oieu > -----END PGP SIGNATURE----- > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list From timothyparez at gmail.com Thu May 8 09:01:40 2008 From: timothyparez at gmail.com (Timothy Parez) Date: Thu, 8 May 2008 15:01:40 +0200 Subject: [Mono-list] GDI+ Generic Error In-Reply-To: <1210250324.4147.64.camel@poupou.home> References: <1210250324.4147.64.camel@poupou.home> Message-ID: I submitted: https://bugzilla.novell.com/show_bug.cgi?id=388198 I hope it's sufficient :-) Timothy On 08 May 2008, at 14:38, Sebastien Pouliot wrote: > Hello Timothy, > > On Thu, 2008-05-08 at 14:13 +0200, Timothy Parez wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Hi, >> >> Some time ago I requested help with an ASP.NET application throwing a >> GDI+ Generic Error. >> All this time I assumed this was a Mono issue, I was wrong. >> >> The problem was simply access rights to the folder where I was saving >> thumbnail images. >> >> System.Drawing.Image thumbnail = ..... bla bla bla >> >> thumbnail.Save("path where I want to store"); >> >> Instead of throwing an exception with relevant information such as >> "The specified path does not exist or is invalid or whatever"... >> both Mono and .NET throw a Generic GDI+ exception here. > > We try to always match MS SD exceptions - but this is not a case I > remember testing. Could you fill a bug report about this ? (extra > points > for a unit tests ;-) > > Thanks > Sebastien > >> Just posting in case someone runs into similar problems. >> >> >> Timothy. >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.7 (Darwin) >> >> iD8DBQFIIu6C+j5y+etesF8RAjkhAKCmKL+sC8rTqwbz+c21vlCG9muCUQCg4tOd >> /ayIAVkahgnpHLPij+Uu4KA= >> =oieu >> -----END PGP SIGNATURE----- >> _______________________________________________ >> Mono-list maillist - Mono-list at lists.ximian.com >> http://lists.ximian.com/mailman/listinfo/mono-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080508/fe104361/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://lists.ximian.com/pipermail/mono-list/attachments/20080508/fe104361/attachment.bin From miguel at novell.com Thu May 8 14:20:19 2008 From: miguel at novell.com (Miguel de Icaza) Date: Thu, 08 May 2008 14:20:19 -0400 Subject: [Mono-list] targeting and running a specific .Net version In-Reply-To: <48222AE4.8050305@gmail.com> References: <48222AE4.8050305@gmail.com> Message-ID: <1210270819.4688.72.camel@erandi.boston.ximian.com> Hello, > when I look under mono/lib/mono/ I see 4 different versions: > > 1.0 2.0 2.1 3.5 I have updated the documentation to explain what this means, attached is the documentation: PACKAGES Depending on the invocation for the C# compiler (mcs, gmcs, or smcs) you will get a default set of libraries and versions of those libraries that are referenced. The compiler uses the library path to locate libraries, and is able to reference libraries from a particular package if that directory is used. To simplify the use of packages, the C# com? piler includes the -pkg: command line option that is used to load specific collections of libraries. Libraries visible to the compiler are stored relative to the installation prefix under PREFIX/lib/mono/ called the PACKAGEBASE and the defaults for mcs, gmcs and smcs are as follows: mcs References the PACKAGEBASE/1.0 directory gmcs References the PACKAGEBASE/2.0 directory smcs References the PACKAGEBASE/2.1 directory Those are the only runtime profiles that exist. Although other directories exist (like 3.0 and 3.5) those are not really runtime profiles, they are merely placeholders for extra libraries that build on the 2.0 foundation. Software providers will distribute software that is installed rel? ative to the PACKAGEBASE directory. This is integrated into the gacutil tool that not only installs public assemblies into the Global Assembly Cache (GAC) but also installs them into the PACK? AGEBASE/PKG directory (where PKG is the name passed to the -pack? age flag to gacutil). As a developer, if you want to consume the Gtk# libraries, you would invoke the compiler like this: $ mcs -pkg:gtk-sharp-2.0 main.cs The -pkg: option instructs the compiler to fetch the definitions for gtk-sharp-2.0 from pkg-config, this is equivalent to passing to the C# compiler the output of: $ pkg-config --libs gtk-sharp-2.0 Usually this merely references the libraries from PACKAGEBASE/PKG. Although there are directory names for 3.0 and 3.5, that does not mean that there are 3.0 and 3.5 compiler editions or profiles. Those are merely new libraries that must be manually referenced either with the proper -pkg: invocation, or by referencing the libraries directly. From tonysmith at choosepi.com Fri May 9 11:26:24 2008 From: tonysmith at choosepi.com (Tony Smith) Date: Fri, 9 May 2008 11:26:24 -0400 Subject: [Mono-list] mono apache2 xsp question Message-ID: <9EDD554865F2B24C94830B071F98C97C018DE5@sbs.choosepi.local> I am attempting to get my asp pages to run on port 80 using apache2 xsp and mono of course. I will be honest I am a bit over my head in this, I have xsp and apache running on 8080 XSP and 80 Apache what I would love to do is get my pages (epresence) to run on port 80 is this possible? Ive seen a few tutorials doing similar things but I'm afraid that virtual hosts confuse me greatly. Any help here chaps? Openly Yours, Antonio Vertigo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080509/7e692359/attachment.html From bperry.volatile at gmail.com Fri May 9 13:50:15 2008 From: bperry.volatile at gmail.com (Brandon Perry) Date: Fri, 9 May 2008 12:50:15 -0500 Subject: [Mono-list] John Walker's FBENCH: Mono vs .NET Message-ID: Not sure if this should go on the Mono-dev list or not, so I will post this here. I implemented John Walker's FBENCH in C# in order to do some simple benchmarking of the two. I figure the results should be able the devs out with bottlenecks or things like that. Source is available here: http://www.volatileminds.net/projects/fbench/ http://volatile-minds.blogspot.com/2008/05/john-walkers-fbench-mono-vs-net.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080509/500f76e1/attachment.html From surfzoid at gmail.com Fri May 9 14:36:27 2008 From: surfzoid at gmail.com (Petit Eric) Date: Fri, 9 May 2008 20:36:27 +0200 Subject: [Mono-list] New open source .NET project proposal Message-ID: <84776a970805091136u4af7b714ia12e343c1dd4b394@mail.gmail.com> Hi I'm the author of Cs-ObexFtp , and will be glade to propose it for adding it at : http://mono-project.com/OpenSUSE_Build_Service cs_obexftp and csharp-obexftp are aviable in OBS. Regards Eric.P From miguel at novell.com Fri May 9 17:14:46 2008 From: miguel at novell.com (Miguel de Icaza) Date: Fri, 09 May 2008 17:14:46 -0400 Subject: [Mono-list] New open source .NET project proposal In-Reply-To: <84776a970805091136u4af7b714ia12e343c1dd4b394@mail.gmail.com> References: <84776a970805091136u4af7b714ia12e343c1dd4b394@mail.gmail.com> Message-ID: <1210367686.16220.21.camel@erandi.boston.ximian.com> Hello Eric, > I'm the author of Cs-ObexFtp , and will be glade to propose it for > adding it at : http://mono-project.com/OpenSUSE_Build_Service > cs_obexftp and csharp-obexftp are aviable in OBS. Could you give us the link to the project page, and to the OpenSUSE Build Service software so we can list it? From surfzoid at gmail.com Fri May 9 17:49:57 2008 From: surfzoid at gmail.com (Petit Eric) Date: Fri, 9 May 2008 23:49:57 +0200 Subject: [Mono-list] New open source .NET project proposal In-Reply-To: <1210367686.16220.21.camel@erandi.boston.ximian.com> References: <84776a970805091136u4af7b714ia12e343c1dd4b394@mail.gmail.com> <1210367686.16220.21.camel@erandi.boston.ximian.com> Message-ID: <84776a970805091449jf8c39dav8decdae1e4977daa@mail.gmail.com> 2008/5/9 Miguel de Icaza : > Hello Eric, > >> I'm the author of Cs-ObexFtp , and will be glade to propose it for >> adding it at : http://mono-project.com/OpenSUSE_Build_Service >> cs_obexftp and csharp-obexftp are aviable in OBS. > > Could you give us the link to the project page, and to the OpenSUSE > Build Service software so we can list it? > Here it is : http://sourceforge.net/projects/cs-obexftp/ https://build.opensuse.org/project/show?project=home%3Asurfzoid http://download.opensuse.org/repositories/home:/surfzoid/ From rook at roo.k.pl Sat May 10 02:53:22 2008 From: rook at roo.k.pl (=?UTF-8?B?TWljaGHFgiBaaWVtc2tp?=) Date: Sat, 10 May 2008 08:53:22 +0200 Subject: [Mono-list] mono apache2 xsp question In-Reply-To: <9EDD554865F2B24C94830B071F98C97C018DE5@sbs.choosepi.local> References: <9EDD554865F2B24C94830B071F98C97C018DE5@sbs.choosepi.local> Message-ID: <48254662.7020008@roo.k.pl> You have everything you need here: http://www.mono-project.com/Mod_mono Cheers! Micha? Ziemski Tony Smith pisze: > > I am attempting to get my asp pages to run on port 80 using apache2 > xsp and mono of course. I will be honest I am a bit over my head in > this, I have xsp and apache running on 8080 XSP and 80 Apache what I > would love to do is get my pages (epresence) to run on port 80 is this > possible? Ive seen a few tutorials doing similar things but I?m afraid > that virtual hosts confuse me greatly. Any help here chaps? > > > > > > Openly Yours, > > Antonio Vertigo > > ------------------------------------------------------------------------ > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > From surfzoid at gmail.com Sat May 10 15:40:50 2008 From: surfzoid at gmail.com (Petit Eric) Date: Sat, 10 May 2008 21:40:50 +0200 Subject: [Mono-list] New open source .NET project proposal In-Reply-To: <84776a970805091449jf8c39dav8decdae1e4977daa@mail.gmail.com> References: <84776a970805091136u4af7b714ia12e343c1dd4b394@mail.gmail.com> <1210367686.16220.21.camel@erandi.boston.ximian.com> <84776a970805091449jf8c39dav8decdae1e4977daa@mail.gmail.com> Message-ID: <84776a970805101240g62c6688dn3bc9a292b9cadec@mail.gmail.com> 2008/5/9 Petit Eric : > 2008/5/9 Miguel de Icaza : >> Hello Eric, >> >>> I'm the author of Cs-ObexFtp , and will be glade to propose it for >>> adding it at : http://mono-project.com/OpenSUSE_Build_Service >>> cs_obexftp and csharp-obexftp are aviable in OBS. >> >> Could you give us the link to the project page, and to the OpenSUSE >> Build Service software so we can list it? >> > > Here it is : > http://sourceforge.net/projects/cs-obexftp/ > https://build.opensuse.org/project/show?project=home%3Asurfzoid > http://download.opensuse.org/repositories/home:/surfzoid/ > Hey Miguel, something missing ? From sales at nashvillearena.com Mon May 12 09:14:20 2008 From: sales at nashvillearena.com (Nashville) Date: Mon, 12 May 2008 06:14:20 -0700 (PDT) Subject: [Mono-list] Mono installed but having problems. Message-ID: <17168957.post@talk.nabble.com> I been trying to get mono going on my server, xsp and mono seems to work but when I upload my site I keep getting the following error; Server Error in '/demo' Application Parser Error Description: Error parsing a resource required to service this request. Review your source file and modify it to fix this error. Error message: expecting TAGNAME File name: /usr/lib/xsp/test/nashville/left.aspx Line: 10 Source Error: Is this an issue with mono or something was coded incorrectly on the site? The site works fine on a windows server, just does not work well with mono; Take a look; http://67.225.195.42/demo/nashville/ Any advise will be appreciated. Thanks -- View this message in context: http://www.nabble.com/Mono-installed-but-having-problems.-tp17168957p17168957.html Sent from the Mono - General mailing list archive at Nabble.com. From dylans at assetblitz.co.za Thu May 8 15:16:15 2008 From: dylans at assetblitz.co.za (Kervis) Date: Thu, 8 May 2008 12:16:15 -0700 (PDT) Subject: [Mono-list] Embedding on unsupported platforms Message-ID: <17134475.post@talk.nabble.com> Hi all, I'm wondering is it possible to embed the runtime in an application that runs on a platform unsupported by mono. Or does the runtime need to be ported to that platform first before it can be embebbed in applications for that system. Thanks. -- View this message in context: http://www.nabble.com/Embedding-on-unsupported-platforms-tp17134475p17134475.html Sent from the Mono - General mailing list archive at Nabble.com. From notacommie at gmail.com Sat May 10 11:19:53 2008 From: notacommie at gmail.com (brantheman) Date: Sat, 10 May 2008 08:19:53 -0700 (PDT) Subject: [Mono-list] Mono 1.9.1 and MonoDevelop 1.0 Packages for Debian Etch In-Reply-To: <1209068821.7267.16.camel@redbull.qnetp.net> References: <1209068821.7267.16.camel@redbull.qnetp.net> Message-ID: <17163057.post@talk.nabble.com> If I use these packages off meebey, what is the right way to get the olive stuff? I need the System.Runtime.Serialization assembly. Can I download and compile the olive portion of mono separately? Or could I talk you into making a package for it? Thanks. -- View this message in context: http://www.nabble.com/Mono-1.9.1-and-MonoDevelop-1.0-Packages-for-Debian-Etch-tp16910740p17163057.html Sent from the Mono - General mailing list archive at Nabble.com. From notacommie at gmail.com Sat May 10 11:27:10 2008 From: notacommie at gmail.com (brantheman) Date: Sat, 10 May 2008 08:27:10 -0700 (PDT) Subject: [Mono-list] I'm new and need help compiling my WCF server on Linux Message-ID: <17163062.post@talk.nabble.com> I have a WCF server that runs on Windows. It exists as a VS2008 solution with two dozen projects and (I'd guess) 300 files. What is the right way to compile this on Linux? It appears that mono supports all my dependencies, extension functions, linq, etc. I just don't see a clean way to convert the solution file (or a list of csproj files) into something that I can compile easily with mono. Can somebody point me in the right way on this? -- View this message in context: http://www.nabble.com/I%27m-new-and-need-help-compiling-my-WCF-server-on-Linux-tp17163062p17163062.html Sent from the Mono - General mailing list archive at Nabble.com. From sales at nashvillearena.com Sat May 10 20:43:43 2008 From: sales at nashvillearena.com (Nashville) Date: Sat, 10 May 2008 17:43:43 -0700 (PDT) Subject: [Mono-list] Mono installed but having problems. Message-ID: <17168957.post@talk.nabble.com> I been trying to get mono going on my server, xsp and mono seems to work but when I upload my site I keep getting the following error; Server Error in '/demo' Application Parser Error Description: Error parsing a resource required to service this request. Review your source file and modify it to fix this error. Error message: expecting TAGNAME File name: /usr/lib/xsp/test/nashville/left.aspx Line: 10 Source Error: Is this an issue with mono or something was coded incorrectly on the site? The site works fine on a windows server, just does not work well with mono; Take a look; http://67.225.195.42/demo/nashville/ Any advise will be appreciated. Thanks -- View this message in context: http://www.nabble.com/Mono-installed-but-having-problems.-tp17168957p17168957.html Sent from the Mono - General mailing list archive at Nabble.com. From iggy.ma at gmail.com Tue May 13 12:50:07 2008 From: iggy.ma at gmail.com (Iggy) Date: Tue, 13 May 2008 11:50:07 -0500 Subject: [Mono-list] MonoDevelop Docking Message-ID: <527a90a10805130950v5bcc0360m7b765e860cb428b9@mail.gmail.com> I have been trying to incorporate the MonoDevelop Docking code into a program I am writing, however I am having a difficult time of it. Is there any simple tutorials or anything like that i can check out? If there isn't and somebody familiar with the code felt like contributing one, I'm sure it would be appreciated by the community. Maybe it should even be removed from MonoDevelop and incorporated into its own Mono namespace (Mono.Docking) like Mono.Addins was... From maitredede at gmail.com Tue May 13 19:00:48 2008 From: maitredede at gmail.com (Damien DALY) Date: Wed, 14 May 2008 01:00:48 +0200 Subject: [Mono-list] UPnP library Message-ID: <6df580e50805131600p6f4dc214sd2b8e8826f254685@mail.gmail.com> Hi, I have been googling a long time before asking... Is there any free UPnP library that is either fully .NET, or with PInvoke, written for all OS ? In the pinvoke libs, there is one on windows (MS) and one on linux (libupnp). I don't know for mac. In the fully managed libs, I have found Mono.NAT that is only focused on port mapping for gateway devices. I have found the Intel UPnP Stack that is no longer supported, but not free. I have asked Intel, but answers were not clear. So, since I would like to create UPnP devices using C#, I would like to know if someone knows a free UPnP stack I can use... Thanks Damien -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080514/99ae7463/attachment.html From stephane at omni-ts.com Tue May 13 19:37:02 2008 From: stephane at omni-ts.com (=?UTF-8?Q?St=C3=A9phane=20Zanoni?=) Date: Tue, 13 May 2008 17:37:02 -0600 Subject: [Mono-list] UPnP library In-Reply-To: <6df580e50805131600p6f4dc214sd2b8e8826f254685@mail.gmail.com> References: <6df580e50805131600p6f4dc214sd2b8e8826f254685@mail.gmail.com> Message-ID: <4829D0A2.D223.00CB.0@omni-ts.com> I saw this Intel UPnP .net SDK, never used it but might do what you need. No idea is it uses 100% managed code or how much of the protocol it exposes. http://www.intel.com/cd/ids/developer/asmo-na/eng/downloads/upnp/tools/index.htm#anchor_3 If you could, let me know what you find. St?phane >>> "Damien DALY" 5/13/2008 5:00 PM >>> Hi, I have been googling a long time before asking... Is there any free UPnP library that is either fully .NET, or with PInvoke, written for all OS ? In the pinvoke libs, there is one on windows (MS) and one on linux (libupnp). I don't know for mac. In the fully managed libs, I have found Mono.NAT that is only focused on port mapping for gateway devices. I have found the Intel UPnP Stack that is no longer supported, but not free. I have asked Intel, but answers were not clear. So, since I would like to create UPnP devices using C#, I would like to know if someone knows a free UPnP stack I can use... Thanks Damien From maitredede at gmail.com Wed May 14 02:16:40 2008 From: maitredede at gmail.com (Damien DALY) Date: Wed, 14 May 2008 08:16:40 +0200 Subject: [Mono-list] UPnP library In-Reply-To: <4829D0A2.D223.00CB.0@omni-ts.com> References: <6df580e50805131600p6f4dc214sd2b8e8826f254685@mail.gmail.com> <4829D0A2.D223.00CB.0@omni-ts.com> Message-ID: <6df580e50805132316i7828ebc3y76c170a6f06a8e09@mail.gmail.com> Hi St?phane, I have already used it, works fine. But I can't distribute it with my project. I have read the Intel licence about their UPnP tools... Main ideas are : not for production and not open. From the Intel support : "there are currently no plans to open source the UPnP tools." Maybe there are volunteers to create an open managed stack ? :o) Thanks, Damien 2008/5/14 St?phane Zanoni : > I saw this Intel UPnP .net SDK, never used it but might do what you > need. No idea is it uses 100% managed code or how much of the protocol > it exposes. > > > http://www.intel.com/cd/ids/developer/asmo-na/eng/downloads/upnp/tools/index.htm#anchor_3 > > If you could, let me know what you find. > > > St?phane > > > >>> "Damien DALY" 5/13/2008 5:00 PM >>> > Hi, > > I have been googling a long time before asking... > > Is there any free UPnP library that is either fully .NET, or with > PInvoke, > written for all OS ? > > In the pinvoke libs, there is one on windows (MS) and one on linux > (libupnp). I don't know for mac. > > In the fully managed libs, I have found Mono.NAT that is only focused > on > port mapping for gateway devices. I have found the Intel UPnP Stack > that is > no longer supported, but not free. I have asked Intel, but answers were > not > clear. > > So, since I would like to create UPnP devices using C#, I would like to > know > if someone knows a free UPnP stack I can use... > > Thanks > > Damien > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080514/e98272bd/attachment.html From aria.francesco at gmail.com Wed May 14 04:21:29 2008 From: aria.francesco at gmail.com (Panoramix) Date: Wed, 14 May 2008 01:21:29 -0700 (PDT) Subject: [Mono-list] Mono & ModBus Message-ID: <17224941.post@talk.nabble.com> I would try to use the .NET library that is at URL http://www.nmodbus.com/ but I'm new to mono and mono-develop so : How can I do to install it on mono-develop? Thanks to all =) -- View this message in context: http://www.nabble.com/Mono---ModBus-tp17224941p17224941.html Sent from the Mono - General mailing list archive at Nabble.com. From surfzoid at gmail.com Wed May 14 04:49:33 2008 From: surfzoid at gmail.com (Petit Eric) Date: Wed, 14 May 2008 10:49:33 +0200 Subject: [Mono-list] Mono & ModBus In-Reply-To: <17224941.post@talk.nabble.com> References: <17224941.post@talk.nabble.com> Message-ID: <84776a970805140149l5fbcc915k1f09b2d592c85722@mail.gmail.com> 2008/5/14 Panoramix : > > I would try to use the .NET library that is at URL http://www.nmodbus.com/ > but I'm > new to mono and mono-develop so : > > How can I do to install it on mono-develop? > > Thanks to all =) > -- > View this message in context: http://www.nabble.com/Mono---ModBus-tp17224941p17224941.html > Sent from the Mono - General mailing list archive at Nabble.com. > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > I had a look at this nmodbus lib, i think you should do not use it unless yu want to do a complex work. Modbus protocol is really simple, i already write programmes who use modbus protocol. Yu should try to find the pdf who describe the Modbus protocol here : http://www.modbus.org/ And then write a reader/writer trought a tcp socket or a serial port. The bigest task is the calcul of the CRC16, but you find a lot of free code of it on the net. From surfzoid at gmail.com Wed May 14 04:55:51 2008 From: surfzoid at gmail.com (Petit Eric) Date: Wed, 14 May 2008 10:55:51 +0200 Subject: [Mono-list] Mono & ModBus In-Reply-To: <17224941.post@talk.nabble.com> References: <17224941.post@talk.nabble.com> Message-ID: <84776a970805140155k7371cda2ud37f207dcefa3e77@mail.gmail.com> Je voit que vous ?tes fran?ais, donc j'en profite, la soci?t? ou je travail d?veloppe des applications VB/C# net, nous avons d?ja notre propre librairie en VB.NET qui discutte avec des TSX (en TCP ou Serie) et du Siemens en IsoOnTcp. Il se peut que nous ayons d?ja le produit qu'il vous faut : https://alphadeltaingenierie.com Tout les logiciel ne sont pas pr?sents sur le site, notre cr?naux est de fournir les fonctionnalit? d'une supervision mais le plus "basic" et "simple" possible afin de pouvoir proposer des prix beaucoup plus interressant que les gros superviseur/pupitres actuel du march?. Cordialement Eric.P 2008/5/14 Panoramix : > > I would try to use the .NET library that is at URL http://www.nmodbus.com/ > but I'm > new to mono and mono-develop so : > > How can I do to install it on mono-develop? > > Thanks to all =) > -- > View this message in context: http://www.nabble.com/Mono---ModBus-tp17224941p17224941.html > Sent from the Mono - General mailing list archive at Nabble.com. > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > From aria.francesco at gmail.com Wed May 14 05:38:44 2008 From: aria.francesco at gmail.com (Panoramix) Date: Wed, 14 May 2008 02:38:44 -0700 (PDT) Subject: [Mono-list] Mono & ModBus Message-ID: <17225923.post@talk.nabble.com> I don't know if it is correct but it will be sufficient use the command shell: gacutil NameOfDLL.dll to install it ?? Panoramix wrote: > > I would try to use the .NET library that is at URL http://www.nmodbus.com/ > but I'm > new to mono and mono-develop so : > > How can I do to install it on mono-develop? > > Thanks to all =) > ----- :working: ----------------------------------------------------------------------------- http://freeflow.awardspace.com http://freeflow.awardspace.com ----------------------------------------------------------------------------- -- View this message in context: http://www.nabble.com/Mono---ModBus-tp17224941p17225923.html Sent from the Mono - General mailing list archive at Nabble.com. From surfzoid at gmail.com Wed May 14 05:44:44 2008 From: surfzoid at gmail.com (Petit Eric) Date: Wed, 14 May 2008 11:44:44 +0200 Subject: [Mono-list] Mono & ModBus In-Reply-To: <17225923.post@talk.nabble.com> References: <17225923.post@talk.nabble.com> Message-ID: <84776a970805140244j656c66bk57ae5939da5ab16e@mail.gmail.com> 2008/5/14 Panoramix : > > > I don't know if it is correct but it will be sufficient use the command > shell: > > gacutil NameOfDLL.dll > > to install it ?? Do yu start with Mono/MD, because you plane to work under linux or you will work under Windows ? The choice your made, NModbus, work with some windows dll (ex : NModbus\source\tools\jamod), also once again it's a fully and complete Modbus library, so complex, ......:) This library can be used with a really big project, for example to replace "Intouch" from "Wonderware" ... But if your application is "basic" , yu should have a look at modbus documentation. > > > > > > Panoramix wrote: > > > > I would try to use the .NET library that is at URL http://www.nmodbus.com/ > > but I'm > > new to mono and mono-develop so : > > > > How can I do to install it on mono-develop? > > > > Thanks to all =) > > > > > ----- > :working: > ----------------------------------------------------------------------------- > http://freeflow.awardspace.com http://freeflow.awardspace.com > ----------------------------------------------------------------------------- > > -- > View this message in context: http://www.nabble.com/Mono---ModBus-tp17224941p17225923.html > > > Sent from the Mono - General mailing list archive at Nabble.com. > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > From aria.francesco at gmail.com Wed May 14 08:51:24 2008 From: aria.francesco at gmail.com (Panoramix) Date: Wed, 14 May 2008 05:51:24 -0700 (PDT) Subject: [Mono-list] Mono & ModBus In-Reply-To: <84776a970805140244j656c66bk57ae5939da5ab16e@mail.gmail.com> References: <17224941.post@talk.nabble.com> <17225923.post@talk.nabble.com> <84776a970805140244j656c66bk57ae5939da5ab16e@mail.gmail.com> Message-ID: <17230314.post@talk.nabble.com> > Do yu start with Mono/MD, because you plane to work under linux or you > will work under Windows ? > The choice your made, NModbus, work with some windows dll (ex : > NModbus\source\tools\jamod), also once again it's a fully and complete > Modbus library, so complex, ......:) > This library can be used with a really big project, for example to > replace "Intouch" from "Wonderware" ... > But if your application is "basic" , yu should have a look at modbus > documentation. I'm working (playing for the moment) on Ubuntu 8.04 Linux with Mono and Mono-Develop 1.0. My problem is that I don't know how to install a library on Mono (because I don't know Mono and MonoDevelop). Until now I have used other languages like : PHP with framework as P4a (http://p4a.crealabsfoundation.org/) Lazarus (Delphy on linux http://www.lazarus.freepascal.org/) Gambas (VB on Linux http://gambas.sourceforge.net/). But at the first impact with Mono and MonoDevelop I was captured by her beauty, I like it. For the moment I'll like try NModbus with Mono but not to produce proprietary software but only to learn. Thanks ----- :working: ----------------------------------------------------------------------------- http://freeflow.awardspace.com http://freeflow.awardspace.com ----------------------------------------------------------------------------- -- View this message in context: http://www.nabble.com/Mono---ModBus-tp17224941p17230314.html Sent from the Mono - General mailing list archive at Nabble.com. From andreas.faerber at web.de Wed May 14 09:13:54 2008 From: andreas.faerber at web.de (=?ISO-8859-1?Q?Andreas_F=E4rber?=) Date: Wed, 14 May 2008 15:13:54 +0200 Subject: [Mono-list] Mono & ModBus In-Reply-To: <17230314.post@talk.nabble.com> References: <17224941.post@talk.nabble.com> <17225923.post@talk.nabble.com> <84776a970805140244j656c66bk57ae5939da5ab16e@mail.gmail.com> <17230314.post@talk.nabble.com> Message-ID: Am 14.05.2008 um 14:51 schrieb Panoramix: > >> Do yu start with Mono/MD, because you plane to work under linux or >> you >> will work under Windows ? >> The choice your made, NModbus, work with some windows dll (ex : >> NModbus\source\tools\jamod), also once again it's a fully and >> complete >> Modbus library, so complex, ......:) >> This library can be used with a really big project, for example to >> replace "Intouch" from "Wonderware" ... >> But if your application is "basic" , yu should have a look at modbus >> documentation. > > I'm working (playing for the moment) on Ubuntu 8.04 Linux with Mono > and > Mono-Develop 1.0. > My problem is that I don't know how to install a library on Mono > (because I > don't know Mono and MonoDevelop). > Until now I have used other languages like : > PHP with framework as P4a (http://p4a.crealabsfoundation.org/) > Lazarus (Delphy on linux http://www.lazarus.freepascal.org/) > Gambas (VB on Linux http://gambas.sourceforge.net/). > > But at the first impact with Mono and MonoDevelop I was captured by > her > beauty, I like it. > For the moment I'll like try NModbus with Mono but not to produce > proprietary software but only to learn. You don't need to install the library anywhere then, just place it inside your working directory and add a local reference to it. If the downloaded software does not advise you to install it into the GAC, it's probably not a good idea to put it there. http://www.mono-project.com/Assemblies_and_the_GAC#What_Should_Be_Installed_to_the_GAC To find out whether you can use the downloaded software, you might want to try the MoMA tool to check for dependencies on native Windows libraries. HTH, Andreas From aria.francesco at gmail.com Wed May 14 10:47:19 2008 From: aria.francesco at gmail.com (Panoramix) Date: Wed, 14 May 2008 07:47:19 -0700 (PDT) Subject: [Mono-list] Mono & ModBus In-Reply-To: References: <17224941.post@talk.nabble.com> <17225923.post@talk.nabble.com> <84776a970805140244j656c66bk57ae5939da5ab16e@mail.gmail.com> <17230314.post@talk.nabble.com> Message-ID: <17232895.post@talk.nabble.com> Wooowww Now work all http://www.nabble.com/file/p17232895/Rifer.jpg That was what I needed to know, how to use the DLL . Thanks Andreas :clap::handshake: Andreas F?rber wrote: > > > Am 14.05.2008 um 14:51 schrieb Panoramix: > >> >>> Do yu start with Mono/MD, because you plane to work under linux or >>> you >>> will work under Windows ? >>> The choice your made, NModbus, work with some windows dll (ex : >>> NModbus\source\tools\jamod), also once again it's a fully and >>> complete >>> Modbus library, so complex, ......:) >>> This library can be used with a really big project, for example to >>> replace "Intouch" from "Wonderware" ... >>> But if your application is "basic" , yu should have a look at modbus >>> documentation. >> >> I'm working (playing for the moment) on Ubuntu 8.04 Linux with Mono >> and >> Mono-Develop 1.0. >> My problem is that I don't know how to install a library on Mono >> (because I >> don't know Mono and MonoDevelop). >> Until now I have used other languages like : >> PHP with framework as P4a (http://p4a.crealabsfoundation.org/) >> Lazarus (Delphy on linux http://www.lazarus.freepascal.org/) >> Gambas (VB on Linux http://gambas.sourceforge.net/). >> >> But at the first impact with Mono and MonoDevelop I was captured by >> her >> beauty, I like it. >> For the moment I'll like try NModbus with Mono but not to produce >> proprietary software but only to learn. > > You don't need to install the library anywhere then, just place it > inside your working directory and add a local reference to it. If the > downloaded software does not advise you to install it into the GAC, > it's probably not a good idea to put it there. > > http://www.mono-project.com/Assemblies_and_the_GAC#What_Should_Be_Installed_to_the_GAC > > To find out whether you can use the downloaded software, you might > want to try the MoMA tool to check for dependencies on native Windows > libraries. > > HTH, > Andreas > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > ----- :working: ----------------------------------------------------------------------------- http://freeflow.awardspace.com http://freeflow.awardspace.com ----------------------------------------------------------------------------- -- View this message in context: http://www.nabble.com/Mono---ModBus-tp17224941p17232895.html Sent from the Mono - General mailing list archive at Nabble.com. From zippy1981 at gmail.com Wed May 14 14:53:11 2008 From: zippy1981 at gmail.com (Justin Dearing) Date: Wed, 14 May 2008 14:53:11 -0400 Subject: [Mono-list] Remoting on pocketpc throught Mono Message-ID: <5458db3c0805141153u1a5e3ee9s70ec4f000099cf29@mail.gmail.com> Hello, I wanted to do .NET remoting on the compact framework. That feature just isn't supported. So while porting all of mono to the compact framework would be hard, copying the remoting APIs over should be doable. I'm sure other people thought of this first for other aspects of the .NET framework not present in the Compact Framework. Is there any work on porting an part of the mono libraries to the compact framework CLR.? Any place to go for people that have experience in this matter? Regards, Justin Dearing From robertj at gmx.net Wed May 14 16:42:15 2008 From: robertj at gmx.net (Robert Jordan) Date: Wed, 14 May 2008 22:42:15 +0200 Subject: [Mono-list] Remoting on pocketpc throught Mono In-Reply-To: <5458db3c0805141153u1a5e3ee9s70ec4f000099cf29@mail.gmail.com> References: <5458db3c0805141153u1a5e3ee9s70ec4f000099cf29@mail.gmail.com> Message-ID: Justin Dearing wrote: > Hello, > > I wanted to do .NET remoting on the compact framework. That feature > just isn't supported. So while porting all of mono to the compact > framework would be hard, copying the remoting APIs over should be > doable. Just coping over is not enough because the CF runtime does not provide the low-level remoting machinery required by mono's assemblies. You must decouple the remoting libs from mono's runtime and provide an alternative (proxy stub generator?) for CF's missing transparent proxy support. Robert From oscar at usefulbits.nl Thu May 15 06:23:32 2008 From: oscar at usefulbits.nl (Oscar van Tol) Date: Thu, 15 May 2008 12:23:32 +0200 Subject: [Mono-list] mod_mono stability problems Message-ID: Hello, For the past two months we've been hosting a webservice application on apache2 and mod_mono. Since this week we have some real traffic, and stability issues started. We now have about 30.000 requests a day, these make the mono process grow in memory usage to about 2gigs. and the response becomes really bad. The memory problem is probably cause by the none compacting garbage collector, I solved the performance issue by doing an autorestart every 400 requests. This works great for a while but after a few auto- restarts it lookes live apache failes to spawn a new mod-mono-server. Apache respondes with a 503, when I kill the (old still running) mono process and restart apache it's back. Suggestions? From grendello at gmail.com Thu May 15 10:21:56 2008 From: grendello at gmail.com (Marek Habersack) Date: Thu, 15 May 2008 16:21:56 +0200 Subject: [Mono-list] mod_mono stability problems In-Reply-To: References: Message-ID: <20080515162156.54dcd88d@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 15 May 2008 12:23:32 +0200 Oscar van Tol wrote: > Hello, Hello, > > For the past two months we've been hosting a webservice application on > apache2 and mod_mono. > Since this week we have some real traffic, and stability issues > started. We now have about 30.000 requests a day, these make the mono > process grow in memory usage to about 2gigs. and the response becomes > really bad. You might want to increase the thread pool size by setting the MONO_THREADS_PER_CPU environment variable to a value higher than the default 5 (the formula for calculating the number of threads in the pool is 20 + ($MONO_THREADS_PER_CPU * number_of_cpus) > The memory problem is probably cause by the none compacting garbage > collector, I solved the performance issue by doing an autorestart > every 400 requests. This works great for a while but after a few auto- That sounds quite often - I think 1000 would be quite enough in your case. > restarts it lookes live apache failes to spawn a new mod-mono-server. > Apache respondes with a 503, when I kill the (old still running) mono > process and restart apache it's back. > > Suggestions? It's hard to determine what it is just from the description - it might be a deadlock, might be a memory issue with shared memory. Please compile mod_mono with - --enable-debug and post apache logs when the 503 happens - that should make it easier to diagnose what's going on. best regards, marek -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFILEcHq3909GIf5uoRAtQbAJ9vw1KNPOztpvW1W7Qnh4LKSMAFyQCfYUzm kNA6k1IBH00O1l3cgarR/i0= =57Vg -----END PGP SIGNATURE----- From bperry.volatile at gmail.com Thu May 15 15:58:14 2008 From: bperry.volatile at gmail.com (Brandon Perry) Date: Thu, 15 May 2008 14:58:14 -0500 Subject: [Mono-list] FBench with threads Message-ID: I was asked to perform the FBench benchmark with threads to see how Mono and .NET compared. Below is a link to the results: http://volatile-minds.blogspot.com/2008/05/fbench-redux-with-threads.html http://code.google.com/p/fbench-sharp/ If you have any questions or comments, please feel free to put them here or on the post. Thanks, Brandon -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080515/5b59f0ca/attachment.html From wberrier at novell.com Thu May 15 17:10:47 2008 From: wberrier at novell.com (Wade Berrier) Date: Thu, 15 May 2008 15:10:47 -0600 Subject: [Mono-list] openSUSE BuildService Mono Repositories Message-ID: <1210885847.4714.11.camel@wberrier.site> Hi, There has been a slight change in the repositories for Mono:Community. All of the distributions available here: http://download.opensuse.org/repositories/Mono:/Community/ used to be built against the Mono contained in the 'Mono' namespace in OBS. Those repositories are now built against whatever version of Mono ships with the distro. There are a new set of repositories labeled with "+Mono" that are built against the "Mono" namespace from OBS. This was done so that we could add "Mono:Community" as an optional repository for the first boot after an install of opensuse 11.0. Wade -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part Url : http://lists.ximian.com/pipermail/mono-list/attachments/20080515/ab150829/attachment.bin From surfzoid at gmail.com Fri May 16 03:03:28 2008 From: surfzoid at gmail.com (Petit Eric) Date: Fri, 16 May 2008 09:03:28 +0200 Subject: [Mono-list] openSUSE BuildService Mono Repositories In-Reply-To: <1210885847.4714.11.camel@wberrier.site> References: <1210885847.4714.11.camel@wberrier.site> Message-ID: <84776a970805160003s37bb4804r71376330bc79f97c@mail.gmail.com> 2008/5/15 Wade Berrier : > Hi, > > There has been a slight change in the repositories for Mono:Community. > > All of the distributions available here: Where is the Mandriva repositories ? > > http://download.opensuse.org/repositories/Mono:/Community/ > > used to be built against the Mono contained in the 'Mono' namespace in > OBS. > > Those repositories are now built against whatever version of Mono ships > with the distro. > > There are a new set of repositories labeled with "+Mono" that are built > against the "Mono" namespace from OBS. > > This was done so that we could add "Mono:Community" as an optional > repository for the first boot after an install of opensuse 11.0. > > Wade > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > From aria.francesco at gmail.com Fri May 16 03:09:20 2008 From: aria.francesco at gmail.com (Panoramix) Date: Fri, 16 May 2008 00:09:20 -0700 (PDT) Subject: [Mono-list] Mono & ModBus In-Reply-To: <17232895.post@talk.nabble.com> References: <17224941.post@talk.nabble.com> <17225923.post@talk.nabble.com> <84776a970805140244j656c66bk57ae5939da5ab16e@mail.gmail.com> <17230314.post@talk.nabble.com> <17232895.post@talk.nabble.com> Message-ID: <17268819.post@talk.nabble.com> The library NModbus works perfectly on Mono. ( http://www.nmodbus.com/ ) I'm using Mono on UBUNTU 8.04 and then: Develop Mono 1.0 Mono JIT compiler 1.2.6 (mono-V) The tests I performed were used to establish a serial communication (and everything works perfectly) but also try short on TCP. The library is easy to use and at the URL some example code : http://groups.google.com/group/NModbus-discuss/browse_thread/thread/a0c5e4c1b4362bd9 Thanks to all =) Panoramix wrote: > > Wooowww > Now work all > > http://www.nabble.com/file/p17232895/Rifer.jpg > > That was what I needed to know, how to use the DLL . > Thanks Andreas :clap::handshake: > > > Andreas F?rber wrote: >> >> >> Am 14.05.2008 um 14:51 schrieb Panoramix: >> >>> >>>> Do yu start with Mono/MD, because you plane to work under linux or >>>> you >>>> will work under Windows ? >>>> The choice your made, NModbus, work with some windows dll (ex : >>>> NModbus\source\tools\jamod), also once again it's a fully and >>>> complete >>>> Modbus library, so complex, ......:) >>>> This library can be used with a really big project, for example to >>>> replace "Intouch" from "Wonderware" ... >>>> But if your application is "basic" , yu should have a look at modbus >>>> documentation. >>> >>> I'm working (playing for the moment) on Ubuntu 8.04 Linux with Mono >>> and >>> Mono-Develop 1.0. >>> My problem is that I don't know how to install a library on Mono >>> (because I >>> don't know Mono and MonoDevelop). >>> Until now I have used other languages like : >>> PHP with framework as P4a (http://p4a.crealabsfoundation.org/) >>> Lazarus (Delphy on linux http://www.lazarus.freepascal.org/) >>> Gambas (VB on Linux http://gambas.sourceforge.net/). >>> >>> But at the first impact with Mono and MonoDevelop I was captured by >>> her >>> beauty, I like it. >>> For the moment I'll like try NModbus with Mono but not to produce >>> proprietary software but only to learn. >> >> You don't need to install the library anywhere then, just place it >> inside your working directory and add a local reference to it. If the >> downloaded software does not advise you to install it into the GAC, >> it's probably not a good idea to put it there. >> >> http://www.mono-project.com/Assemblies_and_the_GAC#What_Should_Be_Installed_to_the_GAC >> >> To find out whether you can use the downloaded software, you might >> want to try the MoMA tool to check for dependencies on native Windows >> libraries. >> >> HTH, >> Andreas >> _______________________________________________ >> Mono-list maillist - Mono-list at lists.ximian.com >> http://lists.ximian.com/mailman/listinfo/mono-list >> >> > > ----- :working: ----------------------------------------------------------------------------- http://freeflow.awardspace.com http://freeflow.awardspace.com ----------------------------------------------------------------------------- -- View this message in context: http://www.nabble.com/Mono---ModBus-tp17224941p17268819.html Sent from the Mono - General mailing list archive at Nabble.com. From oscar at usefulbits.nl Fri May 16 04:03:16 2008 From: oscar at usefulbits.nl (Oscar van Tol) Date: Fri, 16 May 2008 10:03:16 +0200 Subject: [Mono-list] mod_mono stability problems Message-ID: Hi there and thanks for the advice, > > For the past two months we've been hosting a webservice application on > > apache2 and mod_mono. > > Since this week we have some real traffic, and stability issues > > started. We now have about 30.000 requests a day, these make the mono > > process grow in memory usage to about 2gigs. and the response becomes > > really bad. > You might want to increase the thread pool size by setting the MONO_THREADS_PER_CPU > environment variable to a value higher than the default 5 (the formula for > calculating the number of threads in the pool is 20 + ($MONO_THREADS_PER_CPU * > number_of_cpus) The application feels a bit faster now, but with a lot of traffic it still sometimes does not come back after the autorestart > > The memory problem is probab