From robertj at gmx.net Wed Jul 1 13:29:00 2009 From: robertj at gmx.net (Robert Jordan) Date: Wed, 01 Jul 2009 19:29:00 +0200 Subject: [Mono-list] Managed C++ Class Library In-Reply-To: <24268697.post@talk.nabble.com> References: <24268697.post@talk.nabble.com> Message-ID: eSPiYa wrote: > I've been using C# and Mono for almost a year for the cross-platform > implementation of my projects. > > Now, I'm starting to migrate some of the existing C++ projects to .NET 2.0 > instead of creating a wrapper for it due to performance issues. http://www.mono-project.com/CPlusPlus See Korn?l's "Code Generation" section. Robert From jb at nurv.fr Wed Jul 1 13:34:20 2009 From: jb at nurv.fr (Jb Evain) Date: Wed, 1 Jul 2009 19:34:20 +0200 Subject: [Mono-list] can't pick up dll's or namespaces from .dll or .cs files In-Reply-To: <24270628.post@talk.nabble.com> References: <24270628.post@talk.nabble.com> Message-ID: <69f7d8470907011034mb055348p22077a4a20f8753b@mail.gmail.com> Hey, On 6/30/09, Elise Langham wrote: > Is there a command line option when compiling or something i need to do to > explicitly add a reference? Yes, you need to specify the references like: gmcs -r:MyAssembly.dll code.cs -- Jb Evain From gonzalo.mono at gmail.com Thu Jul 2 03:53:40 2009 From: gonzalo.mono at gmail.com (Gonzalo Paniagua Javier) Date: Thu, 02 Jul 2009 03:53:40 -0400 Subject: [Mono-list] SqlBulkCopy Error: Incorrect syntax near ',' In-Reply-To: <24279469.post@talk.nabble.com> References: <24279469.post@talk.nabble.com> Message-ID: <1246521220.8825.3.camel@lalo-laptop> On Tue, 2009-06-30 at 13:56 -0700, Lazar wrote: > Hi there, > > I am trying to use mono to import data into a Microsoft SQL Server from a > Linux machine. The code is written in C# and makes use of the SqlBulkCopy > class. The program runs just fine on a Windows platform, and there are no > issues discovered when checked with the Mono Migration Analyzer. When the > program is executed under mono (both versions 2.0.1 and 2.4.2 have been > tried) on a machine running Ubuntu 9.04 it runs fine until it gets to the > WriteToServer(DataTable) call, and then the following error is displayed: > > Incorrect syntax near ','. > System.Data.SqlClient.SqlException: Incorrect syntax near ','. > at System.Data.SqlClient.SqlConnection.ErrorHandler (System.Object sender, We're going to need more information in order to debug this. Could you provide a small program with the smallest statement possible that reproduces the problem? If so -> http://mono-project.com/Bugzilla. Thanks. -Gonzalo From jwezel at compumaster.de Thu Jul 2 06:37:28 2009 From: jwezel at compumaster.de (Jochen Wezel - CompuMaster GmbH) Date: Thu, 2 Jul 2009 12:37:28 +0200 Subject: [Mono-list] ASP.Net compilation error with C# and Mono V2.4.2 In-Reply-To: <49ABE79B2C21D74E937FA0CF129234BC272B5231FC@srv11.lan.compumaster.de> References: <24259351.post@talk.nabble.com> <006301c9f8f8$1a53fee0$6401a8c0@ferrari> <24261591.post@talk.nabble.com> <24262293.post@talk.nabble.com> <49ABE79B2C21D74E937FA0CF129234BC272B5231FC@srv11.lan.compumaster.de> Message-ID: <49ABE79B2C21D74E937FA0CF129234BC272B52326D@srv11.lan.compumaster.de> Hello, I've got this error when trying to access my test website and if I've put a file "cammWM.dll" into my bin directory: Given is the ASPX file with this content: debopweb02:/srv/_default/htdocs # cat hello_world_csharp.aspx <%@ Page Language="C#" %> <%@ Register TagPrefix="camm" TagName="WebManager" Src="/system/cammWebManager.ascx" %> <% Response.Write ("

This is a C# demo

"); %>

C# fails if I use a control on my page provided by that cammWM.dll. Here the message from my hello_world_csharp.aspx: Server Error in '/' Application -------------------------------------------------------------------------------- The classes in the module cannot be loaded. Description: HTTP 500. Error processing request. Stack Trace: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded. at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool) at System.Reflection.Assembly.GetTypes () [0x00000] at System.Web.UI.TemplateParser.FindNamespaceInAssembly (System.Reflection.Assembly asm, System.String namesp) [0x00000] at System.Web.UI.TemplateParser.AddAssemblyForNamespace (System.String namesp) [0x00000] at System.Web.UI.TemplateParser.AddImport (System.String namesp) [0x00000] at System.Web.UI.TemplateParser.RegisterNamespace (System.String tagPrefix, System.String ns, System.String assembly) [0x00000] at System.Web.UI.TemplateControlParser.AddDirective (System.String directive, System.Collections.Hashtable atts) [0x00000] at System.Web.Compilation.AspGenerator.TagParsed (ILocation location, TagType tagtype, System.String tagid, System.Web.Compilation.TagAttributes attributes) [0x00000] at System.Web.Compilation.AspParser.OnTagParsed (TagType tagtype, System.String id, System.Web.Compilation.TagAttributes attributes) [0x00000] at System.Web.Compilation.AspParser.Parse () [0x00000] at System.Web.Compilation.AspGenerator.Parse (System.IO.TextReader reader, System.String filename, Boolean doInitParser) [0x00000] at System.Web.Compilation.GenericBuildProvider`1[TParser].Parse () [0x00000] at System.Web.Compilation.GenericBuildProvider`1[TParser].get_CodeCompilerType () [0x00000] at System.Web.Compilation.BuildManager.GetCodeDomProviderType (System.Web.Compilation.BuildProvider provider) [0x00000] at System.Web.Compilation.BuildManager+BuildItem..ctor (System.Web.Compilation.BuildProvider provider) [0x00000] at System.Web.Compilation.BuildManager.LoadBuildProviders (System.Web.VirtualPath virtualPath, System.String virtualDir, System.Collections.Generic.Dictionary`2 vpCache, System.Web.Compilation.BuildKind& kind, System.String& assemblyBaseName) [0x00000] at System.Web.Compilation.BuildManager.BuildAssembly (System.Web.VirtualPath virtualPath) [0x00000] at System.Web.Compilation.BuildManager.GetCompiledType (System.String virtualPath) [0x00000] at System.Web.Compilation.AspComponentFoundry+TagNameFoundry.LoadType () [0x00000] at System.Web.Compilation.AspComponentFoundry+TagNameFoundry.GetType (System.String componentName, System.String& source, System.String& ns) [0x00000] at System.Web.Compilation.AspComponentFoundry.CreateComponent (System.Web.Compilation.Foundry foundry, System.String tagName, System.String prefix, System.String tag) [0x00000] at System.Web.Compilation.AspComponentFoundry.GetComponent (System.String tagName) [0x00000] at System.Web.UI.RootBuilder.GetChildControlType (System.String tagName, IDictionary attribs) [0x00000] at System.Web.UI.ControlBuilder.CreateSubBuilder (System.String tagid, System.Collections.Hashtable atts, System.Type childType, System.Web.UI.TemplateParser parser, ILocation location) [0x00000] at System.Web.Compilation.AspGenerator.ProcessTag (ILocation location, System.String tagid, System.Web.Compilation.TagAttributes atts, TagType tagtype, System.Boolean& ignored) [0x00000] -------------------------------------------------------------------------------- Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 2.0.50727.1433 In case you need my cammWM.dll for testing purposes, please tell me your e-mail address so that I can send it directly to you (it shall be handled confidentially). Environment configuration: ========================== - OpenSUSE 11.1 - Mono 2.4.2 with installed mono-basic 2.4.2 (installed with zypper as advised by mono website) Regards Jochen _______________________________________________ Mono-list maillist - Mono-list at lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list From robertj at gmx.net Thu Jul 2 06:49:53 2009 From: robertj at gmx.net (Robert Jordan) Date: Thu, 02 Jul 2009 12:49:53 +0200 Subject: [Mono-list] ASP.Net default language setting lost while update In-Reply-To: <49ABE79B2C21D74E937FA0CF129234BC272B5231FF@srv11.lan.compumaster.de> References: <24259351.post@talk.nabble.com> <006301c9f8f8$1a53fee0$6401a8c0@ferrari> <24261591.post@talk.nabble.com> <24262293.post@talk.nabble.com> <49ABE79B2C21D74E937FA0CF129234BC272B5231FF@srv11.lan.compumaster.de> Message-ID: Jochen Wezel - CompuMaster GmbH wrote: > Is there any plan to prevent overriding of my custom settings? Or if > no and it always overrides, can it override with the default M$ value > (=VB) to keep compatible to M$ behaviour? Use your app's web.config for this kind of changes. VB cannot be set as default, because its compiler and providers are not as mature as gmcs'. BTW, your 'S' key is damaged. Robert From robertj at gmx.net Thu Jul 2 06:54:42 2009 From: robertj at gmx.net (Robert Jordan) Date: Thu, 02 Jul 2009 12:54:42 +0200 Subject: [Mono-list] ASP.Net compilation error with C# and Mono V2.4.2 In-Reply-To: <49ABE79B2C21D74E937FA0CF129234BC272B52326D@srv11.lan.compumaster.de> References: <24259351.post@talk.nabble.com> <006301c9f8f8$1a53fee0$6401a8c0@ferrari> <24261591.post@talk.nabble.com> <24262293.post@talk.nabble.com> <49ABE79B2C21D74E937FA0CF129234BC272B5231FC@srv11.lan.compumaster.de> <49ABE79B2C21D74E937FA0CF129234BC272B52326D@srv11.lan.compumaster.de> Message-ID: Jochen Wezel - CompuMaster GmbH wrote: > Hello, > > I've got this error when trying to access my test website and if I've put a file "cammWM.dll" into my bin directory: > ... > Stack Trace: > > System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded. > at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool) > at System.Reflection.Assembly.GetTypes () [0x00000] Run this assembly through peverify under MS.NET to confirm it's verifiable. If yes, file a bug at http://mono-project.com/Bugs together with a test case. IIRC, you can mark bugs as Novell-only, so you can attach the assembly even if it's confidential. Robert From dr_doom1983 at yahoo.de Thu Jul 2 09:58:02 2009 From: dr_doom1983 at yahoo.de (Ferdinand Funke) Date: Thu, 02 Jul 2009 15:58:02 +0200 Subject: [Mono-list] ASP.Net compilation error with C# and Mono V2.4.2 In-Reply-To: References: <24259351.post@talk.nabble.com> <006301c9f8f8$1a53fee0$6401a8c0@ferrari> <24261591.post@talk.nabble.com> <24262293.post@talk.nabble.com> <49ABE79B2C21D74E937FA0CF129234BC272B5231FC@srv11.lan.compumaster.de> <49ABE79B2C21D74E937FA0CF129234BC272B52326D@srv11.lan.compumaster.de> Message-ID: <4A4CBCEA.1020409@yahoo.de> Same problem to me. I ran peverify on any assembly included in my project, but all passed without any problems. Did anyone already file a bug? Ferdinand Robert Jordan schrieb: > Jochen Wezel - CompuMaster GmbH wrote: > >> Hello, >> >> I've got this error when trying to access my test website and if I've >> put a file "cammWM.dll" into my bin directory: >> >> > ... > > >> Stack Trace: >> System.Reflection.ReflectionTypeLoadException: The classes in the >> module cannot be loaded. >> at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes >> (bool) >> at System.Reflection.Assembly.GetTypes () [0x00000] > > Run this assembly through peverify under MS.NET to confirm > it's verifiable. > > If yes, file a bug at http://mono-project.com/Bugs together with > a test case. IIRC, you can mark bugs as Novell-only, so you can > attach the assembly even if it's confidential. > > Robert > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > From darrek.olson at daktronics.com Wed Jul 1 17:06:18 2009 From: darrek.olson at daktronics.com (Darrek) Date: Wed, 1 Jul 2009 14:06:18 -0700 (PDT) Subject: [Mono-list] Unable to find 'resgen' tool Message-ID: <24297135.post@talk.nabble.com> I am trying to build a program solution from Visual Studio, but I keep getting this error that it cannot find the resgen tool. Any suggestions? I am using Windows. I have searched the forums, but haven't been able to find a solution to this problem. I have the 3.5 framework installed. http://www.nabble.com/file/p24297135/unabletofindresgentool.png -- View this message in context: http://www.nabble.com/Unable-to-find-%27resgen%27-tool-tp24297135p24297135.html Sent from the Mono - General mailing list archive at Nabble.com. From lenniedg at gmail.com Thu Jul 2 05:34:14 2009 From: lenniedg at gmail.com (Lennie De Villiers) Date: Thu, 2 Jul 2009 11:34:14 +0200 Subject: [Mono-list] Use MonoTouch In MonoDevelop for Windows Message-ID: Hi, I've the latest Mono and MonoDevelop for Windows, where can I get the templates etc for writing MonoTouch iPhone apps? thanks cheers Lennie -- Lennie De Villiers Blog: http://lenniedevilliers.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090702/0cda53d2/attachment.html From anigold at 163.com Thu Jul 2 23:06:57 2009 From: anigold at 163.com (anigold) Date: Thu, 2 Jul 2009 20:06:57 -0700 (PDT) Subject: [Mono-list] Can install MONO on OpenSUSE without GNOME/IDE and X.Server Message-ID: <24316469.post@talk.nabble.com> i installed the opensuse(Ent Desktop 11) and did not choose features GNOME and X Server. The mono setup process has not pop-up error messages. finally, i run one winform app complied by VS2005,it tell me "File does on contain a valid CIL image." i run mono-test-install.show following msg: --- Warning: pkg-config could not found mono installed on this system. No dotnet pkgconfig found, windows.forms,windows.drawing and other will not work. -- i found it through google http://stuff.mit.edu/afs/athena/software/mono_v1.9.1/bin/mono-test-install so have any ideas about it? thanks. -- View this message in context: http://www.nabble.com/Can-install-MONO-on-OpenSUSE-without-GNOME-IDE-and-X.Server-tp24316469p24316469.html Sent from the Mono - General mailing list archive at Nabble.com. From surfzoid at gmail.com Fri Jul 3 04:01:35 2009 From: surfzoid at gmail.com (Petit Eric) Date: Fri, 3 Jul 2009 10:01:35 +0200 Subject: [Mono-list] Can install MONO on OpenSUSE without GNOME/IDE and X.Server In-Reply-To: <24316469.post@talk.nabble.com> References: <24316469.post@talk.nabble.com> Message-ID: <84776a970907030101ka8a86b2u6847425df0c97d1d@mail.gmail.com> 2009/7/3 anigold : > > i installed the opensuse(Ent Desktop 11) and did not choose features GNOME > and X Server. > The mono setup process has not pop-up error messages. > > finally, i run one winform app complied by VS2005,it tell me "File does on WinForms are graphical (GUI) so i guess it need X ? > contain a valid CIL image." > i run mono-test-install.show following msg: > --- > Warning: pkg-config could not found mono installed on this system. > No dotnet pkgconfig found, windows.forms,windows.drawing and other will not > work. > -- > > i found it through google > http://stuff.mit.edu/afs/athena/software/mono_v1.9.1/bin/mono-test-install > > so have any ideas about it? > thanks. > -- > View this message in context: http://www.nabble.com/Can-install-MONO-on-OpenSUSE-without-GNOME-IDE-and-X.Server-tp24316469p24316469.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 > -- Cordially. Small Eric Quotations of the days: --------------------------------------------------------------------------- If one day one reproaches you that your work is not a work of professional, say you that: Amateurs built the arch of Noah, and professionals the Titanic. --------------------------------------------------------------------------- Few people are done for independence, it is the privilege of the powerful ones. --------------------------------------------------------------------------- No key was wounded during the drafting of this message. From lluis at novell.com Fri Jul 3 05:07:27 2009 From: lluis at novell.com (Lluis Sanchez Gual) Date: Fri, 03 Jul 2009 11:07:27 +0200 Subject: [Mono-list] Unable to find 'resgen' tool In-Reply-To: <24297135.post@talk.nabble.com> References: <24297135.post@talk.nabble.com> Message-ID: <1246612047.5071.268.camel@linux-nesp.site> The problem is that resgen does not come with the default 3.5 framework runtime. You need to install the Framework SDK. El dc 01 de 07 de 2009 a les 14:06 -0700, en/na Darrek va escriure: > I am trying to build a program solution from Visual Studio, but I keep > getting this error that it cannot find the resgen tool. Any suggestions? I > am using Windows. I have searched the forums, but haven't been able to find > a solution to this problem. I have the 3.5 framework installed. > > http://www.nabble.com/file/p24297135/unabletofindresgentool.png From lluis at novell.com Fri Jul 3 05:11:33 2009 From: lluis at novell.com (Lluis Sanchez Gual) Date: Fri, 03 Jul 2009 11:11:33 +0200 Subject: [Mono-list] Use MonoTouch In MonoDevelop for Windows In-Reply-To: References: Message-ID: <1246612293.5071.270.camel@linux-nesp.site> El dj 02 de 07 de 2009 a les 11:34 +0200, en/na Lennie De Villiers va escriure: > Hi, > > I've the latest Mono and MonoDevelop for Windows, where can I get the > templates etc for writing MonoTouch iPhone apps? There are no such templates yet, and even if we had them, I fear you won't be able to develop iPhone apps on windows because the required iPhone build tools are only available for Mac. > > thanks > > cheers > > Lennie > > -- > Lennie De Villiers Blog: http://lenniedevilliers.blogspot.com/ > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list From jwezel at compumaster.de Fri Jul 3 07:11:32 2009 From: jwezel at compumaster.de (Jochen Wezel - CompuMaster GmbH) Date: Fri, 3 Jul 2009 13:11:32 +0200 Subject: [Mono-list] ASP.Net default language setting lost while update In-Reply-To: References: <24259351.post@talk.nabble.com> <006301c9f8f8$1a53fee0$6401a8c0@ferrari> <24261591.post@talk.nabble.com> <24262293.post@talk.nabble.com> <49ABE79B2C21D74E937FA0CF129234BC272B5231FF@srv11.lan.compumaster.de> Message-ID: <49ABE79B2C21D74E937FA0CF129234BC272B5232CA@srv11.lan.compumaster.de> Hi Robert, > VB cannot be set as default, because its compiler and providers are > not as mature as gmcs'. Okay, hopefully the VB.Net compiler will get as mature as the gmcs in near future ;-) I'm looking forward... My idea is to better change it as soon as possible to reduce compatibility conflicts with existing Mono web applications (currently with a relatively small distribution grade in comparison to the distribution grade in approx. 2 years) > BTW, your 'S' key is damaged. Yeah, sorry - err - $orry ;-) Regards Jochen -----Urspr?ngliche Nachricht----- Von: mono-list-bounces at lists.ximian.com [mailto:mono-list-bounces at lists.ximian.com] Im Auftrag von Robert Jordan Gesendet: Donnerstag, 2. Juli 2009 12:50 An: Mono-list at lists.ximian.com Betreff: Re: [Mono-list] ASP.Net default language setting lost while update Jochen Wezel - CompuMaster GmbH wrote: > Is there any plan to prevent overriding of my custom settings? Or if > no and it always overrides, can it override with the default M$ value > (=VB) to keep compatible to M$ behaviour? Use your app's web.config for this kind of changes. VB cannot be set as default, because its compiler and providers are not as mature as gmcs'. BTW, your 'S' key is damaged. Robert _______________________________________________ Mono-list maillist - Mono-list at lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list From W.Mauer at top-soft.info Fri Jul 3 15:27:08 2009 From: W.Mauer at top-soft.info (Wolfgang Mauer) Date: Fri, 3 Jul 2009 21:27:08 +0200 Subject: [Mono-list] WLan Message-ID: <200907032127.08789.W.Mauer@top-soft.info> Hi List, is it possible to use C#/mono to do thomething like "iwlist ... scan" Thanks Wolfgang From DaleEMoore at gMail.Com Fri Jul 3 15:47:56 2009 From: DaleEMoore at gMail.Com (DaleEMoore) Date: Fri, 3 Jul 2009 12:47:56 -0700 (PDT) Subject: [Mono-list] gFax gets: gui.cs(28, 21): error CS0234: The type or namespace name `PropertyEditors' does not exist in the namespace `GConf'. Are you missing an assembly reference? Message-ID: <24327995.post@talk.nabble.com> gFax ./configure; make gets gui.cs(28,21): error CS0234: The type or namespace name `PropertyEditors' does not exist in the namespace `GConf'. Are you missing an assembly reference? I've been looking for GConf.PropertyEditors but have not been able to locate the package that defines this, nor have I located a replacement for this. Any suggestions are very much appreciated, Dale E. Moore -- View this message in context: http://www.nabble.com/gFax-gets%3A-gui.cs%2828%2C21%29%3A-error-CS0234%3A-The-type-or-namespace-name-%60PropertyEditors%27-does-not-exist-in-the-namespace-%60GConf%27.-Are-you-missing-an-assembly-reference--tp24327995p24327995.html Sent from the Mono - General mailing list archive at Nabble.com. From contact at i-nz.net Fri Jul 3 18:04:22 2009 From: contact at i-nz.net (Ivan Zlatev) Date: Fri, 3 Jul 2009 23:04:22 +0100 Subject: [Mono-list] WLan In-Reply-To: <200907032127.08789.W.Mauer@top-soft.info> References: <200907032127.08789.W.Mauer@top-soft.info> Message-ID: <3db1ec7f0907031504l1d92191bn4f7d822bc2d5037d@mail.gmail.com> Hi, You should be able to use: * Linux - NetworkManager DBUS API - org.freedesktop.NetworkManager maybe some examples here - http://git.gnome.org/cgit/banshee/tree/src/Core/Banshee.Services/Banshee.Networking?h=stable * Windows - Managed WiFi API on Win32 - http://www.codeplex.com/managedwifi or Native API - http://msdn.microsoft.com/en-us/library/ms705969%28VS.85%29.aspx Kind Regards, Ivan Zlatev http://ivanzlatev.com On Fri, Jul 3, 2009 at 8:27 PM, Wolfgang Mauer wrote: > Hi List, > is it possible to use C#/mono to do thomething like "iwlist ... scan" > > Thanks > Wolfgang > _______________________________________________ > Mono-list maillist ?- ?Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > From W.Mauer at top-soft.info Sat Jul 4 04:10:47 2009 From: W.Mauer at top-soft.info (Wolfgang Mauer) Date: Sat, 4 Jul 2009 10:10:47 +0200 Subject: [Mono-list] WLan In-Reply-To: <3db1ec7f0907031504l1d92191bn4f7d822bc2d5037d@mail.gmail.com> References: <200907032127.08789.W.Mauer@top-soft.info> <3db1ec7f0907031504l1d92191bn4f7d822bc2d5037d@mail.gmail.com> Message-ID: <200907041010.48353.W.Mauer@top-soft.info> Thanks, this looks like "normal" networking and not be useable for wifi? I want to use it with linux, so the native windows api don't help. / Wolfgang > Hi, > > You should be able to use: > > * Linux - NetworkManager DBUS API - org.freedesktop.NetworkManager > maybe some examples here - > http://git.gnome.org/cgit/banshee/tree/src/Core/Banshee.Services/Banshee.Networking?h=stable > * Windows - Managed WiFi API on Win32 - > http://www.codeplex.com/managedwifi or Native API - > http://msdn.microsoft.com/en-us/library/ms705969%28VS.85%29.aspx > > Kind Regards, > > Ivan Zlatev > http://ivanzlatev.com > > > > On Fri, Jul 3, 2009 at 8:27 PM, Wolfgang Mauer wrote: > > Hi List, > > is it possible to use C#/mono to do thomething like "iwlist ... scan" > > > > Thanks > > Wolfgang > > _______________________________________________ > > Mono-list maillist ?- ?Mono-list at lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/mono-list > > > Fax: +49 (0)951 / 2221521 From contact at i-nz.net Sat Jul 4 06:40:20 2009 From: contact at i-nz.net (Ivan Zlatev) Date: Sat, 4 Jul 2009 11:40:20 +0100 Subject: [Mono-list] WLan In-Reply-To: <200907041010.48353.W.Mauer@top-soft.info> References: <200907032127.08789.W.Mauer@top-soft.info> <3db1ec7f0907031504l1d92191bn4f7d822bc2d5037d@mail.gmail.com> <200907041010.48353.W.Mauer@top-soft.info> Message-ID: <3db1ec7f0907040340xa846abevd2182b7151a3e447@mail.gmail.com> Hello, NetworkManager manages Wireless, Wired, Modems - all sorts of connections. Do your research. I gave you the Windows API so that you can consider a strategy pattern for making your app cross platform. Kind Regards, Ivan Zlatev http://ivanzlatev.com On Sat, Jul 4, 2009 at 9:10 AM, Wolfgang Mauer wrote: > Thanks, > this looks like "normal" networking and not be useable for wifi? > I want to use it with linux, so the native windows api don't help. > > / > Wolfgang > >> Hi, >> >> You should be able to use: >> >> ? ?* Linux - NetworkManager DBUS API - org.freedesktop.NetworkManager >> maybe some examples here - >> http://git.gnome.org/cgit/banshee/tree/src/Core/Banshee.Services/Banshee.Networking?h=stable >> ? ?* Windows - Managed WiFi API on Win32 - >> http://www.codeplex.com/managedwifi or Native API - >> http://msdn.microsoft.com/en-us/library/ms705969%28VS.85%29.aspx >> >> Kind Regards, >> >> Ivan Zlatev >> http://ivanzlatev.com >> >> >> >> On Fri, Jul 3, 2009 at 8:27 PM, Wolfgang Mauer wrote: >> > Hi List, >> > is it possible to use C#/mono to do thomething like "iwlist ... scan" >> > >> > Thanks >> > Wolfgang >> > _______________________________________________ >> > Mono-list maillist ?- ?Mono-list at lists.ximian.com >> > http://lists.ximian.com/mailman/listinfo/mono-list >> > >> > Fax: +49 (0)951 / 2221521 > From anigold at 163.com Sat Jul 4 08:58:09 2009 From: anigold at 163.com (anigold) Date: Sat, 4 Jul 2009 20:58:09 +0800 (CST) Subject: [Mono-list] Can install MONO on OpenSUSE without GNOME/IDE and X.Server In-Reply-To: <84776a970907030101ka8a86b2u6847425df0c97d1d@mail.gmail.com> References: <84776a970907030101ka8a86b2u6847425df0c97d1d@mail.gmail.com> <24316469.post@talk.nabble.com> Message-ID: <8608113.677601246712289407.JavaMail.coremail@bj163app56.163.com> Petit Eric: thanks your reply. maybe you are right! i found another thread from Jonathan: http://lists.ximian.com/pipermail/mono-winforms-list/2009-May/004052.html said: "Winforms requires an X server to operate on Linux. I do not believe there is any way around this requirement." regards jin. ??2009-07-03??"Petit Eric" ?????? >2009/7/3 anigold : >> >> i installed the opensuse(Ent Desktop 11) and did not choose features GNOME >> and X Server. >> The mono setup process has not pop-up error messages. >> >> finally, i run one winform app complied by VS2005,it tell me "File does on >WinForms are graphical (GUI) so i guess it need X ? >> contain a valid CIL image." >> i run mono-test-install.show following msg: >> --- >> Warning: pkg-config could not found mono installed on this system. >> No dotnet pkgconfig found, windows.forms,windows.drawing and other will not >> work. >> -- >> >> i found it through google >> http://stuff.mit.edu/afs/athena/software/mono_v1.9.1/bin/mono-test-install >> >> so have any ideas about it? >> thanks. >> -- >> View this message in context: http://www.nabble.com/Can-install-MONO-on-OpenSUSE-without-GNOME-IDE-and-X.Server-tp24316469p24316469.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 >> > > > >-- > >Cordially. > >Small Eric Quotations of the days: >--------------------------------------------------------------------------- >If one day one reproaches you that your work is not a work of >professional, say you that: >Amateurs built the arch of Noah, and professionals the Titanic. >--------------------------------------------------------------------------- > >Few people are done for independence, it is the privilege of the powerful ones. >--------------------------------------------------------------------------- > >No key was wounded during the drafting of this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090704/bdb58f83/attachment-0001.html From chrisstocktonaz at gmail.com Sat Jul 4 16:40:15 2009 From: chrisstocktonaz at gmail.com (cstockton) Date: Sat, 4 Jul 2009 13:40:15 -0700 (PDT) Subject: [Mono-list] Low level mouse hook via SetWindowsHookEx Message-ID: <24337660.post@talk.nabble.com> Hello, I am porting a app I want to distribute for free in Linux. It clicks for users with RSI (Repetitive Stress Syndrome). Part of the application is monitoring the movement of the mouse and sending global clicks, this is window independent. I achieved this in C# under windows using : [code] [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)] private static extern IntPtr SetWindowsHookEx(int idHook, LowLevelProc lpfn, IntPtr hMod, uint dwThreadId); ... (more imports) [DllImport("user32.dll")] static extern void mouse_event(uint dwFlags, uint dx, uint dy, uint dwData, int dwExtraInfo); // later I SetWindowsHookEx(WH_MOUSE_LL, proc, GetModuleHandle(curModule.ModuleName), 0); [/code] The app is complete and runs great in windows, it builds okay in MonoDevelop but I get a exception when running : Unhandled Exception: System.EntryPointNotFoundException: GetModuleHandle at (wrapper managed-to-native) Clicker.Form1:GetModuleHandle (string) at Clicker.Form1.SetMouseHook (Clicker.LowLevelProc proc) [0x00014] in .. Form1.cs:173 at Clicker.Form1..ctor () [0x004d2] in .. Form1.cs:510 at (wrapper remoting-invoke-with-check) Clicker.Form1:.ctor () at Clicker.Program.Main () [0x00015] in .. Program.cs:18 I am assuming I am missing some key steps in those unmanaged invokes, but am unsure (after much much much googling) how to achieve this. If I need to scrap the hooking into the user32/kernel32 and do the alternative in X11 libraries of some sort I am okay with that. -Chris -- View this message in context: http://www.nabble.com/Low-level-mouse-hook-via-SetWindowsHookEx-tp24337660p24337660.html Sent from the Mono - General mailing list archive at Nabble.com. From contact at i-nz.net Sat Jul 4 17:20:08 2009 From: contact at i-nz.net (Ivan Zlatev) Date: Sat, 4 Jul 2009 22:20:08 +0100 Subject: [Mono-list] Low level mouse hook via SetWindowsHookEx In-Reply-To: <24337660.post@talk.nabble.com> References: <24337660.post@talk.nabble.com> Message-ID: <3db1ec7f0907041420n4def2ac6p82e7147fadb797cf@mail.gmail.com> Hello, Those are native Windows system dlls and obviously they aren't available on Linux. You will have to research on how to do this sort of stuff using native low level X11 / xlib stuff. I have no idea how to do this myself but some good keywords for your google searches are: X11, xlib, XRecord, XTest, evdev. It might be a good idea to also look at what the accessibility tools on Linux do to hook into mouse/keyboard. Last but not least if you indeed end up using xlib to save you time wrapping the native code there are already ready to use P/Invoke signatures in Mono's WinForms code at http://anonsvn.mono-project.com/viewvc/trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs?view=markup and the xlib structures in C# that they require are here - http://anonsvn.mono-project.com/viewvc/trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/X11Structs.cs?view=markup . Kind Regards, Ivan Zlatev http://ivanzlatev.com On Sat, Jul 4, 2009 at 9:40 PM, cstockton wrote: > > Hello, > > I am porting a app I want to distribute for free in Linux. It clicks for > users with RSI (Repetitive Stress Syndrome). > > Part of the application is monitoring the movement of the mouse and sending > global clicks, this is window independent. I achieved this in C# under > windows using : > > [code] > ? ? ? ?[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = > true)] > > ? ? ? ?private static extern IntPtr SetWindowsHookEx(int idHook, > LowLevelProc lpfn, IntPtr hMod, uint dwThreadId); > > > ? ? ? ?... (more imports) > > ? ? ? ?[DllImport("user32.dll")] > > ? ? ? ?static extern void mouse_event(uint dwFlags, uint dx, uint dy, uint > dwData, int dwExtraInfo); > > ? ? ? ?// later I > ? ? ? ?SetWindowsHookEx(WH_MOUSE_LL, proc, > GetModuleHandle(curModule.ModuleName), 0); > > [/code] > > The app is complete and runs great in windows, it builds okay in MonoDevelop > but I get a exception when running : > > Unhandled Exception: System.EntryPointNotFoundException: GetModuleHandle > ?at (wrapper managed-to-native) Clicker.Form1:GetModuleHandle (string) > ?at Clicker.Form1.SetMouseHook (Clicker.LowLevelProc proc) [0x00014] in .. > Form1.cs:173 > ?at Clicker.Form1..ctor () [0x004d2] in .. Form1.cs:510 > ?at (wrapper remoting-invoke-with-check) Clicker.Form1:.ctor () > ?at Clicker.Program.Main () [0x00015] in .. Program.cs:18 > > I am assuming I am missing some key steps in those unmanaged invokes, but am > unsure (after much much much googling) how to achieve this. If I need to > scrap the hooking into the user32/kernel32 and do the alternative in X11 > libraries of some sort I am okay with that. > > -Chris > > -- > View this message in context: http://www.nabble.com/Low-level-mouse-hook-via-SetWindowsHookEx-tp24337660p24337660.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 jonpryor at vt.edu Sat Jul 4 17:56:27 2009 From: jonpryor at vt.edu (Jonathan Pryor) Date: Sat, 04 Jul 2009 17:56:27 -0400 Subject: [Mono-list] Low level mouse hook via SetWindowsHookEx In-Reply-To: <24337660.post@talk.nabble.com> References: <24337660.post@talk.nabble.com> Message-ID: For the love of $deity, you shouldn't do this on Windows either. The problem is that hooks involve inserting your DLL into every process' address space, which will thus require loading the CLR. However, until .NET 4.0 (unreleased), only one version of the CLR can be loaded. Result: you may try loading your assembly into a process which has only .NET 1.x loaded, resulting in a TypeLoadException. This is, of course, bad. It's also why you don't currently see many Explorer shell extensions written on managed code. Please don't do that. (Plus, it's not portable to non-Windows platforms...) - Jon On Jul 4, 2009, at 4:40 PM, cstockton wrote: > > Hello, > > I am porting a app I want to distribute for free in Linux. It clicks > for > users with RSI (Repetitive Stress Syndrome). > > Part of the application is monitoring the movement of the mouse and > sending > global clicks, this is window independent. I achieved this in C# under > windows using : > > [code] > [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = > true)] > > private static extern IntPtr SetWindowsHookEx(int idHook, > LowLevelProc lpfn, IntPtr hMod, uint dwThreadId); > > > ... (more imports) > > [DllImport("user32.dll")] > > static extern void mouse_event(uint dwFlags, uint dx, uint > dy, uint > dwData, int dwExtraInfo); > > // later I > SetWindowsHookEx(WH_MOUSE_LL, proc, > GetModuleHandle(curModule.ModuleName), 0); > > [/code] > > The app is complete and runs great in windows, it builds okay in > MonoDevelop > but I get a exception when running : > > Unhandled Exception: System.EntryPointNotFoundException: > GetModuleHandle > at (wrapper managed-to-native) Clicker.Form1:GetModuleHandle (string) > at Clicker.Form1.SetMouseHook (Clicker.LowLevelProc proc) [0x00014] > in .. > Form1.cs:173 > at Clicker.Form1..ctor () [0x004d2] in .. Form1.cs:510 > at (wrapper remoting-invoke-with-check) Clicker.Form1:.ctor () > at Clicker.Program.Main () [0x00015] in .. Program.cs:18 > > I am assuming I am missing some key steps in those unmanaged > invokes, but am > unsure (after much much much googling) how to achieve this. If I > need to > scrap the hooking into the user32/kernel32 and do the alternative in > X11 > libraries of some sort I am okay with that. > > -Chris > > -- > View this message in context: http://www.nabble.com/Low-level-mouse-hook-via-SetWindowsHookEx-tp24337660p24337660.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 robertj at gmx.net Sun Jul 5 06:12:51 2009 From: robertj at gmx.net (Robert Jordan) Date: Sun, 05 Jul 2009 12:12:51 +0200 Subject: [Mono-list] Low level mouse hook via SetWindowsHookEx In-Reply-To: References: <24337660.post@talk.nabble.com> Message-ID: Jonathan Pryor wrote: > For the love of $deity, you shouldn't do this on Windows either. > > The problem is that hooks involve inserting your DLL into every > process' address space, which will thus require loading the CLR. > However, until .NET 4.0 (unreleased), only one version of the CLR can > be loaded. Result: you may try loading your assembly into a process > which has only .NET 1.x loaded, resulting in a TypeLoadException. > > This is, of course, bad. It's also why you don't currently see many > Explorer shell extensions written on managed code. > > Please don't do that. Global WM_MOUSE_LL hooks are not critical because they don't inject code into the address space of other processes. And other global hooks won't work w/out the help of an unmanaged DLL anyways. Robert From daniel.isenmann at gmx.de Sun Jul 5 08:08:33 2009 From: daniel.isenmann at gmx.de (Daniel Isenmann) Date: Sun, 5 Jul 2009 14:08:33 +0200 Subject: [Mono-list] Problems compiling Mono 2.4.2 Message-ID: <20090705140833.6f1d1686@fuckup-ng.localdomain> Hi, I have problems compiling mono 2.4.2. The compilation process went through without problems, but the "make install" command prints out following error: ------- Making install in metadata make[2]: Entering directory `/home/ise/svn-packages/mono/trunk/src/mono-2.4.2/mono/metadata' make[3]: Entering directory `/home/ise/svn-packages/mono/trunk/src/mono-2.4.2/mono/metadata' test -z "/usr/bin" || /bin/mkdir -p "/home/ise/svn-packages/mono/trunk/pkg/usr/bin" ../../doltlibtool --quiet --mode=install /bin/install -c pedump '/home/ise/svn-packages/mono/trunk/pkg/usr/bin' test -z "/usr/include/mono-1.0/mono/metadata" || /bin/mkdir -p "/home/ise/svn-packages/mono/trunk/pkg/usr/include/mono-1.0/mono/metadata" /bin/install -c -m 644 attrdefs.h appdomain.h mono-debug.h mono-gc.h debug-mono-symfile.h threads.h environment.h assembly.h opcodes.h blob.h image.h metadata.h verify.h reflection.h row-indexes.h tokentype.h loader.h class.h object.h exception.h profiler.h appdomain.h mono-config.h debug-helpers.h mempool.h '/home/ise/svn-packages/mono/trunk/pkg/usr/include/mono-1.0/mono/metadata' /bin/install: will not overwrite just-created `/home/ise/svn-packages/mono/trunk/pkg/usr/include/mono-1.0/mono/metadata/appdomain.h' with `appdomain.h' make[3]: *** [install-libmonoruntimeincludeHEADERS] Error 1 make[3]: Leaving directory `/home/ise/svn-packages/mono/trunk/src/mono-2.4.2/mono/metadata' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/home/ise/svn-packages/mono/trunk/src/mono-2.4.2/mono/metadata' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/ise/svn-packages/mono/trunk/src/mono-2.4.2/mono' make: *** [install-recursive] Error 1 -------- I'm compiling with the following flags: ./configure --prefix=/usr --sysconfdir=/etc \ --with-libgdiplus=installed --with-icu=no \ --with-tls=pthread --with-jit=yes --with-preview=yes \ --with-sigaltstack=yes --enable-nunit-tests \ --with-moonlight=yes make || return 1 make install It worked in version 2.4 without problems. Compiling everything with gcc-4.4.0 on ArchLinux x86_64. Any hints? Thanks, Daniel From DusharaJ at optiscan.com Sun Jul 5 19:36:19 2009 From: DusharaJ at optiscan.com (Dushara Jayasinghe) Date: Mon, 6 Jul 2009 09:36:19 +1000 Subject: [Mono-list] Problems compiling Mono 2.4.2 In-Reply-To: <20090705140833.6f1d1686@fuckup-ng.localdomain> References: <20090705140833.6f1d1686@fuckup-ng.localdomain> Message-ID: Just curious, don't you need root access to do make install? d > -----Original Message----- > From: mono-list-bounces at lists.ximian.com [mailto:mono-list- > bounces at lists.ximian.com] On Behalf Of Daniel Isenmann > Sent: Sunday, 5 July 2009 10:09 PM > To: Mono-list at lists.ximian.com > Subject: [Mono-list] Problems compiling Mono 2.4.2 > > Hi, > > I have problems compiling mono 2.4.2. The compilation process went > through without problems, but the "make install" command prints out > following error: > > ------- > > Making install in metadata > make[2]: Entering directory > `/home/ise/svn-packages/mono/trunk/src/mono-2.4.2/mono/metadata' > make[3]: Entering directory > `/home/ise/svn-packages/mono/trunk/src/mono-2.4.2/mono/metadata' test > -z "/usr/bin" || /bin/mkdir -p > "/home/ise/svn-packages/mono/trunk/pkg/usr/bin" ../../doltlibtool > --quiet --mode=install /bin/install -c pedump > '/home/ise/svn-packages/mono/trunk/pkg/usr/bin' test -z > "/usr/include/mono-1.0/mono/metadata" || /bin/mkdir -p > "/home/ise/svn-packages/mono/trunk/pkg/usr/include/mono- > 1.0/mono/metadata" /bin/install > -c -m 644 attrdefs.h appdomain.h mono-debug.h mono-gc.h > debug-mono-symfile.h threads.h environment.h assembly.h opcodes.h > blob.h image.h metadata.h verify.h reflection.h row-indexes.h > tokentype.h loader.h class.h object.h exception.h profiler.h > appdomain.h mono-config.h debug-helpers.h mempool.h > '/home/ise/svn-packages/mono/trunk/pkg/usr/include/mono- > 1.0/mono/metadata' /bin/install: > will not overwrite just-created > `/home/ise/svn-packages/mono/trunk/pkg/usr/include/mono- > 1.0/mono/metadata/appdomain.h' > with `appdomain.h' make[3]: *** [install-libmonoruntimeincludeHEADERS] > Error 1 make[3]: Leaving directory > `/home/ise/svn-packages/mono/trunk/src/mono-2.4.2/mono/metadata' > make[2]: *** [install-am] Error 2 make[2]: Leaving directory > `/home/ise/svn-packages/mono/trunk/src/mono-2.4.2/mono/metadata' > make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory > `/home/ise/svn-packages/mono/trunk/src/mono-2.4.2/mono' make: *** > [install-recursive] Error 1 > > -------- > > I'm compiling with the following flags: > > ./configure --prefix=/usr --sysconfdir=/etc \ > --with-libgdiplus=installed --with-icu=no \ > --with-tls=pthread --with-jit=yes --with-preview=yes \ > --with-sigaltstack=yes --enable-nunit-tests \ > --with-moonlight=yes > make || return 1 > make install > > > It worked in version 2.4 without problems. Compiling everything with > gcc-4.4.0 on ArchLinux x86_64. > > Any hints? > > Thanks, > Daniel > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ From daniel.isenmann at gmx.de Mon Jul 6 01:09:32 2009 From: daniel.isenmann at gmx.de (Daniel Isenmann) Date: Mon, 06 Jul 2009 07:09:32 +0200 Subject: [Mono-list] Problems compiling Mono 2.4.2 In-Reply-To: References: <20090705140833.6f1d1686@fuckup-ng.localdomain> Message-ID: <20090706050932.29350@gmx.net> Yeah, you are right. But this was built in a fakeroot environment. So it has the necessary rights for doing "make install". Like I said before, it worked for all versions before 2.4.2. I'm think the real problem is that //bin/install tries to install the same file twice: /bin/install: will not overwrite just-created `/home/ise/svn-packages/mono/trunk/pkg/usr/include/mono-1.0/mono/metadata/appdomain.h' Daniel -------- Original-Nachricht -------- > Datum: Mon, 6 Jul 2009 09:36:19 +1000 > Von: Dushara Jayasinghe > An: \'Daniel Isenmann\' , "Mono-list at lists.ximian.com" > Betreff: RE: [Mono-list] Problems compiling Mono 2.4.2 > Just curious, don't you need root access to do make install? > > d > > > -----Original Message----- > > From: mono-list-bounces at lists.ximian.com [mailto:mono-list- > > bounces at lists.ximian.com] On Behalf Of Daniel Isenmann > > Sent: Sunday, 5 July 2009 10:09 PM > > To: Mono-list at lists.ximian.com > > Subject: [Mono-list] Problems compiling Mono 2.4.2 > > > > Hi, > > > > I have problems compiling mono 2.4.2. The compilation process went > > through without problems, but the "make install" command prints out > > following error: > > > > ------- > > > > Making install in metadata > > make[2]: Entering directory > > `/home/ise/svn-packages/mono/trunk/src/mono-2.4.2/mono/metadata' > > make[3]: Entering directory > > `/home/ise/svn-packages/mono/trunk/src/mono-2.4.2/mono/metadata' test > > -z "/usr/bin" || /bin/mkdir -p > > "/home/ise/svn-packages/mono/trunk/pkg/usr/bin" ../../doltlibtool > > --quiet --mode=install /bin/install -c pedump > > '/home/ise/svn-packages/mono/trunk/pkg/usr/bin' test -z > > "/usr/include/mono-1.0/mono/metadata" || /bin/mkdir -p > > "/home/ise/svn-packages/mono/trunk/pkg/usr/include/mono- > > 1.0/mono/metadata" /bin/install > > -c -m 644 attrdefs.h appdomain.h mono-debug.h mono-gc.h > > debug-mono-symfile.h threads.h environment.h assembly.h opcodes.h > > blob.h image.h metadata.h verify.h reflection.h row-indexes.h > > tokentype.h loader.h class.h object.h exception.h profiler.h > > appdomain.h mono-config.h debug-helpers.h mempool.h > > '/home/ise/svn-packages/mono/trunk/pkg/usr/include/mono- > > 1.0/mono/metadata' /bin/install: > > will not overwrite just-created > > `/home/ise/svn-packages/mono/trunk/pkg/usr/include/mono- > > 1.0/mono/metadata/appdomain.h' > > with `appdomain.h' make[3]: *** [install-libmonoruntimeincludeHEADERS] > > Error 1 make[3]: Leaving directory > > `/home/ise/svn-packages/mono/trunk/src/mono-2.4.2/mono/metadata' > > make[2]: *** [install-am] Error 2 make[2]: Leaving directory > > `/home/ise/svn-packages/mono/trunk/src/mono-2.4.2/mono/metadata' > > make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory > > `/home/ise/svn-packages/mono/trunk/src/mono-2.4.2/mono' make: *** > > [install-recursive] Error 1 > > > > -------- > > > > I'm compiling with the following flags: > > > > ./configure --prefix=/usr --sysconfdir=/etc \ > > --with-libgdiplus=installed --with-icu=no \ > > --with-tls=pthread --with-jit=yes --with-preview=yes \ > > --with-sigaltstack=yes --enable-nunit-tests \ > > --with-moonlight=yes > > make || return 1 > > make install > > > > > > It worked in version 2.4 without problems. Compiling everything with > > gcc-4.4.0 on ArchLinux x86_64. > > > > Any hints? > > > > Thanks, > > Daniel > > _______________________________________________ > > Mono-list maillist - Mono-list at lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > ______________________________________________________________________ > > This email has been scanned by the MessageLabs Email Security System. > > For more information please visit http://www.messagelabs.com/email > > ______________________________________________________________________ -- GRATIS f?r alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 From andy at ninjagod.com Mon Jul 6 08:59:16 2009 From: andy at ninjagod.com (Andy) Date: Mon, 6 Jul 2009 18:29:16 +0530 Subject: [Mono-list] Porting PyGtk tutorial to GTK# - Help needed Message-ID: <1d5231430907060559w76b1428aud567527860b02a6f@mail.gmail.com> Hi, I was looking at the tutorials available for GTK#, and none of them seem to be as good as the tutorials available for PyGtk or Gtk+. I realized that the PyGtk tutorial is almost like a port of the original GTK+ tutorial with some added tutorials regarding TreeViews, etc. Since GTK# bears some significant similarity over PyGTK, I felt that it wouldn't be too challenging to port the code samples and syntax from the original tutorial to a newer one. The structure of the tutorial and the content has been tested for several years and seem to be effective enough as a starting point for material. I decided to start an ambitious attempt to port the entire tutorial to GTK# within the next few weeks) The original PyGtk tutorial can be accessed from here: http://pygtk.org/pygtk2tutorial/ I have attempted porting a single section just to get a feel for it. You can see the original "Buttons" tutorial here - http://pygtk.org/pygtk2tutorial/ch-ButtonWidget.html And also compare it with my attempt available here: http://www.ninjagod.com/gtk-sharp/wikka.php?wakka=Buttons The conversion was relatively effortless and required a single concise read-through and porting the code line-by-line. The rest was just copy-paste. Porting is a lot easier if you have an understanding of Python (I did), but it's quite readable and obvious. I guess we also need to write whole programs and make the source available after testing and making sure that it works (My code that I put up there doesn't). It took about half an hour to get it done. I'm hoping that with enough contributors sharing the work, and not altering content significantly, we can finish the conversion fast and effectively, and make the learning content available for people who are new to GTK# development, and leverage existing documentation. Please email me if you are interested in contributing. Also, for people who have done something like this before, any advice regarding the tools to use, etc would be greatly appreciated. Thanks, Andy -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090706/1fdcb652/attachment.html From daniel.isenmann at gmx.de Mon Jul 6 13:14:25 2009 From: daniel.isenmann at gmx.de (Daniel Isenmann) Date: Mon, 6 Jul 2009 19:14:25 +0200 Subject: [Mono-list] Problems compiling Mono 2.4.2 In-Reply-To: <20090706050932.29350@gmx.net> References: <20090705140833.6f1d1686@fuckup-ng.localdomain> <20090706050932.29350@gmx.net> Message-ID: <20090706191425.4a1348fb@fuckup-ng.localdomain> Solved. Thanks to Garuma... On Mon, 06 Jul 2009 07:09:32 +0200 "Daniel Isenmann" wrote: > Yeah, you are right. But this was built in a fakeroot environment. So > it has the necessary rights for doing "make install". > > Like I said before, it worked for all versions before 2.4.2. I'm > think the real problem is that //bin/install tries to install the > same file twice: > > /bin/install: will not overwrite just-created > `/home/ise/svn-packages/mono/trunk/pkg/usr/include/mono-1.0/mono/metadata/appdomain.h' > > > Daniel > > -------- Original-Nachricht -------- > > Datum: Mon, 6 Jul 2009 09:36:19 +1000 > > Von: Dushara Jayasinghe > > An: \'Daniel Isenmann\' , > > "Mono-list at lists.ximian.com" Betreff: > > RE: [Mono-list] Problems compiling Mono 2.4.2 > > > Just curious, don't you need root access to do make install? > > > > d > > > > > -----Original Message----- > > > From: mono-list-bounces at lists.ximian.com [mailto:mono-list- > > > bounces at lists.ximian.com] On Behalf Of Daniel Isenmann > > > Sent: Sunday, 5 July 2009 10:09 PM > > > To: Mono-list at lists.ximian.com > > > Subject: [Mono-list] Problems compiling Mono 2.4.2 > > > > > > Hi, > > > > > > I have problems compiling mono 2.4.2. The compilation process went > > > through without problems, but the "make install" command prints > > > out following error: > > > > > > ------- > > > > > > Making install in metadata > > > make[2]: Entering directory > > > `/home/ise/svn-packages/mono/trunk/src/mono-2.4.2/mono/metadata' > > > make[3]: Entering directory > > > `/home/ise/svn-packages/mono/trunk/src/mono-2.4.2/mono/metadata' > > > test -z "/usr/bin" || /bin/mkdir -p > > > "/home/ise/svn-packages/mono/trunk/pkg/usr/bin" ../../doltlibtool > > > --quiet --mode=install /bin/install -c pedump > > > '/home/ise/svn-packages/mono/trunk/pkg/usr/bin' test -z > > > "/usr/include/mono-1.0/mono/metadata" || /bin/mkdir -p > > > "/home/ise/svn-packages/mono/trunk/pkg/usr/include/mono- > > > 1.0/mono/metadata" /bin/install > > > -c -m 644 attrdefs.h appdomain.h mono-debug.h mono-gc.h > > > debug-mono-symfile.h threads.h environment.h assembly.h opcodes.h > > > blob.h image.h metadata.h verify.h reflection.h row-indexes.h > > > tokentype.h loader.h class.h object.h exception.h profiler.h > > > appdomain.h mono-config.h debug-helpers.h mempool.h > > > '/home/ise/svn-packages/mono/trunk/pkg/usr/include/mono- > > > 1.0/mono/metadata' /bin/install: > > > will not overwrite just-created > > > `/home/ise/svn-packages/mono/trunk/pkg/usr/include/mono- > > > 1.0/mono/metadata/appdomain.h' > > > with `appdomain.h' make[3]: *** > > > [install-libmonoruntimeincludeHEADERS] Error 1 make[3]: Leaving > > > directory > > > `/home/ise/svn-packages/mono/trunk/src/mono-2.4.2/mono/metadata' > > > make[2]: *** [install-am] Error 2 make[2]: Leaving directory > > > `/home/ise/svn-packages/mono/trunk/src/mono-2.4.2/mono/metadata' > > > make[1]: *** [install-recursive] Error 1 make[1]: Leaving > > > directory `/home/ise/svn-packages/mono/trunk/src/mono-2.4.2/mono' > > > make: *** [install-recursive] Error 1 > > > > > > -------- > > > > > > I'm compiling with the following flags: > > > > > > ./configure --prefix=/usr --sysconfdir=/etc \ > > > --with-libgdiplus=installed --with-icu=no \ > > > --with-tls=pthread --with-jit=yes > > > --with-preview=yes \ --with-sigaltstack=yes --enable-nunit-tests \ > > > --with-moonlight=yes > > > make || return 1 > > > make install > > > > > > > > > It worked in version 2.4 without problems. Compiling everything > > > with gcc-4.4.0 on ArchLinux x86_64. > > > > > > Any hints? > > > > > > Thanks, > > > Daniel > > > _______________________________________________ > > > Mono-list maillist - Mono-list at lists.ximian.com > > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > > > ______________________________________________________________________ > > > This email has been scanned by the MessageLabs Email Security > > > System. For more information please visit > > > http://www.messagelabs.com/email > > > ______________________________________________________________________ > -- Daniel Isenmann Vogesenstr.6 76676 Graben-Neudorf Tel.: 07255 7683338 Mobil: 0163 1439140 E-Mail: daniel.isenmann at gmx.de From galaktor at gmx.de Sat Jul 4 18:49:44 2009 From: galaktor at gmx.de (galaktor) Date: Sat, 4 Jul 2009 15:49:44 -0700 (PDT) Subject: [Mono-list] MoMA - Automatic builds Message-ID: <24338721.post@talk.nabble.com> At the http://www.mono-project.com/Command_Line_MoMA MoMA description it says "This is helpful for people who wish to add MoMA scans to their automated builds". I was quite excited about this feature and then as I tried it the first time I noticed that the tool itself does not give any feedback whatsoever. There is no error when errors were found. I would at least have expected to have a list of return codes to react to, for example: 0: nothing found, everything is fine 1: anything occurred 2. Mono-TODOs were found 3. NotImplementedException found ... But instead, I would have to integrate the generated HTML into my reports on the build server and manually check if there were any errors. There is no way for the build tool (in my case NAnt and CCNET) to notice that everything is fine. So where is the actual point in using MoMA for continous integration? The return codes would be so easy to implement and would really have value. -- View this message in context: http://www.nabble.com/MoMA---Automatic-builds-tp24338721p24338721.html Sent from the Mono - General mailing list archive at Nabble.com. From zbjin at yahoo.com Sun Jul 5 10:02:12 2009 From: zbjin at yahoo.com (monoMVC) Date: Sun, 5 Jul 2009 07:02:12 -0700 (PDT) Subject: [Mono-list] Problems with compiling mod-mono Message-ID: <24343364.post@talk.nabble.com> Hi, It's exciting that mono-2.4.2 includes ASP.net MVC. Thanks for this great software. I am trying to build it on Ubuntu 8.10. Here is the problems I encountered. I build mono, xsp, mod-mono with tarballs. It's very smooth in building mono. xsp build is successful except the test directory, so it seems still able to work. The problem claimed is: dotnet package not found, but I can't find this packaget with apt-cache search. as of building mod-mono, ./configure --prefix=/opt/mod-mono --with-apxs=/usr/sbin/apache2 --with-mono-prefix=/opt/mono --with-apr-config=/usr/bin/apr-config make make failed, the problem claimed is it can't find httpd.h, ... files. I installed apache2, apache2-prefork-dev, apache2-threaded-dev packages before building xsp and mod-mono. (no apache2-dev package exists.) And the httpd.h, ... files does exist in /usr/include/apache2 directory. I guess the problem is "make" does not search sub-directories in /usr/include. can anybody give me some help? Thanks in advance! -- View this message in context: http://www.nabble.com/Problems-with-compiling-mod-mono-tp24343364p24343364.html Sent from the Mono - General mailing list archive at Nabble.com. From cmcclenny at gmail.com Sun Jul 5 23:24:33 2009 From: cmcclenny at gmail.com (cman) Date: Sun, 5 Jul 2009 20:24:33 -0700 (PDT) Subject: [Mono-list] Make VPN connections with Mono .net Message-ID: <24349259.post@talk.nabble.com> Hello, I am developing an app that will need to make VPN connections from My C# app written in MONO. I use Ubuntu 9.04 but would simply like to know how to use .NET libraries to do this. If not avalable in .NET... how is this done? Thanks for your time, Chris -- View this message in context: http://www.nabble.com/Make-VPN-connections-with-Mono-.net-tp24349259p24349259.html Sent from the Mono - General mailing list archive at Nabble.com. From monkey at jpobst.com Mon Jul 6 17:45:49 2009 From: monkey at jpobst.com (Jonathan Pobst) Date: Mon, 06 Jul 2009 16:45:49 -0500 Subject: [Mono-list] MoMA - Automatic builds In-Reply-To: <24338721.post@talk.nabble.com> References: <24338721.post@talk.nabble.com> Message-ID: <4A52708D.1070801@jpobst.com> Hey, This sounds like a pretty good idea. Please file an Enhancement bug on MoMA in Bugzilla, and I'll try to add it for 2.6. "File MoMA bugs" link here: http://www.mono-project.com/MoMA Thanks! Jonathan galaktor wrote: > At the http://www.mono-project.com/Command_Line_MoMA MoMA description it > says "This is helpful for people who wish to add MoMA scans to their > automated builds". I was quite excited about this feature and then as I > tried it the first time I noticed that the tool itself does not give any > feedback whatsoever. > > There is no error when errors were found. I would at least have expected to > have a list of return codes to react to, for example: > > 0: nothing found, everything is fine > 1: anything occurred > 2. Mono-TODOs were found > 3. NotImplementedException found > ... > > But instead, I would have to integrate the generated HTML into my reports on > the build server and manually check if there were any errors. There is no > way for the build tool (in my case NAnt and CCNET) to notice that everything > is fine. > > So where is the actual point in using MoMA for continous integration? The > return codes would be so easy to implement and would really have value. From ryan.kirkpatrick at inovonics.com Mon Jul 6 18:06:05 2009 From: ryan.kirkpatrick at inovonics.com (Ryan Kirkpatrick) Date: Mon, 06 Jul 2009 16:06:05 -0600 Subject: [Mono-list] Not all subscribers to event are being called... In-Reply-To: <49F8FE3E.1010809@inovonics.com> References: <49F8FE3E.1010809@inovonics.com> Message-ID: <4A52754D.30708@inovonics.com> Ryan Kirkpatrick wrote: > While porting a .NET library I wrote from Windows (VS2008) to Linux > (Mono 2.x) I have encountered a strange problem. This is a follow-up to my report of this problem about two months ago. I ended needing a newer version of Mono than 2.2 (namely for DbLinq), so I had to find a solution to this problem. Having more free CPU cycles than brain cycles, I set a server to downloading different revisions from the Mono SVN trunk (starting with the HEAD and moving back towards the 2.2 branch), building them, and testing them with my code. After a rough binary search, I found the revision that broke my code, 123349, with this log entry: 2009-01-14 Mark Probst method-to-ir.c: Handle delegate invocation optimization earlier, otherwise it would be handled (much more slowly) by the final/sealed optimization. This change swapped the order of the optimized delegate invocation with the standard (non-virtual) delegate invocation. Apparently that optimized version, using delegate trampolines, broke my code. This optimization is only enabled if MONO_ARCH_HAVE_CREATE_DELEGATE_TRAMPOLINE is defined (in my case in mini-x86.h), and when it was not enabled (by commenting out the #define), then current versions of Mono (namely the SVN trunk HEAD) was able to run my code without issue. I tried, but failed (again, short on brain cycles :), to understand how this change was breaking my code. Apparently these delegate trampoline optimizations and the events in my code do not mix well. I do not have a test case I can provide, so if some one can resolve this issue based on the above (and original problem description below), that would be great. Otherwise I will just continue to disable the delegate trampolines (performance without them is fine). Thanks! > Here is a high-level description of what is going on: > > *) Class Top has an event Run that can be subscribed by 'public'. > > *) Class TopPlus inherits from Top and subscribes to Run. > > *) Class Side takes TopPlus as a parameter to its constructor and > subscribes to TopPlus.Run. > > *) Now, I create an instance of TopPlus, 'tp', and use that instance > in creating an instance of Side, 's'. > > *) Finally, I call tp.Run(), and TopPlus' subscribe gets called, but > Side's subscriber does not get run. > > It is a bit more complex than this, but that is the gist of what is > going on. What is curious is that I observed this behavior in > versions of Mono older than 2.2, but it did not occur in 2.2 (i.e. > both subscribers got called). I had figured the issue had already > been found and fixed, but today in testing with Mono 2.4, this > behavior (i.e. only TopPlus' subscriber being called) returned! I > have run mono with the --trace option to verify Side's subscriber is > indeed never being called when the event is called. > > I can't provide code as it is proprietary, and my attempts to create > a simple test case so far have failed. I have narrowed it down to a > runtime issue, as it does not matter if the library is built with > Mono 2.2, Mono 2.4, or VS2008. It is the version of '/usr/bin/mono' > that is used that affects this behavior. I know this is all a bit > vague, but before I write a long winded, detailed explanation of my > library's architecture I would like to know if the above brings any > know issues or workarounds to mind. Thanks! -- Ryan Kirkpatrick , 303-209-7190 Senior Design Engineer Inovonics Wireless Corporation This email transmission and any documents, files or previous email messages attached to it contains information that is confidential or legally privileged. If you are not the intended recipient or a person responsible for delivering this transmission to the intended recipient, you are hereby notified that you must not read this transmission and that any disclosure, copying, printing, distribution or use of this transmission is strictly prohibited. If you have received this transmission in error, please immediately notify the sender by telephone or return email and delete the original transmission and its attachments without reading or saving in any manner. Thank you. From twiest at novell.com Mon Jul 6 18:38:57 2009 From: twiest at novell.com (Thomas Wiest) Date: Mon, 06 Jul 2009 16:38:57 -0600 Subject: [Mono-list] Announcing the release of Mono 2.4.2.1 Message-ID: <4A527D01.70308@novell.com> Today we're announcing the immediate release of Mono 2.4.2.1. This release is to fix an oversight regarding the inclusion of MVC in 2.4.2. The release notes are here: http://www.mono-project.com/Release_Notes_Mono_2.4.2.1 and downloads are available here: http://www.mono-project.com/Downloads Thanks to all those who contributed to this release! :) Thomas From knk5n at virginia.edu Mon Jul 6 19:04:11 2009 From: knk5n at virginia.edu (Lazar) Date: Mon, 6 Jul 2009 16:04:11 -0700 (PDT) Subject: [Mono-list] SqlBulkCopy Error: Incorrect syntax near ',' In-Reply-To: <1246521220.8825.3.camel@lalo-laptop> References: <24279469.post@talk.nabble.com> <1246521220.8825.3.camel@lalo-laptop> Message-ID: <24364374.post@talk.nabble.com> Gonzalo Paniagua Javier-5 wrote: > > On Tue, 2009-06-30 at 13:56 -0700, Lazar wrote: >> Hi there, >> >> I am trying to use mono to import data into a Microsoft SQL Server from a >> Linux machine. The code is written in C# and makes use of the SqlBulkCopy >> class. The program runs just fine on a Windows platform, and there are no >> issues discovered when checked with the Mono Migration Analyzer. When the >> program is executed under mono (both versions 2.0.1 and 2.4.2 have been >> tried) on a machine running Ubuntu 9.04 it runs fine until it gets to the >> WriteToServer(DataTable) call, and then the following error is displayed: >> >> Incorrect syntax near ','. >> System.Data.SqlClient.SqlException: Incorrect syntax near ','. >> at System.Data.SqlClient.SqlConnection.ErrorHandler (System.Object >> sender, > > We're going to need more information in order to debug this. Could you > provide a small program with the smallest statement possible that > reproduces the problem? If so -> http://mono-project.com/Bugzilla. > > Thanks. > > -Gonzalo > > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > http://www.nabble.com/file/p24364374/Program.cs Program.cs I have attached a simple program that exhibits the problem. It connects to a SQL Server that has a database with a table that has 3 columns - "timestep", "zindex", "data". Again, it works on machines running Windows, but not on Linux with mono or monodevelop for that matter. Thank you, Kalin -- View this message in context: http://www.nabble.com/SqlBulkCopy-Error%3A-Incorrect-syntax-near-%27%2C%27-tp24279469p24364374.html Sent from the Mono - General mailing list archive at Nabble.com. From mark.probst at gmail.com Mon Jul 6 19:43:14 2009 From: mark.probst at gmail.com (Mark Probst) Date: Tue, 7 Jul 2009 01:43:14 +0200 Subject: [Mono-list] Not all subscribers to event are being called... In-Reply-To: <8cca42d80907061543g706154c6nc6ff22c9ef035ce3@mail.gmail.com> References: <49F8FE3E.1010809@inovonics.com> <4A52754D.30708@inovonics.com> <8cca42d80907061543g706154c6nc6ff22c9ef035ce3@mail.gmail.com> Message-ID: Ryan Kirkpatrick wrote: > This change swapped the order of the optimized delegate invocation with > the standard (non-virtual) delegate invocation. Apparently that > optimized version, using delegate trampolines, broke my code. This > optimization is only enabled if > MONO_ARCH_HAVE_CREATE_DELEGATE_TRAMPOLINE is defined (in my case in > mini-x86.h), and when it was not enabled (by commenting out the > #define), then current versions of Mono (namely the SVN trunk HEAD) was > able to run my code without issue. > > I tried, but failed (again, short on brain cycles :), to understand how > this change was breaking my code. Apparently these delegate trampoline > optimizations and the events in my code do not mix well. I do not have a > test case I can provide, so if some one can resolve this issue based on > the above (and original problem description below), that would be great. Are there by any chance generic classes or generic methods involved in the code that breaks? Have you tried running the app with generic sharing disabled (set the environment variable MONO_GENERIC_SHARING=none)? Could you please test whether your app works with r122085 (or earlier)? Mark From DusharaJ at optiscan.com Mon Jul 6 23:05:39 2009 From: DusharaJ at optiscan.com (Dushara Jayasinghe) Date: Tue, 7 Jul 2009 13:05:39 +1000 Subject: [Mono-list] Cross compiling mono 2.4 to PowerPC In-Reply-To: References: <877C99AB-0C03-444D-BE13-7872C22F31D7@web.de> Message-ID: SOLVED I will write this as a quick HOWTO in the hope that others may find it useful. If there are any mistakes, omissions or inefficiencies, please let me know. There are attachments in this email, I hope I'm not breaking any ML rules. HOWTO cross-compile mono (2.4) for a PPC target. 1. Introduction My goal was to compile mono for an MPC8349 based system using the tool-chain provided by the Embedded Linux Development Kit (ELDK). I wanted to use a cross compiler (as opposed to building on the target platform itself) for 2 reasons: 1. The build itself will take too long 2. More importantly, it simplifies our automated build system Furthermore, I had to use the mono-2.4 branch because that's what our App developers were using. 2. Used tools/packages * ELDK 4.2 (http://www.denx.de/wiki/DULG/ELDK) * Linux from scratch LiveCD (http://www.linuxfromscratch.org/livecd/download.html) * mono-2.4.2 (http://ftp.novell.com/pub/mono/sources/mono/) * glib-2.4 (http://ftp.gnome.org/pub/gnome/sources/glib/2.4/) As in the case of the ARM port(http://www.mono-project.com/Mono:ARM), we use a 2-stage build. The first stage to build the libraries and the 2nd to build the target specific binaries. This presents an interesting problem: The location of glib must be the same in both stages. However each stage requires a target specific build/headers of glib. In other words, we need to overwrite the system installed version with a cross-compiled version of glib. I worked around this problem by using a chroot environment. 3. Preparing the build environment ~/src/iso/$ mkdir build ~/src/iso/$ sudo mount -o loop lfslivecd-x86-6.3-min-r2052.iso build ~/src/iso/$ cp build/root.ext2 . ~/src/iso/$ sudo umount build ~/src/iso/$ sudo mount -o loop root.ext2 build Tweak the fs ~/src/iso/$ sudo chroot build bash-3.2# mkdir /opt/eldk bash-3.2# rm -rf /home/jhalfs/jhalfs-2.3.1 Add/change the following lines in /etc/profile PATH=/bin:/usr/bin:/sbin:/usr/sbin:/opt/eldk/usr/bin CROSS_COMPILE=ppc_6xx- <--- change to suit ARCH=powerpc export CROSS_COMPILE ARCH bash-3.2# exit Package env for later use ~/src/iso/$ sudo tar -cjf build.tar.bz2 build ~/src/iso/$ sudo umount build ~/src/iso/$ rm root.ext2 4. Building mono 4.1. Setting up and entering the build environment ~/src/iso/$ sudo tar -xjf build.tar.bz2 ~/src/iso/$ sudo ln mono-2.4.2.tar.bz2 build/home/jhalfs/ ~/src/iso/$ sudo ln glib-2.4.0.tar.bz2 build/home/jhalfs/ ~/src/iso/$ sudo cp glib.cache mono-2.4-cis2.patch build/home/jhalfs/ ~/src/iso/$ sudo mount -o bind /opt/eldk42 build/opt/eldk ~/src/iso/$ sudo chroot build bash-3.2# mount /proc bash-3.2# su - jhalfs 4.2. Build Stage 1 epmdev3:jhalfs | Tue Jul 7 01:48:15 2009 | ~ $ tar -xjf glib-2.4.0.tar.bz2 $ tar -xjf mono-2.4.2.tar.bz2 $ cd mono-2.4.2 $ ./configure --prefix=/usr $ make $ sudo make install $ make DESTDIR=$HOME/install install 4.3. Build Stage 2 $ cd ../glib-2.4.0 $ ./configure --cache-file=../glib.cache --prefix=/usr \ --bindir=`pwd`/../junk --host=ppc-linux NOTE: you can use the glib.cache attached with this email, or make one that suits your system. $ make $ make DESTDIR=$HOME/install install $ cd ../mono-2.4.2 $ make clean $ patch -p1 <../mono-2.4-cis2.patch NOTE: This patch above is a rough hack which fixes the following 2 problems: 1. The configure script fails because it tries to execute some target specific code 2. The make breaks because it tries to build the docs directory. A mono binary is used to build the contents of docs and since we are cross compiling, the tool fails. If you're using the sources from the SVN/Trunk, you don't need to do this because there's a configure option to disable the docs build. $ autoreconf --install --force $ ./configure --prefix=/ \ --cache-file=cis2.cache --host=ppc-linux \ --with-tls=__thread --disable-mcs-build \ --with-sigaltstack=no $ make $ make DESTDIR=$HOME/install install Now you should have a working cross-build of mono in $HOME/install. Copy the contents (or what you need) to your target platform. Dushara > -----Original Message----- > From: mono-list-bounces at lists.ximian.com [mailto:mono-list- > bounces at lists.ximian.com] On Behalf Of Dushara Jayasinghe > Sent: Monday, 29 June 2009 10:20 AM > To: 'andreas.faerber at web.de' > Cc: 'mono-list at lists.ximian.com' > Subject: Re: [Mono-list] Cross compiling mono 2.4 to PowerPC > > Hi Andreas, thanks for the response. > > > > I tried version 2.4.2-rc1 (http://anonsvn.mono- > > project.com/viewvc/tags/mono-2-4-2-rc1/ > > > ). I still had to tweak configure.in: > > > > > > checking for working __thread... configure: error: cannot run test > > > program while cross compiling > > > > > > and Makefile.am (build breaks after entering the docs subdir). > > > > Did you read `./configure -h` output? ... > > Yes > > > ... There's not only the --disable- > > mcs-build option but also --with-mcs-docs=no. That should in theory > > take care of the latter, without any Makefile modification. > > The option --with-mcs-docs doesn't exist in the version I'm using. > Maybe I need to look at a later version then (perhaps rc2)? The reason > I didn't checkout the tip was because of the comment in the download > page stating that the daily SVN tarballs are not guaranteed to build. > > > > > For the other one, there's --with-tls=__thread or --with-tls=pthread. > > Please read for yourself. > > I invoke configure as > > ./configure --prefix=/usr --cache-file=cis2.cache --with-sigaltstack=no > --with-tls=__thread --disable-mcs-build --host=ppc-linux > > I still get the error. That's why I had to hack configure.in to add a > caching variable 'mono_cv_workingthread'. > > > > The mono:arm page (http://www.mono-project.com/Mono:ARM) recommends > > > using scratchbox. Does this mean that mono can't be built using > > > cross compilers? > > > > It can, it's just not for the feint-hearted and not well documented. > > You need to understand autoconf and you may need to know details of > > the target platform. > > Well at least now I know that it's possible. Thanks. > > Now if I may assume that I've got the build working properly, I wonder > if anyone could provide any clues as to why mscorlib.dll is rejected? > On the x86 dev environment the DLL is parsed properly by pedump. On the > target (the PPC), the same DLL is rejected. Could the endienness of the > 2 architectures be causing some sort of problem? > > Thanks again for all your help. > > Dushara > > > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ -------------- next part -------------- A non-text attachment was scrubbed... Name: mono-2.4-cis2.patch Type: application/octet-stream Size: 4465 bytes Desc: mono-2.4-cis2.patch Url : http://lists.ximian.com/pipermail/mono-list/attachments/20090707/014f86dc/attachment.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: glib.cache Type: application/octet-stream Size: 74 bytes Desc: glib.cache Url : http://lists.ximian.com/pipermail/mono-list/attachments/20090707/014f86dc/attachment-0001.obj From anigold at 163.com Tue Jul 7 01:07:33 2009 From: anigold at 163.com (anigold) Date: Tue, 7 Jul 2009 13:07:33 +0800 (CST) Subject: [Mono-list] Install failed on OpenSUSE Enterprise 11 without GNOME Message-ID: <29192985.184391246943253882.JavaMail.coremail@bj163app44.163.com> hi. all i try it bacause offical site said: mono not dependent on GNOME. in install process,it said: " The following packages are not supported by their venders liggdiplus0,mono-core,mono-date,mono-date-sqlite,mono-web,mono-winforms " after installed via "zypper" command,i run "mono-test-install",said: " Warning:pkg-config could not found mono installed on this system. no dotnet package found,widnows.forms,windows.drawing,and others will not work. " anyone can help or have any idea? thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090707/5357b8ff/attachment-0001.html From zbjin at yahoo.com Tue Jul 7 02:38:20 2009 From: zbjin at yahoo.com (monoMVC) Date: Mon, 6 Jul 2009 23:38:20 -0700 (PDT) Subject: [Mono-list] Problems with compiling mod-mono In-Reply-To: <24343364.post@talk.nabble.com> References: <24343364.post@talk.nabble.com> Message-ID: <24367921.post@talk.nabble.com> After added the following two environment variables, the mod_mono build also passes. export CFLAGS=-I/usr/include/apache2 export CPPFLAGS=-I/usr/include/apache2 -- View this message in context: http://www.nabble.com/Problems-with-compiling-mod-mono-tp24343364p24367921.html Sent from the Mono - General mailing list archive at Nabble.com. From dna at mono-project.de Tue Jul 7 03:17:27 2009 From: dna at mono-project.de (Daniel Nauck) Date: Tue, 07 Jul 2009 09:17:27 +0200 Subject: [Mono-list] MoMA - Automatic builds In-Reply-To: <24338721.post@talk.nabble.com> References: <24338721.post@talk.nabble.com> Message-ID: <4A52F687.2020209@mono-project.de> Hello, afaik has Gendarme [1] also a check for Mono compability like MoMA. And CruiseControl.NET has a Gendarme task [2]. There is also a NAnt task for Gendame available here [3]. Daniel [1] http://www.mono-project.com/Gendarme [2] http://confluence.public.thoughtworks.org/display/CCNET/Using+CruiseControl.NET+with+Gendarme [3] http://dev.nauck-it.de/utilities/wiki/NAnt galaktor schrieb: > At the http://www.mono-project.com/Command_Line_MoMA MoMA description it > says "This is helpful for people who wish to add MoMA scans to their > automated builds". I was quite excited about this feature and then as I > tried it the first time I noticed that the tool itself does not give any > feedback whatsoever. > > There is no error when errors were found. I would at least have expected to > have a list of return codes to react to, for example: > > 0: nothing found, everything is fine > 1: anything occurred > 2. Mono-TODOs were found > 3. NotImplementedException found > ... > > But instead, I would have to integrate the generated HTML into my reports on > the build server and manually check if there were any errors. There is no > way for the build tool (in my case NAnt and CCNET) to notice that everything > is fine. > > So where is the actual point in using MoMA for continous integration? The > return codes would be so easy to implement and would really have value. From ae at op5.se Tue Jul 7 03:57:53 2009 From: ae at op5.se (Andreas Ericsson) Date: Tue, 07 Jul 2009 09:57:53 +0200 Subject: [Mono-list] Not all subscribers to event are being called... In-Reply-To: <4A52754D.30708@inovonics.com> References: <49F8FE3E.1010809@inovonics.com> <4A52754D.30708@inovonics.com> Message-ID: <4A530001.9060901@op5.se> Ryan Kirkpatrick wrote: > Ryan Kirkpatrick wrote: >> While porting a .NET library I wrote from Windows (VS2008) to Linux >> (Mono 2.x) I have encountered a strange problem. > > This is a follow-up to my report of this problem about two months ago. I > ended needing a newer version of Mono than 2.2 (namely for DbLinq), so I > had to find a solution to this problem. Having more free CPU cycles than > brain cycles, I set a server to downloading different revisions from the > Mono SVN trunk (starting with the HEAD and moving back towards the 2.2 > branch), building them, and testing them with my code. After a rough > binary search, I found the revision that broke my code, 123349, with > this log entry: > For next time, you might want to just import the offending repository to git and run "git bisect" on it. It would have saved you quite a bit of bandwidth and time. I think it's about time I start offering mono as a git repository. Especially since git support is being added to Mono as a gsoc project. Does anyone know how that's coming along, btw? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. From leny.turmel at gmail.com Tue Jul 7 06:30:05 2009 From: leny.turmel at gmail.com (greenzephyr) Date: Tue, 7 Jul 2009 03:30:05 -0700 (PDT) Subject: [Mono-list] 3D globe Message-ID: <24370721.post@talk.nabble.com> Hi all, I search a 3D globe in order to develop a Mono application with a 3D view of the Earth. I want to have the possibilty to add images (JPEG2000), layers and terrains to the globe. The possiblity to connect the globe to a WMS would be cool ! More, I have to add some 3D objects (ground vehicles, aircraft, satellites,...) and to move these objects over or around the globe. Google Earth seems to be restricted to web applications. Nasa World Wind is Java oriented (and it may have low performances when you animate the globe and move objects over/around the globe). I found this one : http://www.earth3d.org/index.html http://www.earth3d.org/index.html . It could be a solution but I am not sure that I can display some 3D additionnal objects (like my satellites or my vehicles). If you have any information or if you know any 3D earth control for Mono, please let me know. Many thanks for your help ! -- View this message in context: http://www.nabble.com/3D-globe-tp24370721p24370721.html Sent from the Mono - General mailing list archive at Nabble.com. From gonzalo.mono at gmail.com Tue Jul 7 11:19:23 2009 From: gonzalo.mono at gmail.com (Gonzalo Paniagua Javier) Date: Tue, 07 Jul 2009 11:19:23 -0400 Subject: [Mono-list] Problems with compiling mod-mono In-Reply-To: <24343364.post@talk.nabble.com> References: <24343364.post@talk.nabble.com> Message-ID: <1246979963.4659.8.camel@lalo-laptop> On Sun, 2009-07-05 at 07:02 -0700, monoMVC wrote: [...] > as of building mod-mono, > ./configure --prefix=/opt/mod-mono --with-apxs=/usr/sbin/apache2 > --with-mono-prefix=/opt/mono > --with-apr-config=/usr/bin/apr-config > make [...] You have to provide the path to apxs (or apxs2, depends on your distro) in the --with-apxs command line option. -Gonzalo From gonzalo.mono at gmail.com Tue Jul 7 11:41:01 2009 From: gonzalo.mono at gmail.com (Gonzalo Paniagua Javier) Date: Tue, 07 Jul 2009 11:41:01 -0400 Subject: [Mono-list] SqlBulkCopy Error: Incorrect syntax near ',' In-Reply-To: <24364374.post@talk.nabble.com> References: <24279469.post@talk.nabble.com> <1246521220.8825.3.camel@lalo-laptop> <24364374.post@talk.nabble.com> Message-ID: <1246981261.4659.13.camel@lalo-laptop> > > > > http://www.nabble.com/file/p24364374/Program.cs Program.cs > > I have attached a simple program that exhibits the problem. It connects to a > SQL Server that has a database with a table that has 3 columns - "timestep", > "zindex", "data". Again, it works on machines running Windows, but not on > Linux with mono or monodevelop for that matter. I am able to reproduce the problem (types for the columns: int, numeric(18,0) adn varbinary(MAX)). This is now being tracked as https://bugzilla.novell.com/show_bug.cgi?id=519844. -Gonzalo From thomas at 3Djam.com Tue Jul 7 12:38:53 2009 From: thomas at 3Djam.com (Thomas Jam Pedersen) Date: Tue, 7 Jul 2009 18:38:53 +0200 Subject: [Mono-list] 3D globe References: <24370721.post@talk.nabble.com> Message-ID: <88954B03FFF8B143A270225385067F361281DE@tomba2.etnet.local> I suggest that you look at Ogre3D and Irrlicht, which are both super fast 3D engines that can handle very large models. Both has .NET / Mono GUI frontends. (for Ogre it is NeoAxis SDK) This page show demos of all of them: http://www.3djam.com/roozz/default.aspx?c=gallery The demos on the above page will run on Linux too within 2 weeks. /Thomas -----Oprindelig meddelelse----- Fra: mono-list-bounces at lists.ximian.com p? vegne af greenzephyr Sendt: ti 07-07-2009 12:30 Til: mono-list at lists.ximian.com Emne: [Mono-list] 3D globe Hi all, I search a 3D globe in order to develop a Mono application with a 3D view of the Earth. I want to have the possibilty to add images (JPEG2000), layers and terrains to the globe. The possiblity to connect the globe to a WMS would be cool ! More, I have to add some 3D objects (ground vehicles, aircraft, satellites,...) and to move these objects over or around the globe. Google Earth seems to be restricted to web applications. Nasa World Wind is Java oriented (and it may have low performances when you animate the globe and move objects over/around the globe). I found this one : http://www.earth3d.org/index.html http://www.earth3d.org/index.html . It could be a solution but I am not sure that I can display some 3D additionnal objects (like my satellites or my vehicles). If you have any information or if you know any 3D earth control for Mono, please let me know. Many thanks for your help ! -- View this message in context: http://www.nabble.com/3D-globe-tp24370721p24370721.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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090707/3f4aeb80/attachment.html From ryan.kirkpatrick at inovonics.com Tue Jul 7 13:23:11 2009 From: ryan.kirkpatrick at inovonics.com (Ryan Kirkpatrick) Date: Tue, 07 Jul 2009 11:23:11 -0600 Subject: [Mono-list] Not all subscribers to event are being called... In-Reply-To: References: <49F8FE3E.1010809@inovonics.com> <4A52754D.30708@inovonics.com> <8cca42d80907061543g706154c6nc6ff22c9ef035ce3@mail.gmail.com> Message-ID: <4A53847F.6000907@inovonics.com> Mark Probst wrote: > Ryan Kirkpatrick wrote: >> I tried, but failed (again, short on brain cycles :), to understand how >> this change was breaking my code. Apparently these delegate trampoline >> optimizations and the events in my code do not mix well. I do not have a >> test case I can provide, so if some one can resolve this issue based on >> the above (and original problem description below), that would be great. > > Are there by any chance generic classes or generic methods involved in > the code that breaks? Yes, as a matter of fact there is. Both the class that is has the event (and is calling the event) and the class that is subscribing are based on generics. I have a base generic class that takes one type parameter: abstract public class BasicClass { ... } And then both the class that has and calls the event, plus the class that subscribes to the event inherit from this class: public class EventsCallers : BasicClass { ... } public class Subscribers : BasicClass { ... } > Have you tried running the app with generic sharing disabled (set the > environment variable MONO_GENERIC_SHARING=none)? Tried it with rev 123349 (on Linux) and 2.4.2 (on Windows), both did not work with my code. > Could you please test whether your app works with r122085 (or earlier)? During my search for what revision broke things I found: Rev 126000 -> Did NOT work. Rev 125000 -> Did NOT work. Rev 124000 -> Did NOT work. Rev 123000 -> Worked Rev 122000 -> Mono failed to compile, skipped. Rev 121000 -> Did NOT work. Rev 120000 -> Did NOT work. I took the first revision where it worked and starting moving forward until I found 123349 (first by 100 revision steps, then by 10, then by 1). I did not investigate why it broke again in the earlier revs. Thanks. PS. The 'git bisect' command indeed looks cool! Looks like I better find time to learn about git. :) -- Ryan Kirkpatrick , 303-209-7190 Senior Design Engineer Inovonics Wireless Corporation From ade.olumide at tdameritrade.com Tue Jul 7 14:58:02 2009 From: ade.olumide at tdameritrade.com (olumax) Date: Tue, 7 Jul 2009 11:58:02 -0700 (PDT) Subject: [Mono-list] Active X/Java to Linux question Message-ID: <24379349.post@talk.nabble.com> An active X component application has the capability to convert HTML into an image file (e.g JPEG, GIF, BMP etc). This component can be wrapped via JNI, making it available in Java source, which can then be compiled into a Java class. Can MONO be used to port this active X as a java class for execution on the Linux platform? Thanks, olumax -- View this message in context: http://www.nabble.com/Active-X-Java-to-Linux-question-tp24379349p24379349.html Sent from the Mono - General mailing list archive at Nabble.com. From arthursv at linux.vnet.ibm.com Tue Jul 7 16:59:20 2009 From: arthursv at linux.vnet.ibm.com (Arthur Valadares) Date: Tue, 07 Jul 2009 17:59:20 -0300 Subject: [Mono-list] Couldn't create thread exception for ThreadPool.QueueUserWorkItem Message-ID: <1247000360.5825.10.camel@arthursv-laptop> Hi everyone, I need some help with this crash. I looked up on google and only saw references to this as an old mono bug, so I'm not sure if this is a bug or expected behavior. I'm running an application that open a LOT of threads (I see around 1400 on /proc/./status). It uses ThreadPool's QueueUserWorkItem quite a lot of times. >From what I've read, this method should wait for a thread in ThreadPool to return and use it, but it seems at some point it crashes trying to create a new thread in ThreadPool. This is the error message I get: Unhandled Exception: System.ExecutionEngineException: Couldn't create thread at (wrapper managed-to-native) object:__icall_wrapper_mono_delegate_begin_invoke (object,intptr) at (wrapper delegate-begin-invoke) System.Threading.WaitCallback:begin_invoke_IAsyncResult__this___object_AsyncCallback_object (object,System.AsyncCallback,object) at System.Threading.ThreadPool.QueueUserWorkItem (System.Threading.WaitCallback callBack, System.Object state) [0x00000] in /home/arthur/mono/mcs/class/corlib/System.Threading/ThreadPool.cs:101 at OpenMetaverse.TexturePipeline.DownloadThread () [0x00000] If this is expected behavior, should I increase the number of threads in ThreadPool? Thank you, -- Arthur Valadares From raoulterberg at hotmail.com Tue Jul 7 05:25:10 2009 From: raoulterberg at hotmail.com (safra) Date: Tue, 7 Jul 2009 02:25:10 -0700 (PDT) Subject: [Mono-list] compile DLL Message-ID: <24369817.post@talk.nabble.com> Hi, I am using this 3D engine that is based on Mono with a javascript kinda scripting language. Not sure if that is actually mono!? The engine supports dll import. I want to compile some of the scripts to a DLL. Anyone knows how to this? Thanks! -- View this message in context: http://www.nabble.com/compile-DLL-tp24369817p24369817.html Sent from the Mono - General mailing list archive at Nabble.com. From gonzalo.mono at gmail.com Wed Jul 8 00:33:49 2009 From: gonzalo.mono at gmail.com (Gonzalo Paniagua Javier) Date: Wed, 08 Jul 2009 00:33:49 -0400 Subject: [Mono-list] Couldn't create thread exception for ThreadPool.QueueUserWorkItem In-Reply-To: <1247000360.5825.10.camel@arthursv-laptop> References: <1247000360.5825.10.camel@arthursv-laptop> Message-ID: <1247027629.5433.5.camel@lalo-laptop> On Tue, 2009-07-07 at 17:59 -0300, Arthur Valadares wrote: > Hi everyone, > > I need some help with this crash. I looked up on google and only saw > references to this as an old mono bug, so I'm not sure if this is a bug > or expected behavior. I'm running an application that open a LOT of > threads (I see around 1400 on /proc/./status). It uses ThreadPool's > QueueUserWorkItem quite a lot of times. > > >From what I've read, this method should wait for a thread in ThreadPool > to return and use it, but it seems at some point it crashes trying to > create a new thread in ThreadPool. This is the error message I get: > > Unhandled Exception: System.ExecutionEngineException: Couldn't create > thread > at (wrapper managed-to-native) > object:__icall_wrapper_mono_delegate_begin_invoke (object,intptr) > at (wrapper delegate-begin-invoke) > System.Threading.WaitCallback:begin_invoke_IAsyncResult__this___object_AsyncCallback_object (object,System.AsyncCallback,object) > at System.Threading.ThreadPool.QueueUserWorkItem > (System.Threading.WaitCallback callBack, System.Object state) [0x00000] > in /home/arthur/mono/mcs/class/corlib/System.Threading/ThreadPool.cs:101 > at OpenMetaverse.TexturePipeline.DownloadThread () [0x00000] > > If this is expected behavior, should I increase the number of threads in > ThreadPool? Using the threadpool is ok. There's already a configurable limit (see mono(1)) that is roughly 15 threads per CPU. Unless you have 100cpus, I don't see the threadpool exhausting the number of threads you're creating. Do you really need to create all those extra threads? -Gonzalo From leny.turmel at gmail.com Wed Jul 8 03:27:05 2009 From: leny.turmel at gmail.com (greenzephyr) Date: Wed, 8 Jul 2009 00:27:05 -0700 (PDT) Subject: [Mono-list] 3D globe In-Reply-To: <88954B03FFF8B143A270225385067F361281DE@tomba2.etnet.local> References: <24370721.post@talk.nabble.com> <88954B03FFF8B143A270225385067F361281DE@tomba2.etnet.local> Message-ID: <24386738.post@talk.nabble.com> Hello Thomas, that is exacly what Tinco answered me yesterday by email. So, it seems to be the best solution. Probably I have to code a lot to get what I want but the final result should be great (mixing performance and sexy GUI ;-) Thanks for your help ! Leny Thomas Jam Pedersen wrote: > > I suggest that you look at Ogre3D and Irrlicht, which are both super fast > 3D engines that can handle very large models. > Both has .NET / Mono GUI frontends. (for Ogre it is NeoAxis SDK) > > This page show demos of all of them: > http://www.3djam.com/roozz/default.aspx?c=gallery > > The demos on the above page will run on Linux too within 2 weeks. > > > /Thomas > > > -----Oprindelig meddelelse----- > Fra: mono-list-bounces at lists.ximian.com p? vegne af greenzephyr > Sendt: ti 07-07-2009 12:30 > Til: mono-list at lists.ximian.com > Emne: [Mono-list] 3D globe > > > Hi all, > > I search a 3D globe in order to develop a Mono application with a 3D view > of > the Earth. > > I want to have the possibilty to add images (JPEG2000), layers and > terrains > to the globe. The possiblity to connect the globe to a WMS would be cool ! > More, I have to add some 3D objects (ground vehicles, aircraft, > satellites,...) and to move these objects over or around the globe. > > Google Earth seems to be restricted to web applications. > Nasa World Wind is Java oriented (and it may have low performances when > you > animate the globe and move objects over/around the globe). > I found this one : http://www.earth3d.org/index.html > http://www.earth3d.org/index.html . It could be a solution but I am not > sure > that I can display some 3D additionnal objects (like my satellites or my > vehicles). > > If you have any information or if you know any 3D earth control for Mono, > please let me know. > > Many thanks for your help ! > > > -- > View this message in context: > http://www.nabble.com/3D-globe-tp24370721p24370721.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 > > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > -- View this message in context: http://www.nabble.com/3D-globe-tp24370721p24386738.html Sent from the Mono - General mailing list archive at Nabble.com. From zbjin at yahoo.com Wed Jul 8 06:02:59 2009 From: zbjin at yahoo.com (monoMVC) Date: Wed, 8 Jul 2009 03:02:59 -0700 (PDT) Subject: [Mono-list] Problems with compiling mod-mono In-Reply-To: <24367921.post@talk.nabble.com> References: <24343364.post@talk.nabble.com> <24367921.post@talk.nabble.com> Message-ID: <24388674.post@talk.nabble.com> Hi, mod_mono's "make install" also does not work, after a few hours' trial, I find a manual installation way, I would like to share a few tips about it. Assume : 1. mono and xsp is installed in /opt/mono, 2. apaches is installed by apt-get, so its modules directory is /usr/lib/apache2/modules after compiling mod_mono, cp ~/mod_mono-2.4.2/src/mod_mono.la /usr/lib/apache2/modules/ cp ~/mod_mono-2.4.2/src/.libs/mod_mono.so /usr/lib/apache2/modules/ cp ~/mod-mono-2.4.2/mod_mono.conf /etc/apache2/mods-available ln -s /etc/apache2/mods-available/mod_mono.conf /etc/apache2/mods-enabled/ cd ~/mod_mono-2.4.2/scripts; make install # though "make install" of the project can't work, this do work. modify mod_mono.conf : LoadModule mono_module /usr/lib/apache2/modules/mod_mono.so AddType ... ... AddHandler mono .aspx .ascx .asax .ashx .config .cs .asmx .axd MonoServerPath test "/opt/mono/bin/mod-mono-server2" Alias /test "/opt/mono/lib/xsp/test" MonoApplication test "/test:/opt/mono/lib/xsp/test" SetHandler mono MonoSetServerAlias test then restart apache, you can successfully download: wget localhost/test/index.aspx BTW, to successfully build xsp test example, you need, export PKG_CONFIG_PATH=/opt/mono/lib/pkgconfig -- View this message in context: http://www.nabble.com/Problems-with-compiling-mod-mono-tp24343364p24388674.html Sent from the Mono - General mailing list archive at Nabble.com. From arthursv at linux.vnet.ibm.com Wed Jul 8 08:08:25 2009 From: arthursv at linux.vnet.ibm.com (Arthur Valadares) Date: Wed, 08 Jul 2009 09:08:25 -0300 Subject: [Mono-list] Couldn't create thread exception for ThreadPool.QueueUserWorkItem In-Reply-To: <1247027629.5433.5.camel@lalo-laptop> References: <1247000360.5825.10.camel@arthursv-laptop> <1247027629.5433.5.camel@lalo-laptop> Message-ID: <1247054905.5825.22.camel@arthursv-laptop> Hi Gonzalo, thanks for the reply, I know there is a limit, but by reading the MSDN page about QueueUserWorkItem, it was suggested that if you request a thread beyond the ThreadPool limit, it would wait until a thread is freed to give it to the request, and not crash. The exception doens't even come from the ThreadPool,but from the ExecutionEngineException. That's what led me to believe it might not be expected behavior. It's a callback that keeps firing and it's job is to send an image. Since sending an image can take a while, it stays alive for some time. I already did some work to do a consumer-producer queue, but I would like to avoid it if possible, since my application is being built to stress performance in exactly this point. Thanks, > Using the threadpool is ok. There's already a configurable limit (see > mono(1)) that is roughly 15 threads per CPU. Unless you have 100cpus, I > don't see the threadpool exhausting the number of threads you're > creating. Do you really need to create all those extra threads? > > -Gonzalo > > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list From gonzalo.mono at gmail.com Wed Jul 8 10:35:31 2009 From: gonzalo.mono at gmail.com (Gonzalo Paniagua Javier) Date: Wed, 08 Jul 2009 10:35:31 -0400 Subject: [Mono-list] Couldn't create thread exception for ThreadPool.QueueUserWorkItem In-Reply-To: <1247054905.5825.22.camel@arthursv-laptop> References: <1247000360.5825.10.camel@arthursv-laptop> <1247027629.5433.5.camel@lalo-laptop> <1247054905.5825.22.camel@arthursv-laptop> Message-ID: <1247063731.4760.2.camel@lalo-laptop> On Wed, 2009-07-08 at 09:08 -0300, Arthur Valadares wrote: > Hi Gonzalo, thanks for the reply, > > I know there is a limit, but by reading the MSDN page about > QueueUserWorkItem, it was suggested that if you request a thread beyond > the ThreadPool limit, it would wait until a thread is freed to give it > to the request, and not crash. The exception doens't even come from the > ThreadPool,but from the ExecutionEngineException. That's what led me to > believe it might not be expected behavior. > > It's a callback that keeps firing and it's job is to send an image. > Since sending an image can take a while, it stays alive for some time. I > already did some work to do a consumer-producer queue, but I would like > to avoid it if possible, since my application is being built to stress > performance in exactly this point. You can send the image in chunks using any of the Socket or HttpWebRequest BeginSend/BeginWrite and once your callback is called indicating that sending the chunk succeeded, proceed with the next one. No need to keep a thread waiting for all the writes to finish... -Gonzalo From kobruleht2 at hot.ee Wed Jul 8 11:14:40 2009 From: kobruleht2 at hot.ee (Andrus Moor) Date: Wed, 8 Jul 2009 18:14:40 +0300 Subject: [Mono-list] Not all subscribers to event are being called... In-Reply-To: <4A53847F.6000907@inovonics.com> References: <49F8FE3E.1010809@inovonics.com> <4A52754D.30708@inovonics.com> <8cca42d80907061543g706154c6nc6ff22c9ef035ce3@mail.gmail.com> <4A53847F.6000907@inovonics.com> Message-ID: > Yes, as a matter of fact there is. Both the class that is has the event > (and is calling the event) and the class that is subscribing are based > on generics. I have a base generic class that takes one type parameter: > > abstract public class BasicClass { ... } I tried test below in 64 bit virtual Debian several times and got output 5000 iterations, 77 exceptions 5000 iterations, 57 exceptions 5000 iterations, 46 exceptions 5000 iterations, 115 exceptions 5000 iterations, 68 exceptions 5000 iterations, 78 exceptions public static class AppMainEntry { class TestEntity { public int contents { get; set; } } [STAThread] public static void Main() { int i = 0, exceptions = 0; for (; i < 5000; i++) { using (var db = new Entity(new Npgsql.NpgsqlConnection( "host=localhost;DATABASE=test;USER=test;PASSWORD=xxxxx;SSLMODE=Prefer;SSL=True"), new DbLinq.PostgreSql.PgsqlVendor())) try { db.ExecuteQuery("SELECT 1 as contents").ToList(); } catch (Exception ex) { exceptions++; } } Console.WriteLine(i.ToString() + " iterations, " + exceptions.ToString() + " exceptions"); } Exceptions occur in DynamicInvoke(): System.InvalidCastException: Cannot cast from source type to destination type. at System.Delegate.get_Method () [0x00000] at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] at DbLinq.Data.Linq.Sugar.Implementation.QueryRunner+d__b.MoveNext () [0x00000] at DbLinq.Data.Linq.Sugar.Implementation.QueryRunner+d__0.MoveNext () [0x00000] at DbLinq.Data.Linq.DataContext+d__d`1[Eeva.UI.AppMainEntry+TestEntity].MoveNext () [0x00000] at System.Collections.Generic.List`1[Myapp.UI.AppMainEntry+TestEntity].AddEnumerable (IEnumerable`1 enumerable) [0x00000] at System.Collections.Generic.List`1[Myapp.UI.AppMainEntry+TestEntity]..ctor (IEnumerable`1 collection) [0x00000] at System.Linq.Enumerable.ToList[TestEntity] (IEnumerable`1 source) [0x00000] at Myapp.UI.AppMainEntry.Main () [0x00000] monotest at mono:~/www/htdocs/demo/bin$ mono --version Mono JIT compiler version 2.5 (/trunk/mono r135592 Sat Jun 6 15:56:42 EEST 2009) Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com TLS: __thread GC: Included Boehm (with typed GC and Parallel Mark) SIGSEGV: altstack Notifications: epoll Architecture: amd64 Disabled: none monotest at mono:~/www/htdocs/demo/bin$ uname -a Linux mono.test.xxxxx.com 2.6.18.8-xenU #3 SMP Fri Apr 24 13:30:30 EEST 2009 x86_64 GNU/Linux How to fix this ? Andrus. From jonpryor at vt.edu Wed Jul 8 13:08:17 2009 From: jonpryor at vt.edu (Jonathan Pryor) Date: Wed, 08 Jul 2009 13:08:17 -0400 Subject: [Mono-list] Active X/Java to Linux question In-Reply-To: <24379349.post@talk.nabble.com> References: <24379349.post@talk.nabble.com> Message-ID: <1247072897.2259.6.camel@lina> On Tue, 2009-07-07 at 11:58 -0700, olumax wrote: > An active X component application has the capability to convert HTML into an > image file (e.g JPEG, GIF, BMP etc). This component can be wrapped via JNI, > making it available in Java source, which can then be compiled into a Java > class. > > Can MONO be used to port this active X as a java class for execution on the > Linux platform? No. ActiveX is native code that conforms to a specific ABI, aka COM. It's source code is likely C, C++, VB (not .NET) or Delphi (though of course any number of other languages can be used to write ActiveX code as well). Depending on the language used to write the ActiveX code, it may not be possible to port the code to Linux. (For example, I know of no VB compiler for Linux, so VB-based code is ~impossible to port, afaik. Though it may be possible to port the code to VB.NET, and there is a VB.NET compiler on Linux...) However, it may be possible to run the ActiveX control unchanged under Wine on Linux (along with a Windows version of Java, etc. to use the ActiveX control, also under Wine). - Jon From ernesto.wims at gmail.com Wed Jul 8 14:24:05 2009 From: ernesto.wims at gmail.com (Ernesto Wims) Date: Wed, 8 Jul 2009 13:24:05 -0500 Subject: [Mono-list] IRC channel? Having trouble connecting Message-ID: <527a90a10907081124t4c23a482n766a5d70d5efdae4@mail.gmail.com> I've been trying to join irc.gnome.org using smuxi but i keep getting a connection error that says: Closing Link: ernestowims[unknown at 255.255.255.255] (Connection Timed Out) and there is also another one that says something about Invalid Username. How can I connect? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090708/c47dc962/attachment.html From lionel.keene at gmail.com Wed Jul 8 17:02:54 2009 From: lionel.keene at gmail.com (LKeene) Date: Wed, 8 Jul 2009 14:02:54 -0700 (PDT) Subject: [Mono-list] Bad Mono 2.4.2.1 / 2.2 using "OnLoad" Message-ID: <24399324.post@talk.nabble.com> Hi folks, I just got around to installing v2.4.2.1 of Mono on my XP box today. Previously I had been using 2.2. I'm developing my app in VS2008 and checking it periodically by running debug/release builds under both Microsoft and Mono runtimes. In my app I control the size and layout of controls by first querying the MainForm for the client size. The MainForm is default Maximized when app is run. Everything is based on this...the layout, the gdi+ drawing, etc. I've been doing all of my initial control sizing and layout in the MainForm constructor and so far this has worked well. Recently, I moved all the layout/sizing code to "MainForm.OnLoad()", and the layout/sizing is all wrong. It seems the controls are being sized prior to the MainForm being maximized to fill the monitor. This occurs in both 2.2 / 2.4.2.1 versions of Mono. It works just fine in Microsoft's runtime, however (both the "OnLoad" layout and the constructor layout versions). Is the constructor indeed the correct location for this control layout/sizing? If not, where? Thanks in advcance everyone. -L -- View this message in context: http://www.nabble.com/Bad-Mono-2.4.2.1---2.2-using-%22OnLoad%22-tp24399324p24399324.html Sent from the Mono - General mailing list archive at Nabble.com. From cdhowie at gmail.com Wed Jul 8 18:11:17 2009 From: cdhowie at gmail.com (Chris Howie) Date: Wed, 8 Jul 2009 18:11:17 -0400 Subject: [Mono-list] Bad Mono 2.4.2.1 / 2.2 using "OnLoad" In-Reply-To: <24399324.post@talk.nabble.com> References: <24399324.post@talk.nabble.com> Message-ID: <3d2f29dc0907081511u41539b21h605b2e128da36f72@mail.gmail.com> On Wed, Jul 8, 2009 at 5:02 PM, LKeene wrote: > Hi folks, > > I just got around to installing v2.4.2.1 of Mono on my XP box today. > Previously I had been using 2.2. I'm developing my app in VS2008 and > checking it periodically by running debug/release builds under both > Microsoft and Mono runtimes. > > In my app I control the size and layout of controls by first querying the > MainForm for the client size. The MainForm is default Maximized when app is > run. Everything is based on this...the layout, the gdi+ drawing, etc. I've > been doing all of my initial control sizing and layout in the MainForm > constructor and so far this has worked well. Recently, I moved all the > layout/sizing code to "MainForm.OnLoad()", and the layout/sizing is all > wrong. It seems the controls are being sized prior to the MainForm being > maximized to fill the monitor. This occurs in both 2.2 / 2.4.2.1 versions of > Mono. It works just fine in Microsoft's runtime, however (both the "OnLoad" > layout and the constructor layout versions). > > Is the constructor indeed the correct location for this control > layout/sizing? If not, where? OnResize seems like a logical place for this to go. -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers From martin.lundberg at gmail.com Thu Jul 9 02:26:40 2009 From: martin.lundberg at gmail.com (Martin Lundberg) Date: Thu, 9 Jul 2009 08:26:40 +0200 Subject: [Mono-list] Problems compiling gtk-sharp from trunk Message-ID: I'm having some problems installing gtk-sharp in a parallel mono environment. I've got revision 137586 and I've started from an empty mono env, followed the parallel mono environment guide on mono website and installed libgdiplus and mono/mcs. However when I try to compile gtk-sharp I'm getting errors. Also when running the bootstrap file it says " * Mono.Cairo.dll: using system assembly" does that mean that it uses the system installed ones and not the ones in /opt/mono/lib? Do you get Cairo from libgdiplus? The errors: http://marlun.pastebin.com/m33d582e9 The output of ./bootstrap-2.14 --prefix=/opt/mono is: http://marlun.pastebin.com/m48bc9ad8 Thanks in advance for any help, -Martin Lundberg -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090709/301406cf/attachment.html From jon_james at dell.com Thu Jul 9 16:22:18 2009 From: jon_james at dell.com (Jon James) Date: Thu, 9 Jul 2009 13:22:18 -0700 (PDT) Subject: [Mono-list] libgdiplus 2.4.2 configure error: You must fix your compiler paths" Message-ID: <24417132.post@talk.nabble.com> configure snippet: ./configure: line 23229: test: too many arguments configure: error: "Failed to compile with X11/Xlib.h include. You must fix your compiler paths" Mono 2.4.2 compiles fine. However i'm having troubles compiling this package on RHEL5.3. I would appreciate some assistance if possible. I'm a bit out of my realm on this one. JJ -- View this message in context: http://www.nabble.com/libgdiplus-2.4.2-configure-error%3A-You-must-fix-your-compiler-paths%22-tp24417132p24417132.html Sent from the Mono - General mailing list archive at Nabble.com. From jon_james at dell.com Thu Jul 9 17:35:28 2009 From: jon_james at dell.com (Jon James) Date: Thu, 9 Jul 2009 14:35:28 -0700 (PDT) Subject: [Mono-list] libgdiplus 2.4.2 configure error: You must fix your compiler paths" In-Reply-To: <24417132.post@talk.nabble.com> References: <24417132.post@talk.nabble.com> Message-ID: <24418240.post@talk.nabble.com> Ok, so i've gotten further. Apparently I need X11-devel (and it's dependicies). Now i have a new error: Cairo requires freetype and fontconfig (which are already installed)... -- View this message in context: http://www.nabble.com/libgdiplus-2.4.2-configure-error%3A-You-must-fix-your-compiler-paths%22-tp24417132p24418240.html Sent from the Mono - General mailing list archive at Nabble.com. From lionel.keene at gmail.com Thu Jul 9 18:15:07 2009 From: lionel.keene at gmail.com (LKeene) Date: Thu, 9 Jul 2009 15:15:07 -0700 (PDT) Subject: [Mono-list] Need some help installing Mono on Redhat 2.6 Message-ID: <24418743.post@talk.nabble.com> Hello all, first let me state I am a Windows guy with more-or-less zero knowledge of Linux. My co-worker appears to know a bit more about Linux as she is using it on a daily basis (RedHat v2.6). I've created a c# app in VS2008 and have run it on both Microsoft and Mono runtimes on my XP machine with no problem. I usually run it under mono by going to the Mono command prompt and executing it from there. This works just fine. We've just downloaded v2.4.2.1 of Mono on my colleague's RedHat computer and I would like to try my app on Linux. The problem is we are not sure if we are installing it correctly. It seems like it may have installed properly (I couldn't find an installer package like the one I used for Windows on the Mono website so we did the download and compile approach). When I try to run my app via: "mono MyApp.exe AppArguments" we get a bunch of "GDIplus.dll missing" errors. We can't effectively diagnose what the problem is because we are unsure of whether or not we've even installed Mono correctly. Would some kind soul post - or point me to - step-by-step "for moron" instructions on downloading and installing mono on RedHat? Thanks very much in advance!! In the meantime I'll keep looking online for help. -L -- View this message in context: http://www.nabble.com/Need-some-help-installing-Mono-on-Redhat-2.6-tp24418743p24418743.html Sent from the Mono - General mailing list archive at Nabble.com. From robertj at gmx.net Thu Jul 9 18:25:24 2009 From: robertj at gmx.net (Robert Jordan) Date: Fri, 10 Jul 2009 00:25:24 +0200 Subject: [Mono-list] Need some help installing Mono on Redhat 2.6 In-Reply-To: <24418743.post@talk.nabble.com> References: <24418743.post@talk.nabble.com> Message-ID: LKeene wrote: > we get a bunch of "GDIplus.dll missing" errors. We can't effectively > diagnose what the problem is because we are unsure of whether or not we've Did you install libgdiplus? If not, get it from here: http://ftp.novell.com/pub/mono/sources/libgdiplus/libgdiplus-2.4.2.tar.bz2 linked from: http://ftp.novell.com/pub/mono/sources-stable/ Robert From lionel.keene at gmail.com Thu Jul 9 18:49:18 2009 From: lionel.keene at gmail.com (LKeene) Date: Thu, 9 Jul 2009 15:49:18 -0700 (PDT) Subject: [Mono-list] Need some help installing Mono on Redhat 2.6 In-Reply-To: References: <24418743.post@talk.nabble.com> Message-ID: <24419114.post@talk.nabble.com> Yes, we've installe that. Here's a copy of the error message we're getting when I try to run my app: Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: gdiplus.dll at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&) at System.Drawing.GDIPlus..cctor () [0x00000] --- End of inner exception stack trace --- at System.Drawing.Graphics.FromHdcInternal (IntPtr hdc) [0x00000] at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) [0x00000] at System.Windows.Forms.XplatUIX11..ctor () [0x00000] at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] at System.Windows.Forms.XplatUI..cctor () [0x00000] --- End of inner exception stack trace --- at System.Windows.Forms.Application.EnableVisualStyles () [0x00000] at MDXTestHarness.Program.Main () [0x00000] Anyone seen this before? -L Robert Jordan wrote: > > LKeene wrote: >> we get a bunch of "GDIplus.dll missing" errors. We can't effectively >> diagnose what the problem is because we are unsure of whether or not >> we've > > Did you install libgdiplus? If not, get it from here: > > http://ftp.novell.com/pub/mono/sources/libgdiplus/libgdiplus-2.4.2.tar.bz2 > > linked from: > > http://ftp.novell.com/pub/mono/sources-stable/ > > Robert > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > -- View this message in context: http://www.nabble.com/Need-some-help-installing-Mono-on-Redhat-2.6-tp24418743p24419114.html Sent from the Mono - General mailing list archive at Nabble.com. From paul at all-the-johnsons.co.uk Thu Jul 9 19:43:44 2009 From: paul at all-the-johnsons.co.uk (Paul) Date: Fri, 10 Jul 2009 00:43:44 +0100 Subject: [Mono-list] Need some help installing Mono on Redhat 2.6 In-Reply-To: <24419114.post@talk.nabble.com> References: <24418743.post@talk.nabble.com> <24419114.post@talk.nabble.com> Message-ID: <1247183024.2002.11.camel@localhost.localdomain> Hi, > Yes, we've installe that. Here's a copy of the error message we're getting > when I try to run my app: 2.4.2.1 is currently being built for fedora rawhide so it should hit paydirt tomorrow. Not sure what version of RedHat 2.6 is (guessing RHEL), but i'd grab libgdiplus, mono-*, gnome-desktop-sharp, gtk-sharp2* - but make sure you get the correct version for your processor - Fedora packages for architectures. If you've got the Novell rpms installed, remove before installing the fedora ones. 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/20090710/be3ccce2/attachment.bin From alexxx at realiora.co.uk Fri Jul 10 05:06:13 2009 From: alexxx at realiora.co.uk (@lex) Date: Fri, 10 Jul 2009 02:06:13 -0700 (PDT) Subject: [Mono-list] updating 2.0.1 version with 2.4 on SUSE Linux with no Internat access Message-ID: <24423998.post@talk.nabble.com> Could someone please tell me how to remove current 2.0.1 version from my SUSE Linux and install Mono 2.4 on it manually. Last time I tried it was a mess. Thanks :) -- View this message in context: http://www.nabble.com/updating-2.0.1-version-with-2.4-on-SUSE-Linux-with-no-Internat-access-tp24423998p24423998.html Sent from the Mono - General mailing list archive at Nabble.com. From cdhowie at gmail.com Fri Jul 10 08:50:55 2009 From: cdhowie at gmail.com (Chris Howie) Date: Fri, 10 Jul 2009 08:50:55 -0400 Subject: [Mono-list] [MonoDevelop] Also a DEPLOY TO WEB problem In-Reply-To: <24425810.post@talk.nabble.com> References: <24425810.post@talk.nabble.com> Message-ID: <3d2f29dc0907100550n7cf6091se523a5025b6e8f48@mail.gmail.com> On Fri, Jul 10, 2009 at 8:42 AM, clemenslinders wrote: > And now I get an error that would lead me to believe that there is a bug, or > perhaps VS 2005 solutions cannot be ported by opening them in MonoDevelop?? > > I get the following error: > SystemIOFileNotFoundException: Cannot find file C:\Documents and > Settings\Clemens\Projects\TestWeb\TestWeb\bin\SimpelTest.dll.mdb > > Indeed this file doesn't exist. But at that location there is a > SimpelTest.dll > > The extension.mdb would perhaps suggest a database file?? Doesn MS-Access > have .mdb files? > As mentioned this test website just has a label with a text property. There > is no database used, coupled, linked or whatever. > > I get the idea that the extension .mdb is added incorrectly to the first > file it should process. I know it is possible to create files with double > extensions like .xxx.yyy but I would not expect that here. .mdb is the extension used by mono for storing debugging information. Look on Windows when you build an app -- you will see SimpelTest.dll.pdb. > So could this be a bug???? > > Am I doing something completely wrong?? > > I just want a website that I create with VS2005 to be loaded in MonoDevelop > and than port it to Linux so that I can use a regular internet host, to host > my website. > > If I'm doing something completely wrong, please let me know. It is possible that you are trying to host the site in debug mode, though I've never seen that throw an exception if the debugging info isn't there, usually it just ignores it. I am including the main Mono mailing list on this question, since this does not look like a MonoDevelop-specific problem. -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers From sebastien.pouliot at gmail.com Fri Jul 10 10:25:36 2009 From: sebastien.pouliot at gmail.com (Sebastien Pouliot) Date: Fri, 10 Jul 2009 10:25:36 -0400 Subject: [Mono-list] libgdiplus 2.4.2 configure error: You must fix your compiler paths" In-Reply-To: <24418240.post@talk.nabble.com> References: <24417132.post@talk.nabble.com> <24418240.post@talk.nabble.com> Message-ID: <1247235936.5395.38.camel@mizar.home> On Thu, 2009-07-09 at 14:35 -0700, Jon James wrote: > Ok, so i've gotten further. Apparently I need X11-devel (and it's > dependicies). Now i have a new error: > > Cairo requires freetype and fontconfig (which are already installed)... You need the -devel packages for every library required to build libgdiplus. That includes freetype, fontconfig, libpng, libgif, libjpeg, libtiff, libexif... Sebastien From jon_james at dell.com Fri Jul 10 12:07:21 2009 From: jon_james at dell.com (Jon James) Date: Fri, 10 Jul 2009 09:07:21 -0700 (PDT) Subject: [Mono-list] libgdiplus 2.4.2 configure error: You must fix your compiler paths" In-Reply-To: <1247235936.5395.38.camel@mizar.home> References: <24417132.post@talk.nabble.com> <24418240.post@talk.nabble.com> <1247235936.5395.38.camel@mizar.home> Message-ID: <24430357.post@talk.nabble.com> Is there a way I can find what all Cairio needs to compile? I'll go find the devel packages of these: freetype, fontconfig, libpng, libgif, libjpeg, libtiff, libexif Is there anymore? Is there a file or command I can run to find out on my own? -- View this message in context: http://www.nabble.com/libgdiplus-2.4.2-configure-error%3A-You-must-fix-your-compiler-paths%22-tp24417132p24430357.html Sent from the Mono - General mailing list archive at Nabble.com. From cdhowie at gmail.com Fri Jul 10 12:33:03 2009 From: cdhowie at gmail.com (Chris Howie) Date: Fri, 10 Jul 2009 12:33:03 -0400 Subject: [Mono-list] libgdiplus 2.4.2 configure error: You must fix your compiler paths" In-Reply-To: <24430357.post@talk.nabble.com> References: <24417132.post@talk.nabble.com> <24418240.post@talk.nabble.com> <1247235936.5395.38.camel@mizar.home> <24430357.post@talk.nabble.com> Message-ID: <3d2f29dc0907100933r55aadacfndecd2a4e832410ce@mail.gmail.com> On Fri, Jul 10, 2009 at 12:07 PM, Jon James wrote: > Is there a way I can find what all Cairio needs to compile? > > I'll go find the devel packages of these: > freetype, fontconfig, libpng, libgif, libjpeg, libtiff, libexif > > Is there anymore? Is there a file or command I can run to find out on my > own? Basically, this routine: 1. ./configure 1a. If it works, you're done. 2. Parse error and find the -dev package it wants. 3. Goto 1. I usually have to do about 5 or so iterations of this when compiling stuff. Unfortunately, ./configure can't tell you any more than one at a time. -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers From mdedirudianto at gmail.com Fri Jul 10 22:26:33 2009 From: mdedirudianto at gmail.com (dedi) Date: Sat, 11 Jul 2009 09:26:33 +0700 Subject: [Mono-list] [ASK] NodeStore filter Message-ID: <26958f540907101926u4e5136b3ge12962fdd9e3e089@mail.gmail.com> Dear Mono masters, I am newbie gtk# programmer, migrating from winform. Is there any way to filter the content of NodeView instead using TreeModelFilter? Since I'm using TreeNode to make it easier to hook. Here is the code sample: [TreeNode (ListOnly=true)] class Employee : TreeNode { [TreeNodeValue (Column=0)] public string Name; [TreeNodeValue (Column=1)] public string Address; public Employee (string name, string address) { Name = name; Address = address; } } It's very easy to hook to the NodeView Gtk.NodeView view = new Gtk.NodeView (); view.NodeStore = PopulateStore (); // generate list of employee But, if I'm using TreeModelFilter, I should use TreeStore instead of TreeNode. TreeStore ts = new TreeStore (typeof (Employee)); // add something to treestore... Gtk.TreeModelFilter filter = new Gtk.TreeModelFilter (ts, null); view.Model = filter; And it was cumbersome to set SetCellDataFunc on each cell to show the value, since there are a lot of fields will be used. nameColumn.SetCellDataFunc (nameCell, new Gtk.TreeCellDataFunc (RenderName)); addressColumn.SetCellDataFunc (addressCell, new Gtk.TreeCellDataFunc (RenderAddress)); // and others Is there any way to use TreeModelFilter with custom TreeNode? Or I missed something. CMIIW. Thank you very much. Regards, dedi From galaktor at gmx.de Sat Jul 11 05:34:55 2009 From: galaktor at gmx.de (galaktor) Date: Sat, 11 Jul 2009 02:34:55 -0700 (PDT) Subject: [Mono-list] MoMA - Automatic builds In-Reply-To: <4A52708D.1070801@jpobst.com> References: <24338721.post@talk.nabble.com> <4A52708D.1070801@jpobst.com> Message-ID: <24438739.post@talk.nabble.com> Please tell me how to do that without having to register somewhere else (again). I already registerred to post this idea here... Thank you! Jonathan Pobst wrote: > > Hey, > > This sounds like a pretty good idea. Please file an Enhancement bug on > MoMA in Bugzilla, and I'll try to add it for 2.6. > > "File MoMA bugs" link here: http://www.mono-project.com/MoMA > > Thanks! > Jonathan > > > galaktor wrote: >> At the http://www.mono-project.com/Command_Line_MoMA MoMA description >> it >> says "This is helpful for people who wish to add MoMA scans to their >> automated builds". I was quite excited about this feature and then as I >> tried it the first time I noticed that the tool itself does not give any >> feedback whatsoever. >> >> There is no error when errors were found. I would at least have expected >> to >> have a list of return codes to react to, for example: >> >> 0: nothing found, everything is fine >> 1: anything occurred >> 2. Mono-TODOs were found >> 3. NotImplementedException found >> ... >> >> But instead, I would have to integrate the generated HTML into my reports >> on >> the build server and manually check if there were any errors. There is no >> way for the build tool (in my case NAnt and CCNET) to notice that >> everything >> is fine. >> >> So where is the actual point in using MoMA for continous integration? The >> return codes would be so easy to implement and would really have value. > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > -- View this message in context: http://www.nabble.com/MoMA---Automatic-builds-tp24338721p24438739.html Sent from the Mono - General mailing list archive at Nabble.com. From francisco at npgsql.org Sat Jul 11 16:10:22 2009 From: francisco at npgsql.org (Francisco Figueiredo Jr.) Date: Sat, 11 Jul 2009 17:10:22 -0300 Subject: [Mono-list] Npgsql 2.0.6 released! Message-ID: <438d02260907111310y2e256352rd7725fe71169a9f@mail.gmail.com> Hi, all!! The Npgsql Development Team is proud to announce the Npgsql2 2.0.6 release! Npgsql is a .Net Data provider written 100% in C# which allows .net programs to talk to postgresql backends. Npgsql is licensed under BSD. More info can be obtained from http://www.npgsql.org This release is a minor bug fix for the stable 2.0 series. The biggest highlights are: This build should fix the problems people is having with long running queries being cancelled even when the developer sets a high timeout. Thanks Adriaan, Npgsql now performs function checks much faster on setups which have too many functions as now Npgsql sends a query which allows server to use indexes to find the function. Josh Cooley added fixes to some culture sensible queries. He also fixed problems with unions and NULL values in columns Visual Studio Designer support (not working right now) Josh Cooley started to add visual studio designer support to Npgsql. It is not working yet. We are using excellent Robert Simpson's sqlite provider code as a base to ours. Thank you Robert! You can see full changelog and release notes here: http://pgfoundry.org/frs/shownotes.php?release_id=1434 You can dowload it from here: http://downloads.npgsql.org Thank you to Josh Cooley for all his help with entity framework support! Thank you to all who sent feedbacks, suggestions and patches. You helped to make this release. Please, feel free to give it a try and let us know if you find any other problems. Also, if you like Npgsql and want to show how much you like it, send us a postcard! http://fxjr.blogspot.com/2008/12/did-you-like-npgsql-send-us-postcard.html -- Regards, Francisco Figueiredo Jr. Npgsql Lead Developer http://www.npgsql.org http://fxjr.blogspot.com http://twitter.com/franciscojunior From awilliam at whitemice.org Sat Jul 11 22:21:43 2009 From: awilliam at whitemice.org (Adam Tauno Williams) Date: Sat, 11 Jul 2009 22:21:43 -0400 Subject: [Mono-list] [ASK] NodeStore filter In-Reply-To: <26958f540907101926u4e5136b3ge12962fdd9e3e089@mail.gmail.com> References: <26958f540907101926u4e5136b3ge12962fdd9e3e089@mail.gmail.com> Message-ID: <1247365303.29334.6.camel@linux-m3mt> On Sat, 2009-07-11 at 09:26 +0700, dedi wrote: > Dear Mono masters, > I am newbie gtk# programmer, migrating from winform. It would be much better to ask this question on the Gtk-Sharp list. > Is there any way to filter the content of NodeView instead using > TreeModelFilter? Last I knew, no [sadly]. From blackskyliner at live.de Sun Jul 12 18:00:55 2009 From: blackskyliner at live.de (Blackskyliner) Date: Sun, 12 Jul 2009 15:00:55 -0700 (PDT) Subject: [Mono-list] Problem with XML-Serialization Message-ID: <24452869.post@talk.nabble.com> Hi I just jumped in into mono I hope I'm in the right forum/mailinglist, because i wrote an little server application that I wanted to run on my linux machine. Its originally written in .NET 2.0 To exchange Messages between Server and Client I use an XML-serialized class.... In .NET I dont get any problems but with mono I get the following exception: There was an error generating the XML document. > The type of the argument object 'ChatClient.serverMessages' is not primitive. I implemented the serverMessage in the following way: using System; using System.Text; namespace ChatClient { [Serializable] public class Message { public Message_StatusCodes statusCode; public messageType messageType; public object message; public DateTime time; public string user; public Message() { init(); } public Message(string Username) { init(); this.user = Username; } private void init(){ this.statusCode = Message_StatusCodes.NULL; this.message = null; this.time = DateTime.Now; this.user = null; this.messageType = messageType.NULL; } public void Clear() { this.statusCode = Message_StatusCodes.NULL; this.messageType = messageType.NULL; this.message = null; this.time = DateTime.Now; this.user = null; } public void Clear(string Username) { this.Clear(); this.user = Username; } public Message(Message_StatusCodes c) { init(); this.statusCode = c; } } public enum Message_StatusCodes { NULL, Login, UserKicked, UserJoined, UserConnected, UserDisconnected, UserListChanged } public enum messageType{ NULL, UserMessage, ServerMessage, ClientMessage } public enum serverMessages { LOGIN_ERROR_UserAlreadyExist, LOGIN_ERROR_UsernameReserved, LOGIN_OK } public enum clientMessages { Disconnect } } Why does this not deserialize in Mono but in C#?? Is there any workaround or smth. else? I'm thankful about every answer... Blackskyliner -- View this message in context: http://www.nabble.com/Problem-with-XML-Serialization-tp24452869p24452869.html Sent from the Mono - General mailing list archive at Nabble.com. From atsushieno at veritas-vos-liberabit.com Mon Jul 13 03:57:56 2009 From: atsushieno at veritas-vos-liberabit.com (Atsushi Eno) Date: Mon, 13 Jul 2009 16:57:56 +0900 Subject: [Mono-list] Problem with XML-Serialization In-Reply-To: <24452869.post@talk.nabble.com> References: <24452869.post@talk.nabble.com> Message-ID: <4A5AE904.1040300@veritas-vos-liberabit.com> Hi, Your subject implies it is about xml serialization, but it is marked as [Serializable]. Which "serialization" do you mean? XML serialization, or remoting SOAP serialization? Atsushi Eno Blackskyliner wrote: > Hi I just jumped in into mono I hope I'm in the right forum/mailinglist, > because i wrote an little server application that I wanted to run on my > linux machine. Its originally written in .NET 2.0 > > To exchange Messages between Server and Client I use an XML-serialized > class.... > In .NET I dont get any problems but with mono I get the following exception: > > There was an error generating the XML document. > The type of the argument > object 'ChatClient.serverMessages' is not primitive. > > I implemented the serverMessage in the following way: > > using System; > using System.Text; > > namespace ChatClient > { > [Serializable] > public class Message > { > public Message_StatusCodes statusCode; > public messageType messageType; > public object message; > public DateTime time; > public string user; > > public Message() > { > init(); > } > > public Message(string Username) > { > init(); > this.user = Username; > } > > private void init(){ > this.statusCode = Message_StatusCodes.NULL; > this.message = null; > this.time = DateTime.Now; > this.user = null; > this.messageType = messageType.NULL; > } > > public void Clear() > { > this.statusCode = Message_StatusCodes.NULL; > this.messageType = messageType.NULL; > this.message = null; > this.time = DateTime.Now; > this.user = null; > } > > public void Clear(string Username) > { > this.Clear(); > this.user = Username; > } > > public Message(Message_StatusCodes c) > { > init(); > this.statusCode = c; > } > } > > public enum Message_StatusCodes > { > NULL, > > Login, > > UserKicked, > UserJoined, > UserConnected, > UserDisconnected, > > UserListChanged > } > > public enum messageType{ > NULL, > UserMessage, > ServerMessage, > ClientMessage > } > > public enum serverMessages > { > LOGIN_ERROR_UserAlreadyExist, > LOGIN_ERROR_UsernameReserved, > LOGIN_OK > } > > public enum clientMessages > { > Disconnect > } > } > > > Why does this not deserialize in Mono but in C#?? Is there any workaround or > smth. else? > > I'm thankful about every answer... > Blackskyliner From mtrekker at hot.ee Mon Jul 13 06:46:30 2009 From: mtrekker at hot.ee (Mikro Trekker) Date: Mon, 13 Jul 2009 13:46:30 +0300 Subject: [Mono-list] DllNotFoundException Message-ID: <20090713104632.ED2F8E988D@mh3-5.hot.ee> I am using Mono 2.4 on Vista. Project executable (C#) works fine on Windows platform. All managed DLLs that EXE is using reside in the same directory where EXE is located. When I try to run EXE then I get DllNotFoundException ? For testing purposes I wrote a managed DLL (pinvoke.dll - see code below) that uses LoadLibrary to load DLLs my EXE uses. When calling pinvoke.dll inside my C# EXE I get LoadLibrary error 182. Any explanation ? #include #include extern "C" __declspec(dllexport) void TestInvoke(const char *dll, const char *msg) { if( LoadLibrary( dll ) ) MessageBox( NULL, "LoadLibrary Ok!", msg, 0 ); else { DWORD err = GetLastError(); char szBuf[128] = {0}; _snprintf( szBuf, sizeof(szBuf), "LoadLibrary failed: %d", err ); MessageBox( NULL, szBuf, msg, 0 ); } } From robertj at gmx.net Mon Jul 13 08:32:21 2009 From: robertj at gmx.net (Robert Jordan) Date: Mon, 13 Jul 2009 14:32:21 +0200 Subject: [Mono-list] DllNotFoundException In-Reply-To: <20090713104632.ED2F8E988D@mh3-5.hot.ee> References: <20090713104632.ED2F8E988D@mh3-5.hot.ee> Message-ID: Mikro Trekker wrote: > I am using Mono 2.4 on Vista. Project executable (C#) works fine on > Windows platform. All managed DLLs that EXE is using reside in the same > directory where EXE is located. > > When I try to run EXE then I get DllNotFoundException ? Unlike MS.NET, Mono is not loading p/invoke libraries from the assembly's directory automatically. You must either assure that the current directory is properly set or place the native DLL into a directory listed by the PATH env var. I believe this is fixed in SVN trunk. Robert From mtrekker at hot.ee Mon Jul 13 09:17:51 2009 From: mtrekker at hot.ee (Mikro Trekker) Date: Mon, 13 Jul 2009 16:17:51 +0300 Subject: [Mono-list] DllNotFoundException Message-ID: <20090713131754.8428413D368@mh3-5.hot.ee> The error was caused by libeay32.dll. As my EXE uses managed DLL that uses this library then there was version conflict. Mono is shipping this DLL also! Is there any DLL tracing switch I can use to see what and where Mono loads its DLLs ? From robertj at gmx.net Mon Jul 13 09:26:35 2009 From: robertj at gmx.net (Robert Jordan) Date: Mon, 13 Jul 2009 15:26:35 +0200 Subject: [Mono-list] DllNotFoundException In-Reply-To: <20090713131754.8428413D368@mh3-5.hot.ee> References: <20090713131754.8428413D368@mh3-5.hot.ee> Message-ID: Mikro Trekker wrote: > The error was caused by libeay32.dll. As my EXE uses managed DLL that > uses this library then there was version conflict. Mono is shipping > this DLL also! > > Is there any DLL tracing switch I can use to see what and where Mono > loads its DLLs ? Set the env vars MONO_LOG_LEVEL=debug MONO_LOG_MASK=dll and run mono from a cmd window. Robert From rick.lamanna at mccdaq.com Mon Jul 13 12:58:17 2009 From: rick.lamanna at mccdaq.com (rick_l) Date: Mon, 13 Jul 2009 09:58:17 -0700 (PDT) Subject: [Mono-list] Crash - Array allocation Message-ID: <24461029.post@talk.nabble.com> Hello, My C# program is crashing on Linux. I get the following stack trace: at (wrapper managed-to-native) object.__icall_wrapper_mono_array_new_2 (intptr,intptr,intptr) <0x00004> at (wrapper managed-to-native) object.__icall_wrapper_mono_array_new_2 (intptr,intptr,intptr) <0xffffffff> at MC7000API.DaqDevice.ReadScanData (int) [0x00032] in /root/Linux/MC7000Software/Library/MC7000API/api/api.cs:91 at AInScanContinuous.AInScanContinuousForm.StartButton_Click (object,System.EventArgs) [0x000ca] in /root/Linux/AInScanContinuous/AInScanContinuousForm.cs:74 at System.Windows.Forms.Control.OnClick (System.EventArgs) [0x0001c] in /usr/src/packages/BUILD/mono-2.4.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:6033 at System.Windows.Forms.Button.OnClick (System.EventArgs) [0x00024] in /usr/src/packages/BUILD/mono-2.4.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Button.cs:106 at System.Windows.Forms.ButtonBase.OnMouseUp (System.Windows.Forms.MouseEventArgs) [0x00081] in /usr/src/packages/BUILD/mono-2.4.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ButtonBase.cs:634 at System.Windows.Forms.Button.OnMouseUp (System.Windows.Forms.MouseEventArgs) [0x00000] in /usr/src/packages/BUILD/mono-2.4.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Button.cs:128 at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message&) [0x00081] in /usr/src/packages/BUILD/mono-2.4.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:5595 at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&) [0x0017c] in /usr/src/packages/BUILD/mono-2.4.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:5332 at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message&) [0x00055] in /usr/src/packages/BUILD/mono-2.4.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ButtonBase.cs:692 at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message&) [0x00000] in /usr/src/packages/BUILD/mono-2.4.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Button.cs:150 at System.Windows.Forms.Control/ControlWindowTarget.OnMessage (System.Windows.Forms.Message&) [0x00000] in /usr/src/packages/BUILD/mono-2.4.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:234 at System.Windows.Forms.Control/ControlNativeWindow.WndProc (System.Windows.Forms.Message&) [0x00000] in /usr/src/packages/BUILD/mono-2.4.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:215 at System.Windows.Forms.NativeWindow.WndProc (intptr,System.Windows.Forms.Msg,intptr,intptr) [0x00085] in /usr/src/packages/BUILD/mono-2.4.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:242 at System.Windows.Forms.XplatUIX11.DispatchMessage (System.Windows.Forms.MSG&) [0x00000] in /usr/src/packages/BUILD/mono-2.4.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:3424 at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG&) [0x00000] in /usr/src/packages/BUILD/mono-2.4.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:605 at System.Windows.Forms.Application.RunLoop (bool,System.Windows.Forms.ApplicationContext) [0x0036a] in /usr/src/packages/BUILD/mono-2.4.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:982 at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext) [0x00014] in /usr/src/packages/BUILD/mono-2.4.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:761 at System.Windows.Forms.Application.Run (System.Windows.Forms.Form) [0x00000] in /usr/src/packages/BUILD/mono-2.4.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:740 at AInScanContinuous.Program.Main () [0x0000b] in /root/Linux/AInScanContinuous/Program.cs:17 at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff> Native stacktrace: /usr/bin/mono [0x80cbfe4] /usr/bin/mono [0x80f66bb] [0xffffe410] /usr/bin/mono [0x81d9023] /usr/bin/mono [0x81e5447] /usr/bin/mono [0x81e0074] /usr/bin/mono [0x81df942] /usr/bin/mono [0x81d98dd] /usr/bin/mono [0x81d9ccf] /usr/bin/mono [0x81da009] /usr/bin/mono [0x81dcf7a] /usr/bin/mono [0x81dd231] /usr/bin/mono [0x81dd463] /usr/bin/mono(mono_array_new_full+0x182) [0x81143c2] /usr/bin/mono [0x80a6ebd] [0xb56a6753] [0xb56a6440] [0xb565d8dd] [0xb565d6f0] [0xb565d66d] [0xb565d352] [0xb565d1e6] [0xb565d07a] [0xb5a82df4] [0xb5a005b0] [0xb5a00506] [0xb5a82bbf] [0xb5a82b97] [0xb5a81ce5] [0xb56aee3c] [0xb569d268] [0xb5a1b8e8] [0xb5a1accf] [0xb5a1a8e4] [0xb78e431f] [0xb78e4252] /usr/bin/mono(mono_runtime_exec_main+0xe5) [0x8113825] /usr/bin/mono(mono_runtime_run_main+0x16b) [0x8113fcb] /usr/bin/mono(mono_debugger_main+0x77) [0x80f9c47] /usr/bin/mono(mono_main+0x15bc) [0x80b354c] /usr/bin/mono [0x805af21] /lib/libc.so.6(__libc_start_main+0xe5) [0xb7e43705] /usr/bin/mono [0x805ae51] ================================================================= Got a SIGSEGV while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. ================================================================= My program allocates and copies many arrays. The code at line 91 in api.cs is allocating an array inside a method... double[,] scanData = new double[channelCount, samplesRequested] // channelCount = 8, samples requested = 316 This array is passed back to my application. I get the crash when this method gets called 100 to 130 times. I don?t get an Exception that I can catch. How can I debug this? Thanks Rick L -- View this message in context: http://www.nabble.com/Crash---Array-allocation-tp24461029p24461029.html Sent from the Mono - General mailing list archive at Nabble.com. From kumpera at gmail.com Mon Jul 13 13:23:34 2009 From: kumpera at gmail.com (Rodrigo Kumpera) Date: Mon, 13 Jul 2009 14:23:34 -0300 Subject: [Mono-list] Crash - Array allocation In-Reply-To: <24461029.post@talk.nabble.com> References: <24461029.post@talk.nabble.com> Message-ID: <8cca42d80907131023s3f56710ekbb67f3d1a1dda17c@mail.gmail.com> Start by installing debug symbols for mono and them reporting the bug with the improved stack trace. If you can provide a test case on the bug report, fixing it will be a lot simpler. On Mon, Jul 13, 2009 at 1:58 PM, rick_l wrote: > > Hello, > > My C# program is crashing on Linux. I get the following stack trace: > > at (wrapper managed-to-native) object.__icall_wrapper_mono_array_new_2 > (intptr,intptr,intptr) <0x00004> > at (wrapper managed-to-native) object.__icall_wrapper_mono_array_new_2 > (intptr,intptr,intptr) <0xffffffff> > at MC7000API.DaqDevice.ReadScanData (int) [0x00032] in > /root/Linux/MC7000Software/Library/MC7000API/api/api.cs:91 > at AInScanContinuous.AInScanContinuousForm.StartButton_Click > (object,System.EventArgs) [0x000ca] in > /root/Linux/AInScanContinuous/AInScanContinuousForm.cs:74 > at System.Windows.Forms.Control.OnClick (System.EventArgs) [0x0001c] in > > /usr/src/packages/BUILD/mono-2.4.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:6033 > at System.Windows.Forms.Button.OnClick (System.EventArgs) [0x00024] in > > /usr/src/packages/BUILD/mono-2.4.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Button.cs:106 > at System.Windows.Forms.ButtonBase.OnMouseUp > (System.Windows.Forms.MouseEventArgs) [0x00081] in > > /usr/src/packages/BUILD/mono-2.4.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ButtonBase.cs:634 > at System.Windows.Forms.Button.OnMouseUp > (System.Windows.Forms.MouseEventArgs) [0x00000] in > > /usr/src/packages/BUILD/mono-2.4.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Button.cs:128 > at System.Windows.Forms.Control.WmLButtonUp > (System.Windows.Forms.Message&) [0x00081] in > > /usr/src/packages/BUILD/mono-2.4.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:5595 > at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&) > [0x0017c] in > > /usr/src/packages/BUILD/mono-2.4.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:5332 > at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message&) > [0x00055] in > > /usr/src/packages/BUILD/mono-2.4.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ButtonBase.cs:692 > at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message&) > [0x00000] in > > /usr/src/packages/BUILD/mono-2.4.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Button.cs:150 > at System.Windows.Forms.Control/ControlWindowTarget.OnMessage > (System.Windows.Forms.Message&) [0x00000] in > > /usr/src/packages/BUILD/mono-2.4.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:234 > at System.Windows.Forms.Control/ControlNativeWindow.WndProc > (System.Windows.Forms.Message&) [0x00000] in > > /usr/src/packages/BUILD/mono-2.4.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:215 > at System.Windows.Forms.NativeWindow.WndProc > (intptr,System.Windows.Forms.Msg,intptr,intptr) [0x00085] in > > /usr/src/packages/BUILD/mono-2.4.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:242 > at System.Windows.Forms.XplatUIX11.DispatchMessage > (System.Windows.Forms.MSG&) [0x00000] in > > /usr/src/packages/BUILD/mono-2.4.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:3424 > at System.Windows.Forms.XplatUI.DispatchMessage > (System.Windows.Forms.MSG&) [0x00000] in > > /usr/src/packages/BUILD/mono-2.4.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:605 > at System.Windows.Forms.Application.RunLoop > (bool,System.Windows.Forms.ApplicationContext) [0x0036a] in > > /usr/src/packages/BUILD/mono-2.4.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:982 > at System.Windows.Forms.Application.Run > (System.Windows.Forms.ApplicationContext) [0x00014] in > > /usr/src/packages/BUILD/mono-2.4.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:761 > at System.Windows.Forms.Application.Run (System.Windows.Forms.Form) > [0x00000] in > > /usr/src/packages/BUILD/mono-2.4.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:740 > at AInScanContinuous.Program.Main () [0x0000b] in > /root/Linux/AInScanContinuous/Program.cs:17 > at (wrapper runtime-invoke) object.runtime_invoke_void > (object,intptr,intptr,intptr) <0xffffffff> > > Native stacktrace: > > /usr/bin/mono [0x80cbfe4] > /usr/bin/mono [0x80f66bb] > [0xffffe410] > /usr/bin/mono [0x81d9023] > /usr/bin/mono [0x81e5447] > /usr/bin/mono [0x81e0074] > /usr/bin/mono [0x81df942] > /usr/bin/mono [0x81d98dd] > /usr/bin/mono [0x81d9ccf] > /usr/bin/mono [0x81da009] > /usr/bin/mono [0x81dcf7a] > /usr/bin/mono [0x81dd231] > /usr/bin/mono [0x81dd463] > /usr/bin/mono(mono_array_new_full+0x182) [0x81143c2] > /usr/bin/mono [0x80a6ebd] > [0xb56a6753] > [0xb56a6440] > [0xb565d8dd] > [0xb565d6f0] > [0xb565d66d] > [0xb565d352] > [0xb565d1e6] > [0xb565d07a] > [0xb5a82df4] > [0xb5a005b0] > [0xb5a00506] > [0xb5a82bbf] > [0xb5a82b97] > [0xb5a81ce5] > [0xb56aee3c] > [0xb569d268] > [0xb5a1b8e8] > [0xb5a1accf] > [0xb5a1a8e4] > [0xb78e431f] > [0xb78e4252] > /usr/bin/mono(mono_runtime_exec_main+0xe5) [0x8113825] > /usr/bin/mono(mono_runtime_run_main+0x16b) [0x8113fcb] > /usr/bin/mono(mono_debugger_main+0x77) [0x80f9c47] > /usr/bin/mono(mono_main+0x15bc) [0x80b354c] > /usr/bin/mono [0x805af21] > /lib/libc.so.6(__libc_start_main+0xe5) [0xb7e43705] > /usr/bin/mono [0x805ae51] > > ================================================================= > Got a SIGSEGV while executing native code. This usually indicates > a fatal error in the mono runtime or one of the native libraries > used by your application. > ================================================================= > > My program allocates and copies many arrays. The code at line 91 in api.cs > is allocating an array inside a method... > > double[,] scanData = new double[channelCount, samplesRequested] // > channelCount = 8, samples requested = 316 > > This array is passed back to my application. I get the crash when this > method gets called 100 to 130 times. > I don?t get an Exception that I can catch. How can I debug this? > > Thanks > > Rick L > > -- > View this message in context: > http://www.nabble.com/Crash---Array-allocation-tp24461029p24461029.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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090713/2d752519/attachment.html From mail at hofmeister-christian.de Mon Jul 13 14:54:52 2009 From: mail at hofmeister-christian.de (cornholio) Date: Mon, 13 Jul 2009 11:54:52 -0700 (PDT) Subject: [Mono-list] GTK-Sharp: Cannot implicitly convert type `Cairo.Context' to `Cairo.Context' Message-ID: <24467303.post@talk.nabble.com> hi, i couldn't compile mono (mono-develop) from svn since last week: ./DemoColorSelection.cs(45,30): warning CS0612: `Gtk.Box.PackStart(Gtk.Widget)' is obsolete ./DemoImages.cs(173,42): warning CS0618: `Gtk.Image.FromPixbuf' is obsolete: `Use the Pixbuf property instead' ./DemoPrinting.cs(79,39): error CS0029: Cannot implicitly convert type `Cairo.Context' to `Cairo.Context' ./DemoPrinting.cs(104,43): error CS1502: The best overloaded method match for `Pango.CairoHelper.ShowLayout(Cairo.Context, Pango.Layout)' has some invalid arguments /home/cho/tmp/mono_svn/source/gtk_sharp/pango/pango-sharp.dll (Location of the symbol related to previous error) ./DemoPrinting.cs(104,43): error CS1503: Argument `#1' cannot convert `Cairo.Context' expression to type `Cairo.Context' ./DemoPrinting.cs(104,43): (equally named types possibly from different assemblies in previous error) /usr/local/lib/mono/gac/Mono.Cairo/1.0.5000.0__0738eb9f132ed756/Mono.Cairo.dll (Location of the symbol related to previous error) /usr/local/lib/mono/gac/Mono.Cairo/2.0.0.0__0738eb9f132ed756/Mono.Cairo.dll (Location of the symbol related to previous error) ./DemoPrinting.cs(111,43): error CS1502: The best overloaded method match for `Pango.CairoHelper.ShowLayout(Cairo.Context, Pango.Layout)' has some invalid arguments /home/cho/tmp/mono_svn/source/gtk_sharp/pango/pango-sharp.dll (Location of the symbol related to previous error) ./DemoPrinting.cs(111,43): error CS1503: Argument `#1' cannot convert `Cairo.Context' expression to type `Cairo.Context' ./DemoPrinting.cs(111,43): (equally named types possibly from different assemblies in previous error) /usr/local/lib/mono/gac/Mono.Cairo/1.0.5000.0__0738eb9f132ed756/Mono.Cairo.dll (Location of the symbol related to previous error) /usr/local/lib/mono/gac/Mono.Cairo/2.0.0.0__0738eb9f132ed756/Mono.Cairo.dll (Location of the symbol related to previous error) ./DemoPrinting.cs(125,51): error CS1502: The best overloaded method match for `Pango.CairoHelper.ShowLayout(Cairo.Context, Pango.Layout)' has some invalid arguments /home/cho/tmp/mono_svn/source/gtk_sharp/pango/pango-sharp.dll (Location of the symbol related to previous error) ./DemoPrinting.cs(125,51): error CS1503: Argument `#1' cannot convert `Cairo.Context' expression to type `Cairo.Context' ./DemoPrinting.cs(125,51): (equally named types possibly from different assemblies in previous error) /usr/local/lib/mono/gac/Mono.Cairo/1.0.5000.0__0738eb9f132ed756/Mono.Cairo.dll (Location of the symbol related to previous error) /usr/local/lib/mono/gac/Mono.Cairo/2.0.0.0__0738eb9f132ed756/Mono.Cairo.dll (Location of the symbol related to previous error) Compilation failed: 7 error(s), 2 warnings make[3]: *** [GtkDemo.exe] Error 1 make[3]: Leaving directory `/home/cho/tmp/mono_svn/source/gtk_sharp/sample/GtkDemo' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/cho/tmp/mono_svn/source/gtk_sharp/sample' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/cho/tmp/mono_svn/source/gtk_sharp' make: *** [all] Error 2 [FATAL].....: failed to make GTK-Sharp! can you please help me to get mono compiled again? thx christian -- View this message in context: http://www.nabble.com/GTK-Sharp%3A-Cannot-implicitly-convert-type-%60Cairo.Context%27-to-%60Cairo.Context%27-tp24467303p24467303.html Sent from the Mono - General mailing list archive at Nabble.com. From alan.mcgovern at gmail.com Mon Jul 13 15:24:31 2009 From: alan.mcgovern at gmail.com (Alan McGovern) Date: Mon, 13 Jul 2009 20:24:31 +0100 Subject: [Mono-list] GTK-Sharp: Cannot implicitly convert type `Cairo.Context' to `Cairo.Context' In-Reply-To: <24467303.post@talk.nabble.com> References: <24467303.post@talk.nabble.com> Message-ID: <117799f00907131224he2453c4r41b10ce38b089087@mail.gmail.com> Hey, /usr/local/lib/mono/gac/Mono.Cairo/1.0.5000.0__0738eb9f132ed756/Mono.Cairo.dll (Location of the symbol related to previous error) /usr/local/lib/mono/gac/Mono.Cairo/2.0.0.0__0738eb9f132ed756/Mono.Cairo.dll You appear to be loading both the 1.0 and 2.0 Mono.Cairo assemblies at the same time, this shouldn't happen and is what is causing the issues. My guess is that you have a broken mono install, as I've been happily compiling monodevelop on a daily basis for the last few months. What commands/arguments did you use to compile mono, gtk and/or monodevelop. Where did you get the source to compile whatever it is you're compiling, what versions of those things are you compiling. Did you follow the guidelines here on how to install a parallel mono without breaking your system: http://www.mono-project.com/Parallel_Mono_Environments. Alan. On Mon, Jul 13, 2009 at 7:54 PM, cornholio wrote: > > hi, > > i couldn't compile mono (mono-develop) from svn since last week: > > ./DemoColorSelection.cs(45,30): warning CS0612: > `Gtk.Box.PackStart(Gtk.Widget)' is obsolete > ./DemoImages.cs(173,42): warning CS0618: `Gtk.Image.FromPixbuf' is > obsolete: > `Use the Pixbuf property instead' > ./DemoPrinting.cs(79,39): error CS0029: Cannot implicitly convert type > `Cairo.Context' to `Cairo.Context' > ./DemoPrinting.cs(104,43): error CS1502: The best overloaded method match > for `Pango.CairoHelper.ShowLayout(Cairo.Context, Pango.Layout)' has some > invalid arguments > /home/cho/tmp/mono_svn/source/gtk_sharp/pango/pango-sharp.dll (Location of > the symbol related to previous error) > ./DemoPrinting.cs(104,43): error CS1503: Argument `#1' cannot convert > `Cairo.Context' expression to type `Cairo.Context' > ./DemoPrinting.cs(104,43): (equally named types possibly from different > assemblies in previous error) > > /usr/local/lib/mono/gac/Mono.Cairo/1.0.5000.0__0738eb9f132ed756/Mono.Cairo.dll > (Location of the symbol related to previous error) > /usr/local/lib/mono/gac/Mono.Cairo/2.0.0.0__0738eb9f132ed756/Mono.Cairo.dll > (Location of the symbol related to previous error) > ./DemoPrinting.cs(111,43): error CS1502: The best overloaded method match > for `Pango.CairoHelper.ShowLayout(Cairo.Context, Pango.Layout)' has some > invalid arguments > /home/cho/tmp/mono_svn/source/gtk_sharp/pango/pango-sharp.dll (Location of > the symbol related to previous error) > ./DemoPrinting.cs(111,43): error CS1503: Argument `#1' cannot convert > `Cairo.Context' expression to type `Cairo.Context' > ./DemoPrinting.cs(111,43): (equally named types possibly from different > assemblies in previous error) > > /usr/local/lib/mono/gac/Mono.Cairo/1.0.5000.0__0738eb9f132ed756/Mono.Cairo.dll > (Location of the symbol related to previous error) > /usr/local/lib/mono/gac/Mono.Cairo/2.0.0.0__0738eb9f132ed756/Mono.Cairo.dll > (Location of the symbol related to previous error) > ./DemoPrinting.cs(125,51): error CS1502: The best overloaded method match > for `Pango.CairoHelper.ShowLayout(Cairo.Context, Pango.Layout)' has some > invalid arguments > /home/cho/tmp/mono_svn/source/gtk_sharp/pango/pango-sharp.dll (Location of > the symbol related to previous error) > ./DemoPrinting.cs(125,51): error CS1503: Argument `#1' cannot convert > `Cairo.Context' expression to type `Cairo.Context' > ./DemoPrinting.cs(125,51): (equally named types possibly from different > assemblies in previous error) > > /usr/local/lib/mono/gac/Mono.Cairo/1.0.5000.0__0738eb9f132ed756/Mono.Cairo.dll > (Location of the symbol related to previous error) > /usr/local/lib/mono/gac/Mono.Cairo/2.0.0.0__0738eb9f132ed756/Mono.Cairo.dll > (Location of the symbol related to previous error) > Compilation failed: 7 error(s), 2 warnings > make[3]: *** [GtkDemo.exe] Error 1 > make[3]: Leaving directory > `/home/cho/tmp/mono_svn/source/gtk_sharp/sample/GtkDemo' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/cho/tmp/mono_svn/source/gtk_sharp/sample' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/cho/tmp/mono_svn/source/gtk_sharp' > make: *** [all] Error 2 > [FATAL].....: failed to make GTK-Sharp! > > > can you please help me to get mono compiled again? > > thx > > christian > -- > View this message in context: > http://www.nabble.com/GTK-Sharp%3A-Cannot-implicitly-convert-type-%60Cairo.Context%27-to-%60Cairo.Context%27-tp24467303p24467303.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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090713/aabc93a9/attachment-0001.html From mail at hofmeister-christian.de Mon Jul 13 15:46:06 2009 From: mail at hofmeister-christian.de (cornholio) Date: Mon, 13 Jul 2009 12:46:06 -0700 (PDT) Subject: [Mono-list] GTK-Sharp: Cannot implicitly convert type `Cairo.Context' to `Cairo.Context' In-Reply-To: <117799f00907131224he2453c4r41b10ce38b089087@mail.gmail.com> References: <24467303.post@talk.nabble.com> <117799f00907131224he2453c4r41b10ce38b089087@mail.gmail.com> Message-ID: <24468067.post@talk.nabble.com> Hi Alan, thank you for your response. no, i didn't follow the guideline, but i removed my old mono installation a few weeks ago (via ubuntu apt-get remove), so i thought i have a clean svn installation of mono-svn. it works fine for many days and i did rebuilt the sources every day (on 2 systems both are broken now, it's a fault of my build-script for sure) i am downloading the sources from: anonsvn.mono-project.com and i wrote a script for checking out /update svn repository and running autogen.sh or configure.sh scripts (prefix=/usr/local/). can you help me how to get rid of the old installation? thank you Alan McGovern-2 wrote: > > Hey, > > /usr/local/lib/mono/gac/Mono.Cairo/1.0.5000.0__0738eb9f132ed756/Mono.Cairo.dll > (Location of the symbol related to previous error) > /usr/local/lib/mono/gac/Mono.Cairo/2.0.0.0__0738eb9f132ed756/Mono.Cairo.dll > > You appear to be loading both the 1.0 and 2.0 Mono.Cairo assemblies at the > same time, this shouldn't happen and is what is causing the issues. My > guess > is that you have a broken mono install, as I've been happily compiling > monodevelop on a daily basis for the last few months. > > What commands/arguments did you use to compile mono, gtk and/or > monodevelop. > Where did you get the source to compile whatever it is you're compiling, > what versions of those things are you compiling. Did you follow the > guidelines here on how to install a parallel mono without breaking your > system: http://www.mono-project.com/Parallel_Mono_Environments. > > Alan. > > -- View this message in context: http://www.nabble.com/GTK-Sharp%3A-Cannot-implicitly-convert-type-%60Cairo.Context%27-to-%60Cairo.Context%27-tp24467303p24468067.html Sent from the Mono - General mailing list archive at Nabble.com. From christina.peter at tcs.com Mon Jul 13 18:30:12 2009 From: christina.peter at tcs.com (Christina Peter) Date: Tue, 14 Jul 2009 04:00:12 +0530 Subject: [Mono-list] Christina Peter is out of the office. Message-ID: I will be out of the office starting 07/13/2009 and will not return until 11/13/2009. Hi, I am on a long leave till 13th November 2009. For BSNL(W) related queries, please contact Sunil Wangnoo (sunil.wangnoo at tcs.com). Thanks, Christina Peter (Mobile: 9322259721) =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you From abe.gillespie at gmail.com Mon Jul 13 22:06:08 2009 From: abe.gillespie at gmail.com (Abe Gillespie) Date: Mon, 13 Jul 2009 22:06:08 -0400 Subject: [Mono-list] Pre-compiled Assemblies Message-ID: I thought there existed a package of pre-compiled assemblies available for download. My problem is while compiling Mono my machine runs out of memory (162mb) during compilation of the core assemblies. Specifically it dies while processing (generating?) mono-2.4.2.1/mcs/docs/netdocs.tree. Now if I use the --disable-mcs-build option then I can successfully build but I don't have any assemblies to install on my system. Would someone point me to the package (if I'm not making that up) or offer some assistance? Thanks. -Abe From mtrekker at hot.ee Tue Jul 14 01:23:51 2009 From: mtrekker at hot.ee (Mikro Trekker) Date: Tue, 14 Jul 2009 08:23:51 +0300 Subject: [Mono-list] DllNotFoundException Message-ID: <20090714052353.5A75610054F@mh3-5.hot.ee> Setting these in Mono cmd prompt (Vista x64) doesn't have any effect on debugging. I see nothing when running EXE in Mono... Why ? SET MONO_LOG_LEVEL=debug SET MONO_LOG_MASK=dll mono TEST.exe From robertj at gmx.net Tue Jul 14 04:45:34 2009 From: robertj at gmx.net (Robert Jordan) Date: Tue, 14 Jul 2009 10:45:34 +0200 Subject: [Mono-list] DllNotFoundException In-Reply-To: <20090714052353.5A75610054F@mh3-5.hot.ee> References: <20090714052353.5A75610054F@mh3-5.hot.ee> Message-ID: Mikro Trekker wrote: > Setting these in Mono cmd prompt (Vista x64) doesn't have any effect on > debugging. I see nothing when running EXE in Mono... Why ? > > > SET MONO_LOG_LEVEL=debug > SET MONO_LOG_MASK=dll > > mono TEST.exe mono --debug test.exe Why? Because your test.exe was compiled with /target:winexe. Such an exe detaches itself from the console. Robert From alan.mcgovern at gmail.com Tue Jul 14 06:20:07 2009 From: alan.mcgovern at gmail.com (Alan McGovern) Date: Tue, 14 Jul 2009 11:20:07 +0100 Subject: [Mono-list] GTK-Sharp: Cannot implicitly convert type `Cairo.Context' to `Cairo.Context' In-Reply-To: <24468067.post@talk.nabble.com> References: <24467303.post@talk.nabble.com> <117799f00907131224he2453c4r41b10ce38b089087@mail.gmail.com> <24468067.post@talk.nabble.com> Message-ID: <117799f00907140320h7ee0aef7pc0c51ad33352b5da@mail.gmail.com> If it was all working before, I'm unsure why it would just stop working after updating from SVN. The best I can offer is that you should check to see if you changed anything on your system or installed new packages which might result in this conflict. Finally, you should follow the guide on setting up a completely clean prefix so you don't get conflicts like this. It might help. Alan. On Mon, Jul 13, 2009 at 8:46 PM, cornholio wrote: > > Hi Alan, > > thank you for your response. > > no, i didn't follow the guideline, but i removed my old mono installation a > few weeks ago (via ubuntu apt-get remove), so i thought i have a clean svn > installation of mono-svn. it works fine for many days and i did rebuilt the > sources every day (on 2 systems both are broken now, it's a fault of my > build-script for sure) > > i am downloading the sources from: anonsvn.mono-project.com and i wrote a > script for checking out /update svn repository and running autogen.sh or > configure.sh scripts (prefix=/usr/local/). > > can you help me how to get rid of the old installation? > > thank you > > > Alan McGovern-2 wrote: > > > > Hey, > > > > > /usr/local/lib/mono/gac/Mono.Cairo/1.0.5000.0__0738eb9f132ed756/Mono.Cairo.dll > > (Location of the symbol related to previous error) > > > /usr/local/lib/mono/gac/Mono.Cairo/2.0.0.0__0738eb9f132ed756/Mono.Cairo.dll > > > > You appear to be loading both the 1.0 and 2.0 Mono.Cairo assemblies at > the > > same time, this shouldn't happen and is what is causing the issues. My > > guess > > is that you have a broken mono install, as I've been happily compiling > > monodevelop on a daily basis for the last few months. > > > > What commands/arguments did you use to compile mono, gtk and/or > > monodevelop. > > Where did you get the source to compile whatever it is you're compiling, > > what versions of those things are you compiling. Did you follow the > > guidelines here on how to install a parallel mono without breaking your > > system: http://www.mono-project.com/Parallel_Mono_Environments. > > > > Alan. > > > > > > -- > View this message in context: > http://www.nabble.com/GTK-Sharp%3A-Cannot-implicitly-convert-type-%60Cairo.Context%27-to-%60Cairo.Context%27-tp24467303p24468067.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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090714/d2f0ef37/attachment.html From mtrekker at hot.ee Tue Jul 14 08:55:01 2009 From: mtrekker at hot.ee (Mikro Trekker) Date: Tue, 14 Jul 2009 15:55:01 +0300 Subject: [Mono-list] DllNotFoundException Message-ID: <20090714125503.8917410F12C@mh3-5.hot.ee> Now I am getting "Unknown trace level" error: H:\Work\SET MONO_LOG_LEVEL=debug H:\Work\SET MONO_LOG_MASK=dll H:\Work\mono --debug TEST.exe Unknown trace flag: dll Unknown trace loglevel: debug From robertj at gmx.net Tue Jul 14 09:10:17 2009 From: robertj at gmx.net (Robert Jordan) Date: Tue, 14 Jul 2009 15:10:17 +0200 Subject: [Mono-list] DllNotFoundException In-Reply-To: <20090714125503.8917410F12C@mh3-5.hot.ee> References: <20090714125503.8917410F12C@mh3-5.hot.ee> Message-ID: Mikro Trekker wrote: > Now I am getting "Unknown trace level" error: > > H:\Work\SET MONO_LOG_LEVEL=debug > H:\Work\SET MONO_LOG_MASK=dll > > H:\Work\mono --debug TEST.exe > Unknown trace flag: dll > Unknown trace loglevel: debug It works for me. You've probably permuted the env vars. Robert From blackskyliner at live.de Tue Jul 14 11:56:13 2009 From: blackskyliner at live.de (Blackskyliner) Date: Tue, 14 Jul 2009 08:56:13 -0700 (PDT) Subject: [Mono-list] Problem with XML-Serialization In-Reply-To: <4A5AE904.1040300@veritas-vos-liberabit.com> References: <24452869.post@talk.nabble.com> <4A5AE904.1040300@veritas-vos-liberabit.com> Message-ID: <24482404.post@talk.nabble.com> I serialize this class via the XML Serializer: class XMLStringSerializer { public static string Serialize(T entity) { return Serialize(entity, true); } public static string Serialize(T entity, bool noNewLine) { StringBuilder outputXml = new StringBuilder(); if (typeof(T).IsSerializable) { XmlSerializer ser = new XmlSerializer(typeof(T)); using (TextWriter stream = new StringWriter(outputXml)) { ser.Serialize(stream, entity); } if (noNewLine) return outputXml.ToString().Replace(Environment.NewLine, ""); else return outputXml.ToString(); } return null; } public static T Deserialize(string xml) { T entity; if (typeof(T).IsSerializable) { XmlSerializer ser = new XmlSerializer(typeof(T)); using (TextReader stream = new StringReader(xml)) { entity = (T)ser.Deserialize(stream); } return entity; } return default(T); } } Atsushi Eno-3 wrote: > > Hi, > > Your subject implies it is about xml serialization, but it is > marked as [Serializable]. Which "serialization" do you mean? > XML serialization, or remoting SOAP serialization? > > Atsushi Eno > > > Blackskyliner wrote: >> Hi I just jumped in into mono I hope I'm in the right forum/mailinglist, >> because i wrote an little server application that I wanted to run on my >> linux machine. Its originally written in .NET 2.0 >> >> To exchange Messages between Server and Client I use an XML-serialized >> class.... >> In .NET I dont get any problems but with mono I get the following >> exception: >> >> There was an error generating the XML document. > The type of the >> argument >> object 'ChatClient.serverMessages' is not primitive. >> >> I implemented the serverMessage in the following way: >> >> using System; >> using System.Text; >> >> namespace ChatClient >> { >> [Serializable] >> public class Message >> { >> public Message_StatusCodes statusCode; >> public messageType messageType; >> public object message; >> public DateTime time; >> public string user; >> >> public Message() >> { >> init(); >> } >> >> public Message(string Username) >> { >> init(); >> this.user = Username; >> } >> >> private void init(){ >> this.statusCode = Message_StatusCodes.NULL; >> this.message = null; >> this.time = DateTime.Now; >> this.user = null; >> this.messageType = messageType.NULL; >> } >> >> public void Clear() >> { >> this.statusCode = Message_StatusCodes.NULL; >> this.messageType = messageType.NULL; >> this.message = null; >> this.time = DateTime.Now; >> this.user = null; >> } >> >> public void Clear(string Username) >> { >> this.Clear(); >> this.user = Username; >> } >> >> public Message(Message_StatusCodes c) >> { >> init(); >> this.statusCode = c; >> } >> } >> >> public enum Message_StatusCodes >> { >> NULL, >> >> Login, >> >> UserKicked, >> UserJoined, >> UserConnected, >> UserDisconnected, >> >> UserListChanged >> } >> >> public enum messageType{ >> NULL, >> UserMessage, >> ServerMessage, >> ClientMessage >> } >> >> public enum serverMessages >> { >> LOGIN_ERROR_UserAlreadyExist, >> LOGIN_ERROR_UsernameReserved, >> LOGIN_OK >> } >> >> public enum clientMessages >> { >> Disconnect >> } >> } >> >> >> Why does this not deserialize in Mono but in C#?? Is there any workaround >> or >> smth. else? >> >> I'm thankful about every answer... >> Blackskyliner > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > -- View this message in context: http://www.nabble.com/Problem-with-XML-Serialization-tp24452869p24482404.html Sent from the Mono - General mailing list archive at Nabble.com. From bharti2.m at tcs.com Tue Jul 14 07:51:38 2009 From: bharti2.m at tcs.com (Bharti Mishra) Date: Tue, 14 Jul 2009 04:51:38 -0700 (PDT) Subject: [Mono-list] how to execute exe file which creates logs in event viewer. Message-ID: <24477967.post@talk.nabble.com> hi, I am using mono2.4.2 on Open Suse11.1 platform. I have existing vb.net code, in which I execute one .exe file before project execution, that exe file creats log in EventViewer (windows). now I have to run that .exe in linux platform, so can you tell me ,I can run that kind of exe in mono. -- View this message in context: http://www.nabble.com/how-to-execute-exe-file-which-creates-logs-in-event-viewer.-tp24477967p24477967.html Sent from the Mono - General mailing list archive at Nabble.com. From mattclar at gmail.com Wed Jul 8 23:15:53 2009 From: mattclar at gmail.com (clarkey) Date: Wed, 8 Jul 2009 20:15:53 -0700 (PDT) Subject: [Mono-list] Problem compiling C# project Message-ID: <24403016.post@talk.nabble.com> Trying to compile this prograp called Open dental which has a depenency called CDT.dll which it cant seem to load, any suggestions? Building: OpenDentBusiness (LinuxRelease) Performing main compilation... /usr/local/bin/gmcs "/out:/home/matt/development/Opendental/OpenDentBusiness/bin/LinuxRelease/OpenDentBusiness.dll" "/r:/home/matt/development/Opendental/Required dlls/CDT.dll" "/r:/home/matt/development/Opendental/Required dlls/Interop.Word.dll" "/r:/home/matt/development/Opendental/Required dlls/MySql.Data.dll" "/r:System.dll" "/r:System.Data.dll" "/r:System.Drawing.dll" "/r:System.EnterpriseServices.dll" "/r:System.Web.Services.dll" "/r:System.Windows.Forms.dll" "/r:System.Xml.dll" "/r:/home/matt/development/Opendental/CodeBase/bin/LinuxRelease/CodeBase.dll" /noconfig /nologo /warn:3 /debug:+ /debug:full /optimize+ /codepage:utf8 -unsafe /define:"TRACE;LINUX" /t:library "/home/matt/development/Opendental/OpenDentBusiness/Misc/AnestheticQueries.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/aaCache.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/AccountC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/AccountingAutoPayC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/AnesthMedsInventoryC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/AppointmentRuleC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/ApptViewItemC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/ApptViewC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/AutoCodeCondC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/AutoCodeC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/AutoCodeItemC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/Cache.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/ClaimFormItemC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/AnesthMedSupplierC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/AnestheticDataC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/AnestheticMedsGivenC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/AnesthMedsC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/AnesthMedInvAdjC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/AnesthVSDataC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/Anes_HL7DataC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/ProcedureCodeC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/ProgramPropertyC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/ProgramC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/PharmacyC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/FeeSchedC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/RecallTriggerC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/RecallTypeC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/SheetFieldDefC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/SheetDefC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/SiteC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/DisplayFieldC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/ProviderC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/OperatoryC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/CovSpanC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/GroupPermissionC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/UserodC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/CovCatC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/DefC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/EnumRemotingRole.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/MountDefC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Cache/PrefC.cs" "/home/matt/development/Opendental/OpenDentBusiness/Misc/ConvertDatabases2.cs" "/home/matt/development/Opendental/OpenDentBusiness/Misc/ConvertDatabases1.cs" "/home/matt/development/Opendental/OpenDentBusiness/ClientSL.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/aaDataInterface.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/AccountingAutoPays.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Accounts.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Adjustments.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/AnesthMeds.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/AnestheticRecords.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/AnesthMedsGivens.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/AnesthVSDatas.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/AppointmentRules.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/ApptViewItems.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/ApptViews.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/AutoCodeConds.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/AutoCodeItems.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/AutoCodes.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/AutoNoteControls.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/AutoNotes.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Benefits.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/CanadianClaims.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/CanadianExtracts.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/CanadianNetworks.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Carriers.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/ClaimAttaches.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/ClaimCondCodeLogs.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/ClaimFormItems.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/AnesthMedSuppliers.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/AnesthMedInvAdjs.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Anes_HL7Datas.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/ClaimForms.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/ClaimPayments.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/ClaimProcs.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Claims.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/ClaimValCodeLog.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Clearinghouses.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Clinics.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/ClockEvents.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Commlogs.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/ComputerPrefs.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Computers.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Contacts.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Counties.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Deposits.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/DiseaseDefs.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Diseases.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Dunnings.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/ElectIDs.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/EmailAttaches.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/EmailMessages.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/EmailTemplates.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Employees.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Employers.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Etranss.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Fees.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/FormPats.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/HL7Msgs.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/FeeScheds.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/InsPlans.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/JournalEntries.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/LabCases.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Laboratories.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/LabTurnarounds.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/LanguageForeigns.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/LetterMergeFields.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/LetterMerges.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Letters.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/MedicationPats.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Medications.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/PatFieldDefs.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/PatFields.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/PatPlans.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Payments.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/PayPeriods.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/PayPlanCharges.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/PayPlans.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/PaySplits.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/PerioExams.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/PerioMeasures.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/PhoneNumbers.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/PhoneOverrides.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/PlannedAppts.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Popups.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Printers.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/ProcButtonItems.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/ProcButtons.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/ProcCodeNotes.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/ProcedureCodes.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Procedures.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/ProcTPs.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/ProgramProperties.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Programs.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/ProviderIdents.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/QuestionDefs.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Questions.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/QuickPasteCats.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/QuickPasteNotes.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Recalls.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/RecallTriggers.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/RecallTypes.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/DeletedObjects.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Reconciles.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/RefAttaches.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Referrals.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/RegistrationKeys.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/RepeatCharges.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/ReqNeededs.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/ReqStudents.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/RxAlerts.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/RxDefs.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/RxPats.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/ScheduleOps.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Schedules.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/SchoolClasses.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/SchoolCourses.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Schools.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/ScreenGroups.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Screens.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Security.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/SecurityLogs.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/SheetFieldDefs.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/SheetDefs.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/SheetFields.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Sheets.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Pharmacies.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/CovCats.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/CovSpans.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Defs.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/DisplayFields.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/FamilyModules.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/GroupPermissions.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Operatories.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Prefs.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/SigButDefElements.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/SigButDefs.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/SigElementDefs.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/SigElements.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Signals.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Sites.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Statements.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Documents.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Family.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Db.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Ledgers.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/MountDefs.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/MountItemDefs.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/MountItems.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Mounts.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/PatientNotes.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Patients.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Providers.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Suppliers.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Supplies.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/SupplyNeededs.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/SupplyOrderItems.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/SupplyOrders.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/TaskAncestors.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/TaskLists.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Tasks.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/TaskSubscriptions.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/TerminalActives.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/TimeAdjusts.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/ToolButItems.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/ToothInitials.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Transactions.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/TreatPlans.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/UserGroups.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/UserQueries.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/ZipCodes.cs" "/home/matt/development/Opendental/OpenDentBusiness/DataConnection.cs" "/home/matt/development/Opendental/OpenDentBusiness/DtoObject.cs" "/home/matt/development/Opendental/OpenDentBusiness/HL7/ADT.cs" "/home/matt/development/Opendental/OpenDentBusiness/HL7/ComponentHL7.cs" "/home/matt/development/Opendental/OpenDentBusiness/HL7/DFT.cs" "/home/matt/development/Opendental/OpenDentBusiness/HL7/FieldHL7.cs" "/home/matt/development/Opendental/OpenDentBusiness/HL7/MessageHL7.cs" "/home/matt/development/Opendental/OpenDentBusiness/HL7/SegmentHL7.cs" "/home/matt/development/Opendental/OpenDentBusiness/HL7/SegmentPID.cs" "/home/matt/development/Opendental/OpenDentBusiness/HL7/SIU.cs" "/home/matt/development/Opendental/OpenDentBusiness/Imaging/ApplySettings.cs" "/home/matt/development/Opendental/OpenDentBusiness/Imaging/FileStore.cs" "/home/matt/development/Opendental/OpenDentBusiness/Imaging/FileStoreSettings.cs" "/home/matt/development/Opendental/OpenDentBusiness/Imaging/IImageStore.cs" "/home/matt/development/Opendental/OpenDentBusiness/Imaging/ImageHelper.cs" "/home/matt/development/Opendental/OpenDentBusiness/Imaging/ImageNotFoundException.cs" "/home/matt/development/Opendental/OpenDentBusiness/Imaging/ImageStore.cs" "/home/matt/development/Opendental/OpenDentBusiness/Imaging/ImageStoreBase.cs" "/home/matt/development/Opendental/OpenDentBusiness/Imaging/ImageStoreCreationException.cs" "/home/matt/development/Opendental/OpenDentBusiness/Imaging/ImageStoreRemovalException.cs" "/home/matt/development/Opendental/OpenDentBusiness/Imaging/NoActivePatientException.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/MiscData.cs" "/home/matt/development/Opendental/OpenDentBusiness/DataAccess/DataCommand.cs" "/home/matt/development/Opendental/OpenDentBusiness/DataAccess/DataFieldAttribute.cs" "/home/matt/development/Opendental/OpenDentBusiness/DataAccess/DataFieldInfo.cs" "/home/matt/development/Opendental/OpenDentBusiness/DataAccess/DataFieldMask.cs" "/home/matt/development/Opendental/OpenDentBusiness/DataAccess/DataObjectAttribute.cs" "/home/matt/development/Opendental/OpenDentBusiness/DataAccess/DataObjectBase.cs" "/home/matt/development/Opendental/OpenDentBusiness/DataAccess/DataObjectFactory.cs" "/home/matt/development/Opendental/OpenDentBusiness/DataAccess/DataObjectInfo.cs" "/home/matt/development/Opendental/OpenDentBusiness/DataAccess/DataSettings.cs" "/home/matt/development/Opendental/OpenDentBusiness/DataAccess/DataTests.cs" "/home/matt/development/Opendental/OpenDentBusiness/DataAccess/DtoObjectInsertedAck.cs" "/home/matt/development/Opendental/OpenDentBusiness/DataAccess/FactoryClient.cs" "/home/matt/development/Opendental/OpenDentBusiness/DataAccess/FactoryServer.cs" "/home/matt/development/Opendental/OpenDentBusiness/DataAccess/FactoryTransferObject.cs" "/home/matt/development/Opendental/OpenDentBusiness/DataAccess/IDataObject.cs" "/home/matt/development/Opendental/OpenDentBusiness/DataAccess/InvalidDataObjectException.cs" "/home/matt/development/Opendental/OpenDentBusiness/DataAccess/TimeSpanSerializer.cs" "/home/matt/development/Opendental/OpenDentBusiness/DataTransferObject.cs" "/home/matt/development/Opendental/OpenDentBusiness/Enumerations.cs" "/home/matt/development/Opendental/OpenDentBusiness/Imaging/SqlStore.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Lans.cs" "/home/matt/development/Opendental/OpenDentBusiness/Logic/aaLogic.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/AccountModules.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Appointments.cs" "/home/matt/development/Opendental/OpenDentBusiness/Logic/BenefitLogic.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/ChartModules.cs" "/home/matt/development/Opendental/OpenDentBusiness/DataCore.cs" "/home/matt/development/Opendental/OpenDentBusiness/Logic/PatientLogic.cs" "/home/matt/development/Opendental/OpenDentBusiness/Logic/ProcedureLogic.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/ProcNotes.cs" "/home/matt/development/Opendental/OpenDentBusiness/Logic/TelephoneNumbers.cs" "/home/matt/development/Opendental/OpenDentBusiness/Logic/Tooth.cs" "/home/matt/development/Opendental/OpenDentBusiness/Logic/ToothComparer.cs" "/home/matt/development/Opendental/OpenDentBusiness/Data Interface/Userods.cs" "/home/matt/development/Opendental/OpenDentBusiness/Meth.cs" "/home/matt/development/Opendental/OpenDentBusiness/Misc/DatabaseMaintenance.cs" "/home/matt/development/Opendental/OpenDentBusiness/Misc/HouseCallsQueries.cs" "/home/matt/development/Opendental/OpenDentBusiness/Misc/LetterMergesQueries.cs" "/home/matt/development/Opendental/OpenDentBusiness/Misc/ReplicationQueries.cs" "/home/matt/development/Opendental/OpenDentBusiness/Misc/TrojanQueries.cs" "/home/matt/development/Opendental/OpenDentBusiness/X12/X277U.cs" "/home/matt/development/Opendental/OpenDentBusiness/X12/X837.cs" "/home/matt/development/Opendental/OpenDentBusiness/X12/X997.cs" "/home/matt/development/Opendental/OpenDentBusiness/ODDataSet/ODDataRow.cs" "/home/matt/development/Opendental/OpenDentBusiness/ODDataSet/ODDataSet.cs" "/home/matt/development/Opendental/OpenDentBusiness/ODDataSet/ODDataTable.cs" "/home/matt/development/Opendental/OpenDentBusiness/PIn.cs" "/home/matt/development/Opendental/OpenDentBusiness/POut.cs" "/home/matt/development/Opendental/OpenDentBusiness/Properties/AssemblyInfo.cs" "/home/matt/development/Opendental/OpenDentBusiness/Properties/Resources.Designer.cs" "/home/matt/development/Opendental/OpenDentBusiness/Properties/Settings.Designer.cs" "/home/matt/development/Opendental/OpenDentBusiness/RemotingClient.cs" "/home/matt/development/Opendental/OpenDentBusiness/Reports/Reports.cs" "/home/matt/development/Opendental/OpenDentBusiness/Reports/RpAdjSheet.cs" "/home/matt/development/Opendental/OpenDentBusiness/Settings.cs" "/home/matt/development/Opendental/OpenDentBusiness/SheetFramework/SheetEnums.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/AnestheticData.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/AnesthMedsInventory.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/AnesthMedSupplier.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/AnestheticMedsGiven.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/AnesthMedsInventoryAdj.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/AnesthScore.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/AnestheticVSData.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Anes_hl7data.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/FeeSched.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/HL7Msg.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/PhoneNumber.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/PhoneOverride.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/ScheduleOp.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/PlannedAppt.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/RecallTrigger.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/RecallType.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/DeletedObject.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/SheetDef.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/SheetFieldDef.cs" "/home/matt/development/Opendental/OpenDentBusiness/SheetFramework/SheetFieldsAvailable.cs" "/home/matt/development/Opendental/OpenDentBusiness/SheetFramework/SheetParameter.cs" "/home/matt/development/Opendental/OpenDentBusiness/SheetFramework/SheetsInternal.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Account.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/AccountingAutoPay.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Adjustment.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Appointment.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/AppointmentRule.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/ApptView.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/ApptViewItem.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/AutoCode.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/AutoCodeCond.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/AutoCodeItem.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/AutoNote.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/AutoNoteControl.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Benefit.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Carrier.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Claim.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/ClaimCondCodeLog.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/ClaimForm.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/ClaimFormItem.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/ClaimPayment.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/ClaimProc.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/ClaimValCode.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/AnestheticRecord.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/AnestheticMedsIntake.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Clearinghouse.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Clinic.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/ClockEvent.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Commlog.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Computer.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/ComputerPref.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Contact.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/CanadianClaim.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/CanadianExtract.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/CanadianNetwork.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/ClaimAttach.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/SheetField.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Files.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Pharmacy.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Sheet.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Site.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Statement.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/TaskAncestor.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/TaskSubscription.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/SupplyOrderItem.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/SupplyOrder.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Supply.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Supplier.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/SupplyNeeded.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Popup.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/DisplayField.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/ProcCodeNote.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/ReqStudent.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/ReqNeeded.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/LabTurnaround.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/LabCase.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Laboratory.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Mount.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/MountItem.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/MountItemDef.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/MountDef.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Etrans.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/FormPat.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/County.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/CovCat.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/CovSpan.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Def.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Deposit.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Disease.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/DiseaseDef.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Document.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Dunning.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/ElectID.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/EmailAttach.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/EmailMessage.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/EmailTemplate.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Employee.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Employer.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Fee.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/GroupPermission.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/InsPlan.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Instructor.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Interval.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/JournalEntry.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Language.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/LanguageForeign.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Letter.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/LetterMerge.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/LetterMergeField.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Medication.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/MedicationPat.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Operatory.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/PatField.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/PatFieldDef.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Patient.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/PatientNote.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/PatPlan.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Payment.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/PayPeriod.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/PayPlan.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/PayPlanCharge.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/PaySplit.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/PerioExam.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/PerioMeasure.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Pref.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Printer.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/ProcButton.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/ProcButtonItem.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Procedure.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/ProcedureCode.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/ProcNote.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/ProcTP.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Program.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/ProgramProperty.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Provider.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/ProviderIdent.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Question.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/QuestionDef.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/QuickPasteCat.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/QuickPasteNote.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Recall.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Reconcile.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/RefAttach.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Referral.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/RegistrationKey.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/RepeatCharge.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/RxAlert.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/RxDef.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/RxPat.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/SchedDefault.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Schedule.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/SchoolClass.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/SchoolCourse.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/School.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/ScreenGroup.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Screen.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/SecurityLog.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/SigButDef.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/SigButDefElement.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/SigElement.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/SigElementDef.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Signal.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Task.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/TaskList.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/TerminalActive.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/TimeAdjust.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/ToolButItem.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/ToothInitial.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Transaction.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/TreatPlan.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/Userod.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/UserGroup.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/UserQuery.cs" "/home/matt/development/Opendental/OpenDentBusiness/TableTypes/ZipCode.cs" "/home/matt/development/Opendental/OpenDentBusiness/Web References/OpenDentalServer/Reference.cs" "/home/matt/development/Opendental/OpenDentBusiness/X12/X12object.cs" "/home/matt/development/Opendental/OpenDentBusiness/XmlConverter.cs" "/res:/home/matt/development/Opendental/OpenDentBusiness/Properties/Resources.resources,OpenDentBusiness.Properties.Resources.resources" Internal compiler error at /home/matt/development/Opendental/OpenDentBusiness/Data Interface/ProcedureCodes.cs(456,36):: exception caught while emitting MethodBuilder [ProcedureCodes::ResetADAdescriptions] /home/matt/development/Opendental/OpenDentBusiness/Misc/ConvertDatabases1.cs(5399,41): warning CS1717: Assignment made to same variable; did you mean to assign something else? /home/matt/development/Opendental/OpenDentBusiness/Misc/ConvertDatabases1.cs(5538,41): warning CS1717: Assignment made to same variable; did you mean to assign something else? /home/matt/development/Opendental/OpenDentBusiness/Data Interface/AnesthMeds.cs(159,29): warning CS0219: The variable `recordnum' is assigned but its value is never used /home/matt/development/Opendental/OpenDentBusiness/Data Interface/AnesthMeds.cs(344,32): warning CS0219: The variable `doseGiven' is assigned but its value is never used /home/matt/development/Opendental/OpenDentBusiness/Data Interface/AnesthMeds.cs(361,32): warning CS0219: The variable `doseWasted' is assigned but its value is never used /home/matt/development/Opendental/OpenDentBusiness/Data Interface/AnesthMeds.cs(374,32): warning CS0219: The variable `AMedname' is assigned but its value is never used /home/matt/development/Opendental/OpenDentBusiness/Data Interface/AnesthMedsGivens.cs(48,29): warning CS0219: The variable `count' is assigned but its value is never used /home/matt/development/Opendental/OpenDentBusiness/Data Interface/AnesthMedsGivens.cs(109,29): warning CS0219: The variable `ARNum' is assigned but its value is never used /home/matt/development/Opendental/OpenDentBusiness/Data Interface/AnesthVSDatas.cs(29,29): warning CS0219: The variable `ARNum' is assigned but its value is never used /home/matt/development/Opendental/OpenDentBusiness/Data Interface/AnesthVSDatas.cs(113,32): warning CS0219: The variable `VSTimeStamp' is assigned but its value is never used /home/matt/development/Opendental/OpenDentBusiness/Data Interface/InsPlans.cs(998,41): warning CS0219: The variable `pat' is assigned but its value is never used /home/matt/development/Opendental/OpenDentBusiness/Data Interface/PatPlans.cs(244,33): warning CS0219: The variable `pat' is assigned but its value is never used ** (/usr/local/lib/mono/2.0/gmcs.exe:23880): WARNING **: The following assembly referenced from /home/matt/development/Opendental/Required dlls/CDT.dll could not be loaded: Assembly: OpenDentBusiness (assemblyref_index=2) Version: 5.0.0.0 Public Key: (none) The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/home/matt/development/Opendental/Required dlls/). ** (/usr/local/lib/mono/2.0/gmcs.exe:23880): WARNING **: Could not load file or assembly 'OpenDentBusiness, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'OpenDentBusiness, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. File name: 'OpenDentBusiness, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null' at (wrapper managed-to-native) System.Reflection.MonoMethodInfo:get_method_info (intptr,System.Reflection.MonoMethodInfo&) at System.Reflection.MonoMethod.get_Attributes () [0x00000] at System.Reflection.MethodBase.get_IsVirtual () [0x00000] at Mono.CSharp.MemberCache.AddMethods (BindingFlags bf, System.Type type) [0x00000] at Mono.CSharp.MemberCache.AddMethods (System.Type type) [0x00000] at Mono.CSharp.MemberCache..ctor (IMemberContainer container) [0x00000] at Mono.CSharp.TypeHandle..ctor (System.Type type) [0x00000] at Mono.CSharp.TypeHandle.GetTypeHandle (System.Type t) [0x00000] at Mono.CSharp.TypeHandle.GetMemberCache (System.Type t) [0x00000] at Mono.CSharp.TypeManager.MemberLookup_FindMembers (System.Type t, MemberTypes mt, BindingFlags bf, System.String name, System.Boolean& used_cache) [0x00000] at Mono.CSharp.TypeManager.RealMemberLookup (System.Type invocation_type, System.Type qualifier_type, System.Type queried_type, MemberTypes mt, BindingFlags original_bf, System.String name, IList almost_match) [0x00000] at Mono.CSharp.TypeManager.MemberLookup (System.Type invocation_type, System.Type qualifier_type, System.Type queried_type, MemberTypes mt, BindingFlags original_bf, System.String name, IList almost_match) [0x00000] at Mono.CSharp.Expression.MemberLookup (System.Type container_type, System.Type qualifier_type, System.Type queried_type, System.String name, MemberTypes mt, BindingFlags bf, Location loc) [0x00000] at Mono.CSharp.Expression.MemberLookup (System.Type container_type, System.Type qualifier_type, System.Type queried_type, System.String name, Location loc) [0x00000] at Mono.CSharp.MemberAccess.DoResolve (Mono.CSharp.EmitContext ec, Mono.CSharp.Expression right_side) [0x00000] at Mono.CSharp.MemberAccess.DoResolve (Mono.CSharp.EmitContext ec) [0x00000] at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec, ResolveFlags flags) [0x00000] at Mono.CSharp.Invocation.DoResolve (Mono.CSharp.EmitContext ec) [0x00000] at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec, ResolveFlags flags) [0x00000] at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec) [0x00000] at Mono.CSharp.Argument.Resolve (Mono.CSharp.EmitContext ec) [0x00000] at Mono.CSharp.Arguments.Resolve (Mono.CSharp.EmitContext ec) [0x00000] at Mono.CSharp.Invocation.DoResolve (Mono.CSharp.EmitContext ec) [0x00000] at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec, ResolveFlags flags) [0x00000] at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec) [0x00000] at Mono.CSharp.ExpressionStatement.ResolveStatement (Mono.CSharp.EmitContext ec) [0x00000] at Mono.CSharp.StatementExpression.Resolve (Mono.CSharp.EmitContext ec) [0x00000] at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec) [0x00000] at Mono.CSharp.EmitContext.ResolveTopBlock (Mono.CSharp.EmitContext anonymous_method_host, Mono.CSharp.ToplevelBlock block, Mono.CSharp.ParametersCompiled ip, IMethodData md, System.Boolean& unreachable) [0x00000] at Mono.CSharp.EmitContext.EmitTopBlock (IMethodData md, Mono.CSharp.ToplevelBlock block) [0x00000] at Mono.CSharp.MethodData.Emit (Mono.CSharp.DeclSpace parent) [0x00000] at Mono.CSharp.MethodOrOperator.Emit () [0x00000] at Mono.CSharp.Method.Emit () [0x00000] Build complete -- 1 error, 0 warnings ---------------------- Done ---------------------- Build: 1 error, 0 warnings -- View this message in context: http://www.nabble.com/Problem-compiling-C--project-tp24403016p24403016.html Sent from the Mono - General mailing list archive at Nabble.com. From junk at sonhult.se Tue Jul 14 08:45:07 2009 From: junk at sonhult.se (jos_) Date: Tue, 14 Jul 2009 05:45:07 -0700 (PDT) Subject: [Mono-list] Service or daemon with Mono? Message-ID: <24478743.post@talk.nabble.com> Hello, What is the recommended way to write a service-like software in Mono? My first guess would be to use the normal class ServiceBase existing in Mono (and .NET of course). But there seems to be little information on how this works with Mono, and from what I've read it is not considered stable (?). 1. Is it better to just create a normal app, turn on automatic login and run it at login? 2. Is it possible to create a daemon using Mono? 3. Is there any documentation on how to "install" the "service" if developed in Mono using ServiceBase (or any other method)? In short: I'm looking for a way to build the Linux equivalent for a service using Mono, and install it on a Linux-dist =) Thanks in advance! / Jonas -- View this message in context: http://www.nabble.com/Service-or-daemon-with-Mono--tp24478743p24478743.html Sent from the Mono - General mailing list archive at Nabble.com. From lenin_l at hotmail.com Tue Jul 14 09:58:50 2009 From: lenin_l at hotmail.com (prg_pma) Date: Tue, 14 Jul 2009 06:58:50 -0700 (PDT) Subject: [Mono-list] .net compact framework Message-ID: <24479968.post@talk.nabble.com> As can be used to program in monodevelop for . NET Compact Framework -- View this message in context: http://www.nabble.com/.net-compact-framework-tp24479968p24479968.html Sent from the Mono - General mailing list archive at Nabble.com. From robertj at gmx.net Tue Jul 14 15:18:30 2009 From: robertj at gmx.net (Robert Jordan) Date: Tue, 14 Jul 2009 21:18:30 +0200 Subject: [Mono-list] how to execute exe file which creates logs in event viewer. In-Reply-To: <24477967.post@talk.nabble.com> References: <24477967.post@talk.nabble.com> Message-ID: Bharti Mishra wrote: > hi, > I am using mono2.4.2 on Open Suse11.1 platform. > I have existing vb.net code, in which I execute one .exe file before > project execution, that exe file creats log in EventViewer (windows). > now I have to run that .exe in linux platform, so can you tell me ,I can > run that kind of exe in mono. It depends on what kind of .exe that said file is. It should work if it's a managed application. Search for MONO_EVENTLOG_TYPE in mono's man page to find out how to configure the event log output. Robert From robertj at gmx.net Tue Jul 14 15:35:21 2009 From: robertj at gmx.net (Robert Jordan) Date: Tue, 14 Jul 2009 21:35:21 +0200 Subject: [Mono-list] Service or daemon with Mono? In-Reply-To: <24478743.post@talk.nabble.com> References: <24478743.post@talk.nabble.com> Message-ID: jos_ wrote: > Hello, > > What is the recommended way to write a service-like software in Mono? > > My first guess would be to use the normal class ServiceBase existing in Mono > (and .NET of course). But there seems to be little information on how this > works with Mono, and from what I've read it is not considered stable (?). It is stable, but it only provides basic services support. It does not support installation, for example. > 1. Is it better to just create a normal app, turn on automatic login and run > it at login? Nope. > 2. Is it possible to create a daemon using Mono? Yes. It could be as simple as running a console application with "nohup mono app.exe &". > 3. Is there any documentation on how to "install" the "service" if developed > in Mono using ServiceBase (or any other method)? Mono does not provide this documentation because almost every distro has its own more or less similar concept of running "services". Robert From amc1999 at gmail.com Tue Jul 14 15:39:48 2009 From: amc1999 at gmail.com (Amc Gmail) Date: Tue, 14 Jul 2009 15:39:48 -0400 (EDT) Subject: [Mono-list] Service or daemon with Mono? In-Reply-To: <15338538.81247600325957.JavaMail.SYSTEM@anatoly> Message-ID: <11048698.101247600385521.JavaMail.SYSTEM@anatoly> We don't have any problems with .NET service running under Mono. It's based on ServiceBase, uses EventLog and .NET Remoting without any problems. All you need to do is to create init.d script to start/stop mono-service during startup/shutdown -- amc ----- Original Message ----- From: "jos_" To: mono-list at lists.ximian.com Sent: Tuesday, July 14, 2009 8:45:07 AM GMT -05:00 US/Canada Eastern Subject: [Mono-list] Service or daemon with Mono? Hello, What is the recommended way to write a service-like software in Mono? My first guess would be to use the normal class ServiceBase existing in Mono (and .NET of course). But there seems to be little information on how this works with Mono, and from what I've read it is not considered stable (?). 1. Is it better to just create a normal app, turn on automatic login and run it at login? 2. Is it possible to create a daemon using Mono? 3. Is there any documentation on how to "install" the "service" if developed in Mono using ServiceBase (or any other method)? In short: I'm looking for a way to build the Linux equivalent for a service using Mono, and install it on a Linux-dist =) Thanks in advance! / Jonas -- View this message in context: http://www.nabble.com/Service-or-daemon-with-Mono--tp24478743p24478743.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 dgortonii at gmail.com Tue Jul 14 15:47:17 2009 From: dgortonii at gmail.com (Danny) Date: Tue, 14 Jul 2009 15:47:17 -0400 Subject: [Mono-list] Service or daemon with Mono? In-Reply-To: <11048698.101247600385521.JavaMail.SYSTEM@anatoly> References: <11048698.101247600385521.JavaMail.SYSTEM@anatoly> Message-ID: <4A5CE0C5.9000003@gmail.com> I'd like to second that. I use the same techniques with good results. However, *occasionally* I have problems with my remoting listener holding open the TCP socket after shutdown (in which I unregister the marshalled object(s)). If you don't mind me asking, do you do anything specific or special to clean up your remoting channel? Amc Gmail wrote: > We don't have any problems with .NET service running under Mono. > It's based on ServiceBase, uses EventLog and .NET Remoting without any problems. > All you need to do is to create init.d script to start/stop mono-service during startup/shutdown > -- amc > > ----- Original Message ----- > From: "jos_" > To: mono-list at lists.ximian.com > Sent: Tuesday, July 14, 2009 8:45:07 AM GMT -05:00 US/Canada Eastern > Subject: [Mono-list] Service or daemon with Mono? > > > Hello, > > What is the recommended way to write a service-like software in Mono? > > My first guess would be to use the normal class ServiceBase existing in Mono > (and .NET of course). But there seems to be little information on how this > works with Mono, and from what I've read it is not considered stable (?). > > 1. Is it better to just create a normal app, turn on automatic login and run > it at login? > 2. Is it possible to create a daemon using Mono? > 3. Is there any documentation on how to "install" the "service" if developed > in Mono using ServiceBase (or any other method)? > > In short: I'm looking for a way to build the Linux equivalent for a service > using Mono, and install it on a Linux-dist =) > > Thanks in advance! > / Jonas From amc1999 at gmail.com Tue Jul 14 16:24:45 2009 From: amc1999 at gmail.com (Amc Gmail) Date: Tue, 14 Jul 2009 16:24:45 -0400 (EDT) Subject: [Mono-list] Service or daemon with Mono? In-Reply-To: <17963215.141247602300595.JavaMail.SYSTEM@anatoly> Message-ID: <28085834.161247603082937.JavaMail.SYSTEM@anatoly> Hmmm... hard to say, i did remoting part 4+ years ago :) in .net 1.1 era :) It sees to be I am not doing anything special, but keep in mind i am using mode="SingleCall" Here is more details: And all remoting types/methods are in one class: namespace Rmt { public class RmtBridge : MarshalByRefObject {...} } Service has multiple threads and some of them are control threads which i am using to kill real worker threads if they are hang. Control thread code look like: public override void ControlThreadLoop() { // Configure remoting bool isInitOk = InitRemoting(); if (IsStop()) return; // exit signaled if (!isInitOk) { // Fail to init remoting - log exception and continue ..... error EventLog here... } while (!IsStop()) { .... create worker thread and monitor it health .... } } // Try to configure remoting, return true on success private bool InitRemoting() { for (int j = 0; !IsStop() && j < INIT_ATTEMPT_COUNT; j++) { try { RemotingConfiguration.Configure( System.IO.Path.Combine( AppDomain.CurrentDomain.BaseDirectory, AppDomain.CurrentDomain.FriendlyName + ".config" )); return true; // success } catch(Exception e) { ..... warning EventLog here... } // sleep before next attempt IdleSleep(IDLE_SLEEP_TIME); } return false; // not initialized } } sorry for that long e-mail, hope it helps (not sure about that, but trying my best :) -- amc ----- Original Message ----- From: "Danny" To: "Amc Gmail" Cc: "jos_" , mono-list at lists.ximian.com Sent: Tuesday, July 14, 2009 3:47:17 PM GMT -05:00 US/Canada Eastern Subject: Re: [Mono-list] Service or daemon with Mono? I'd like to second that. I use the same techniques with good results. However, *occasionally* I have problems with my remoting listener holding open the TCP socket after shutdown (in which I unregister the marshalled object(s)). If you don't mind me asking, do you do anything specific or special to clean up your remoting channel? Amc Gmail wrote: > We don't have any problems with .NET service running under Mono. > It's based on ServiceBase, uses EventLog and .NET Remoting without any problems. > All you need to do is to create init.d script to start/stop mono-service during startup/shutdown > -- amc > > ----- Original Message ----- > From: "jos_" > To: mono-list at lists.ximian.com > Sent: Tuesday, July 14, 2009 8:45:07 AM GMT -05:00 US/Canada Eastern > Subject: [Mono-list] Service or daemon with Mono? > > > Hello, > > What is the recommended way to write a service-like software in Mono? > > My first guess would be to use the normal class ServiceBase existing in Mono > (and .NET of course). But there seems to be little information on how this > works with Mono, and from what I've read it is not considered stable (?). > > 1. Is it better to just create a normal app, turn on automatic login and run > it at login? > 2. Is it possible to create a daemon using Mono? > 3. Is there any documentation on how to "install" the "service" if developed > in Mono using ServiceBase (or any other method)? > > In short: I'm looking for a way to build the Linux equivalent for a service > using Mono, and install it on a Linux-dist =) > > Thanks in advance! > / Jonas From msheekhah at gmail.com Tue Jul 14 16:40:32 2009 From: msheekhah at gmail.com (Mark Collins) Date: Tue, 14 Jul 2009 15:40:32 -0500 Subject: [Mono-list] Game development with mono Message-ID: <8390b7570907141340l31c9579dg7592a29ec0ae5390@mail.gmail.com> I got half way through a programming degree before ANSI/ISO C++, and ten years later have started to pick up some C#. I am looking to do game development using Mono and Unity, but wonder what resources are out there. Can I just stick to regular C#/.NET in Mono and get the cross platform ability I want, later hoping Unity will run on Linux as well, or is there a special subset of C#/.NET I have to program to in order to use Mono? What would be some good books/references that I can use to teach myself? Sample code, tutorials, etc. Mark Collins -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090714/5bcab3eb/attachment.html From dgortonii at gmail.com Tue Jul 14 17:00:57 2009 From: dgortonii at gmail.com (Danny) Date: Tue, 14 Jul 2009 17:00:57 -0400 Subject: [Mono-list] Service or daemon with Mono? In-Reply-To: <28085834.161247603082937.JavaMail.SYSTEM@anatoly> References: <28085834.161247603082937.JavaMail.SYSTEM@anatoly> Message-ID: <4A5CF209.4060409@gmail.com> Thanks alot. Indeed it does look pretty vanilla in term of the remoting usage, but one difference IS the SingleCall. I'll take a closer look when I can get back to that ticket. Thanks again, Danny Amc Gmail wrote: > Hmmm... hard to say, i did remoting part 4+ years ago :) in .net 1.1 era :) > It sees to be I am not doing anything special, but keep in mind i am using mode="SingleCall" > > Here is more details: > > > > > mode="SingleCall" > /> > > > > > > > > > And all remoting types/methods are in one class: > > namespace Rmt { > public class RmtBridge : MarshalByRefObject {...} > } > > Service has multiple threads and some of them are control threads which i am using to kill real worker threads if they are hang. Control thread code look like: > > public override void ControlThreadLoop() { > > // Configure remoting > bool isInitOk = InitRemoting(); > if (IsStop()) return; // exit signaled > if (!isInitOk) { > // Fail to init remoting - log exception and continue > ..... error EventLog here... > } > > while (!IsStop()) { > .... create worker thread and monitor it health .... > } > } > > // Try to configure remoting, return true on success > private bool InitRemoting() { > for (int j = 0; !IsStop() && j < INIT_ATTEMPT_COUNT; j++) { > try { > RemotingConfiguration.Configure( > System.IO.Path.Combine( > AppDomain.CurrentDomain.BaseDirectory, > AppDomain.CurrentDomain.FriendlyName + ".config" > )); > return true; // success > } > catch(Exception e) { > ..... warning EventLog here... > } > > // sleep before next attempt > IdleSleep(IDLE_SLEEP_TIME); > } > > return false; // not initialized > } > } > > sorry for that long e-mail, hope it helps (not sure about that, but trying my best :) > -- amc > > > ----- Original Message ----- > From: "Danny" > To: "Amc Gmail" > Cc: "jos_" , mono-list at lists.ximian.com > Sent: Tuesday, July 14, 2009 3:47:17 PM GMT -05:00 US/Canada Eastern > Subject: Re: [Mono-list] Service or daemon with Mono? > > I'd like to second that. I use the same techniques with good results. > However, *occasionally* I have problems with my remoting listener > holding open the TCP socket after shutdown (in which I unregister the > marshalled object(s)). > > If you don't mind me asking, do you do anything specific or special to > clean up your remoting channel? > > Amc Gmail wrote: >> We don't have any problems with .NET service running under Mono. >> It's based on ServiceBase, uses EventLog and .NET Remoting without any problems. >> All you need to do is to create init.d script to start/stop mono-service during startup/shutdown >> -- amc >> >> ----- Original Message ----- >> From: "jos_" >> To: mono-list at lists.ximian.com >> Sent: Tuesday, July 14, 2009 8:45:07 AM GMT -05:00 US/Canada Eastern >> Subject: [Mono-list] Service or daemon with Mono? >> >> >> Hello, >> >> What is the recommended way to write a service-like software in Mono? >> >> My first guess would be to use the normal class ServiceBase existing in Mono >> (and .NET of course). But there seems to be little information on how this >> works with Mono, and from what I've read it is not considered stable (?). >> >> 1. Is it better to just create a normal app, turn on automatic login and run >> it at login? >> 2. Is it possible to create a daemon using Mono? >> 3. Is there any documentation on how to "install" the "service" if developed >> in Mono using ServiceBase (or any other method)? >> >> In short: I'm looking for a way to build the Linux equivalent for a service >> using Mono, and install it on a Linux-dist =) >> >> Thanks in advance! >> / Jonas > From zippy1981 at gmail.com Tue Jul 14 17:08:13 2009 From: zippy1981 at gmail.com (Justin Dearing) Date: Tue, 14 Jul 2009 17:08:13 -0400 Subject: [Mono-list] Fwd: Game development with mono In-Reply-To: <5458db3c0907141408s75e296f4r4c5a095aec7519b3@mail.gmail.com> References: <8390b7570907141340l31c9579dg7592a29ec0ae5390@mail.gmail.com> <5458db3c0907141408s75e296f4r4c5a095aec7519b3@mail.gmail.com> Message-ID: <5458db3c0907141408p1e639d80h1bd62858c114af9b@mail.gmail.com> ---------- Forwarded message ---------- From: Justin Dearing Date: Tue, Jul 14, 2009 at 5:08 PM Subject: Re: [Mono-list] Game development with mono To: Mark Collins Mark, Mono definitely only has a subset of the .NET Framework implemented. I don't know how much of that has to do with gaming, or what gaming features you need. However, the easiest way to code for both platforms, is to simply constantly test on both platforms. SharpDevelop 2 has support for .NET and mono. It is a bit lacking as an IDE, but it will run visual studio 2005 solutions and projects. Coding with Visual Studio and periodontally compiling to mono on windows will ensure compatability. I believe there are separately maintained mono plugins for sharpdevelop 3.x if you want to compile visual studio 2008 projects to Mono. Another thing in regards to mono on windows as opposed to mono on linux, there are some features of mono that work in windows and not linux. Cominterop does not work on linux. pinvoke does work, but you lack the windows api on linux. I don't know if unity, wine or any of that changes those rules, but even if you compile mono binaries on windows, test them on linux. Regards, Justin Dearing On Tue, Jul 14, 2009 at 4:40 PM, Mark Collins wrote: > I got half way through a programming degree before ANSI/ISO C++, and ten > years later have started to pick up some C#. > > I am looking to do game development using Mono and Unity, but wonder what > resources are out there. > > Can I just stick to regular C#/.NET in Mono and get the cross platform > ability I want, later hoping Unity will run on Linux as well, or is there a > special subset of C#/.NET I have to program to in order to use Mono? > > What would be some good books/references that I can use to teach myself? > Sample code, tutorials, etc. > > Mark Collins > > _______________________________________________ > 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/20090714/2ccf4c50/attachment.html From zippy1981 at gmail.com Tue Jul 14 18:06:14 2009 From: zippy1981 at gmail.com (Justin Dearing) Date: Tue, 14 Jul 2009 18:06:14 -0400 Subject: [Mono-list] Fwd: Fwd: Game development with mono In-Reply-To: <5458db3c0907141505gc6e1ef2wb2412fe5f4c493d5@mail.gmail.com> References: <8390b7570907141340l31c9579dg7592a29ec0ae5390@mail.gmail.com> <5458db3c0907141408s75e296f4r4c5a095aec7519b3@mail.gmail.com> <5458db3c0907141408p1e639d80h1bd62858c114af9b@mail.gmail.com> <3d2f29dc0907141452t694762dcu571df101e442bce1@mail.gmail.com> <5458db3c0907141505gc6e1ef2wb2412fe5f4c493d5@mail.gmail.com> Message-ID: <5458db3c0907141506r69dd3a0fy81630ae99d872b91@mail.gmail.com> Forgot once again mono doest have a default reply to the list for some reason. ---------- Forwarded message ---------- From: Justin Dearing Date: Tue, Jul 14, 2009 at 6:05 PM Subject: Re: [Mono-list] Fwd: Game development with mono To: Chris Howie Chris, If there is no difference, why do many OSS projects offer different binaries? I understand the format of the bytecode is different, but might there be differences in function signatures in the System.foo assemblies if mono functions had different signatures from the .NET equivilant? Also, doesn't the mono compiler and runtime have a different GAC. Wouldn't compiling against the mono compiler ensure that all the methods in the standard assemblies exist in the mono version? Regards, Justin Dearing On Tue, Jul 14, 2009 at 5:52 PM, Chris Howie wrote: > On Tue, Jul 14, 2009 at 5:08 PM, Justin Dearing > wrote: > > Coding with > > Visual Studio and periodontally compiling to mono on windows will ensure > > compatability. > > I should point out that you don't have to "compile to mono" to test, > you can just run the Windows-.NET-compiled binaries directly on Mono. > Compiling using Mono's C# compiler /should/ only serves to test Mono's > C# compiler; the binary format of the CIL images is identical. > > (I have a feeling that Justin knows this, just clarifying for those who > don't.) > > -- > Chris Howie > http://www.chrishowie.com > http://en.wikipedia.org/wiki/User:Crazycomputers > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090714/0925fcd0/attachment.html From cdhowie at gmail.com Tue Jul 14 17:52:22 2009 From: cdhowie at gmail.com (Chris Howie) Date: Tue, 14 Jul 2009 17:52:22 -0400 Subject: [Mono-list] Fwd: Game development with mono In-Reply-To: <5458db3c0907141408p1e639d80h1bd62858c114af9b@mail.gmail.com> References: <8390b7570907141340l31c9579dg7592a29ec0ae5390@mail.gmail.com> <5458db3c0907141408s75e296f4r4c5a095aec7519b3@mail.gmail.com> <5458db3c0907141408p1e639d80h1bd62858c114af9b@mail.gmail.com> Message-ID: <3d2f29dc0907141452t694762dcu571df101e442bce1@mail.gmail.com> On Tue, Jul 14, 2009 at 5:08 PM, Justin Dearing wrote: > Coding with > Visual Studio and?periodontally?compiling to mono on windows will ensure > compatability. I should point out that you don't have to "compile to mono" to test, you can just run the Windows-.NET-compiled binaries directly on Mono. Compiling using Mono's C# compiler /should/ only serves to test Mono's C# compiler; the binary format of the CIL images is identical. (I have a feeling that Justin knows this, just clarifying for those who don't.) -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers From alan.mcgovern at gmail.com Tue Jul 14 18:17:42 2009 From: alan.mcgovern at gmail.com (Alan McGovern) Date: Tue, 14 Jul 2009 23:17:42 +0100 Subject: [Mono-list] Fwd: Fwd: Game development with mono In-Reply-To: <5458db3c0907141506r69dd3a0fy81630ae99d872b91@mail.gmail.com> References: <8390b7570907141340l31c9579dg7592a29ec0ae5390@mail.gmail.com> <5458db3c0907141408s75e296f4r4c5a095aec7519b3@mail.gmail.com> <5458db3c0907141408p1e639d80h1bd62858c114af9b@mail.gmail.com> <3d2f29dc0907141452t694762dcu571df101e442bce1@mail.gmail.com> <5458db3c0907141505gc6e1ef2wb2412fe5f4c493d5@mail.gmail.com> <5458db3c0907141506r69dd3a0fy81630ae99d872b91@mail.gmail.com> Message-ID: <117799f00907141517j714f6ab5w45281cfa2468fbc6@mail.gmail.com> Hey, Comments below... On Tue, Jul 14, 2009 at 11:06 PM, Justin Dearing wrote: > Forgot once again mono doest have a default reply to the list for some > reason. > > ---------- Forwarded message ---------- > From: Justin Dearing > Date: Tue, Jul 14, 2009 at 6:05 PM > Subject: Re: [Mono-list] Fwd: Game development with mono > To: Chris Howie > > > Chris, > If there is no difference, why do many OSS projects offer different > binaries? > 99.9% of the time there is no need to offer different 'binaries' for CIL assemblies because the 'binaries' for each platform will be bit identical. > I understand the format of the bytecode is different, but might there be > differences in function signatures in the System.foo assemblies if mono > functions had different signatures from the .NET equivilant? > I'm not sure what you mean here. Mono should be API compatible with MS .NET. Also, doesn't the mono compiler and runtime have a different GAC. Wouldn't > compiling against the mono compiler ensure that all the methods in the > standard assemblies exist in the mono version? > Sure, compiling under mono would ensure that you are not using a method that does not exist. There are other tools which can help with that, such as Moma (http://mono-project.com/MoMA). Sure, you can compile under mono, but it's not a necessity. Rregularly running your regression tests under both frameworks would be a great way to ensure everything operates as expected. Alan. > > > Regards, > > Justin Dearing > > On Tue, Jul 14, 2009 at 5:52 PM, Chris Howie wrote: > >> On Tue, Jul 14, 2009 at 5:08 PM, Justin Dearing >> wrote: >> > Coding with >> > Visual Studio and periodontally compiling to mono on windows will ensure >> > compatability. >> >> I should point out that you don't have to "compile to mono" to test, >> you can just run the Windows-.NET-compiled binaries directly on Mono. >> Compiling using Mono's C# compiler /should/ only serves to test Mono's >> C# compiler; the binary format of the CIL images is identical. >> >> (I have a feeling that Justin knows this, just clarifying for those who >> don't.) >> >> -- >> 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/20090714/11c297ed/attachment.html From cdhowie at gmail.com Tue Jul 14 18:39:14 2009 From: cdhowie at gmail.com (Chris Howie) Date: Tue, 14 Jul 2009 18:39:14 -0400 Subject: [Mono-list] Fwd: Game development with mono In-Reply-To: <5458db3c0907141505gc6e1ef2wb2412fe5f4c493d5@mail.gmail.com> References: <8390b7570907141340l31c9579dg7592a29ec0ae5390@mail.gmail.com> <5458db3c0907141408s75e296f4r4c5a095aec7519b3@mail.gmail.com> <5458db3c0907141408p1e639d80h1bd62858c114af9b@mail.gmail.com> <3d2f29dc0907141452t694762dcu571df101e442bce1@mail.gmail.com> <5458db3c0907141505gc6e1ef2wb2412fe5f4c493d5@mail.gmail.com> Message-ID: <3d2f29dc0907141539r36173a61j4e04bc99ce9caa45@mail.gmail.com> Alan answered most of the points, but I have one additional comment: On Tue, Jul 14, 2009 at 6:05 PM, Justin Dearing wrote: > If there is no difference, why do many OSS projects offer different > binaries? It's possible that they build using some #if blocks to alter behavior depending on the platform, but note that this is not necessary -- the execution platform can easily be detected at runtime. A more legitimate reason is that there may be some C glue library required on both platforms, and the different binary archives need to package the platform-specific glue. Again, the managed (CIL) code can easily be identical in this case as well. -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers From msheekhah at gmail.com Tue Jul 14 18:55:41 2009 From: msheekhah at gmail.com (Mark Collins) Date: Tue, 14 Jul 2009 17:55:41 -0500 Subject: [Mono-list] Fwd: Game development with mono In-Reply-To: <3d2f29dc0907141539r36173a61j4e04bc99ce9caa45@mail.gmail.com> References: <8390b7570907141340l31c9579dg7592a29ec0ae5390@mail.gmail.com> <5458db3c0907141408s75e296f4r4c5a095aec7519b3@mail.gmail.com> <5458db3c0907141408p1e639d80h1bd62858c114af9b@mail.gmail.com> <3d2f29dc0907141452t694762dcu571df101e442bce1@mail.gmail.com> <5458db3c0907141505gc6e1ef2wb2412fe5f4c493d5@mail.gmail.com> <3d2f29dc0907141539r36173a61j4e04bc99ce9caa45@mail.gmail.com> Message-ID: <8390b7570907141555p1465c82fyd19dbdb946023266@mail.gmail.com> Thanks, this is all great information. Mark On Tue, Jul 14, 2009 at 5:39 PM, Chris Howie wrote: > Alan answered most of the points, but I have one additional comment: > > On Tue, Jul 14, 2009 at 6:05 PM, Justin Dearing > wrote: > > If there is no difference, why do many OSS projects offer different > > binaries? > > It's possible that they build using some #if blocks to alter behavior > depending on the platform, but note that this is not necessary -- the > execution platform can easily be detected at runtime. > > A more legitimate reason is that there may be some C glue library > required on both platforms, and the different binary archives need to > package the platform-specific glue. Again, the managed (CIL) code can > easily be identical in this case as well. > > -- > 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 > -- - Alder Massimo Vitelion Essex, Status 2 Invictus, Status 2 Daeva OOC: http://wiki.white-wolf.com/camwiki/index.php?title=Massimo_della_Aniela Mark Collins, US2008113152 Austin, TX -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090714/b6d32e95/attachment.html From zippy1981 at gmail.com Tue Jul 14 18:59:06 2009 From: zippy1981 at gmail.com (Justin Dearing) Date: Tue, 14 Jul 2009 18:59:06 -0400 Subject: [Mono-list] Fwd: Fwd: Game development with mono In-Reply-To: <117799f00907141517j714f6ab5w45281cfa2468fbc6@mail.gmail.com> References: <8390b7570907141340l31c9579dg7592a29ec0ae5390@mail.gmail.com> <5458db3c0907141408s75e296f4r4c5a095aec7519b3@mail.gmail.com> <5458db3c0907141408p1e639d80h1bd62858c114af9b@mail.gmail.com> <3d2f29dc0907141452t694762dcu571df101e442bce1@mail.gmail.com> <5458db3c0907141505gc6e1ef2wb2412fe5f4c493d5@mail.gmail.com> <5458db3c0907141506r69dd3a0fy81630ae99d872b91@mail.gmail.com> <117799f00907141517j714f6ab5w45281cfa2468fbc6@mail.gmail.com> Message-ID: <5458db3c0907141559y7024f8f5q5d5367b028770f70@mail.gmail.com> Alan/Chris, Thanks for clarifying. On Tue, Jul 14, 2009 at 6:17 PM, Alan McGovern wrote: > Hey, > > Comments below... > > On Tue, Jul 14, 2009 at 11:06 PM, Justin Dearing wrote: > >> Forgot once again mono doest have a default reply to the list for some >> reason. >> >> ---------- Forwarded message ---------- >> From: Justin Dearing >> Date: Tue, Jul 14, 2009 at 6:05 PM >> Subject: Re: [Mono-list] Fwd: Game development with mono >> To: Chris Howie >> >> >> Chris, >> If there is no difference, why do many OSS projects offer different >> binaries? >> > > 99.9% of the time there is no need to offer different 'binaries' for CIL > assemblies because the 'binaries' for each platform will be bit identical. > > >> I understand the format of the bytecode is different, but might there be >> differences in function signatures in the System.foo assemblies if mono >> functions had different signatures from the .NET equivilant? >> > > I'm not sure what you mean here. Mono should be API compatible with MS > .NET. > > Also, doesn't the mono compiler and runtime have a different GAC. >> Wouldn't compiling against the mono compiler ensure that all the methods in >> the standard assemblies exist in the mono version? >> > > Sure, compiling under mono would ensure that you are not using a method > that does not exist. There are other tools which can help with that, such as > Moma (http://mono-project.com/MoMA). Sure, you can compile under mono, but > it's not a necessity. Rregularly running your regression tests under both > frameworks would be a great way to ensure everything operates as expected. > > Alan. > > >> >> >> Regards, >> >> Justin Dearing >> >> On Tue, Jul 14, 2009 at 5:52 PM, Chris Howie wrote: >> >>> On Tue, Jul 14, 2009 at 5:08 PM, Justin Dearing >>> wrote: >>> > Coding with >>> > Visual Studio and periodontally compiling to mono on windows will >>> ensure >>> > compatability. >>> >>> I should point out that you don't have to "compile to mono" to test, >>> you can just run the Windows-.NET-compiled binaries directly on Mono. >>> Compiling using Mono's C# compiler /should/ only serves to test Mono's >>> C# compiler; the binary format of the CIL images is identical. >>> >>> (I have a feeling that Justin knows this, just clarifying for those who >>> don't.) >>> >>> -- >>> 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/20090714/10c1aea6/attachment.html From atsushieno at veritas-vos-liberabit.com Tue Jul 14 21:04:25 2009 From: atsushieno at veritas-vos-liberabit.com (Atsushi Eno) Date: Wed, 15 Jul 2009 10:04:25 +0900 Subject: [Mono-list] Problem with XML-Serialization In-Reply-To: <24482404.post@talk.nabble.com> References: <24452869.post@talk.nabble.com> <4A5AE904.1040300@veritas-vos-liberabit.com> <24482404.post@talk.nabble.com> Message-ID: <4A5D2B19.6050207@veritas-vos-liberabit.com> Let's please file a bug on our bugzilla. I'll have a look. http://mono-project.com/Bugs Atsushi Eno Blackskyliner wrote: > I serialize this class via the XML Serializer: > > > class XMLStringSerializer > { > public static string Serialize(T entity) > { > return Serialize(entity, true); > } > > public static string Serialize(T entity, bool noNewLine) > { > StringBuilder outputXml = new StringBuilder(); > > if (typeof(T).IsSerializable) > { > XmlSerializer ser = new XmlSerializer(typeof(T)); > using (TextWriter stream = new StringWriter(outputXml)) > { > ser.Serialize(stream, entity); > } > if (noNewLine) > return outputXml.ToString().Replace(Environment.NewLine, > ""); > else > return outputXml.ToString(); > } > > return null; > } > > public static T Deserialize(string xml) > { > T entity; > > if (typeof(T).IsSerializable) > { > XmlSerializer ser = new XmlSerializer(typeof(T)); > using (TextReader stream = new StringReader(xml)) > { > entity = (T)ser.Deserialize(stream); > } > > return entity; > } > > return default(T); > } > } > > > > > > Atsushi Eno-3 wrote: >> Hi, >> >> Your subject implies it is about xml serialization, but it is >> marked as [Serializable]. Which "serialization" do you mean? >> XML serialization, or remoting SOAP serialization? >> >> Atsushi Eno >> >> >> Blackskyliner wrote: >>> Hi I just jumped in into mono I hope I'm in the right forum/mailinglist, >>> because i wrote an little server application that I wanted to run on my >>> linux machine. Its originally written in .NET 2.0 >>> >>> To exchange Messages between Server and Client I use an XML-serialized >>> class.... >>> In .NET I dont get any problems but with mono I get the following >>> exception: >>> >>> There was an error generating the XML document. > The type of the >>> argument >>> object 'ChatClient.serverMessages' is not primitive. >>> >>> I implemented the serverMessage in the following way: >>> >>> using System; >>> using System.Text; >>> >>> namespace ChatClient >>> { >>> [Serializable] >>> public class Message >>> { >>> public Message_StatusCodes statusCode; >>> public messageType messageType; >>> public object message; >>> public DateTime time; >>> public string user; >>> >>> public Message() >>> { >>> init(); >>> } >>> >>> public Message(string Username) >>> { >>> init(); >>> this.user = Username; >>> } >>> >>> private void init(){ >>> this.statusCode = Message_StatusCodes.NULL; >>> this.message = null; >>> this.time = DateTime.Now; >>> this.user = null; >>> this.messageType = messageType.NULL; >>> } >>> >>> public void Clear() >>> { >>> this.statusCode = Message_StatusCodes.NULL; >>> this.messageType = messageType.NULL; >>> this.message = null; >>> this.time = DateTime.Now; >>> this.user = null; >>> } >>> >>> public void Clear(string Username) >>> { >>> this.Clear(); >>> this.user = Username; >>> } >>> >>> public Message(Message_StatusCodes c) >>> { >>> init(); >>> this.statusCode = c; >>> } >>> } >>> >>> public enum Message_StatusCodes >>> { >>> NULL, >>> >>> Login, >>> >>> UserKicked, >>> UserJoined, >>> UserConnected, >>> UserDisconnected, >>> >>> UserListChanged >>> } >>> >>> public enum messageType{ >>> NULL, >>> UserMessage, >>> ServerMessage, >>> ClientMessage >>> } >>> >>> public enum serverMessages >>> { >>> LOGIN_ERROR_UserAlreadyExist, >>> LOGIN_ERROR_UsernameReserved, >>> LOGIN_OK >>> } >>> >>> public enum clientMessages >>> { >>> Disconnect >>> } >>> } >>> >>> >>> Why does this not deserialize in Mono but in C#?? Is there any workaround >>> or >>> smth. else? >>> >>> I'm thankful about every answer... >>> Blackskyliner >> _______________________________________________ >> Mono-list maillist - Mono-list at lists.ximian.com >> http://lists.ximian.com/mailman/listinfo/mono-list >> >> > From gonzalo.mono at gmail.com Tue Jul 14 21:33:45 2009 From: gonzalo.mono at gmail.com (Gonzalo Paniagua Javier) Date: Tue, 14 Jul 2009 21:33:45 -0400 Subject: [Mono-list] Pre-compiled Assemblies In-Reply-To: References: Message-ID: <1247621625.6456.11.camel@lalo-laptop> On Mon, 2009-07-13 at 22:06 -0400, Abe Gillespie wrote: > I thought there existed a package of pre-compiled assemblies available > for download. My problem is while compiling Mono my machine runs out > of memory (162mb) during compilation of the core assemblies. > Specifically it dies while processing (generating?) > mono-2.4.2.1/mcs/docs/netdocs.tree. Now if I use the > --disable-mcs-build option then I can successfully build but I don't > have any assemblies to install on my system. > > Would someone point me to the package (if I'm not making that up) or > offer some assistance? When running configure or autogen.sh in the 'mono' directory, add this: --with-mcs-docs=no and the documentation won't be built. -Gonzalo From philip.wobst at aastra.com Wed Jul 15 02:41:02 2009 From: philip.wobst at aastra.com (Philip Wobst) Date: Wed, 15 Jul 2009 08:41:02 +0200 Subject: [Mono-list] Service or daemon with Mono? In-Reply-To: <24478743.post@talk.nabble.com> References: <24478743.post@talk.nabble.com> Message-ID: <448067AB8643614285E9B1DC376F273C04597F35@bermail.de.aastra.com> Hi Jonas, I found some documentation on remote objects that includes the setup of the server component as a service for windows or linux (including the steps to set it up). This might help you with your question: http://www.peredur.uklinux.net/Remoting.pdf (pages 16 to 19) -----Urspr?ngliche Nachricht----- Von: jos_ [mailto:junk at sonhult.se] Gesendet: Dienstag, 14. Juli 2009 14:45 An: mono-list at lists.ximian.com Betreff: [Mono-list] Service or daemon with Mono? Hello, What is the recommended way to write a service-like software in Mono? My first guess would be to use the normal class ServiceBase existing in Mono (and .NET of course). But there seems to be little information on how this works with Mono, and from what I've read it is not considered stable (?). 1. Is it better to just create a normal app, turn on automatic login and run it at login? 2. Is it possible to create a daemon using Mono? 3. Is there any documentation on how to "install" the "service" if developed in Mono using ServiceBase (or any other method)? In short: I'm looking for a way to build the Linux equivalent for a service using Mono, and install it on a Linux-dist =) Thanks in advance! / Jonas -- View this message in context: http://www.nabble.com/Service-or-daemon-with-Mono--tp24478743p24478743.html Sent from the Mono - General mailing list archive at Nabble.com. From bharti2.m at tcs.com Wed Jul 15 03:09:07 2009 From: bharti2.m at tcs.com (Bharti Mishra) Date: Wed, 15 Jul 2009 00:09:07 -0700 (PDT) Subject: [Mono-list] how to resolve kernel32 error from mono Message-ID: <24492962.post@talk.nabble.com> hi, I am using; 1. mono2.4.2 2. open suse11.1 3. existing vb.net code which uses asp.net1.1 version when I execute my existing code with mono it creates one servererrorlog file inside my project folder, in which I got following error message:- Error 500

Server Error in '/BLa4' Application


Kernel32

Description: HTTP 500. Error processing request.

Stack Trace:

System.DllNotFoundException: Kernel32
  at (wrapper managed-to-native)
FNS.FrontEnd.Workflow.Server.BancsLinkWeb.Stopwatch:QueryPerformanceCounter
(long&)
  at FNS.FrontEnd.Workflow.Server.BancsLinkWeb.Stopwatch..ctor
(System.String description) [0x00000] 
  at FNS.FrontEnd.Workflow.Server.BancsLinkWeb.Stopwatch..ctor () [0x00000] 
  at FNS.FrontEnd.Workflow.Server.BancsLinkWeb.CFNSServer.Page_Load
(System.Object sender, System.EventArgs e) [0x00000] 
  at System.Web.UI.Control.OnLoad (System.EventArgs e) [0x00000] 
  at System.Web.UI.Control.LoadRecursive () [0x00000] 
  at System.Web.UI.Page.ProcessLoad () [0x00000] 
  at System.Web.UI.Page.ProcessPostData () [0x00000] 
  at System.Web.UI.Page.InternalProcessRequest () [0x00000] 
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
[0x00000] 

Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 2.0.50727.1433 System.NotImplementedException: The requested feature is not implemented. at System.Windows.Forms.DataGridViewButtonCell.GetValue (Int32 rowIndex) [0x00000] at System.Windows.Forms.DataGridViewCell.get_Value () [0x00000] at System.Windows.Forms.DataGridViewRow.PaintCells ....... My test environment is ubuntu 8.10 and Mono JIT 1.9.1 Thanks! Qi From surfzoid at gmail.com Sat Jul 18 07:49:08 2009 From: surfzoid at gmail.com (Petit Eric) Date: Sat, 18 Jul 2009 13:49:08 +0200 Subject: [Mono-list] Unhandled Exception at "System.Windows.Forms.DataGridViewButtonCell.GetValue" In-Reply-To: <1247916820.9917.11.camel@ubuntu001> References: <1247916820.9917.11.camel@ubuntu001> Message-ID: <84776a970907180449v17f63e06t5fc95bc1e346c921@mail.gmail.com> seem clear : "NotImplementedException", you should try moma tool :-) 2009/7/18 zhang qi : > Hi: > > ? I was trying to test a .NET GUI application with Mono/ubuntu, the exe > file is built by VS2005 and runs well on windows. > > ? I got below error message: > > ? Unhandled Exception: System.Reflection.TargetInvocationException: > Exception has been thrown by the target of an invocation. ---> > System.NotImplementedException: The requested feature is not > implemented. > ?at System.Windows.Forms.DataGridViewButtonCell.GetValue (Int32 > rowIndex) [0x00000] > ?at System.Windows.Forms.DataGridViewCell.get_Value () [0x00000] > ?at System.Windows.Forms.DataGridViewRow.PaintCells > ?....... > > ?My test environment is ubuntu 8.10 and Mono JIT 1.9.1 > > Thanks! > Qi > > _______________________________________________ > Mono-list maillist ?- ?Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > -- Cordially. Small Eric Quotations of the days: --------------------------------------------------------------------------- If one day one reproaches you that your work is not a work of professional, say you that: Amateurs built the arch of Noah, and professionals the Titanic. --------------------------------------------------------------------------- Few people are done for independence, it is the privilege of the powerful ones. --------------------------------------------------------------------------- No key was wounded during the drafting of this message. From gert.driesen at telenet.be Sat Jul 18 08:16:49 2009 From: gert.driesen at telenet.be (Gert Driesen) Date: Sat, 18 Jul 2009 14:16:49 +0200 Subject: [Mono-list] Error on 'var' when trying to compile mono In-Reply-To: References: Message-ID: <002201ca07a1$a5389b80$efa9d280$@driesen@telenet.be> Hi Martin, You must be using an older version of mcs. Nonetheless, I've just committed a revision of Container.cs that avoids using the 'var' keyword on the 1.0 profile. Gert From: mono-list-bounces at lists.ximian.com [mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Martin Lundberg Sent: zaterdag 18 juli 2009 12:15 To: mono-list at lists.ximian.com Subject: [Mono-list] Error on 'var' when trying to compile mono Hello everyone! When I try to compile mono (r138174) I get this: make[7]: Entering directory `/home/marlun/src/mono/mcs/class/System' make all-local make[8]: Entering directory `/home/marlun/src/mono/mcs/class/System' ** Warning: System.dll built without parts that depend on: System.Xml.dll MCS [basic] System.dll Microsoft.CSharp/CSharpCodeCompiler.cs(192,32): warning CS0219: The variable `mcs_stdout' is assigned but its value is never used System.ComponentModel/Container.cs(176,41): error CS0246: The type or namespace name `var' could not be found. Are you missing a using directive or an assembly reference? Compilation failed: 1 error(s), 1 warnings What am I doing wrong and how can I fix it? Thanks, -Martin No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.285 / Virus Database: 270.13.12/2234 - Release Date: 07/12/09 17:56:00 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090718/566b0b97/attachment-0001.html From surfzoid at gmail.com Sat Jul 18 08:28:58 2009 From: surfzoid at gmail.com (Petit Eric) Date: Sat, 18 Jul 2009 14:28:58 +0200 Subject: [Mono-list] Unhandled Exception at "System.Windows.Forms.DataGridViewButtonCell.GetValue" In-Reply-To: <1247919763.9917.21.camel@ubuntu001> References: <1247916820.9917.11.camel@ubuntu001> <84776a970907180449v17f63e06t5fc95bc1e346c921@mail.gmail.com> <1247919763.9917.21.camel@ubuntu001> Message-ID: <84776a970907180528x7d0e3c8ds640d374ae5624fa6@mail.gmail.com> 2009/7/18 zhang qi : > Thanks for quick response! > > Just tried MoMA with mono 1.9, but the report shows no method should > throws NotImplementedException... > I even tried all other versions (1.2.2 to 2.4) and all reports didn't > show the warning on this method. hum, very strange, try to ask at the #mono-winforms if it is implemented or bug, you can also have a look at novel bugzilla > > > > On Sat, 2009-07-18 at 13:49 +0200, Petit Eric wrote: >> seem clear : "NotImplementedException", you should try moma tool :-) >> >> 2009/7/18 zhang qi : >> > Hi: >> > >> > ? I was trying to test a .NET GUI application with Mono/ubuntu, the exe >> > file is built by VS2005 and runs well on windows. >> > >> > ? I got below error message: >> > >> > ? Unhandled Exception: System.Reflection.TargetInvocationException: >> > Exception has been thrown by the target of an invocation. ---> >> > System.NotImplementedException: The requested feature is not >> > implemented. >> > ?at System.Windows.Forms.DataGridViewButtonCell.GetValue (Int32 >> > rowIndex) [0x00000] >> > ?at System.Windows.Forms.DataGridViewCell.get_Value () [0x00000] >> > ?at System.Windows.Forms.DataGridViewRow.PaintCells >> > ?....... >> > >> > ?My test environment is ubuntu 8.10 and Mono JIT 1.9.1 >> > >> > Thanks! >> > Qi >> > >> > _______________________________________________ >> > Mono-list maillist ?- ?Mono-list at lists.ximian.com >> > http://lists.ximian.com/mailman/listinfo/mono-list >> > >> >> >> > > -- Cordially. Small Eric Quotations of the days: --------------------------------------------------------------------------- If one day one reproaches you that your work is not a work of professional, say you that: Amateurs built the arch of Noah, and professionals the Titanic. --------------------------------------------------------------------------- Few people are done for independence, it is the privilege of the powerful ones. --------------------------------------------------------------------------- No key was wounded during the drafting of this message. From qzhan2009 at gmail.com Sat Jul 18 08:36:06 2009 From: qzhan2009 at gmail.com (zhang qi) Date: Sat, 18 Jul 2009 20:36:06 +0800 Subject: [Mono-list] Unhandled Exception at "System.Windows.Forms.DataGridViewButtonCell.GetValue" In-Reply-To: <84776a970907180528x7d0e3c8ds640d374ae5624fa6@mail.gmail.com> References: <1247916820.9917.11.camel@ubuntu001> <84776a970907180449v17f63e06t5fc95bc1e346c921@mail.gmail.com> <1247919763.9917.21.camel@ubuntu001> <84776a970907180528x7d0e3c8ds640d374ae5624fa6@mail.gmail.com> Message-ID: <1247920566.9917.31.camel@ubuntu001> Checked exception.txt of 1.9, the System.Windows.Forms.DataGridViewButtonCell.GetValue do exist, but 2.4 didn't have this, seems the tool has issue or i run with a wrong method :) anyway, i will do upgrade. Thanks again. On Sat, 2009-07-18 at 14:28 +0200, Petit Eric wrote: > 2009/7/18 zhang qi : > > Thanks for quick response! > > > > Just tried MoMA with mono 1.9, but the report shows no method should > > throws NotImplementedException... > > I even tried all other versions (1.2.2 to 2.4) and all reports didn't > > show the warning on this method. > hum, very strange, try to ask at the #mono-winforms if it is > implemented or bug, you can also have a look at novel bugzilla > > > > > > > > On Sat, 2009-07-18 at 13:49 +0200, Petit Eric wrote: > >> seem clear : "NotImplementedException", you should try moma tool :-) > >> > >> 2009/7/18 zhang qi : > >> > Hi: > >> > > >> > I was trying to test a .NET GUI application with Mono/ubuntu, the exe > >> > file is built by VS2005 and runs well on windows. > >> > > >> > I got below error message: > >> > > >> > Unhandled Exception: System.Reflection.TargetInvocationException: > >> > Exception has been thrown by the target of an invocation. ---> > >> > System.NotImplementedException: The requested feature is not > >> > implemented. > >> > at System.Windows.Forms.DataGridViewButtonCell.GetValue (Int32 > >> > rowIndex) [0x00000] > >> > at System.Windows.Forms.DataGridViewCell.get_Value () [0x00000] > >> > at System.Windows.Forms.DataGridViewRow.PaintCells > >> > ....... > >> > > >> > My test environment is ubuntu 8.10 and Mono JIT 1.9.1 > >> > > >> > Thanks! > >> > Qi > >> > > >> > _______________________________________________ > >> > Mono-list maillist - Mono-list at lists.ximian.com > >> > http://lists.ximian.com/mailman/listinfo/mono-list > >> > > >> > >> > >> > > > > > > > From qzhan2009 at gmail.com Sat Jul 18 08:22:43 2009 From: qzhan2009 at gmail.com (zhang qi) Date: Sat, 18 Jul 2009 20:22:43 +0800 Subject: [Mono-list] Unhandled Exception at "System.Windows.Forms.DataGridViewButtonCell.GetValue" In-Reply-To: <84776a970907180449v17f63e06t5fc95bc1e346c921@mail.gmail.com> References: <1247916820.9917.11.camel@ubuntu001> <84776a970907180449v17f63e06t5fc95bc1e346c921@mail.gmail.com> Message-ID: <1247919763.9917.21.camel@ubuntu001> Thanks for quick response! Just tried MoMA with mono 1.9, but the report shows no method should throws NotImplementedException... I even tried all other versions (1.2.2 to 2.4) and all reports didn't show the warning on this method. On Sat, 2009-07-18 at 13:49 +0200, Petit Eric wrote: > seem clear : "NotImplementedException", you should try moma tool :-) > > 2009/7/18 zhang qi : > > Hi: > > > > I was trying to test a .NET GUI application with Mono/ubuntu, the exe > > file is built by VS2005 and runs well on windows. > > > > I got below error message: > > > > Unhandled Exception: System.Reflection.TargetInvocationException: > > Exception has been thrown by the target of an invocation. ---> > > System.NotImplementedException: The requested feature is not > > implemented. > > at System.Windows.Forms.DataGridViewButtonCell.GetValue (Int32 > > rowIndex) [0x00000] > > at System.Windows.Forms.DataGridViewCell.get_Value () [0x00000] > > at System.Windows.Forms.DataGridViewRow.PaintCells > > ....... > > > > My test environment is ubuntu 8.10 and Mono JIT 1.9.1 > > > > Thanks! > > Qi > > > > _______________________________________________ > > Mono-list maillist - Mono-list at lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > > From monkey at jpobst.com Sat Jul 18 10:59:18 2009 From: monkey at jpobst.com (Jonathan Pobst) Date: Sat, 18 Jul 2009 09:59:18 -0500 Subject: [Mono-list] Unhandled Exception at "System.Windows.Forms.DataGridViewButtonCell.GetValue" In-Reply-To: <1247920566.9917.31.camel@ubuntu001> References: <1247916820.9917.11.camel@ubuntu001> <84776a970907180449v17f63e06t5fc95bc1e346c921@mail.gmail.com> <1247919763.9917.21.camel@ubuntu001> <84776a970907180528x7d0e3c8ds640d374ae5624fa6@mail.gmail.com> <1247920566.9917.31.camel@ubuntu001> Message-ID: <4A61E346.9020502@jpobst.com> zhang qi wrote: > Checked exception.txt of 1.9, the > System.Windows.Forms.DataGridViewButtonCell.GetValue do exist, but 2.4 > didn't have this, seems the tool has issue or i run with a wrong > method :) > anyway, i will do upgrade. > > Thanks again. MoMA cannot find that you are using this method because it is not being used directly. That is, you aren't calling DataGridViewButtonCell.GetValue in your code, but winforms is calling it behind the scenes. However, the good news is this is implemented in newer versions of Mono, like 2.4. It was implemented in r99681 in April 2008. Jonathan From surfzoid at gmail.com Sat Jul 18 14:30:20 2009 From: surfzoid at gmail.com (Petit Eric) Date: Sat, 18 Jul 2009 20:30:20 +0200 Subject: [Mono-list] Unhandled Exception at "System.Windows.Forms.DataGridViewButtonCell.GetValue" In-Reply-To: <4A61E346.9020502@jpobst.com> References: <1247916820.9917.11.camel@ubuntu001> <84776a970907180449v17f63e06t5fc95bc1e346c921@mail.gmail.com> <1247919763.9917.21.camel@ubuntu001> <84776a970907180528x7d0e3c8ds640d374ae5624fa6@mail.gmail.com> <1247920566.9917.31.camel@ubuntu001> <4A61E346.9020502@jpobst.com> Message-ID: <84776a970907181130p385dbe4fo5d4c7dc8becbae22@mail.gmail.com> 2009/7/18 Jonathan Pobst : > zhang qi wrote: >> >> Checked exception.txt of 1.9, the h?h? didn't saw you have a so old version of mono , 1.9 :-) >> System.Windows.Forms.DataGridViewButtonCell.GetValue do exist, but 2.4 >> didn't have this, seems the tool has issue or i run with a wrong >> method :) >> anyway, i will do upgrade. >> >> Thanks again. > > MoMA cannot find that you are using this method because it is not being used > directly. ?That is, you aren't calling DataGridViewButtonCell.GetValue in > your code, but winforms is calling it behind the scenes. > > However, the good news is this is implemented in newer versions of Mono, > like 2.4. ?It was implemented in r99681 in April 2008. > > Jonathan > -- Cordially. Small Eric Quotations of the days: --------------------------------------------------------------------------- If one day one reproaches you that your work is not a work of professional, say you that: Amateurs built the arch of Noah, and professionals the Titanic. --------------------------------------------------------------------------- Few people are done for independence, it is the privilege of the powerful ones. --------------------------------------------------------------------------- No key was wounded during the drafting of this message. From peter at wingsofdeath.nu Sun Jul 19 06:12:55 2009 From: peter at wingsofdeath.nu (Peter Hagen) Date: Sun, 19 Jul 2009 12:12:55 +0200 Subject: [Mono-list] null ref. exception Message-ID: <71386631-5744-4DBC-8697-91AF25CC4E38@wingsofdeath.nu> Hi i migrated my webapp to .net 2.0. When i testdrive it, on my Mono 2.0.1 (Ubuntu) it runs very nicely. After that I uploaded the site to my webserver with has Mono 2.4.2.2 on it, and when I open the page with my upload control, I get the message down below. So, i guess there is a difference between 2.0 and 2.4. Is this a bug? or should i set some parameter somewhere? with kind regards Peter Hagen Argument cannot be null. Parameter name: virtualPath Description: HTTP 500. Error processing request. Stack Trace: System.ArgumentNullException: Argument cannot be null. Parameter name: virtualPath at System.Web.VirtualPathUtility.IsAbsolute (System.String virtualPath) [0x00000] at System.Web.VirtualPathUtility.IsRooted (System.String virtualPath) [0x00000] at System.Web.VirtualPathUtility.Normalize (System.String path) [0x00000] at System.Web.VirtualPathUtility.ToAppRelative (System.String virtualPath, System.String applicationPath) [0x00000] at System.Web.VirtualPathUtility.ToAppRelative (System.String virtualPath) [0x00000] at System.Web.UI.Control.get_AppRelativeTemplateSourceDirectory () [0x00000] at System.Web.UI.Control.ResolveUrl (System.String relativeUrl) [0x00000] at Brettle.Web.NeatUpload.InputFile.OnPreRender (System.EventArgs e) [0x00000] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090719/33ef5303/attachment.html From gonzalo.mono at gmail.com Sun Jul 19 07:50:57 2009 From: gonzalo.mono at gmail.com (Gonzalo Paniagua Javier) Date: Sun, 19 Jul 2009 07:50:57 -0400 Subject: [Mono-list] null ref. exception In-Reply-To: <71386631-5744-4DBC-8697-91AF25CC4E38@wingsofdeath.nu> References: <71386631-5744-4DBC-8697-91AF25CC4E38@wingsofdeath.nu> Message-ID: <1248004257.22935.6.camel@lalo-laptop> On Sun, 2009-07-19 at 12:12 +0200, Peter Hagen wrote: > Hi > i migrated my webapp to .net 2.0. When i testdrive it, on my Mono > 2.0.1 (Ubuntu) it runs very nicely. After that I uploaded the site to > my webserver with has Mono 2.4.2.2 on it, and when I open the page > with my upload control, I get the message down below. So, i guess > there is a difference between 2.0 and 2.4. Is this a bug? or should i > set some parameter somewhere? [...] > Argument cannot be null. Parameter name: virtualPath > Description: HTTP 500. Error processing request. > > Stack Trace: > > System.ArgumentNullException: Argument cannot be null. > Parameter name: virtualPath > at System.Web.VirtualPathUtility.IsAbsolute (System.String virtualPath) [0x00000] > > It is probably a bug. Sounds familiar so it might have been fixed already. Do you mind entering a bug report (see http://www.mono-project.com/Bugs) with a small test case that helps us reproduce the problem? Thanks. -Gonzalo From peter at wingsofdeath.nu Sun Jul 19 12:40:26 2009 From: peter at wingsofdeath.nu (Peter Hagen) Date: Sun, 19 Jul 2009 18:40:26 +0200 Subject: [Mono-list] null ref. exception In-Reply-To: <1248004257.22935.6.camel@lalo-laptop> References: <71386631-5744-4DBC-8697-91AF25CC4E38@wingsofdeath.nu> <1248004257.22935.6.camel@lalo-laptop> Message-ID: <3AF8E6E2-5226-4BA6-9063-D5ECDC0164F3@wingsofdeath.nu> Hi Gonzalo well, i have a bit a problem of recreating the bug in a new project. If i make a new project from MonoDevelop, it works as planned. But inside my project it doesn't. But this is originally a 1.1 application. Uploading the entire project isnt really an option. So, ill try to figure out more about the project first :s Cheers Peter On Jul 19, 2009, at 1:50 PM, Gonzalo Paniagua Javier wrote: > On Sun, 2009-07-19 at 12:12 +0200, Peter Hagen wrote: >> Hi > >> i migrated my webapp to .net 2.0. When i testdrive it, on my Mono >> 2.0.1 (Ubuntu) it runs very nicely. After that I uploaded the site to >> my webserver with has Mono 2.4.2.2 on it, and when I open the page >> with my upload control, I get the message down below. So, i guess >> there is a difference between 2.0 and 2.4. Is this a bug? or should i >> set some parameter somewhere? > [...] >> Argument cannot be null. Parameter name: virtualPath >> Description: HTTP 500. Error processing request. >> >> Stack Trace: >> >> System.ArgumentNullException: Argument cannot be null. >> Parameter name: virtualPath >> at System.Web.VirtualPathUtility.IsAbsolute (System.String >> virtualPath) [0x00000] >> >> > > It is probably a bug. Sounds familiar so it might have been fixed > already. Do you mind entering a bug report (see > http://www.mono-project.com/Bugs) with a small test case that helps us > reproduce the problem? > > Thanks. > > -Gonzalo > > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list From qzhan2009 at gmail.com Sun Jul 19 20:24:04 2009 From: qzhan2009 at gmail.com (Qi Zhang) Date: Mon, 20 Jul 2009 08:24:04 +0800 Subject: [Mono-list] Unhandled Exception at "System.Windows.Forms.DataGridViewButtonCell.GetValue" In-Reply-To: <84776a970907181130p385dbe4fo5d4c7dc8becbae22@mail.gmail.com> References: <1247916820.9917.11.camel@ubuntu001> <84776a970907180449v17f63e06t5fc95bc1e346c921@mail.gmail.com> <1247919763.9917.21.camel@ubuntu001> <84776a970907180528x7d0e3c8ds640d374ae5624fa6@mail.gmail.com> <1247920566.9917.31.camel@ubuntu001> <4A61E346.9020502@jpobst.com> <84776a970907181130p385dbe4fo5d4c7dc8becbae22@mail.gmail.com> Message-ID: <769de8c40907191724u72ba1a30rf56c1f4b47f2d929@mail.gmail.com> Yes, there is no direct invoke in my code, thanks for help! BTW, I am able to run my application with Mono2.0 now. On Sun, Jul 19, 2009 at 2:30 AM, Petit Eric wrote: > 2009/7/18 Jonathan Pobst : > > zhang qi wrote: > >> > >> Checked exception.txt of 1.9, the > h?h? didn't saw you have a so old version of mono , 1.9 :-) > >> System.Windows.Forms.DataGridViewButtonCell.GetValue do exist, but 2.4 > >> didn't have this, seems the tool has issue or i run with a wrong > >> method :) > >> anyway, i will do upgrade. > >> > >> Thanks again. > > > > MoMA cannot find that you are using this method because it is not being > used > > directly. That is, you aren't calling DataGridViewButtonCell.GetValue in > > your code, but winforms is calling it behind the scenes. > > > > However, the good news is this is implemented in newer versions of Mono, > > like 2.4. It was implemented in r99681 in April 2008. > > > > Jonathan > > > > > > -- > > Cordially. > > Small Eric Quotations of the days: > --------------------------------------------------------------------------- > If one day one reproaches you that your work is not a work of > professional, say you that: > Amateurs built the arch of Noah, and professionals the Titanic. > --------------------------------------------------------------------------- > > Few people are done for independence, it is the privilege of the powerful > ones. > --------------------------------------------------------------------------- > > No key was wounded during the drafting of this message. > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090720/11b00fb0/attachment.html From qzhan2009 at gmail.com Sun Jul 19 20:41:04 2009 From: qzhan2009 at gmail.com (Qi Zhang) Date: Mon, 20 Jul 2009 08:41:04 +0800 Subject: [Mono-list] Unhandled Exception at "System.Windows.Forms.DataGridViewButtonCell.GetValue" In-Reply-To: <769de8c40907191724u72ba1a30rf56c1f4b47f2d929@mail.gmail.com> References: <1247916820.9917.11.camel@ubuntu001> <84776a970907180449v17f63e06t5fc95bc1e346c921@mail.gmail.com> <1247919763.9917.21.camel@ubuntu001> <84776a970907180528x7d0e3c8ds640d374ae5624fa6@mail.gmail.com> <1247920566.9917.31.camel@ubuntu001> <4A61E346.9020502@jpobst.com> <84776a970907181130p385dbe4fo5d4c7dc8becbae22@mail.gmail.com> <769de8c40907191724u72ba1a30rf56c1f4b47f2d929@mail.gmail.com> Message-ID: <769de8c40907191741i2d0c05afl28ce4e1a7393a07c@mail.gmail.com> Hi, I just find the application aborts with some specific operation :) The reason is: it invoked some native method in user32.dll (like "CreateCaret"...) The question is why it didn't get a "DllNotFoundException" but an "EntryPointNotFoundException"? Thanks Qi On Mon, Jul 20, 2009 at 8:24 AM, Qi Zhang wrote: > Yes, there is no direct invoke in my code, thanks for help! > > BTW, I am able to run my application with Mono2.0 now. > > On Sun, Jul 19, 2009 at 2:30 AM, Petit Eric wrote: > >> 2009/7/18 Jonathan Pobst : >> > zhang qi wrote: >> >> >> >> Checked exception.txt of 1.9, the >> h?h? didn't saw you have a so old version of mono , 1.9 :-) >> >> System.Windows.Forms.DataGridViewButtonCell.GetValue do exist, but >> 2.4 >> >> didn't have this, seems the tool has issue or i run with a wrong >> >> method :) >> >> anyway, i will do upgrade. >> >> >> >> Thanks again. >> > >> > MoMA cannot find that you are using this method because it is not being >> used >> > directly. That is, you aren't calling DataGridViewButtonCell.GetValue >> in >> > your code, but winforms is calling it behind the scenes. >> > >> > However, the good news is this is implemented in newer versions of Mono, >> > like 2.4. It was implemented in r99681 in April 2008. >> > >> > Jonathan >> > >> >> >> >> -- >> >> Cordially. >> >> Small Eric Quotations of the days: >> >> --------------------------------------------------------------------------- >> If one day one reproaches you that your work is not a work of >> professional, say you that: >> Amateurs built the arch of Noah, and professionals the Titanic. >> >> --------------------------------------------------------------------------- >> >> Few people are done for independence, it is the privilege of the powerful >> ones. >> >> --------------------------------------------------------------------------- >> >> No key was wounded during the drafting of this message. >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090720/062c64b0/attachment.html From gonzalo.mono at gmail.com Mon Jul 20 00:02:02 2009 From: gonzalo.mono at gmail.com (Gonzalo Paniagua Javier) Date: Mon, 20 Jul 2009 00:02:02 -0400 Subject: [Mono-list] null ref. exception In-Reply-To: <3AF8E6E2-5226-4BA6-9063-D5ECDC0164F3@wingsofdeath.nu> References: <71386631-5744-4DBC-8697-91AF25CC4E38@wingsofdeath.nu> <1248004257.22935.6.camel@lalo-laptop> <3AF8E6E2-5226-4BA6-9063-D5ECDC0164F3@wingsofdeath.nu> Message-ID: <1248062522.22935.22.camel@lalo-laptop> On Sun, 2009-07-19 at 18:40 +0200, Peter Hagen wrote: > Hi Gonzalo > > well, i have a bit a problem of recreating the bug in a new project. > If i make a new project from MonoDevelop, it works as planned. But > inside my project it doesn't. But this is originally a 1.1 > application. Uploading the entire project isnt really an option. So, > ill try to figure out more about the project first :s If you can build System.Web from sources, sprinkle a few Console.WriteLine() in Contorl.AppRelativeTemplateSourceDirectory and ToAppRelative. That will at least tell you where the 'null' is used for the first time. -Gonzalo From bharti2.m at tcs.com Mon Jul 20 05:28:01 2009 From: bharti2.m at tcs.com (Bharti Mishra) Date: Mon, 20 Jul 2009 02:28:01 -0700 (PDT) Subject: [Mono-list] how to work mono with LDAP Message-ID: <24566515.post@talk.nabble.com> hi, I want to know some basic information ,how mono2.4 works with LDAP. what is the concept of active directory. how mono can be used in this concept. thanx -- View this message in context: http://www.nabble.com/how-to-work-mono-with-LDAP-tp24566515p24566515.html Sent from the Mono - General mailing list archive at Nabble.com. From kobruleht2 at hot.ee Mon Jul 20 06:26:58 2009 From: kobruleht2 at hot.ee (Andrus Moor) Date: Mon, 20 Jul 2009 13:26:58 +0300 Subject: [Mono-list] Fixing 2.4.2p2 NotImplementedException Message-ID: In Mono 2.4.2p2 method private object NormalizeDbType(object value) { System.Data.Linq.Binary b = value as System.Data.Linq.Binary; if (b != null) return b.ToArray(); return value; } causes NotImplementedException How to fix this in stable release of Mono? Is it possible to change this code so that it works ? Andrus. From peter at wingsofdeath.nu Mon Jul 20 06:57:18 2009 From: peter at wingsofdeath.nu (Peter Hagen) Date: Mon, 20 Jul 2009 12:57:18 +0200 Subject: [Mono-list] null ref. exception In-Reply-To: <1248062522.22935.22.camel@lalo-laptop> References: <71386631-5744-4DBC-8697-91AF25CC4E38@wingsofdeath.nu> <1248004257.22935.6.camel@lalo-laptop> <3AF8E6E2-5226-4BA6-9063-D5ECDC0164F3@wingsofdeath.nu> <1248062522.22935.22.camel@lalo-laptop> Message-ID: <1248087438.4969.5.camel@djm-hp-ph> Hi Gonzalo I did some tests on ./mcs/class/System.Web/System.Web.UI/Control.cs and noticed if the TemplateSourceDirectory is empty, I get the crash. [EditorBrowsable (EditorBrowsableState.Advanced)] [Browsable (false)] [DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)] public string AppRelativeTemplateSourceDirectory { get { if (_appRelativeTemplateSourceDirectory != null) return _appRelativeTemplateSourceDirectory; string tempSrcDir = null; TemplateControl templateControl = TemplateControl; if (templateControl != null) { string templateVirtualPath = templateControl.AppRelativeVirtualPath; if (!String.IsNullOrEmpty (templateVirtualPath)) tempSrcDir = VirtualPathUtility.GetDirectory (templateVirtualPath, false); } _appRelativeTemplateSourceDirectory = (tempSrcDir != null) ? tempSrcDir : VirtualPathUtility.ToAppRelative (TemplateSourceDirectory==string.Empty?"/":TemplateSourceDirectory); return _appRelativeTemplateSourceDirectory; } [EditorBrowsable (EditorBrowsableState.Never)] set { _appRelativeTemplateSourceDirectory = value; _templateSourceDirectory = null; } } So, i added this line, which is probably not ok, but it works now. Im not sure what the TemplateSourceDirectory should be in this case. Do you have a suggestion? Cheers Peter On Mon, 2009-07-20 at 00:02 -0400, Gonzalo Paniagua Javier wrote: > On Sun, 2009-07-19 at 18:40 +0200, Peter Hagen wrote: > > Hi Gonzalo > > > > well, i have a bit a problem of recreating the bug in a new project. > > If i make a new project from MonoDevelop, it works as planned. But > > inside my project it doesn't. But this is originally a 1.1 > > application. Uploading the entire project isnt really an option. So, > > ill try to figure out more about the project first :s > > If you can build System.Web from sources, sprinkle a few > Console.WriteLine() in Contorl.AppRelativeTemplateSourceDirectory and > ToAppRelative. That will at least tell you where the 'null' is used for > the first time. > > -Gonzalo > > > _______________________________________________ > 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/20090720/c43787c2/attachment-0001.html From awilliam at whitemice.org Mon Jul 20 07:16:24 2009 From: awilliam at whitemice.org (Adam Tauno Williams) Date: Mon, 20 Jul 2009 07:16:24 -0400 Subject: [Mono-list] how to work mono with LDAP In-Reply-To: <24566515.post@talk.nabble.com> References: <24566515.post@talk.nabble.com> Message-ID: <1248088584.12441.0.camel@linux-m3mt> On Mon, 2009-07-20 at 02:28 -0700, Bharti Mishra wrote: > hi, > > I want to know some basic information ,how mono2.4 works with LDAP. what > is the concept of active directory. how mono can be used in this concept. System.DirectoryServices ? This works for LDAP servers such as OpenLDAP. There was also a, somewhat nicer, Mono.LDAP library from Novell; but it has been unmaintained for a long time. From grendel at twistedcode.net Mon Jul 20 07:18:33 2009 From: grendel at twistedcode.net (Marek Habersack) Date: Mon, 20 Jul 2009 13:18:33 +0200 Subject: [Mono-list] null ref. exception In-Reply-To: <1248087438.4969.5.camel@djm-hp-ph> References: <71386631-5744-4DBC-8697-91AF25CC4E38@wingsofdeath.nu> <1248004257.22935.6.camel@lalo-laptop> <3AF8E6E2-5226-4BA6-9063-D5ECDC0164F3@wingsofdeath.nu> <1248062522.22935.22.camel@lalo-laptop> <1248087438.4969.5.camel@djm-hp-ph> Message-ID: <4A645289.7010204@twistedcode.net> Peter Hagen wrote: > Hi Gonzalo > > I did some tests on ./mcs/class/System.Web/System.Web.UI/Control.cs and > noticed if the TemplateSourceDirectory is empty, I get the crash. > [snip] > > So, i added this line, which is probably not ok, but it works now. Im > not sure what the TemplateSourceDirectory should be in this case. Do you > have a suggestion? It should always be set to the virtual directory of the current control's parent. TemplateSourceDirectory can be empty only in those cases (2.0 profile): 1. this.TemplateControl is null and HttpContext.Current is null and the current control is not a TemplateControl 2. current control is a TemplateControl and this.AppRelativeVirtualPath is null, which can happen only if AppRelativeVirtualPath is never initialized from code generated by ASP.NET compiler. 3. We have a bug in 2.0 logic for Control.TemplateSourceDirectory My bet is on #2, which would mean that your application is incorrectly ported to 2.0 - make sure that you run it with the 2.0 runtime, that all your code-behind and referenced assemblies are compiled with the 2.0 compiler. It is possible that some of your controls use the 1.1 version of System.Web and thus hit the 1.1 path in Control.TemplateSourceDirectory. regards, marek > > Cheers > > Peter > > On Mon, 2009-07-20 at 00:02 -0400, Gonzalo Paniagua Javier wrote: >> On Sun, 2009-07-19 at 18:40 +0200, Peter Hagen wrote: >> > Hi Gonzalo >> > >> > well, i have a bit a problem of recreating the bug in a new project. >> > If i make a new project from MonoDevelop, it works as planned. But >> > inside my project it doesn't. But this is originally a 1.1 >> > application. Uploading the entire project isnt really an option. So, >> > ill try to figure out more about the project first :s >> >> If you can build System.Web from sources, sprinkle a few >> Console.WriteLine() in Contorl.AppRelativeTemplateSourceDirectory and >> ToAppRelative. That will at least tell you where the 'null' is used for >> the first time. >> >> -Gonzalo >> >> >> _______________________________________________ >> 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 qzhan2009 at gmail.com Mon Jul 20 07:54:52 2009 From: qzhan2009 at gmail.com (qzhan15) Date: Mon, 20 Jul 2009 19:54:52 +0800 Subject: [Mono-list] Unhandled Exception at "System.Windows.Forms.DataGridViewButtonCell.GetValue" In-Reply-To: <769de8c40907191741i2d0c05afl28ce4e1a7393a07c@mail.gmail.com> References: <1247916820.9917.11.camel@ubuntu001> <84776a970907180449v17f63e06t5fc95bc1e346c921@mail.gmail.com> <1247919763.9917.21.camel@ubuntu001> <84776a970907180528x7d0e3c8ds640d374ae5624fa6@mail.gmail.com> <1247920566.9917.31.camel@ubuntu001> <4A61E346.9020502@jpobst.com> <84776a970907181130p385dbe4fo5d4c7dc8becbae22@mail.gmail.com> <769de8c40907191724u72ba1a30rf56c1f4b47f2d929@mail.gmail.com> <769de8c40907191741i2d0c05afl28ce4e1a7393a07c@mail.gmail.com> Message-ID: <1248090892.3767.12.camel@ubuntu904.localdomain> To clarify my question: Can anyone tell me why below code can't work with mono while the same code runs well on VS2005? using System; using System.Runtime.InteropServices; namespace test { public class Test { [DllImport("user32.dll", EntryPoint="CharUpper")] public static extern string CharUpperA(string lpsz); public static void Main(string[] argc) { System.Console.WriteLine(CharUpperA("abc")); } } } I have installed wine, and "libuser32.dll.so" (link to user32.dll.so) is located at /usr/lib/wine, and already configure the ld.so.conf and run ldconfig. then the "EntryPointNotFoundException" disappear but finally aborted during executing the native method. Stacktrace: at (wrapper managed-to-native) test.Test.CharUpperA (string) <0x00004> at (wrapper managed-to-native) test.Test.CharUpperA (string) <0xffffffff> at test.Test.Main (string[]) [0x00000] in /home/qzhan15/Projects/test/test/Test.cs:17 at (wrapper runtime-invoke) test.Test.runtime_invoke_void_string[] (object,intptr,intptr,intptr) <0xffffffff> Native stacktrace: /usr/bin/mono [0x806d944] /usr/bin/mono [0x808616b] [0xb7fd2410] [0xb79172c6] [0xb7917228] [0xb79171b3] /usr/bin/mono(mono_runtime_exec_main+0xe5) [0x80bad75] /usr/bin/mono(mono_runtime_run_main+0x16b) [0x80bb4eb] /usr/bin/mono(mono_main+0x1727) [0x805c917] /usr/bin/mono [0x805ac62] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7d6c775] /usr/bin/mono [0x805aba1] Debug info from gdb: (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 0xb7d226e0 (LWP 15550)] [New Thread 0xb7559b90 (LWP 15554)] [New Thread 0xb757db90 (LWP 15551)] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) 0xb7fd2430 in __kernel_vsyscall () 3 Thread 0xb757db90 (LWP 15551) 0xb7fd2430 in __kernel_vsyscall () 2 Thread 0xb7559b90 (LWP 15554) 0xb7fd2430 in __kernel_vsyscall () 1 Thread 0xb7d226e0 (LWP 15550) 0xb7fd2430 in __kernel_vsyscall () Thread 3 (Thread 0xb757db90 (LWP 15551)): #0 0xb7fd2430 in __kernel_vsyscall () #1 0xb7eec8f6 in nanosleep () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x081492e8 in ?? () #3 0xb7ee54ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #4 0xb7e3a49e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 2 (Thread 0xb7559b90 (LWP 15554)): #0 0xb7fd2430 in __kernel_vsyscall () #1 0xb7ee90e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x0814c607 in ?? () #3 0x0814f1f4 in ?? () #4 0x0814f25c in ?? () #5 0x08169b02 in ?? () #6 0x080d565a in ?? () #7 0x080f7639 in ?? () #8 0x081653b6 in ?? () #9 0x081833b5 in ?? () #10 0xb7ee54ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #11 0xb7e3a49e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 1 (Thread 0xb7d226e0 (LWP 15550)): #0 0xb7fd2430 in __kernel_vsyscall () #1 0xb7e36a87 in syscall () from /lib/tls/i686/cmov/libc.so.6 #2 0x0806d9e7 in ?? () #3 0x0808616b in ?? () #4 #5 0xb737c040 in CharUpperA () from /usr/lib/wine/libuser32.dll.so #6 0xb79172c6 in ?? () #7 0xb7917228 in ?? () #8 0xb79171b3 in ?? () #9 0x080bad75 in mono_runtime_exec_main () #10 0x080bb4eb in mono_runtime_run_main () #11 0x0805c917 in mono_main () #12 0x0805ac62 in ?? () #13 0xb7d6c775 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6 #14 0x0805aba1 in ?? () #0 0xb7fd2430 in __kernel_vsyscall () ================================================================= Got a SIGSEGV while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. ================================================================= On Mon, 2009-07-20 at 08:41 +0800, Qi Zhang wrote: > Hi, I just find the application aborts with some specific operation :) > The reason is: it invoked some native method in user32.dll > (like "CreateCaret"...) > The question is why it didn't get a "DllNotFoundException" but an > "EntryPointNotFoundException"? > Thanks > Qi > > > > On Mon, Jul 20, 2009 at 8:24 AM, Qi Zhang wrote: > Yes, there is no direct invoke in my code, thanks for help! > > BTW, I am able to run my application with Mono2.0 now. > > > > On Sun, Jul 19, 2009 at 2:30 AM, Petit Eric > wrote: > 2009/7/18 Jonathan Pobst : > > zhang qi wrote: > >> > >> Checked exception.txt of 1.9, the > > h?h? didn't saw you have a so old version of mono , > 1.9 :-) > > >> > System.Windows.Forms.DataGridViewButtonCell.GetValue > do exist, but 2.4 > >> didn't have this, seems the tool has issue or i run > with a wrong > >> method :) > >> anyway, i will do upgrade. > >> > >> Thanks again. > > > > MoMA cannot find that you are using this method > because it is not being used > > directly. That is, you aren't calling > DataGridViewButtonCell.GetValue in > > your code, but winforms is calling it behind the > scenes. > > > > However, the good news is this is implemented in > newer versions of Mono, > > like 2.4. It was implemented in r99681 in April > 2008. > > > > Jonathan > > > > > > > > -- > > Cordially. > > Small Eric Quotations of the days: > --------------------------------------------------------------------------- > If one day one reproaches you that your work is not a > work of > professional, say you that: > Amateurs built the arch of Noah, and professionals the > Titanic. > --------------------------------------------------------------------------- > > Few people are done for independence, it is the > privilege of the powerful ones. > --------------------------------------------------------------------------- > > No key was wounded during the drafting of this > message. > > > > From robertj at gmx.net Mon Jul 20 09:16:02 2009 From: robertj at gmx.net (Robert Jordan) Date: Mon, 20 Jul 2009 15:16:02 +0200 Subject: [Mono-list] Unhandled Exception at "System.Windows.Forms.DataGridViewButtonCell.GetValue" In-Reply-To: <1248090892.3767.12.camel@ubuntu904.localdomain> References: <1247916820.9917.11.camel@ubuntu001> <84776a970907180449v17f63e06t5fc95bc1e346c921@mail.gmail.com> <1247919763.9917.21.camel@ubuntu001> <84776a970907180528x7d0e3c8ds640d374ae5624fa6@mail.gmail.com> <1247920566.9917.31.camel@ubuntu001> <4A61E346.9020502@jpobst.com> <84776a970907181130p385dbe4fo5d4c7dc8becbae22@mail.gmail.com> <769de8c40907191724u72ba1a30rf56c1f4b47f2d929@mail.gmail.com> <769de8c40907191741i2d0c05afl28ce4e1a7393a07c@mail.gmail.com> <1248090892.3767.12.camel@ubuntu904.localdomain> Message-ID: qzhan15 wrote: > I have installed wine, and "libuser32.dll.so" (link to user32.dll.so) is > located at /usr/lib/wine, and already configure the ld.so.conf and run > ldconfig. then the "EntryPointNotFoundException" disappear but finally > aborted during executing the native method. Mono for Linux cannot consume Wine's shared objects. You may have more luck running Mono for Windows under Wine, but this is totally unsupported and not recommended. Robert From peter at wingsofdeath.nu Mon Jul 20 09:27:38 2009 From: peter at wingsofdeath.nu (Peter Hagen) Date: Mon, 20 Jul 2009 15:27:38 +0200 Subject: [Mono-list] null ref. exception In-Reply-To: <4A645289.7010204@twistedcode.net> References: <71386631-5744-4DBC-8697-91AF25CC4E38@wingsofdeath.nu> <1248004257.22935.6.camel@lalo-laptop> <3AF8E6E2-5226-4BA6-9063-D5ECDC0164F3@wingsofdeath.nu> <1248062522.22935.22.camel@lalo-laptop> <1248087438.4969.5.camel@djm-hp-ph> <4A645289.7010204@twistedcode.net> Message-ID: <1248096458.4969.15.camel@djm-hp-ph> Hi Marek you are right, there were some projects at 1.1. Yesterday I changed that, but I seemed not to have checked in my changes. I now am sure that all the controls (even NeatUpload) are compiled as 2.0, but still the exception occures. Im sure that the exception is throw by the IsAbsolute method: > public static bool IsAbsolute (string virtualPath) > { > if (StrUtils.IsNullOrEmpty (virtualPath)) > throw new ArgumentNullException ("virtualPath"); > > return (virtualPath [0] == '/' || virtualPath [0] == '\\'); > } when I print the value of virtualPath, it is indeed empty (but not null). If I just compile a control which was made for 1.1 as a 2.0 project, then things should be ok? The control that gives the exception is the neatupload inputcontrol which is derived from the FileContol, which comes from the System.Web.UI.WebControls.WebControl. I guess that should be no problem? public abstract class FileControl : System.Web.UI.WebControls.WebControl, System.Web.UI.IPostBackDataHandler Cheers Peter On Mon, 2009-07-20 at 13:18 +0200, Marek Habersack wrote: > Peter Hagen wrote: > > Hi Gonzalo > > > > I did some tests on ./mcs/class/System.Web/System.Web.UI/Control.cs and > > noticed if the TemplateSourceDirectory is empty, I get the crash. > > > [snip] > > > > So, i added this line, which is probably not ok, but it works now. Im > > not sure what the TemplateSourceDirectory should be in this case. Do you > > have a suggestion? > It should always be set to the virtual directory of the current control's parent. > TemplateSourceDirectory can be empty only in those cases (2.0 profile): > > 1. this.TemplateControl is null and HttpContext.Current is null and the current control is not a > TemplateControl > 2. current control is a TemplateControl and this.AppRelativeVirtualPath is null, which can happen > only if AppRelativeVirtualPath is never initialized from code generated by ASP.NET compiler. > 3. We have a bug in 2.0 logic for Control.TemplateSourceDirectory > > My bet is on #2, which would mean that your application is incorrectly ported to 2.0 - make sure > that you run it with the 2.0 runtime, that all your code-behind and referenced assemblies are > compiled with the 2.0 compiler. It is possible that some of your controls use the 1.1 version of > System.Web and thus hit the 1.1 path in Control.TemplateSourceDirectory. > > regards, > > marek > > > > > Cheers > > > > Peter > > > > On Mon, 2009-07-20 at 00:02 -0400, Gonzalo Paniagua Javier wrote: > >> On Sun, 2009-07-19 at 18:40 +0200, Peter Hagen wrote: > >> > Hi Gonzalo > >> > > >> > well, i have a bit a problem of recreating the bug in a new project. > >> > If i make a new project from MonoDevelop, it works as planned. But > >> > inside my project it doesn't. But this is originally a 1.1 > >> > application. Uploading the entire project isnt really an option. So, > >> > ill try to figure out more about the project first :s > >> > >> If you can build System.Web from sources, sprinkle a few > >> Console.WriteLine() in Contorl.AppRelativeTemplateSourceDirectory and > >> ToAppRelative. That will at least tell you where the 'null' is used for > >> the first time. > >> > >> -Gonzalo > >> > >> > >> _______________________________________________ > >> 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090720/f53bedda/attachment-0001.html From peter at wingsofdeath.nu Mon Jul 20 09:32:09 2009 From: peter at wingsofdeath.nu (Peter Hagen) Date: Mon, 20 Jul 2009 15:32:09 +0200 Subject: [Mono-list] null ref. exception In-Reply-To: <1248096458.4969.15.camel@djm-hp-ph> References: <71386631-5744-4DBC-8697-91AF25CC4E38@wingsofdeath.nu> <1248004257.22935.6.camel@lalo-laptop> <3AF8E6E2-5226-4BA6-9063-D5ECDC0164F3@wingsofdeath.nu> <1248062522.22935.22.camel@lalo-laptop> <1248087438.4969.5.camel@djm-hp-ph> <4A645289.7010204@twistedcode.net> <1248096458.4969.15.camel@djm-hp-ph> Message-ID: <1248096729.4969.16.camel@djm-hp-ph> Ow, and I forgot to mention, it does work under 2.0.1, but not with 2.4.2.2 Cheers Peter On Mon, 2009-07-20 at 15:27 +0200, Peter Hagen wrote: > Hi Marek > > you are right, there were some projects at 1.1. Yesterday I changed > that, but I seemed not to have checked in my changes. I now am sure > that all the controls (even NeatUpload) are compiled as 2.0, but still > the exception occures. Im sure that the exception is throw by the > IsAbsolute method: > > > public static bool IsAbsolute (string virtualPath) > > { > > if (StrUtils.IsNullOrEmpty (virtualPath)) > > throw new ArgumentNullException ("virtualPath"); > > > > return (virtualPath [0] == '/' || virtualPath [0] == '\\'); > > } > > when I print the value of virtualPath, it is indeed empty (but not null). If I just compile a control which was made for 1.1 as a 2.0 project, then things should be ok? The control that gives the exception is the neatupload inputcontrol which is derived from the FileContol, which comes from the System.Web.UI.WebControls.WebControl. I guess that should be no problem? > > public abstract class FileControl : System.Web.UI.WebControls.WebControl, System.Web.UI.IPostBackDataHandler > > Cheers > > Peter > > On Mon, 2009-07-20 at 13:18 +0200, Marek Habersack wrote: > > Peter Hagen wrote: > > > Hi Gonzalo > > > > > > I did some tests on ./mcs/class/System.Web/System.Web.UI/Control.cs and > > > noticed if the TemplateSourceDirectory is empty, I get the crash. > > > > > [snip] > > > > > > So, i added this line, which is probably not ok, but it works now. Im > > > not sure what the TemplateSourceDirectory should be in this case. Do you > > > have a suggestion? > > It should always be set to the virtual directory of the current control's parent. > > TemplateSourceDirectory can be empty only in those cases (2.0 profile): > > > > 1. this.TemplateControl is null and HttpContext.Current is null and the current control is not a > > TemplateControl > > 2. current control is a TemplateControl and this.AppRelativeVirtualPath is null, which can happen > > only if AppRelativeVirtualPath is never initialized from code generated by ASP.NET compiler. > > 3. We have a bug in 2.0 logic for Control.TemplateSourceDirectory > > > > My bet is on #2, which would mean that your application is incorrectly ported to 2.0 - make sure > > that you run it with the 2.0 runtime, that all your code-behind and referenced assemblies are > > compiled with the 2.0 compiler. It is possible that some of your controls use the 1.1 version of > > System.Web and thus hit the 1.1 path in Control.TemplateSourceDirectory. > > > > regards, > > > > marek > > > > > > > > Cheers > > > > > > Peter > > > > > > On Mon, 2009-07-20 at 00:02 -0400, Gonzalo Paniagua Javier wrote: > > >> On Sun, 2009-07-19 at 18:40 +0200, Peter Hagen wrote: > > >> > Hi Gonzalo > > >> > > > >> > well, i have a bit a problem of recreating the bug in a new project. > > >> > If i make a new project from MonoDevelop, it works as planned. But > > >> > inside my project it doesn't. But this is originally a 1.1 > > >> > application. Uploading the entire project isnt really an option. So, > > >> > ill try to figure out more about the project first :s > > >> > > >> If you can build System.Web from sources, sprinkle a few > > >> Console.WriteLine() in Contorl.AppRelativeTemplateSourceDirectory and > > >> ToAppRelative. That will at least tell you where the 'null' is used for > > >> the first time. > > >> > > >> -Gonzalo > > >> > > >> > > >> _______________________________________________ > > >> 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 qzhan2009 at gmail.com Mon Jul 20 09:50:12 2009 From: qzhan2009 at gmail.com (qzhan15) Date: Mon, 20 Jul 2009 21:50:12 +0800 Subject: [Mono-list] Unhandled Exception at "System.Windows.Forms.DataGridViewButtonCell.GetValue" In-Reply-To: References: <1247916820.9917.11.camel@ubuntu001> <84776a970907180449v17f63e06t5fc95bc1e346c921@mail.gmail.com> <1247919763.9917.21.camel@ubuntu001> <84776a970907180528x7d0e3c8ds640d374ae5624fa6@mail.gmail.com> <1247920566.9917.31.camel@ubuntu001> <4A61E346.9020502@jpobst.com> <84776a970907181130p385dbe4fo5d4c7dc8becbae22@mail.gmail.com> <769de8c40907191724u72ba1a30rf56c1f4b47f2d929@mail.gmail.com> <769de8c40907191741i2d0c05afl28ce4e1a7393a07c@mail.gmail.com> <1248090892.3767.12.camel@ubuntu904.localdomain> Message-ID: <1248097812.3472.0.camel@ubuntu904.localdomain> Got it, thanks! On Mon, 2009-07-20 at 15:16 +0200, Robert Jordan wrote: > qzhan15 wrote: > > I have installed wine, and "libuser32.dll.so" (link to user32.dll.so) is > > located at /usr/lib/wine, and already configure the ld.so.conf and run > > ldconfig. then the "EntryPointNotFoundException" disappear but finally > > aborted during executing the native method. > > Mono for Linux cannot consume Wine's shared objects. You may have > more luck running Mono for Windows under Wine, but this is > totally unsupported and not recommended. > > Robert > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list From jonpryor at vt.edu Mon Jul 20 11:28:32 2009 From: jonpryor at vt.edu (Jonathan Pryor) Date: Mon, 20 Jul 2009 15:28:32 +0000 Subject: [Mono-list] Fixing 2.4.2p2 NotImplementedException In-Reply-To: References: Message-ID: <1248103712.30655.161.camel@lina> On Mon, 2009-07-20 at 13:26 +0300, Andrus Moor wrote: > In Mono 2.4.2p2 method > > private object NormalizeDbType(object value) > { > System.Data.Linq.Binary b = value as System.Data.Linq.Binary; > if (b != null) > return b.ToArray(); > return value; > } > > causes NotImplementedException > > How to fix this in stable release of Mono? Is it possible to change this > code so that it works ? Mono 2.4.2 contains a "stub" version of System.Data.Linq.dll, i.e. it's not very useful. You might try using the trunk version. - Jon From grendel at twistedcode.net Mon Jul 20 11:44:45 2009 From: grendel at twistedcode.net (Marek Habersack) Date: Mon, 20 Jul 2009 17:44:45 +0200 Subject: [Mono-list] null ref. exception In-Reply-To: <1248096729.4969.16.camel@djm-hp-ph> References: <71386631-5744-4DBC-8697-91AF25CC4E38@wingsofdeath.nu> <1248004257.22935.6.camel@lalo-laptop> <3AF8E6E2-5226-4BA6-9063-D5ECDC0164F3@wingsofdeath.nu> <1248062522.22935.22.camel@lalo-laptop> <1248087438.4969.5.camel@djm-hp-ph> <4A645289.7010204@twistedcode.net> <1248096458.4969.15.camel@djm-hp-ph> <1248096729.4969.16.camel@djm-hp-ph> Message-ID: <4A6490ED.6040709@twistedcode.net> Peter Hagen wrote: > Ow, and I forgot to mention, it does work under 2.0.1, but not with > 2.4.2.2 Well, it's hard to determine what causes it without seeing the app/sample/test case. If you can give Gonzalo or I access to a server with the application (shell would be required), or share (privately) the source with either us, that'd be helpful. regards, marek > > Cheers > > Peter > > On Mon, 2009-07-20 at 15:27 +0200, Peter Hagen wrote: >> Hi Marek >> >> you are right, there were some projects at 1.1. Yesterday I changed >> that, but I seemed not to have checked in my changes. I now am sure >> that all the controls (even NeatUpload) are compiled as 2.0, but still >> the exception occures. Im sure that the exception is throw by the >> IsAbsolute method: >> >>> public static bool IsAbsolute (string virtualPath) >>> { >>> if (StrUtils.IsNullOrEmpty (virtualPath)) >>> throw new ArgumentNullException ("virtualPath"); >>> >>> return (virtualPath [0] == '/' || virtualPath [0] == '\\'); >>> } >> when I print the value of virtualPath, it is indeed empty (but not null). If I just compile a control which was made for 1.1 as a 2.0 project, then things should be ok? The control that gives the exception is the neatupload inputcontrol which is derived from the FileContol, which comes from the System.Web.UI.WebControls.WebControl. I guess that should be no problem? >> >> public abstract class FileControl : System.Web.UI.WebControls.WebControl, System.Web.UI.IPostBackDataHandler >> >> Cheers >> >> Peter >> >> On Mon, 2009-07-20 at 13:18 +0200, Marek Habersack wrote: >>> Peter Hagen wrote: >>>> Hi Gonzalo >>>> >>>> I did some tests on ./mcs/class/System.Web/System.Web.UI/Control.cs and >>>> noticed if the TemplateSourceDirectory is empty, I get the crash. >>>> >>> [snip] >>>> So, i added this line, which is probably not ok, but it works now. Im >>>> not sure what the TemplateSourceDirectory should be in this case. Do you >>>> have a suggestion? >>> It should always be set to the virtual directory of the current control's parent. >>> TemplateSourceDirectory can be empty only in those cases (2.0 profile): >>> >>> 1. this.TemplateControl is null and HttpContext.Current is null and the current control is not a >>> TemplateControl >>> 2. current control is a TemplateControl and this.AppRelativeVirtualPath is null, which can happen >>> only if AppRelativeVirtualPath is never initialized from code generated by ASP.NET compiler. >>> 3. We have a bug in 2.0 logic for Control.TemplateSourceDirectory >>> >>> My bet is on #2, which would mean that your application is incorrectly ported to 2.0 - make sure >>> that you run it with the 2.0 runtime, that all your code-behind and referenced assemblies are >>> compiled with the 2.0 compiler. It is possible that some of your controls use the 1.1 version of >>> System.Web and thus hit the 1.1 path in Control.TemplateSourceDirectory. >>> >>> regards, >>> >>> marek >>> >>>> Cheers >>>> >>>> Peter >>>> >>>> On Mon, 2009-07-20 at 00:02 -0400, Gonzalo Paniagua Javier wrote: >>>>> On Sun, 2009-07-19 at 18:40 +0200, Peter Hagen wrote: >>>>>> Hi Gonzalo >>>>>> >>>>>> well, i have a bit a problem of recreating the bug in a new project. >>>>>> If i make a new project from MonoDevelop, it works as planned. But >>>>>> inside my project it doesn't. But this is originally a 1.1 >>>>>> application. Uploading the entire project isnt really an option. So, >>>>>> ill try to figure out more about the project first :s >>>>> If you can build System.Web from sources, sprinkle a few >>>>> Console.WriteLine() in Contorl.AppRelativeTemplateSourceDirectory and >>>>> ToAppRelative. That will at least tell you where the 'null' is used for >>>>> the first time. >>>>> >>>>> -Gonzalo >>>>> >>>>> >>>>> _______________________________________________ >>>>> 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 > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > From eric at fontanas.net Mon Jul 20 12:27:16 2009 From: eric at fontanas.net (efontana) Date: Mon, 20 Jul 2009 09:27:16 -0700 (PDT) Subject: [Mono-list] xbuild / System.Diagnostics.Process "error CS0246: The type or namespace name `Process' could not be found" Message-ID: <24516947.post@talk.nabble.com> My first experience isn't so great with xbuild (What am I doing wrong?) 1. Using Visual Studio 2005, I built a simple test program "WindowsApplication' 2. I added a using System.Diagnostics 3. I declared Process p = null; 4. using "mono program.exe" works fine 5. Next, I tried to compile the whole thing on Linux using xbuild Now I get this error: XBuild Engine Version 0.1 Mono, Version 2.4.0.0 Copyright (C) Marek Sieradzki 2005. All rights reserved. Build started 7/16/2009 9:51:05 AM. __________________________________________________ Project "/home/cds/eric/cs/apps/WindowsApplication1/WindowsApplication1.csproj" (Build target(s)): Target PrepareForBuild: Configuration: Debug Platform: AnyCPU Created directory "bin/Debug/" Target ResolveAssemblyReferences: : warning : Reference System.Deployment not resolved Target CoreCompile: Tool /o/tools/linux/mono-2.4/bin/gmcs execution started with arguments: /noconfig /debug:full /debug+ /optimize- /out:bin/Debug/WindowsApplication1.exe Form1.cs Form1.Designer.cs Program.cs Properties/AssemblyInfo.cs Properties/Resources.Designer.cs /target:winexe /unsafe- /define:DEBUG;TRACE /reference:/o/tools/linux/mono-2.4/lib/mono/gac/System/2.0.5.0__7cec85d7bea7798e/System.dll /reference:/o/tools/linux/mono-2.4/lib/mono/gac/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll /reference:/o/tools/linux/mono-2.4/lib/mono/gac/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll /reference:/o/tools/linux/mono-2.4/lib/mono/gac/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll /reference:/o/tools/linux/mono-2.4/lib/mono/gac/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll /reference:/o/tools/linux/mono-2.4/lib/mono/gac/System.Xml/2.0.5.0__7cec85d7bea7798e/System.Xml.dll /warn:4 Form1.cs(14,9): error CS0246: The type or namespace name `Process' could not be found. Are you missing a using directive or an assembly reference? Build succeeded. 1 Warning(s) 2 Error(s) Time Elapsed 00:00:01.0271260 Why can't It find "Process" ?? -- View this message in context: http://www.nabble.com/xbuild---System.Diagnostics.Process-%22error-CS0246%3A--The-type-or-namespace-name-%60Process%27-could-not-be-found%22-tp24516947p24516947.html Sent from the Mono - General mailing list archive at Nabble.com. From kobruleht2 at hot.ee Mon Jul 20 12:34:51 2009 From: kobruleht2 at hot.ee (Andrus Moor) Date: Mon, 20 Jul 2009 19:34:51 +0300 Subject: [Mono-list] Fixing 2.4.2p2 NotImplementedException In-Reply-To: <1248103712.30655.161.camel@lina> References: <1248103712.30655.161.camel@lina> Message-ID: Thank you. I tried to extract System.Data.Linq sources from SVN but http://anonsvn.mono-project.com is down. Where to find trunk sources ? How to force web application to use System.Data.Linq.dll from application bin folder instead of 2.4.2p2 default one? I cannot use whole SVN since it does not work due to the issue http://bugzilla.novell.com/show_bug.cgi?id=522748 Andrus. ----- Original Message ----- From: "Jonathan Pryor" To: "Andrus Moor" Cc: Sent: Monday, July 20, 2009 6:28 PM Subject: Re: [Mono-list] Fixing 2.4.2p2 NotImplementedException > On Mon, 2009-07-20 at 13:26 +0300, Andrus Moor wrote: >> In Mono 2.4.2p2 method >> >> private object NormalizeDbType(object value) >> { >> System.Data.Linq.Binary b = value as System.Data.Linq.Binary; >> if (b != null) >> return b.ToArray(); >> return value; >> } >> >> causes NotImplementedException >> >> How to fix this in stable release of Mono? Is it possible to change this >> code so that it works ? > > Mono 2.4.2 contains a "stub" version of System.Data.Linq.dll, i.e. it's > not very useful. You might try using the trunk version. > > - Jon > > From radical at gmail.com Mon Jul 20 12:40:26 2009 From: radical at gmail.com (Ankit Jain) Date: Mon, 20 Jul 2009 22:10:26 +0530 Subject: [Mono-list] xbuild / System.Diagnostics.Process "error CS0246: The type or namespace name `Process' could not be found" In-Reply-To: <24516947.post@talk.nabble.com> References: <24516947.post@talk.nabble.com> Message-ID: Try with the latest version of mono : http://www.go-mono.com/mono-downloads/download.html xbuild in Mono 2.4.2.x is much improved from the earlier versions. -Ankit On Mon, Jul 20, 2009 at 9:57 PM, efontana wrote: > > My first experience isn't so great with xbuild (What am I doing wrong?) > > 1. Using Visual Studio 2005, I built a simple test program > "WindowsApplication' > 2. I added a using System.Diagnostics > 3. I declared Process p = null; > 4. using "mono program.exe" works fine > 5. Next, I tried to compile the whole thing on Linux using xbuild > > Now I get this error: > > XBuild Engine Version 0.1 > Mono, Version 2.4.0.0 > Copyright (C) Marek Sieradzki 2005. All rights reserved. > > Build started 7/16/2009 9:51:05 AM. > __________________________________________________ > Project > "/home/cds/eric/cs/apps/WindowsApplication1/WindowsApplication1.csproj" > (Build target(s)): > > Target PrepareForBuild: > ? ? ? ? ? ? ? ?Configuration: Debug Platform: AnyCPU > ? ? ? ? ? ? ? ?Created directory "bin/Debug/" > > Target ResolveAssemblyReferences: > : ?warning : Reference System.Deployment not resolved > > Target CoreCompile: > ? ? ? ? ? ? ? ?Tool /o/tools/linux/mono-2.4/bin/gmcs execution started with > arguments: /noconfig /debug:full /debug+ /optimize- > /out:bin/Debug/WindowsApplication1.exe Form1.cs Form1.Designer.cs Program.cs > Properties/AssemblyInfo.cs Properties/Resources.Designer.cs /target:winexe > /unsafe- /define:DEBUG;TRACE > /reference:/o/tools/linux/mono-2.4/lib/mono/gac/System/2.0.5.0__7cec85d7bea7798e/System.dll > /reference:/o/tools/linux/mono-2.4/lib/mono/gac/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll > /reference:/o/tools/linux/mono-2.4/lib/mono/gac/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll > /reference:/o/tools/linux/mono-2.4/lib/mono/gac/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll > /reference:/o/tools/linux/mono-2.4/lib/mono/gac/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll > /reference:/o/tools/linux/mono-2.4/lib/mono/gac/System.Xml/2.0.5.0__7cec85d7bea7798e/System.Xml.dll > /warn:4 > Form1.cs(14,9): ? error CS0246: ?The type or namespace name `Process' could > not be found. Are you missing a using directive or an assembly reference? > > Build succeeded. > ? ? ? ? 1 Warning(s) > ? ? ? ? 2 Error(s) > > Time Elapsed 00:00:01.0271260 > > Why can't It find "Process" ?? > -- > View this message in context: http://www.nabble.com/xbuild---System.Diagnostics.Process-%22error-CS0246%3A--The-type-or-namespace-name-%60Process%27-could-not-be-found%22-tp24516947p24516947.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 > -- Blog : http://www.ankitjain.org/blog From adrin222 at gmail.com Mon Jul 20 14:15:01 2009 From: adrin222 at gmail.com (adrin adrin) Date: Mon, 20 Jul 2009 20:15:01 +0200 Subject: [Mono-list] Secure .net remoting in mono Message-ID: <3d0c93cf0907201115l725c7a33kcdb7f28d79a4510b@mail.gmail.com> Hello is 'secure' remoting (TCP/HTTP) supported by mono? By secure i mean the fact that the data exchanged are encrypted and there is a way to authenticate/authorize requesting party. Another question... i know that WCF is not officially supported, but is it by any means usable in its current state? I've seen a debian wcf package and that wel.. confused me.. positively of course ;-) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090720/6dc522c2/attachment.html From stifu at free.fr Mon Jul 20 17:43:11 2009 From: stifu at free.fr (Stifu) Date: Mon, 20 Jul 2009 14:43:11 -0700 (PDT) Subject: [Mono-list] Building of Application Developed in VirtualStudio 2008 In-Reply-To: <24576448.post@talk.nabble.com> References: <24576448.post@talk.nabble.com> Message-ID: <24578116.post@talk.nabble.com> It seems Mono considers the "status" parameter in the CheckStatus method has a wrong value ("null or invalid"), while .NET accepts this value. You could debug it to check the content of the "status" variable passed to this method, and then file a bug report with a reduced test case. PACi wrote: > > Hello, > > i am trying to build application, which was originally developed in Visual > Studio. Now i opened in MoonDeveloped and tried to compile. > > It compiles without any problem, but when i try tu run, it makes such a > output: > > Unhandled Exception: System.ArgumentException: A null reference or invalid > value was found [GDI+ status: InvalidParameter] > at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] > at System.Drawing.Image.InitFromStream (System.IO.Stream stream) > [0x00000] > at System.Drawing.Image.LoadFromStream (System.IO.Stream stream, Boolean > keepAlive) [0x00000] > at System.Drawing.Icon.GetInternalBitmap () [0x00000] > at System.Drawing.Icon.ToBitmap () [0x00000] > at (wrapper remoting-invoke-with-check) System.Drawing.Icon:ToBitmap () > at System.Windows.Forms.XplatUIX11.SetIcon (System.Windows.Forms.Hwnd > hwnd, System.Drawing.Icon icon) [0x00000] > at System.Windows.Forms.XplatUIX11.SetIcon (IntPtr handle, > System.Drawing.Icon icon) [0x00000] > at System.Windows.Forms.XplatUI.SetIcon (IntPtr handle, > System.Drawing.Icon icon) [0x00000] > at System.Windows.Forms.Form.CreateHandle () [0x00000] > at System.Windows.Forms.Control.CreateControl () [0x00000] > at System.Windows.Forms.Control.SetVisibleCore (Boolean value) [0x00000] > at System.Windows.Forms.Form.SetVisibleCore (Boolean value) [0x00000] > at System.Windows.Forms.Control.set_Visible (Boolean value) [0x00000] > at (wrapper remoting-invoke-with-check) > System.Windows.Forms.Control:set_Visible (bool) > at System.Windows.Forms.Application.RunLoop (Boolean Modal, > System.Windows.Forms.ApplicationContext context) [0x00000] > at System.Windows.Forms.Application.Run > (System.Windows.Forms.ApplicationContext context) [0x00000] > at System.Windows.Forms.Application.Run (System.Windows.Forms.Form > mainForm) [0x00000] > at MountControl.Program.Main (System.String[] args) [0x00000] > > And i have no idea, where is problem. I am quite new to programming. Any > help where to focus welcomed. > > Jan > -- View this message in context: http://www.nabble.com/Building-of-Application-Developed-in-VirtualStudio-2008-tp24576448p24578116.html Sent from the Mono - General mailing list archive at Nabble.com. From miguel at novell.com Mon Jul 20 17:45:32 2009 From: miguel at novell.com (Miguel de Icaza) Date: Mon, 20 Jul 2009 17:45:32 -0400 Subject: [Mono-list] The Mono 1.0 profile. Message-ID: <1248126332.20719.39.camel@erandi.site> Hello folks, The upcoming Mono 2.6 will be the last Mono release to support the .NET 1.0 profile. Pretty much all developers have moved to use generics-aware code these days, and supporting the 1.0 profile has become an large tax on the development team. 1.0 applications run just fine on 2.0 runtimes, so few users will be affected by 1.0-only bugs or dependencies (we are bug compatible in a few places with the 1.0 behavior). Users that still want to run 1.0 applications will be able to do so by keeping an older version of Mono around (2.4 or 2.6, plus whatever is the latest Mono release). The tax means that we need to continue developing and maintaining libraries that are not able to take advantage of 2.0 features for old users, and it means that build times are longer, regression test suites have to be run twice, and we have to keep and maintain bug compatibility with another version. Miguel. From jon_james at dell.com Mon Jul 20 17:59:00 2009 From: jon_james at dell.com (Jon James) Date: Mon, 20 Jul 2009 14:59:00 -0700 (PDT) Subject: [Mono-list] Seeking help with RPM creation for RHEL5 Message-ID: <24578278.post@talk.nabble.com> Howdy folks, I'm looking for some help around building RPMs for RHEL5. I have been able to download the source tarball for libgdiplus 2.4.2 and leverage the spec file for the fedora build. However, mono 2.4.2.2 has been quite the beast regarding building a RHEL5 rpm package. I am using the latest fedora mono.spec file located here: http://cvs.fedora.redhat.com/viewvc/devel/mono/mono.spec?revision=1.137 I have downloaded all the patch files from the fedora site and have them and the source bz2 file in my build structure. I also have all the buildrequires packages installed. When i initiate the command: rpmbuild -ba mono.spec The building will begin, going through the various parts of the spec file but then towards the compiling of mono 2.4.2.2 it will throw exception and exit. Last bit of exit detail: make[4]: Entering directory `/usr/src/redhat/BUILD/mono-2.4.2.2/mcs' make PROFILE=basic all make[5]: Entering directory `/usr/src/redhat/BUILD/mono-2.4.2.2/mcs' make[6]: mcs: Command not found make[6]: *** [build/deps/basic-profile-check.exe] Error 127 *** The compiler 'mcs' doesn't appear to be usable. *** You need a C# compiler installed to build MCS (make sure mcs works from the command line) *** Read INSTALL.txt for information on how to bootstrap a Mono installation. make[5]: *** [do-profile-check] Error 1 In the spec file i'm using, it notes about a mono-basic buildrequires for bootstrapping but i have that commented out. I'm a bit new to this area of linux (building, compiling and packaging) and would appreciate some help. I have been able to compile source for both libgdiplus and mono 2.4.2.2 without issue. Any direction? I'm a bit lost at the moment on what to try next. JJ -- View this message in context: http://www.nabble.com/Seeking-help-with-RPM-creation-for-RHEL5-tp24578278p24578278.html Sent from the Mono - General mailing list archive at Nabble.com. From ryan.kirkpatrick at inovonics.com Mon Jul 20 21:27:22 2009 From: ryan.kirkpatrick at inovonics.com (Ryan Kirkpatrick) Date: Mon, 20 Jul 2009 19:27:22 -0600 Subject: [Mono-list] Class Property Initializer Question... Message-ID: <4A65197A.7010304@inovonics.com> When I compile and run the following code with Visual Studio, the output is 'Blue/Green' and 'Red/Red'. When I compile and run the same code with Mono (2.4.2.x), the output is 'Blue/Green' and 'Blue/Green'. For some reason the initial values I am setting as part 'new' line are not being overwritten or worse just ignored. This does appear to be a compiler issue, since if I run the EXE generated by VS with Mono then I get 'Blue/Green' and 'Red/Red'. With gmcs I am simply compiling with 'gmcs program.cs'. Is there something I am missing? Or did I find a bug? Thanks! ---------------------PROGRAM.CS------------------------------------- using System; using System.Collections.Generic; namespace ConsoleApplication2 { enum Colors { Red = 0, Green = 1, Blue = 2 }; class Screen { public Colors fore = Colors.Blue; public Colors back; public Screen() { back = Colors.Green; } } class Program { static void Main(string[] args) { Screen a = new Screen(); Console.WriteLine("{0} / {1}", a.fore, a.back); a = new Screen() { back = Colors.Red, fore = Colors.Red }; Console.WriteLine("{0} / {1}", a.fore, a.back); } } } ------------------------------------------------------------------ -- Ryan Kirkpatrick , 303-209-7190 Senior Design Engineer Inovonics Wireless Corporation This email transmission and any documents, files or previous email messages attached to it contains information that is confidential or legally privileged. If you are not the intended recipient or a person responsible for delivering this transmission to the intended recipient, you are hereby notified that you must not read this transmission and that any disclosure, copying, printing, distribution or use of this transmission is strictly prohibited. If you have received this transmission in error, please immediately notify the sender by telephone or return email and delete the original transmission and its attachments without reading or saving in any manner. Thank you. From bhushand at gmail.com Tue Jul 21 02:08:08 2009 From: bhushand at gmail.com (Bhushand) Date: Mon, 20 Jul 2009 23:08:08 -0700 (PDT) Subject: [Mono-list] Mono 2.4 for RHEL4 or RHEL5 Message-ID: <24582220.post@talk.nabble.com> Hello, Where do i get the latest version of Mono (Ver.2.4) for Red Hat Enterprise Linux 4. or Red Hat Enterprise Linux 5. Thanks -- View this message in context: http://www.nabble.com/Mono-2.4-for-RHEL4-or-RHEL5-tp24582220p24582220.html Sent from the Mono - General mailing list archive at Nabble.com. From gert.driesen at telenet.be Tue Jul 21 02:33:58 2009 From: gert.driesen at telenet.be (Gert Driesen) Date: Tue, 21 Jul 2009 08:33:58 +0200 Subject: [Mono-list] The Mono 1.0 profile. In-Reply-To: <1248126332.20719.39.camel@erandi.site> References: <1248126332.20719.39.camel@erandi.site> Message-ID: <009801ca09cd$3a968890$afc399b0$@driesen@telenet.be> Hi Miguel, Can you be a little more specific? Will you be removing all 1.0 specific code (paths)? Will support for building the net_1_1 profile be removed altogether (or will you just need to opt-in)? Will you discourage packagers to include the net_1_1 profile? I understand that Novell itself cannot continue supporting all profiles, but I think you should at least allow the community to continue this. 1.0 applications can indeed run on 2.0 runtimes, but rest assured that you'll get a difference in behavior. This is mostly because lots of bugs where fixed since net_1_1, but in some cases that bug compatibility is actually needed. Gert -----Original Message----- From: mono-list-bounces at lists.ximian.com [mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Miguel de Icaza Sent: maandag 20 juli 2009 23:46 To: mono-list; mono-devel-list; Mono Announce Subject: [Mono-list] The Mono 1.0 profile. Hello folks, The upcoming Mono 2.6 will be the last Mono release to support the .NET 1.0 profile. Pretty much all developers have moved to use generics-aware code these days, and supporting the 1.0 profile has become an large tax on the development team. 1.0 applications run just fine on 2.0 runtimes, so few users will be affected by 1.0-only bugs or dependencies (we are bug compatible in a few places with the 1.0 behavior). Users that still want to run 1.0 applications will be able to do so by keeping an older version of Mono around (2.4 or 2.6, plus whatever is the latest Mono release). The tax means that we need to continue developing and maintaining libraries that are not able to take advantage of 2.0 features for old users, and it means that build times are longer, regression test suites have to be run twice, and we have to keep and maintain bug compatibility with another version. Miguel. _______________________________________________ Mono-list maillist - Mono-list at lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list Internal Virus Database is out of date. Checked by AVG - www.avg.com Version: 8.5.285 / Virus Database: 270.13.12/2234 - Release Date: 07/12/09 17:56:00 From surfzoid at gmail.com Tue Jul 21 03:36:59 2009 From: surfzoid at gmail.com (Petit Eric) Date: Tue, 21 Jul 2009 09:36:59 +0200 Subject: [Mono-list] Seeking help with RPM creation for RHEL5 In-Reply-To: <24578278.post@talk.nabble.com> References: <24578278.post@talk.nabble.com> Message-ID: <84776a970907210036x7e994d76g3a4c43d23a459768@mail.gmail.com> You need either a valid install of mono, or if not, use in the spec a "make get-monolite-latest" who will download bootstrap at the good place 2009/7/20 Jon James : > > Howdy folks, > > I'm looking for some help around building RPMs for RHEL5. ?I have been able > to download the source tarball for libgdiplus 2.4.2 and leverage the spec > file for the fedora build. > > However, mono 2.4.2.2 has been quite the beast regarding building a RHEL5 > rpm package. ?I am using the latest fedora mono.spec file located here: > http://cvs.fedora.redhat.com/viewvc/devel/mono/mono.spec?revision=1.137 > > I have downloaded all the patch files from the fedora site and have them and > the source bz2 file in my build structure. ?I also have all the > buildrequires packages installed. > > When i initiate the command: rpmbuild -ba mono.spec The building will begin, > going through the various parts of the spec file but then towards the > compiling of mono 2.4.2.2 it will throw exception and exit. > > Last bit of exit detail: > make[4]: Entering directory `/usr/src/redhat/BUILD/mono-2.4.2.2/mcs' > make PROFILE=basic all > make[5]: Entering directory `/usr/src/redhat/BUILD/mono-2.4.2.2/mcs' > make[6]: mcs: Command not found > make[6]: *** [build/deps/basic-profile-check.exe] Error 127 > *** The compiler 'mcs' doesn't appear to be usable. > *** You need a C# compiler installed to build MCS (make sure mcs works from > the command line) > *** Read INSTALL.txt for information on how to bootstrap a Mono > installation. > make[5]: *** [do-profile-check] Error 1 > > In the spec file i'm using, it notes about a mono-basic buildrequires for > bootstrapping but i have that commented out. > > I'm a bit new to this area of linux (building, compiling and packaging) and > would appreciate some help. ?I have been able to compile source for both > libgdiplus and mono 2.4.2.2 without issue. > > Any direction? I'm a bit lost at the moment on what to try next. > > JJ > -- > View this message in context: http://www.nabble.com/Seeking-help-with-RPM-creation-for-RHEL5-tp24578278p24578278.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 > -- Cordially. Small Eric Quotations of the days: --------------------------------------------------------------------------- If one day one reproaches you that your work is not a work of professional, say you that: Amateurs built the arch of Noah, and professionals the Titanic. --------------------------------------------------------------------------- When society feel down, to be quiet we say, at this time every things are okay's, because the most important is the landing. --------------------------------------------------------------------------- No key was wounded during the drafting of this message. From akm1984 at web.de Tue Jul 21 07:31:37 2009 From: akm1984 at web.de (helpless) Date: Tue, 21 Jul 2009 04:31:37 -0700 (PDT) Subject: [Mono-list] Unhandled Exception: System.Runtime.Serialization.SerializationException Message-ID: <24568549.post@talk.nabble.com> Hello, I'm trying to run a tool originally written for use under MS .net-Framework under Mono on a Kubuntu Jaunty release. I'm using Firefox 3.5 and xulrunner 1.9. I downloaded and compiled the latest stable version of libgdi, mono and gluezilla. (2.4.2) and tried to run the tool. I downloaded the tool from here: http://www.aommaster.com/Files/MHWT%20v.1.3.zip However I seem to be running into all kind of troubles. :( I have had help at the #mono irc channel on freenode, however people there believe that this might be a problem with mono itself and advised me to ask for help here. I have 2 different kind of crashs: The first occurs whenever I open a window that accepts text input into a database. Could not set X locale modifiers Stacktrace: at (wrapper managed-to-native) Mono.Mozilla.Base.gluezilla_createBrowserWindow (intptr,intptr,int,int,string,string,Mono.WebBrowser.Platform) <0x00004> [...] I attached the complete error log in http://www.nabble.com/file/p24568549/crash.textinputwindow.txt crash.textinputwindow.txt The second occurs when I close any window (the database is updated everytime a window is closed): Unhandled Exception: System.Runtime.Serialization.SerializationException: Type Malware_Helper_Workflow_Tool.speechDatabase is not marked as Serializable. at System.Runtime.Serialization.Formatters.Binary.BinaryCommon.CheckSerializable (System.Type type, ISurrogateSelector selector, StreamingContext context) [0x00000] [...] I attached the complete error log in http://www.nabble.com/file/p24568549/crash.dbupdate.txt crash.dbupdate.txt The tool creates a file Data.db in which all input should be stored. When that file is present, the following error message is displayed at start up: Error is: Could not load type 'System.ComponentModel.BindingList`1[[Malware_Helper_Workflow_Tool.speech, Malware Helper Workflow Tool, Version=1.3.0.0, Culture=neutral,PublicKeyToken=null]]. Don't know if this helps to pinpoint the problem. My guess is that all the problems come from the same source, but I'm totally incapable of saying what is causing this. Please bear in mind, that this is the first time I use mono and that I am a noob at almost everything. I will do everything you want me too (or almost ;) ) but I need simple and detailed instructions to be able to do so. looking forward to your replies, kathrin -- View this message in context: http://www.nabble.com/Unhandled-Exception%3A-System.Runtime.Serialization.SerializationException-tp24568549p24568549.html Sent from the Mono - General mailing list archive at Nabble.com. From jon_james at dell.com Tue Jul 21 09:56:26 2009 From: jon_james at dell.com (Jon James) Date: Tue, 21 Jul 2009 06:56:26 -0700 (PDT) Subject: [Mono-list] Seeking help with RPM creation for RHEL5 In-Reply-To: <84776a970907210036x7e994d76g3a4c43d23a459768@mail.gmail.com> References: <24578278.post@talk.nabble.com> <84776a970907210036x7e994d76g3a4c43d23a459768@mail.gmail.com> Message-ID: <24588174.post@talk.nabble.com> Awesome. Thanks for the reply. That seemed to get me RMPs finally! Something i noted during RPM creation.. /usr/src/redhat/BUILD/mono-2.4.2.2/libtool: line 6823: LC_ALL: command not found /usr/src/redhat/BUILD/mono-2.4.2.2/libtool: line 6823: LC_CTYPE: command not found /usr/src/redhat/BUILD/mono-2.4.2.2/libtool: line 6823: LC_COLLATE: command not found /usr/src/redhat/BUILD/mono-2.4.2.2/libtool: line 6823: LC_MESSAGES: command not found Is this an issue? RPMs were built but noticed this during compiling. Jon Petit Eric wrote: > > You need either a valid install of mono, or if not, use in the spec a > "make get-monolite-latest" who will download bootstrap at the good > place > > 2009/7/20 Jon James : >> >> Howdy folks, >> >> I'm looking for some help around building RPMs for RHEL5. ?I have been >> able >> to download the source tarball for libgdiplus 2.4.2 and leverage the spec >> file for the fedora build. >> >> However, mono 2.4.2.2 has been quite the beast regarding building a RHEL5 >> rpm package. ?I am using the latest fedora mono.spec file located here: >> http://cvs.fedora.redhat.com/viewvc/devel/mono/mono.spec?revision=1.137 >> >> I have downloaded all the patch files from the fedora site and have them >> and >> the source bz2 file in my build structure. ?I also have all the >> buildrequires packages installed. >> >> When i initiate the command: rpmbuild -ba mono.spec The building will >> begin, >> going through the various parts of the spec file but then towards the >> compiling of mono 2.4.2.2 it will throw exception and exit. >> >> Last bit of exit detail: >> make[4]: Entering directory `/usr/src/redhat/BUILD/mono-2.4.2.2/mcs' >> make PROFILE=basic all >> make[5]: Entering directory `/usr/src/redhat/BUILD/mono-2.4.2.2/mcs' >> make[6]: mcs: Command not found >> make[6]: *** [build/deps/basic-profile-check.exe] Error 127 >> *** The compiler 'mcs' doesn't appear to be usable. >> *** You need a C# compiler installed to build MCS (make sure mcs works >> from >> the command line) >> *** Read INSTALL.txt for information on how to bootstrap a Mono >> installation. >> make[5]: *** [do-profile-check] Error 1 >> >> In the spec file i'm using, it notes about a mono-basic buildrequires for >> bootstrapping but i have that commented out. >> >> I'm a bit new to this area of linux (building, compiling and packaging) >> and >> would appreciate some help. ?I have been able to compile source for both >> libgdiplus and mono 2.4.2.2 without issue. >> >> Any direction? I'm a bit lost at the moment on what to try next. >> >> JJ >> -- >> View this message in context: >> http://www.nabble.com/Seeking-help-with-RPM-creation-for-RHEL5-tp24578278p24578278.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 >> > > > > -- > Cordially. > > Small Eric Quotations of the days: > --------------------------------------------------------------------------- > If one day one reproaches you that your work is not a work of > professional, say you that: > Amateurs built the arch of Noah, and professionals the Titanic. > --------------------------------------------------------------------------- > > When society feel down, to be quiet we say, at this time every things > are okay's, because the most important is the landing. > --------------------------------------------------------------------------- > > No key was wounded during the drafting of this message. > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > -- View this message in context: http://www.nabble.com/Seeking-help-with-RPM-creation-for-RHEL5-tp24578278p24588174.html Sent from the Mono - General mailing list archive at Nabble.com. From miguel at novell.com Tue Jul 21 11:49:32 2009 From: miguel at novell.com (Miguel de Icaza) Date: Tue, 21 Jul 2009 11:49:32 -0400 Subject: [Mono-list] The Mono 1.0 profile. In-Reply-To: <009801ca09cd$3a968890$afc399b0$@driesen@telenet.be> References: <1248126332.20719.39.camel@erandi.site> <009801ca09cd$3a968890$afc399b0$@driesen@telenet.be> Message-ID: <1248191372.20719.70.camel@erandi.site> Hello Gert, > Will you be removing all 1.0 specific code (paths)? > Will support for building the net_1_1 profile be removed altogether (or will > you just need to opt-in)? Yes, I would like to do that: remove all the ifdefs for net_1_1 on post Mono 2.6 releases, and remove all the tests for 1.1 compatibility as well. > Will you discourage packagers to include the net_1_1 profile? > I understand that Novell itself cannot continue supporting all profiles, but > I think you should at least allow the community to continue this. My feeling is that we should come to a place where you can have two Mono runtimes installed, an older one to run the 1.0 runtime, and another one to run 2.0 and 4.0. The issue is not only a problem with build times taking longer for each developer, they also take longer one each build bot, it almost doubles the test suite run times, and it wastes developer time (Novell or otherwise) making sure that we do not break the 1.0 profile. With the introduction of the 4.0 APIs with a new mscorlib we will end up in a situation where every check in has to be tested and compiled against 3 versions. It is an amount of work that is slowing Mono down as a whole. I rather invest in finding creative ways of packaging and installing two monos in parallel for those that want to have 1.0 based apps. Miguel. From ryan.kirkpatrick at inovonics.com Tue Jul 21 12:44:18 2009 From: ryan.kirkpatrick at inovonics.com (Ryan Kirkpatrick) Date: Tue, 21 Jul 2009 10:44:18 -0600 Subject: [Mono-list] Class Property Initializer Question... In-Reply-To: <4A65197A.7010304@inovonics.com> References: <4A65197A.7010304@inovonics.com> Message-ID: <4A65F062.3030801@inovonics.com> Ryan Kirkpatrick wrote: > When I compile and run the following code with Visual Studio, the output > is 'Blue/Green' and 'Red/Red'. When I compile and run the same code > with Mono (2.4.2.x), the output is 'Blue/Green' and 'Blue/Green'. Looked at this again with a fresh mind this morning and realized this only happens if the initial values set inline with 'new' are the variable type's default value. In other words, if I change the below code such that 'Red = 3' in the enum, then this problem all goes away! Therefore, these 'inline initializers' are unable to set a class's variable/property to the default value of its data type if the class provides a value in its declaration or constructor. This looks like a compiler bug to me. :( > ---------------------PROGRAM.CS------------------------------------- > > using System; > using System.Collections.Generic; > > namespace ConsoleApplication2 { > enum Colors { Red = 0, Green = 1, Blue = 2 }; > class Screen { > public Colors fore = Colors.Blue; > public Colors back; > public Screen() { back = Colors.Green; } > } > > class Program { > static void Main(string[] args) { > Screen a = new Screen(); > Console.WriteLine("{0} / {1}", a.fore, a.back); > a = new Screen() { back = Colors.Red, fore = Colors.Red }; > Console.WriteLine("{0} / {1}", a.fore, a.back); > } > } > } > > ----------------------------------------------------------------- -- Ryan Kirkpatrick , 303-209-7190 Senior Design Engineer Inovonics Wireless Corporation This email transmission and any documents, files or previous email messages attached to it contains information that is confidential or legally privileged. If you are not the intended recipient or a person responsible for delivering this transmission to the intended recipient, you are hereby notified that you must not read this transmission and that any disclosure, copying, printing, distribution or use of this transmission is strictly prohibited. If you have received this transmission in error, please immediately notify the sender by telephone or return email and delete the original transmission and its attachments without reading or saving in any manner. Thank you. From cdhowie at gmail.com Tue Jul 21 14:03:48 2009 From: cdhowie at gmail.com (Chris Howie) Date: Tue, 21 Jul 2009 14:03:48 -0400 Subject: [Mono-list] Unhandled Exception at "System.Windows.Forms.DataGridViewButtonCell.GetValue" In-Reply-To: <1248097812.3472.0.camel@ubuntu904.localdomain> References: <1247916820.9917.11.camel@ubuntu001> <84776a970907180528x7d0e3c8ds640d374ae5624fa6@mail.gmail.com> <1247920566.9917.31.camel@ubuntu001> <4A61E346.9020502@jpobst.com> <84776a970907181130p385dbe4fo5d4c7dc8becbae22@mail.gmail.com> <769de8c40907191724u72ba1a30rf56c1f4b47f2d929@mail.gmail.com> <769de8c40907191741i2d0c05afl28ce4e1a7393a07c@mail.gmail.com> <1248090892.3767.12.camel@ubuntu904.localdomain> <1248097812.3472.0.camel@ubuntu904.localdomain> Message-ID: <3d2f29dc0907211103t7037821cy5981d1e78bca5282@mail.gmail.com> In other words, if you want portable code then Don't. P/Invoke. Ever. (Unless you know *exactly* what you are doing and know *exactly* how to make it work portably.) If you have not yet read this, it is an excellent guide to making sure that your code is portable, even managed code: . Things like "don't hardcode \ as a path separator" seem obvious in hindsight but can trip you up at first. This is a fairly complete list of common things that are obstacles to running .NET apps on Linux. On Mon, Jul 20, 2009 at 9:50 AM, qzhan15 wrote: > Got it, thanks! > > On Mon, 2009-07-20 at 15:16 +0200, Robert Jordan wrote: >> qzhan15 wrote: >> > I have installed wine, and "libuser32.dll.so" (link to user32.dll.so) is >> > located at /usr/lib/wine, and already configure the ld.so.conf and run >> > ldconfig. then the "EntryPointNotFoundException" disappear but finally >> > aborted during executing the native method. >> >> Mono for Linux cannot consume Wine's shared objects. You may have >> more luck running Mono for Windows under Wine, but this is >> totally unsupported and not recommended. >> >> Robert >> >> _______________________________________________ >> 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 > -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers From gert.driesen at telenet.be Tue Jul 21 15:50:48 2009 From: gert.driesen at telenet.be (Gert Driesen) Date: Tue, 21 Jul 2009 21:50:48 +0200 Subject: [Mono-list] The Mono 1.0 profile. In-Reply-To: <1248191372.20719.70.camel@erandi.site> References: <1248126332.20719.39.camel@erandi.site> <009801ca09cd$3a968890$afc399b0$@driesen@telenet.be> <1248191372.20719.70.camel@erandi.site> Message-ID: <003301ca0a3c$8b48f3d0$a1dadb70$@driesen@telenet.be> > -----Original Message----- > From: mono-list-bounces at lists.ximian.com [mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Miguel de Icaza > Sent: dinsdag 21 juli 2009 17:50 > To: Gert Driesen > Cc: 'mono-list'; 'Mono Announce'; 'mono-devel-list' > Subject: Re: [Mono-list] The Mono 1.0 profile. > > Hello Gert, Hello Miguel, > > > Will you be removing all 1.0 specific code (paths)? > > Will support for building the net_1_1 profile be removed altogether (or will > > you just need to opt-in)? > > Yes, I would like to do that: remove all the ifdefs for net_1_1 on post > Mono 2.6 releases, and remove all the tests for 1.1 compatibility as > well. Personally, I think we'll waste more cycles on this than that it will bring benefit. I'm sure there are more urgent matters. I know the ifdefs are a mess, but we'll have them anyway (if we do not only want compatibility with MS's latest and greatest). > > Will you discourage packagers to include the net_1_1 profile? > > I understand that Novell itself cannot continue supporting all profiles, but > > I think you should at least allow the community to continue this. > > My feeling is that we should come to a place where you can have two Mono > runtimes installed, an older one to run the 1.0 runtime, and another one > to run 2.0 and 4.0. Are you planning on creating a branch that can still be actively worked on by/for those that want to maintain the highest level of compatibility with .NET 1.1? I'm not sure if anyone is even interested in this. If there is, then I assume they will even want to create new (bugfix/security fix) releases. > The issue is not only a problem with build times taking longer for each > developer, they also take longer one each build bot, it almost doubles > the test suite run times, and it wastes developer time (Novell or > otherwise) making sure that we do not break the 1.0 profile. Sure, but you could just make the 1.0 profile opt-in. And perhaps only run the build bot test for that profile once a week (and leave it up to contributors to deal with it). > With the introduction of the 4.0 APIs with a new mscorlib we will end up > in a situation where every check in has to be tested and compiled > against 3 versions. It is an amount of work that is slowing Mono down > as a whole. I understand, and making the 1.0 profile opt-in would deal with that. You should also make it clear that the 1.0 profile is no longer endorsed by Novell. > I rather invest in finding creative ways of packaging and installing two > monos in parallel for those that want to have 1.0 based apps. Is this something that you will do or want to do ? ;-) Note that I'm not opposed to making the 1.0 profile a second-class citizen, but I consider removing it altogether a radical change. Gert From grendel at twistedcode.net Tue Jul 21 17:57:42 2009 From: grendel at twistedcode.net (Marek Habersack) Date: Tue, 21 Jul 2009 23:57:42 +0200 Subject: [Mono-list] [Mono-dev] The Mono 1.0 profile. In-Reply-To: <003301ca0a3c$8b48f3d0$a1dadb70$@driesen@telenet.be> References: <1248126332.20719.39.camel@erandi.site> <009801ca09cd$3a968890$afc399b0$@driesen@telenet.be> <1248191372.20719.70.camel@erandi.site> <003301ca0a3c$8b48f3d0$a1dadb70$@driesen@telenet.be> Message-ID: <4A6639D6.7060604@twistedcode.net> Gert Driesen wrote: >> -----Original Message----- >> From: mono-list-bounces at lists.ximian.com > [mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Miguel de Icaza >> Sent: dinsdag 21 juli 2009 17:50 >> To: Gert Driesen >> Cc: 'mono-list'; 'Mono Announce'; 'mono-devel-list' >> Subject: Re: [Mono-list] The Mono 1.0 profile. >> >> Hello Gert, > > Hello Miguel, > >>> Will you be removing all 1.0 specific code (paths)? >>> Will support for building the net_1_1 profile be removed altogether (or > will >>> you just need to opt-in)? >> Yes, I would like to do that: remove all the ifdefs for net_1_1 on post >> Mono 2.6 releases, and remove all the tests for 1.1 compatibility as >> well. > > Personally, I think we'll waste more cycles on this than that it will bring > benefit. I disagree. 1.1 is a) mature enough to be moved to a separate location (in our case 2.4/2.6) to be maintained there should a fix be needed, b) slowly being phased out of real projects (not to mention new developments). Us having to carefully examine 1.1 code when we fix 2.0 bugs or add new code is really time consuming and unnecessary. > I'm sure there are more urgent matters. > I know the ifdefs are a mess, but we'll have them anyway (if we do not only > want compatibility with MS's latest and greatest). Changes between 2.0 and 4.0 are not as dramatic as between 1.0 and 2.0 - they are mostly new APIs, or old internal APIs made public. We'll get rid of a real ton of #ifdefs, not to mention separate directories containing different code for 1.1 and 2.0 (like System.Web's configuration and session stuff) >>> Will you discourage packagers to include the net_1_1 profile? >>> I understand that Novell itself cannot continue supporting all profiles, > but >>> I think you should at least allow the community to continue this. >> My feeling is that we should come to a place where you can have two Mono >> runtimes installed, an older one to run the 1.0 runtime, and another one >> to run 2.0 and 4.0. > > Are you planning on creating a branch that can still be actively worked on > by/for those that want to maintain the highest level of compatibility with > .NET 1.1? From what I understand, 2.4 will is a long maintenance release and 2.6 will also be around with the latest 1.1. It's not a problem to commit a fix from time to time (rather unfrequently) to one, or even both, of those branches. The effort of doing it is much less that having to constantly cope in current code with legacy stuff. > I'm not sure if anyone is even interested in this. If there is, then I > assume they will even want to create new (bugfix/security fix) releases. This is part of long term maintenance releases anyway, no added effort here. Personally, I don't have any problem with backporting an fix to the maintenance branches once or twice a year. >> The issue is not only a problem with build times taking longer for each >> developer, they also take longer one each build bot, it almost doubles >> the test suite run times, and it wastes developer time (Novell or >> otherwise) making sure that we do not break the 1.0 profile. > > Sure, but you could just make the 1.0 profile opt-in. That wouldn't change anything for developers, it would only limit the build/test time. The biggest issue here, IMHO, is the wasted developer time. > And perhaps only run the build bot test for that profile once a week (and > leave it up to contributors to deal with it). If you have a good, proven release like 2.4 or 2.6 with stable runtime and class libraries, even that won't be necessary - you just know you have to run the tests for 1.1 only if a change is made to either the runtime or the class library. It is really more efficient that way. >> With the introduction of the 4.0 APIs with a new mscorlib we will end up >> in a situation where every check in has to be tested and compiled >> against 3 versions. It is an amount of work that is slowing Mono down >> as a whole. > > I understand, and making the 1.0 profile opt-in would deal with that. > You should also make it clear that the 1.0 profile is no longer endorsed by > Novell. Then why leave it in the source code for the newer releases? > >> I rather invest in finding creative ways of packaging and installing two >> monos in parallel for those that want to have 1.0 based apps. > > Is this something that you will do or want to do ? ;-) > > Note that I'm not opposed to making the 1.0 profile a second-class citizen, > but I consider removing it altogether a radical change. It will still be available and maintained at least for quite some time, so it's not removed per se. marek From miguel at novell.com Tue Jul 21 18:27:54 2009 From: miguel at novell.com (Miguel de Icaza) Date: Tue, 21 Jul 2009 18:27:54 -0400 Subject: [Mono-list] [Mono-dev] The Mono 1.0 profile. In-Reply-To: <003301ca0a3c$8b48f3d0$a1dadb70$@driesen@telenet.be> References: <1248126332.20719.39.camel@erandi.site> <009801ca09cd$3a968890$afc399b0$@driesen@telenet.be> <1248191372.20719.70.camel@erandi.site> <003301ca0a3c$8b48f3d0$a1dadb70$@driesen@telenet.be> Message-ID: <1248215274.20719.88.camel@erandi.site> Hello, > Personally, I think we'll waste more cycles on this than that it will bring > benefit. Well, it will happen in stages; Disabling the net_1_1 build will be the first step, the second step will be the incremental removal of the NET_1_1 removals and NET_2_0 as we transition into a world where 2.0 is always enabled. Spiritually, NET_4_0 will take the place that NET_2_0 has today. > Are you planning on creating a branch that can still be actively worked on > by/for those that want to maintain the highest level of compatibility with > .NET 1.1? That branch will be called mono-2-6 > I understand, and making the 1.0 profile opt-in would deal with that. > You should also make it clear that the 1.0 profile is no longer endorsed by > Novell. We still have to maintain it long-term as part of our Mono 2.4 long-term maintenance product, so 1.0 continues to be supported, but only on an old version, we are not going to be dragging it into the future. Miguel. From rolflists at ya.com Tue Jul 21 20:23:18 2009 From: rolflists at ya.com (Rolf Bjarne Kvinge) Date: Wed, 22 Jul 2009 02:23:18 +0200 Subject: [Mono-list] The Mono 1.0 profile. In-Reply-To: <003301ca0a3c$8b48f3d0$a1dadb70$@driesen@telenet.be> References: <1248126332.20719.39.camel@erandi.site> <009801ca09cd$3a968890$afc399b0$@driesen@telenet.be> <1248191372.20719.70.camel@erandi.site> <003301ca0a3c$8b48f3d0$a1dadb70$@driesen@telenet.be> Message-ID: <018c01ca0a62$9d83be10$d88b3a30$@com> Hi, > Sure, but you could just make the 1.0 profile opt-in. Every now and then somebody checks in code that doesn't build on the 1.0 profile (this happens several times a month). If we make the 1.0 profile opt-in, these breakages won't get fixed immediately, which will sooner or later lead to bit rotten 1.0 code. I'm all for making the 1.0 profile obsolete, and I don't believe having it optionally will gain anything, since pretty soon the 1.0 profile will end up in a non-compilable state. The community could of course provide fixes/patches/etc, but imho it would only delay the inevitable. Besides, if somebody needs a fix in 1.0, it would most certainly be most time-efficient to backport that to the latest 1.0 profile enabled branch (mono 2.8) instead of going through the head-ache it would be to make trunk (for let's say mono 3.0) work with the 1.0 profile. Rolf From bharti2.m at tcs.com Wed Jul 22 04:45:44 2009 From: bharti2.m at tcs.com (Bharti Mishra) Date: Wed, 22 Jul 2009 01:45:44 -0700 (PDT) Subject: [Mono-list] how to change asp.net version in mono Message-ID: <24602291.post@talk.nabble.com> hi, I am using mono2.4.2 onto opensuse11.1 platform.My project ,which I have to migrate onto linux platform, using asp.net1.1 version. but mono2.4.2 is supporting asp.net2.0. when I execute my project in mono, it shows following information in browser window : mono2.0 asp.net 2.0. To change this version I added mon-mono-server1 inside mod_mono.conf file.now it is showing mono1.0 asp.net1.0 also I am getting following error in browser window :- "A potentially dangerous Request.Form value detected from the client (err=" References: <24602291.post@talk.nabble.com> Message-ID: <1248277602.4314.0.camel@lalo-laptop> On Wed, 2009-07-22 at 01:45 -0700, Bharti Mishra wrote: > hi, > I am using mono2.4.2 onto opensuse11.1 platform.My project ,which I have > to migrate onto linux platform, using asp.net1.1 version. but mono2.4.2 is > supporting asp.net2.0. > when I execute my project in mono, it shows following information in browser > window : mono2.0 asp.net 2.0. > To change this version I added mon-mono-server1 inside mod_mono.conf > file.now it is showing mono1.0 asp.net1.0 > also I am getting following error in browser window :- > > "A potentially dangerous Request.Form value detected from the client > (err=" > so please guide me "how can I change asp.net version"...and "why am I > getting this error after adding mod-mono-server1". If you read the entire error message, it tells you one way of disabling request validation... -Gonzalo From lenniedg at gmail.com Wed Jul 22 12:44:54 2009 From: lenniedg at gmail.com (Lennie De Villiers) Date: Wed, 22 Jul 2009 18:44:54 +0200 Subject: [Mono-list] Call Linux Command Message-ID: Hi, How can I call a Linux command like "mysqldump" from a C# application written in Mono? thanks cheers Lennie De Villiers -- Lennie De Villiers Blog: http://lenniedevilliers.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090722/6a1f36a5/attachment.html From cdhowie at gmail.com Wed Jul 22 12:55:23 2009 From: cdhowie at gmail.com (Chris Howie) Date: Wed, 22 Jul 2009 12:55:23 -0400 Subject: [Mono-list] Call Linux Command In-Reply-To: References: Message-ID: <3d2f29dc0907220955q379debffk9a76aaf303389c77@mail.gmail.com> On Wed, Jul 22, 2009 at 12:44 PM, Lennie De Villiers wrote: > Hi, > How can I call a Linux command like "mysqldump" from a C# application > written in Mono? > thanks > cheers > Lennie De Villiers See System.Diagnostics.Process. (Hint: Google is your friend.) -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers From ben at digital-loom.com Wed Jul 22 14:04:16 2009 From: ben at digital-loom.com (Ben Di Maggio) Date: Wed, 22 Jul 2009 11:04:16 -0700 (PDT) Subject: [Mono-list] Mono XSP compile error Message-ID: <24611528.post@talk.nabble.com> Hi all -- I've been trying for a few hours now to get XSP running on my Red Hat EL4 box, to no avail. I'm able to configure it fine, but make produces this: Making all in man make[1]: Entering directory `/root/src/xsp-2.4.2/man' cp xsp.1 mod-mono-server.1 cp xsp.1 fastcgi-mono-server.1 make[1]: Leaving directory `/root/src/xsp-2.4.2/man' Making all in src make[1]: Entering directory `/root/src/xsp-2.4.2/src' Making all in Mono.WebServer make[2]: Entering directory `/root/src/xsp-2.4.2/src/Mono.WebServer' /usr/bin/mcs -debug+ -debug:full -nologo -unsafe -nowarn:618 -doc:../../docs/Mono.WebServer.xml -r:System.Web.dll -r:Mono.Security.dll /target:library /out:Mono.WebServer.dll ./ApplicationServer.cs ./BaseApplicationHost.cs ./BaseRequestBroker.cs ./IApplicationHost.cs ./InitialWorkerRequest.cs ./IWebSource.cs ./LingeringNetworkStream.cs ./MonoWorkerRequest.cs ./XSPApplicationHost.cs ./XSPWorkerRequest.cs ./XSPRequestBroker.cs ./XSPWebSource.cs ./XSPWorker.cs ./HttpErrors.cs ./Paths.cs ./VPathToHost.cs ./Tracing.cs ./SearchPattern.cs ../../src/Mono.WebServer/AssemblyInfo.cs ./Paths.cs(50) error CS0106: the modifier static is not valid for this item Compilation failed: 1 error(s), 0 warnings make[2]: *** [Mono.WebServer.dll] Error 1 make[2]: Leaving directory `/root/src/xsp-2.4.2/src/Mono.WebServer' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/src/xsp-2.4.2/src' make: *** [all-recursive] Error 1 I've not seen anyone else out there have exactly this problem; does anyone know what might be causing it? I've tried to configure both like this ./configure --with-prefix=/usr and like this ./configure --with-prefix=/usr/lib/mono ...and get the same error each time. Thanks for any ideas! Ben -- View this message in context: http://www.nabble.com/Mono-XSP-compile-error-tp24611528p24611528.html Sent from the Mono - General mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090722/6021df03/attachment.html From dwilko at btopenworld.com Wed Jul 22 14:35:47 2009 From: dwilko at btopenworld.com (David Wilkinson) Date: Wed, 22 Jul 2009 19:35:47 +0100 Subject: [Mono-list] Mono XSP compile error References: <24611528.post@talk.nabble.com> Message-ID: <1617E1E4CB8C40208C19D3092271AE9A@server> Hi try this, worked for me when I had XSP compile errors ./configure --prefix=/usr/lib/mono --with-runtime=/opt/mono/bin/mono Change /opt/mono/bin/mono to where you have installed mono Regards David ----- Original Message ----- From: Ben Di Maggio To: mono-list at lists.ximian.com Sent: Wednesday, July 22, 2009 7:04 PM Subject: [Mono-list] Mono XSP compile error Hi all -- I've been trying for a few hours now to get XSP running on my Red Hat EL4 box, to no avail. I'm able to configure it fine, but make produces this: Making all in man make[1]: Entering directory `/root/src/xsp-2.4.2/man' cp xsp.1 mod-mono-server.1 cp xsp.1 fastcgi-mono-server.1 make[1]: Leaving directory `/root/src/xsp-2.4.2/man' Making all in src make[1]: Entering directory `/root/src/xsp-2.4.2/src' Making all in Mono.WebServer make[2]: Entering directory `/root/src/xsp-2.4.2/src/Mono.WebServer' /usr/bin/mcs -debug+ -debug:full -nologo -unsafe -nowarn:618 -doc:../../docs/Mono.WebServer.xml -r:System.Web.dll -r:Mono.Security.dll /target:library /out:Mono.WebServer.dll ./ApplicationServer.cs ./BaseApplicationHost.cs ./BaseRequestBroker.cs ./IApplicationHost.cs ./InitialWorkerRequest.cs ./IWebSource.cs ./LingeringNetworkStream.cs ./MonoWorkerRequest.cs ./XSPApplicationHost.cs ./XSPWorkerRequest.cs ./XSPRequestBroker.cs ./XSPWebSource.cs ./XSPWorker.cs ./HttpErrors.cs ./Paths.cs ./VPathToHost.cs ./Tracing.cs ./SearchPattern.cs ../../src/Mono.WebServer/AssemblyInfo.cs ./Paths.cs(50) error CS0106: the modifier static is not valid for this item Compilation failed: 1 error(s), 0 warnings make[2]: *** [Mono.WebServer.dll] Error 1 make[2]: Leaving directory `/root/src/xsp-2.4.2/src/Mono.WebServer' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/src/xsp-2.4.2/src' make: *** [all-recursive] Error 1 I've not seen anyone else out there have exactly this problem; does anyone know what might be causing it? I've tried to configure both like this ./configure --with-prefix=/usr and like this ./configure --with-prefix=/usr/lib/mono ...and get the same error each time. Thanks for any ideas! Ben ------------------------------------------------------------------------------ View this message in context: Mono XSP compile error 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090722/f72d1059/attachment-0001.html From ben at digital-loom.com Wed Jul 22 16:07:47 2009 From: ben at digital-loom.com (Ben Di Maggio) Date: Wed, 22 Jul 2009 13:07:47 -0700 (PDT) Subject: [Mono-list] Mono XSP compile error In-Reply-To: <1617E1E4CB8C40208C19D3092271AE9A@server> References: <24611528.post@talk.nabble.com> <1617E1E4CB8C40208C19D3092271AE9A@server> Message-ID: <24613650.post@talk.nabble.com> Hm. Same result, unfortunately. Mono's binary is at /usr/bin/mono and there seem to be a bunch of mono-related files in /usr/lib/mono so I tried this: ./configure --prefix=/usr/lib/mono --with-runtime=/usr/bin/mono Because XSP's INSTALL file suggested using just --prefix=/usr , I also tried ./configure --prefix=/usr --with-runtime=/usr/bin/mono Same deal. Yeah, I'm flailing here. Any other suggestions? I'm happy to keep researching if you know of other resources, but I'm not seeing anything at present. PayableOnDeath wrote: > > Hi > > try this, worked for me when I had XSP compile errors > > ./configure --prefix=/usr/lib/mono --with-runtime=/opt/mono/bin/mono > > Change /opt/mono/bin/mono to where you have installed mono > > Regards > > David > > > ----- Original Message ----- > From: Ben Di Maggio > To: mono-list at lists.ximian.com > Sent: Wednesday, July 22, 2009 7:04 PM > Subject: [Mono-list] Mono XSP compile error > > > Hi all -- > I've been trying for a few hours now to get XSP running on my Red Hat > EL4 box, to no avail. I'm able to configure it fine, but make produces > this: > > Making all in man > make[1]: Entering directory `/root/src/xsp-2.4.2/man' > cp xsp.1 mod-mono-server.1 > cp xsp.1 fastcgi-mono-server.1 > make[1]: Leaving directory `/root/src/xsp-2.4.2/man' > Making all in src > make[1]: Entering directory `/root/src/xsp-2.4.2/src' > Making all in Mono.WebServer > make[2]: Entering directory `/root/src/xsp-2.4.2/src/Mono.WebServer' > /usr/bin/mcs -debug+ -debug:full -nologo -unsafe -nowarn:618 > -doc:../../docs/Mono.WebServer.xml -r:System.Web.dll -r:Mono.Security.dll > /target:library /out:Mono.WebServer.dll ./ApplicationServer.cs > ./BaseApplicationHost.cs ./BaseRequestBroker.cs ./IApplicationHost.cs > ./InitialWorkerRequest.cs ./IWebSource.cs ./LingeringNetworkStream.cs > ./MonoWorkerRequest.cs ./XSPApplicationHost.cs ./XSPWorkerRequest.cs > ./XSPRequestBroker.cs ./XSPWebSource.cs ./XSPWorker.cs ./HttpErrors.cs > ./Paths.cs ./VPathToHost.cs ./Tracing.cs ./SearchPattern.cs > ../../src/Mono.WebServer/AssemblyInfo.cs > ./Paths.cs(50) error CS0106: the modifier static is not valid for this > item > Compilation failed: 1 error(s), 0 warnings > make[2]: *** [Mono.WebServer.dll] Error 1 > make[2]: Leaving directory `/root/src/xsp-2.4.2/src/Mono.WebServer' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/src/xsp-2.4.2/src' > make: *** [all-recursive] Error 1 > > I've not seen anyone else out there have exactly this problem; does > anyone know what might be causing it? I've tried to configure both like > this > ./configure --with-prefix=/usr > > and like this > ./configure --with-prefix=/usr/lib/mono > > ...and get the same error each time. > > Thanks for any ideas! > Ben > > > > ------------------------------------------------------------------------------ > View this message in context: Mono XSP compile error > 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 > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > -- View this message in context: http://www.nabble.com/Mono-XSP-compile-error-tp24611528p24613650.html Sent from the Mono - General mailing list archive at Nabble.com. From robertj at gmx.net Wed Jul 22 16:56:25 2009 From: robertj at gmx.net (Robert Jordan) Date: Wed, 22 Jul 2009 22:56:25 +0200 Subject: [Mono-list] Mono XSP compile error In-Reply-To: <24613650.post@talk.nabble.com> References: <24611528.post@talk.nabble.com> <1617E1E4CB8C40208C19D3092271AE9A@server> <24613650.post@talk.nabble.com> Message-ID: Ben Di Maggio wrote: > Hm. Same result, unfortunately. Mono's binary is at /usr/bin/mono and there > seem to be a bunch of mono-related files in /usr/lib/mono so I tried this: Which mono version is this? (mono --version) Robert From ben at digital-loom.com Wed Jul 22 17:08:16 2009 From: ben at digital-loom.com (Ben Di Maggio) Date: Wed, 22 Jul 2009 14:08:16 -0700 (PDT) Subject: [Mono-list] Mono XSP compile error In-Reply-To: <24613650.post@talk.nabble.com> References: <24611528.post@talk.nabble.com> <1617E1E4CB8C40208C19D3092271AE9A@server> <24613650.post@talk.nabble.com> Message-ID: <24614650.post@talk.nabble.com> 1.0.6, according to that command. I looked again at the site I got the rpms from (http://dag.wieers.com/rpm/packages/mono/) and I realize now that the version I installed is way below the version of the XSP source I'm using (got that from here http://ftp.novell.com/pub/mono/sources-stable/). Do you think this is the problem? With the assumption that it is, I'm going to try uninstalling my present version of mono and compiling the whole damn thing from the source at the second URL. Ben Ben Di Maggio wrote: > > Hm. Same result, unfortunately. Mono's binary is at /usr/bin/mono and > there seem to be a bunch of mono-related files in /usr/lib/mono so I tried > this: > > ./configure --prefix=/usr/lib/mono --with-runtime=/usr/bin/mono > > Because XSP's INSTALL file suggested using just --prefix=/usr , I also > tried > ./configure --prefix=/usr --with-runtime=/usr/bin/mono > > Same deal. Yeah, I'm flailing here. Any other suggestions? I'm happy to > keep researching if you know of other resources, but I'm not seeing > anything at present. > > > PayableOnDeath wrote: >> >> Hi >> >> try this, worked for me when I had XSP compile errors >> >> ./configure --prefix=/usr/lib/mono --with-runtime=/opt/mono/bin/mono >> >> Change /opt/mono/bin/mono to where you have installed mono >> >> Regards >> >> David >> >> >> ----- Original Message ----- >> From: Ben Di Maggio >> To: mono-list at lists.ximian.com >> Sent: Wednesday, July 22, 2009 7:04 PM >> Subject: [Mono-list] Mono XSP compile error >> >> >> Hi all -- >> I've been trying for a few hours now to get XSP running on my Red Hat >> EL4 box, to no avail. I'm able to configure it fine, but make produces >> this: >> >> Making all in man >> make[1]: Entering directory `/root/src/xsp-2.4.2/man' >> cp xsp.1 mod-mono-server.1 >> cp xsp.1 fastcgi-mono-server.1 >> make[1]: Leaving directory `/root/src/xsp-2.4.2/man' >> Making all in src >> make[1]: Entering directory `/root/src/xsp-2.4.2/src' >> Making all in Mono.WebServer >> make[2]: Entering directory `/root/src/xsp-2.4.2/src/Mono.WebServer' >> /usr/bin/mcs -debug+ -debug:full -nologo -unsafe -nowarn:618 >> -doc:../../docs/Mono.WebServer.xml -r:System.Web.dll -r:Mono.Security.dll >> /target:library /out:Mono.WebServer.dll ./ApplicationServer.cs >> ./BaseApplicationHost.cs ./BaseRequestBroker.cs ./IApplicationHost.cs >> ./InitialWorkerRequest.cs ./IWebSource.cs ./LingeringNetworkStream.cs >> ./MonoWorkerRequest.cs ./XSPApplicationHost.cs ./XSPWorkerRequest.cs >> ./XSPRequestBroker.cs ./XSPWebSource.cs ./XSPWorker.cs ./HttpErrors.cs >> ./Paths.cs ./VPathToHost.cs ./Tracing.cs ./SearchPattern.cs >> ../../src/Mono.WebServer/AssemblyInfo.cs >> ./Paths.cs(50) error CS0106: the modifier static is not valid for this >> item >> Compilation failed: 1 error(s), 0 warnings >> make[2]: *** [Mono.WebServer.dll] Error 1 >> make[2]: Leaving directory `/root/src/xsp-2.4.2/src/Mono.WebServer' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/root/src/xsp-2.4.2/src' >> make: *** [all-recursive] Error 1 >> >> I've not seen anyone else out there have exactly this problem; does >> anyone know what might be causing it? I've tried to configure both like >> this >> ./configure --with-prefix=/usr >> >> and like this >> ./configure --with-prefix=/usr/lib/mono >> >> ...and get the same error each time. >> >> Thanks for any ideas! >> Ben >> >> >> >> ------------------------------------------------------------------------------ >> View this message in context: Mono XSP compile error >> 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 >> >> _______________________________________________ >> Mono-list maillist - Mono-list at lists.ximian.com >> http://lists.ximian.com/mailman/listinfo/mono-list >> >> > > -- View this message in context: http://www.nabble.com/Mono-XSP-compile-error-tp24611528p24614650.html Sent from the Mono - General mailing list archive at Nabble.com. From robertj at gmx.net Wed Jul 22 18:34:02 2009 From: robertj at gmx.net (Robert Jordan) Date: Thu, 23 Jul 2009 00:34:02 +0200 Subject: [Mono-list] Mono XSP compile error In-Reply-To: <24614650.post@talk.nabble.com> References: <24611528.post@talk.nabble.com> <1617E1E4CB8C40208C19D3092271AE9A@server> <24613650.post@talk.nabble.com> <24614650.post@talk.nabble.com> Message-ID: Ben Di Maggio wrote: > 1.0.6, according to that command. I looked again at the site I got the rpms > from (http://dag.wieers.com/rpm/packages/mono/) and I realize now that the > version I installed is way below the version of the XSP source I'm using > (got that from here http://ftp.novell.com/pub/mono/sources-stable/). Do you > think this is the problem? With the assumption that it is, I'm going to try > uninstalling my present version of mono and compiling the whole damn thing > from the source at the second URL. Version 1.0.6 is 4 1/2 years old. And yes, I think this is the problem ;) From bharti2.m at tcs.com Thu Jul 23 01:35:39 2009 From: bharti2.m at tcs.com (Bharti Mishra) Date: Wed, 22 Jul 2009 22:35:39 -0700 (PDT) Subject: [Mono-list] how to change asp.net version Message-ID: <24619527.post@talk.nabble.com> hi, I got your reply, but I am not satisfied with your answer. please describe me following error : " I want to migrate vb.net code onto opensuse11.1 platform using mono2.4.2. but this mono version support asp.net 2.0 version , and when I execute my project through browser it displays mono2.0 asp.net2.0 , but my project uses asp.net 1.0 version. I tried to change asp.net version in mono by adding mod-mono-server1 inside mod_mono.conf file. After changing the version I got in browser window mono 1.1 asp.net 1.1 , also I got following error : "Compilation of Visual Basic code is not supported for v1.0/v1.1 assemblies, please use the v2.0 assemblies. -If this is a web application, use xsp2/mod_mono_server2 instead of xsp/mono_mono_server(see http://www.mono-project.com/Mod_mono#ASP.NET_2_apps_do_not_work). -If this is a desktop application, use gmcs to compile your application instead of mcs."" please explain me the way to enable asp.net 1.0 in mono2.4.2. and explain me this error. thanx -- View this message in context: http://www.nabble.com/how-to-change-asp.net-version-tp24619527p24619527.html Sent from the Mono - General mailing list archive at Nabble.com. From bharti2.m at tcs.com Thu Jul 23 01:40:22 2009 From: bharti2.m at tcs.com (Bharti Mishra) Date: Wed, 22 Jul 2009 22:40:22 -0700 (PDT) Subject: [Mono-list] how to resolve potentially dangarous error. Message-ID: <24619558.post@talk.nabble.com> hi, I am trying to migrate vb.net projet into opensuse11.1 platform through mono2.4.2. when I execute my prohect throgh browser window I get following error Server Error in '/BLa4' Application -------------------------------------------------------------------------------- A potentially dangerous Request.Form value was detected from the client (err=" hi, I am trying to migrate vb.net project onto opensuse11.1 through mono2.4.2, after executing the project , I am getting servererrorlog file inside bin folder of the project. which contain following error :- "System.DllNotFoundException:Kernel32" it means it is not getting this dll in mono or open suse. actually my project is using IIS server, and I want to execute my project without using this server, that's why I am migrating it onto the linux platform. but here I am not getting kernel32 dll ,so I am unable to proceed my project. I was thinking another way to run my project without using IIS. If I install mono for window and try to migrate my project onto mono on windows platform itself, then I think it will find kernel 32 dll. but I not sure, it will be possible or not. so please guide me. thanx -- View this message in context: http://www.nabble.com/query-about-mono-installer-for-windows-tp24620757p24620757.html Sent from the Mono - General mailing list archive at Nabble.com. From surfzoid at gmail.com Thu Jul 23 03:39:32 2009 From: surfzoid at gmail.com (Petit Eric) Date: Thu, 23 Jul 2009 09:39:32 +0200 Subject: [Mono-list] query about mono installer for windows In-Reply-To: <24620757.post@talk.nabble.com> References: <24620757.post@talk.nabble.com> Message-ID: <84776a970907230039l122857d0s99d0f69a5365c1ae@mail.gmail.com> You can use Win32 Managed/P/Invoke code under nix plateform, you should start with Moma, the mono tool who should say you where look for project migration, i also sugest you to migrate VB code to C# 2009/7/23 Bharti Mishra : > > hi, > > I am trying to migrate vb.net project onto opensuse11.1 through mono2.4.2, > after executing the project , I am getting servererrorlog file inside bin > folder of the project. which contain following error :- > "System.DllNotFoundException:Kernel32" > it means it is not getting this dll in mono or open suse. > > actually my project is using IIS server, and I want to execute my project > without using this server, that's why I am migrating it onto the linux > platform. but here I am not getting kernel32 dll ,so I am unable to proceed > my project. > > I was thinking another way to run my project without using IIS. > If I install mono for window and try to migrate my project onto mono on > windows platform itself, then I think it will find kernel 32 dll. > > but I not sure, it will be possible or not. > so please guide me. > > thanx > -- > View this message in context: http://www.nabble.com/query-about-mono-installer-for-windows-tp24620757p24620757.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 > -- Cordially. Small Eric Quotations of the days: --------------------------------------------------------------------------- If one day one reproaches you that your work is not a work of professional, say you that: Amateurs built the arch of Noah, and professionals the Titanic. --------------------------------------------------------------------------- When society feel down, to be quiet we say, at this time every things are okay's, because the most important is the landing. --------------------------------------------------------------------------- No key was wounded during the drafting of this message. From grendel at twistedcode.net Thu Jul 23 03:51:09 2009 From: grendel at twistedcode.net (Marek Habersack) Date: Thu, 23 Jul 2009 09:51:09 +0200 Subject: [Mono-list] how to change asp.net version In-Reply-To: <24619527.post@talk.nabble.com> References: <24619527.post@talk.nabble.com> Message-ID: <4A68166D.9060501@twistedcode.net> Bharti Mishra wrote: > hi, Hey, > > I got your reply, but I am not satisfied with your answer. > please describe me following error : > " I want to migrate vb.net code onto opensuse11.1 platform using > mono2.4.2. but this mono version support asp.net 2.0 version , and when I > execute my project through browser it displays mono2.0 asp.net2.0 , but my > project uses asp.net 1.0 version. I tried to change asp.net version in mono > by adding mod-mono-server1 inside mod_mono.conf file. After changing the > version I got in browser window mono 1.1 asp.net 1.1 , also I got following > error : ---- explanation ---- > "Compilation of Visual Basic code is not supported for v1.0/v1.1 assemblies, > please use the v2.0 assemblies. -If this is a web application, use > xsp2/mod_mono_server2 instead of xsp/mono_mono_server(see > http://www.mono-project.com/Mod_mono#ASP.NET_2_apps_do_not_work). -If this > is a desktop application, use gmcs to compile your application instead of > mcs."" ---- explanation ---- > > please explain me the way to enable asp.net 1.0 in mono2.4.2. > and explain me this error. Explanation is shown above, right in the error message. marek From vvaradhan at novell.com Thu Jul 23 03:51:45 2009 From: vvaradhan at novell.com (Veerapuram Varadhan) Date: Thu, 23 Jul 2009 13:21:45 +0530 Subject: [Mono-list] how to change asp.net version In-Reply-To: <24619527.post@talk.nabble.com> References: <24619527.post@talk.nabble.com> Message-ID: <1248335505.16082.3.camel@vvaradhan-lap.blr.novell.com> Hi Bharti, On Wed, 2009-07-22 at 22:35 -0700, Bharti Mishra wrote: > hi, > > I got your reply, but I am not satisfied with your answer. > please describe me following error : > " I want to migrate vb.net code onto opensuse11.1 platform using > mono2.4.2. but this mono version support asp.net 2.0 version , and when I > execute my project through browser it displays mono2.0 asp.net2.0 , but my > project uses asp.net 1.0 version. I tried to change asp.net version in mono > by adding mod-mono-server1 inside mod_mono.conf file. After changing the > version I got in browser window mono 1.1 asp.net 1.1 , also I got following > error : > "Compilation of Visual Basic code is not supported for v1.0/v1.1 assemblies, > please use the v2.0 assemblies. -If this is a web application, use > xsp2/mod_mono_server2 instead of xsp/mono_mono_server(see > http://www.mono-project.com/Mod_mono#ASP.NET_2_apps_do_not_work). -If this > is a desktop application, use gmcs to compile your application instead of > mcs."" > Mono doesn't support compilation of vb.net 1.x. To solve the above error, pre-compile (complete pre-compilation) your project using MS Visual Studio 2003 and use the deployed project in Mono using mod-mono-server1. This works for most of the cases. HTH, V. Varadhan From gnanam at zoniac.com Fri Jul 24 06:09:40 2009 From: gnanam at zoniac.com (Gnanam) Date: Fri, 24 Jul 2009 03:09:40 -0700 (PDT) Subject: [Mono-list] Re placing ASMX files at Runtime Message-ID: <24641975.post@talk.nabble.com> Hi, I'm running Mono v1.2.4 on RedHat ES 5. I've implemented Code Behind throughout my web services. My question is, in my production environment, sometimes I end up replacing few ASMX files (because of application level bug fixes) while the Apache Mono service is running live. If I replace the files while the service is running, I'm getting error from Mono and all subsequent web service calls are failing because Mono service itself has crashed. Is there any way I can solve this by making the changes known to Mono, because I cannot bring down (restart or stop/start) my production server during this time? My project structure looks like: ASMX Location: /usr/local/apache2/htdocs/mywebservice/*.asmx CS Location: /usr/local/apache2/htdocs/mywebservice/App_Code/*.cs Regards, Gnanam -- View this message in context: http://www.nabble.com/Replacing-ASMX-files-at-Runtime-tp24641975p24641975.html Sent from the Mono - General mailing list archive at Nabble.com. From tleslie at tcn.net Sat Jul 25 14:09:55 2009 From: tleslie at tcn.net (ted leslie) Date: Sat, 25 Jul 2009 14:09:55 -0400 Subject: [Mono-list] Gecko-sharp question (seek examples) handles to content Message-ID: <20090725140955.069a3f26.tleslie@tcn.net> I have a need to use gecko-sharp to display some web content in an app. I want to access some of that web content, for example, like one would with java script in the page, to manipulate, even do ajax type things, and beyond, but I would like to code it in c# in the app, in other words I just want the handles to the content that gecko is rendering (and perhaps fire/control redrawing). I assume this is doable, are there any good examples of this (in c#/mono), or failing that some reasonable starting point? Also, how well would this work on Windows at this time (i.e. gecko-sharp, and xul, and libgtkembedmoz and such)? thanks, -- ted leslie From m.j.hutchinson at gmail.com Sun Jul 26 01:26:46 2009 From: m.j.hutchinson at gmail.com (Michael Hutchinson) Date: Sun, 26 Jul 2009 01:26:46 -0400 Subject: [Mono-list] Gecko-sharp question (seek examples) handles to content In-Reply-To: <20090725140955.069a3f26.tleslie@tcn.net> References: <20090725140955.069a3f26.tleslie@tcn.net> Message-ID: On Sat, Jul 25, 2009 at 2:09 PM, ted leslie wrote: > I have a need to use gecko-sharp to display some web content in an app. > > I want to access some of that web content, > for example, like one would with java script in the page, > to manipulate, even do ajax type things, and beyond, > but I would like to code it in c# in the app, > in other words I just want the handles to the > content that gecko is rendering (and perhaps > ?fire/control redrawing). > I assume this is doable, are there any good examples > of this (in c#/mono), or failing that some reasonable starting point? Unfortunately there is no C# DOM wrapper for either Gecko# or WebKit. AFAIK there is one there is for Mono's WinForms web control (gluezilla), so it could perhaps be adapted for Gecko#. It might even be possible to use gluezilla as the basis of a GTK# control, skipping gtkmozembed entirely. Back in 2005, before Webkit-GTK or mozembed existed, AspNetEdit (an ASP.NET editor) did Gecko# C#<->JS interop this very effectively using a horrible hack - message-passing between C# and JS, using the status bar and the URL string. As far as I know, this still works. You can find the code in Mono SVN: http://anonsvn.mono-project.com/viewvc/trunk/jscall-sharp/ I recommend copying the C# files into your app instead of building as a separate library. > Also, how well would this work on Windows at this time > (i.e. gecko-sharp, and xul, and libgtkembedmoz and such)? Gecko# worked pretty well on Windows last time I tried - but that was 2005. I don't think there have been any newer builds since then, but if you could find the old installers, they'd probably still work. I know this is a weak point in the cross-platform GTK# story, but getting a cross-platform web browser control that can integrate with GTK is quite difficult. Mozilla/Gecko doesn't make embedding easy at the best of times, and is only designed to use GTK on Unix/Linux. Going forwards, Webkit-GTK is probably better. -- Michael Hutchinson http://mjhutchinson.com From junk at sonhult.se Sun Jul 26 13:12:12 2009 From: junk at sonhult.se (jos_) Date: Sun, 26 Jul 2009 10:12:12 -0700 (PDT) Subject: [Mono-list] SqliteSyntaxException in Mono.Data.SqliteClient when doing SqliteCommand.ExecuteScalar() Message-ID: <24668619.post@talk.nabble.com> As the subject says, I'm trying to ExecuteScalar() like this: public static string GetScalarString(SqliteCommand cmd) { string result = ""; using (SqliteConnection connection = new SqliteConnection(connectionString)) { cmd.Connection = connection; object scalar = cmd.ExecuteScalar(); if (scalar != null) { result = scalar.ToString(); } } return result; } But at the row cmd.ExecuteScalar() I get the following exception: Unhandled Exception: Mono.Data.SqliteClient.SqliteSyntaxException: out of memory at Mono.Data.SqliteClient.SqliteCommand.GetNextStatement (IntPtr pzStart, System.IntPtr& pzTail, System.IntPtr& pStmt) [0x00000] at Mono.Data.SqliteClient.SqliteCommand.ExecuteReader (CommandBehavior behavior, Boolean want_results, System.Int32& rows_affected) [0x00000] at Mono.Data.SqliteClient.SqliteCommand.ExecuteReader (CommandBehavior behavior) [0x00000] at Mono.Data.SqliteClient.SqliteCommand.ExecuteReader () [0x00000] at Mono.Data.SqliteClient.SqliteCommand.ExecuteScalar () [0x00000] The SQL I have in cmd.CommandText is "SELECT Value FROM Settings WHERE Name = ?1". My current workaround is to use the first row, first column in a returned DataTable populated with SqliteDataAdapter.Fill(DataTable). I get the same exception if I do cmd.ExecuteReader(). Any ideas? Thanks in advance! -- View this message in context: http://www.nabble.com/SqliteSyntaxException-in-Mono.Data.SqliteClient-when-doing-SqliteCommand.ExecuteScalar%28%29-tp24668619p24668619.html Sent from the Mono - General mailing list archive at Nabble.com. From robertj at gmx.net Sun Jul 26 14:10:31 2009 From: robertj at gmx.net (Robert Jordan) Date: Sun, 26 Jul 2009 20:10:31 +0200 Subject: [Mono-list] Re placing ASMX files at Runtime In-Reply-To: <24641975.post@talk.nabble.com> References: <24641975.post@talk.nabble.com> Message-ID: Gnanam wrote: > Hi, > > I'm running Mono v1.2.4 on RedHat ES 5. I've implemented Code Behind > throughout my web services. My question is, in my production environment, > sometimes I end up replacing few ASMX files (because of application level > bug fixes) while the Apache Mono service is running live. If I replace the > files while the service is running, I'm getting error from Mono and all > subsequent web service calls are failing because Mono service itself has > crashed. > > Is there any way I can solve this by making the changes known to Mono, > because I cannot bring down (restart or stop/start) my production server > during this time? There is no way to fix that other than updating your two years old Mono. Robert From gnanam at zoniac.com Mon Jul 27 00:16:27 2009 From: gnanam at zoniac.com (Gnanam) Date: Sun, 26 Jul 2009 21:16:27 -0700 (PDT) Subject: [Mono-list] Re placing ASMX files at Runtime In-Reply-To: References: <24641975.post@talk.nabble.com> Message-ID: <24673363.post@talk.nabble.com> Hi Robert, Can you tell me in exactly which version of Mono this has been resolved? If possible, can you give me the URL or link from Mono justifying this? Thank you. Regards, Gnanam Robert Jordan wrote: > > There is no way to fix that other than updating your two years old Mono. > -- View this message in context: http://www.nabble.com/Replacing-ASMX-files-at-Runtime-tp24641975p24673363.html Sent from the Mono - General mailing list archive at Nabble.com. From lionel.keene at gmail.com Mon Jul 27 14:51:13 2009 From: lionel.keene at gmail.com (LKeene) Date: Mon, 27 Jul 2009 11:51:13 -0700 (PDT) Subject: [Mono-list] Strange window maximization behavior on Linux Message-ID: <24686260.post@talk.nabble.com> Hello all. I've some strange behavior on Red Hat that's not cropping up on windows or OSX. Here's what I've got: an extremely simple Windows Forms app wherein I've added the following to the form's constructor: this.WindowState = WindowState.Maximized; That's it. I ad nothing else. I compile and run. When I run under mono on my Windows box it works fine. I then try it on red Hat and Mono 1.9. It works fine there as well (i.e. the form is maximized upon startup). The problem is with my actual application (not the aforementioned test) where the above has no effect. My application is supposed to maximize the window and then, based on the client dimensions, do a bunch of drawing. I've added the following to the form's constructor: this.WindowState = WindowState.Maximized; this.Update(); This has no effect i.e. the form is the default small size when run under Mono and Red Hat. I've tried with and without "Update()" called and it makes no difference, the form will not maximize upon startup. Out of desperation I tried changing the form's property in the property window to "Maximized" (I'm using VS2008) and then recompile/run. No go. The form is still small and centered. As I mentioned, this DOES work on the same computer in the tiny test app at the beginning of my post. Why would the form maximize properly in one case but not in the other...on the same computer? I do not explicitely size the form at any time other than at the beginning when I set the WindowState property to Maximized. I have no idea where to start looking for the problem on this one. Does anyone have any ideas at all? Can't imagine what it could be... :-( -- View this message in context: http://www.nabble.com/Strange-window-maximization-behavior-on-Linux-tp24686260p24686260.html Sent from the Mono - General mailing list archive at Nabble.com. From lionel.keene at gmail.com Mon Jul 27 18:06:14 2009 From: lionel.keene at gmail.com (LKeene) Date: Mon, 27 Jul 2009 15:06:14 -0700 (PDT) Subject: [Mono-list] Strange window maximization behavior on Linux In-Reply-To: <24686260.post@talk.nabble.com> References: <24686260.post@talk.nabble.com> Message-ID: <24689133.post@talk.nabble.com> Okay, by successively commenting out blocks I've traced the problem to the following lines: this.StartPosition = FormStartPosition.CenterScreen; this.WindowState = FormWindowState.Maximized; this.FormBorderStyle = FormBorderStyle.FixedSingle; this.Update(); I've gotten rid of these and set the properties in the form's partial class and that seems to have fixed the problem. -L LKeene wrote: > > Hello all. I've some strange behavior on Red Hat that's not cropping up on > windows or OSX. Here's what I've got: an extremely simple Windows Forms > app wherein I've added the following to the form's constructor: > > this.WindowState = WindowState.Maximized; > > That's it. I ad nothing else. I compile and run. When I run under mono on > my Windows box it works fine. I then try it on red Hat and Mono 1.9. It > works fine there as well (i.e. the form is maximized upon startup). > > The problem is with my actual application (not the aforementioned test) > where the above has no effect. My application is supposed to maximize the > window and then, based on the client dimensions, do a bunch of drawing. > I've added the following to the form's constructor: > > this.WindowState = WindowState.Maximized; > this.Update(); > > This has no effect i.e. the form is the default small size when run under > Mono and Red Hat. I've tried with and without "Update()" called and it > makes no difference, the form will not maximize upon startup. Out of > desperation I tried changing the form's property in the property window to > "Maximized" (I'm using VS2008) and then recompile/run. No go. The form is > still small and centered. As I mentioned, this DOES work on the same > computer in the tiny test app at the beginning of my post. Why would the > form maximize properly in one case but not in the other...on the same > computer? I do not explicitely size the form at any time other than at the > beginning when I set the WindowState property to Maximized. I have no idea > where to start looking for the problem on this one. Does anyone have any > ideas at all? Can't imagine what it could be... :-( > -- View this message in context: http://www.nabble.com/Strange-window-maximization-behavior-on-Linux-tp24686260p24689133.html Sent from the Mono - General mailing list archive at Nabble.com. From lionel.keene at gmail.com Mon Jul 27 18:09:53 2009 From: lionel.keene at gmail.com (LKeene) Date: Mon, 27 Jul 2009 15:09:53 -0700 (PDT) Subject: [Mono-list] Keyboard bug in Mono Message-ID: <24689175.post@talk.nabble.com> Hello all. I'm testing on Mono 2.0 because our local Linux guy won't install 2.4. The following works fine on XP + Microsoft .NET, but generates no response on Red Hat + Mono 2.0. Has anyone else seen this bug? Has it been fixed in the latest release?: namespace KetTest { public partial class Form1 : Form { public Form1() { InitializeComponent(); } protected override bool ProcessCmdKey(ref Message msg, Keys keyData) { bool ButtonHandled = false; // Check which key was pressed and alert user: switch (keyData) { case Keys.Left: this.Text = "Left key pressed"; ButtonHandled = true; break; case Keys.Up: this.Text = "Up key pressed"; ButtonHandled = true; break; case Keys.Right: this.Text = "Right key pressed"; ButtonHandled = true; break; case Keys.Down: this.Text = "Down key pressed"; ButtonHandled = true; break; } return ButtonHandled; } } } -- View this message in context: http://www.nabble.com/Keyboard-bug-in-Mono-tp24689175p24689175.html Sent from the Mono - General mailing list archive at Nabble.com. From bharti2.m at tcs.com Tue Jul 28 01:30:41 2009 From: bharti2.m at tcs.com (Bharti Mishra) Date: Mon, 27 Jul 2009 22:30:41 -0700 (PDT) Subject: [Mono-list] transaction support in mono Message-ID: <24692737.post@talk.nabble.com> hi, I am migrating Bank Application (.net) onto Open Suse platform using mono2.4.2. I read about Mono that mono doesn't support transaction. so I want to know ,Will it support bank related transaction? thanks -- View this message in context: http://www.nabble.com/transaction-support-in-mono-tp24692737p24692737.html Sent from the Mono - General mailing list archive at Nabble.com. From vlad at lshift.net Tue Jul 28 06:49:41 2009 From: vlad at lshift.net (vladatlshift) Date: Tue, 28 Jul 2009 03:49:41 -0700 (PDT) Subject: [Mono-list] Exec task in xbuild not working at all Message-ID: <24685078.post@talk.nabble.com> Hi list, I've been trying out xbuild for a while and everything seems great except for the Exec task, which doesn't seem to work for me at all. For example, the following simple .proj file: when run with xbuild, it outputs: vlad at mrforgetful:~/w/test$ xbuild test.proj XBuild Engine Version 0.1 Mono, Version 2.0.1.0 Copyright (C) Marek Sieradzki 2005. All rights reserved. Build started 27/07/2009 18:20:54. __________________________________________________ Project "/home/vlad/w/test/test.proj" (Build target(s)): Target Build: Tool echo Hello world! execution started with arguments: System.ComponentModel.Win32Exception: ApplicationName='echo Hello world!', CommandLine=' ', CurrentDirectory='' at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] at System.Diagnostics.Process.Start () [0x00000] at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start () at Microsoft.Build.Utilities.ToolTask.RealExecute (System.String filename, System.String arguments) [0x00000] at Microsoft.Build.Utilities.ToolTask.ExecuteTool (System.String pathToTool, System.String responseFileCommands, System.String commandLineCommands) [0x00000] at Microsoft.Build.Tasks.Exec.ExecuteTool (System.String pathToTool, System.String responseFileCommands, System.String commandLineCommands) [0x00000] at Microsoft.Build.Utilities.ToolTask.Execute () [0x00000] at Microsoft.Build.BuildEngine.TaskEngine.Execute () [0x00000] at Microsoft.Build.BuildEngine.BuildTask.Execute () [0x00000] Build succeeded. 0 Warning(s) 1 Error(s) Time Elapsed 00:00:00.0622170 Any idea what the problem could be? Am I doing something wrong? Thanks, Vlad. PS. This works on Windows/msbuild. -- View this message in context: http://www.nabble.com/Exec-task-in-xbuild-not-working-at-all-tp24685078p24685078.html Sent from the Mono - General mailing list archive at Nabble.com. From radical at gmail.com Tue Jul 28 07:25:41 2009 From: radical at gmail.com (Ankit Jain) Date: Tue, 28 Jul 2009 16:55:41 +0530 Subject: [Mono-list] Exec task in xbuild not working at all In-Reply-To: <24685078.post@talk.nabble.com> References: <24685078.post@talk.nabble.com> Message-ID: On Tue, Jul 28, 2009 at 4:19 PM, vladatlshift wrote: > > Hi list, > > I've been trying out xbuild for a while and everything seems great except > for the Exec task, which doesn't seem to work for me at all. That seems to be a bug, i'm working on fixing that now. BTW, please use the latest version of mono (http://www.go-mono.com/mono-downloads/download.html) as it has a much improved xbuild than the version that you seem to be using. -Ankit > > For example, the following simple .proj file: > > > xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> > ? ? > ? ? ? ? > ? ? > > > > when run with xbuild, it outputs: > > vlad at mrforgetful:~/w/test$ xbuild test.proj > XBuild Engine Version 0.1 > Mono, Version 2.0.1.0 > Copyright (C) Marek Sieradzki 2005. All rights reserved. > > Build started 27/07/2009 18:20:54. > __________________________________________________ > Project "/home/vlad/w/test/test.proj" (Build target(s)): > > Target Build: > ? ? ? ? ? ? ? ?Tool echo Hello world! execution started with arguments: > System.ComponentModel.Win32Exception: ApplicationName='echo Hello world!', > CommandLine=' ', CurrentDirectory='' > ?at System.Diagnostics.Process.Start_noshell > (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process > process) [0x00000] > ?at System.Diagnostics.Process.Start_common > (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process > process) [0x00000] > ?at System.Diagnostics.Process.Start () [0x00000] > ?at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start > () > ?at Microsoft.Build.Utilities.ToolTask.RealExecute (System.String filename, > System.String arguments) [0x00000] > ?at Microsoft.Build.Utilities.ToolTask.ExecuteTool (System.String > pathToTool, System.String responseFileCommands, System.String > commandLineCommands) [0x00000] > ?at Microsoft.Build.Tasks.Exec.ExecuteTool (System.String pathToTool, > System.String responseFileCommands, System.String commandLineCommands) > [0x00000] > ?at Microsoft.Build.Utilities.ToolTask.Execute () [0x00000] > ?at Microsoft.Build.BuildEngine.TaskEngine.Execute () [0x00000] > ?at Microsoft.Build.BuildEngine.BuildTask.Execute () [0x00000] > > Build succeeded. > ? ? ? ? 0 Warning(s) > ? ? ? ? 1 Error(s) > > Time Elapsed 00:00:00.0622170 > > > > Any idea what the problem could be? Am I doing something wrong? > > > Thanks, > Vlad. > > > PS. This works on Windows/msbuild. > -- > View this message in context: http://www.nabble.com/Exec-task-in-xbuild-not-working-at-all-tp24685078p24685078.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 > -- Blog : http://www.ankitjain.org/blog From s.volchkov at gmail.com Tue Jul 28 11:10:57 2009 From: s.volchkov at gmail.com (Sergii Volchkov) Date: Tue, 28 Jul 2009 18:10:57 +0300 Subject: [Mono-list] Building latest svn mono-2-4 fails due to missing Message-ID: Hello, I am trying to build mono 2.4 from http://anonsvn.mono-project.com/source/branches/mono-2-4, r138837. The build fails for me with the following error message: make[7]: Entering directory `/home/volk/mono/svn/mcs/class/System' Creating the per profile list ../../build/deps/net_2_1_bootstrap_System.dll.sources ... ./../../tools/gensources.sh net_2_1_bootstrap_System.dll.sources > ../../build/deps/net_2_1_bootstrap_System.dll.sources Creating ../../build/deps/net_2_1_bootstrap_System.dll.makefrag ... make[7]: Leaving directory `/home/volk/mono/svn/mcs/class/System' make[7]: Entering directory `/home/volk/mono/svn/mcs/class/System' make all-local make[8]: Entering directory `/home/volk/mono/svn/mcs/class/System' make[8]: *** No rule to make target `System.IO.Compression/GzipStream.cs', needed by `../../class/lib/net_2_1_bootstrap/System.dll'. Stop. I suppose, the possible reason is that the file mcs/class/System/System.IO.Compresison/GzipStream.cs was renamed to GZipStream.cs in r138303, but mcs/class/System/net_2_1_raw_System.dll.sources still contains the old spelling. I don't know anything about mono build process, however after fixing the spelling and rebuilding everything went fine. For your reference, please find attached a patch. -- Sergii Volchkov -------------- next part -------------- A non-text attachment was scrubbed... Name: net_2_1_raw_System.dll.sources.patch Type: application/octet-stream Size: 535 bytes Desc: not available Url : http://lists.ximian.com/pipermail/mono-list/attachments/20090728/7b9fcc0d/attachment.obj From calberto.cortez at gmail.com Tue Jul 28 11:31:55 2009 From: calberto.cortez at gmail.com (Carlos Alberto Cortez) Date: Tue, 28 Jul 2009 17:31:55 +0200 Subject: [Mono-list] Keyboard bug in Mono In-Reply-To: <24689175.post@talk.nabble.com> References: <24689175.post@talk.nabble.com> Message-ID: <1c146860907280831t206d7f7dy4218a753e350f633@mail.gmail.com> Hey, This is working with 2.4 Carlos. 2009/7/28 LKeene > > Hello all. > > I'm testing on Mono 2.0 because our local Linux guy won't install 2.4. The > following works fine on XP + Microsoft .NET, but generates no response on > Red Hat + Mono 2.0. Has anyone else seen this bug? Has it been fixed in the > latest release?: > > > namespace KetTest > { > public partial class Form1 : Form > { > public Form1() > { > InitializeComponent(); > } > > protected override bool ProcessCmdKey(ref Message msg, Keys keyData) > { > bool ButtonHandled = false; > > // Check which key was pressed and alert user: > switch (keyData) > { > case Keys.Left: > this.Text = "Left key pressed"; > ButtonHandled = true; > break; > > case Keys.Up: > this.Text = "Up key pressed"; > ButtonHandled = true; > break; > > case Keys.Right: > this.Text = "Right key pressed"; > ButtonHandled = true; > break; > > case Keys.Down: > this.Text = "Down key pressed"; > ButtonHandled = true; > break; > } > > return ButtonHandled; > } > } > } > -- > View this message in context: > http://www.nabble.com/Keyboard-bug-in-Mono-tp24689175p24689175.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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090728/662e31d4/attachment-0001.html From lionel.keene at gmail.com Tue Jul 28 12:26:07 2009 From: lionel.keene at gmail.com (LKeene) Date: Tue, 28 Jul 2009 09:26:07 -0700 (PDT) Subject: [Mono-list] Keyboard bug in Mono In-Reply-To: <1c146860907280831t206d7f7dy4218a753e350f633@mail.gmail.com> References: <24689175.post@talk.nabble.com> <1c146860907280831t206d7f7dy4218a753e350f633@mail.gmail.com> Message-ID: <24703064.post@talk.nabble.com> Great news! Thank you. -L Carlos Alberto wrote: > > Hey, > > This is working with 2.4 > > Carlos. > > 2009/7/28 LKeene > >> >> Hello all. >> >> I'm testing on Mono 2.0 because our local Linux guy won't install 2.4. >> The >> following works fine on XP + Microsoft .NET, but generates no response on >> Red Hat + Mono 2.0. Has anyone else seen this bug? Has it been fixed in >> the >> latest release?: >> >> >> namespace KetTest >> { >> public partial class Form1 : Form >> { >> public Form1() >> { >> InitializeComponent(); >> } >> >> protected override bool ProcessCmdKey(ref Message msg, Keys >> keyData) >> { >> bool ButtonHandled = false; >> >> // Check which key was pressed and alert user: >> switch (keyData) >> { >> case Keys.Left: >> this.Text = "Left key pressed"; >> ButtonHandled = true; >> break; >> >> case Keys.Up: >> this.Text = "Up key pressed"; >> ButtonHandled = true; >> break; >> >> case Keys.Right: >> this.Text = "Right key pressed"; >> ButtonHandled = true; >> break; >> >> case Keys.Down: >> this.Text = "Down key pressed"; >> ButtonHandled = true; >> break; >> } >> >> return ButtonHandled; >> } >> } >> } >> -- >> View this message in context: >> http://www.nabble.com/Keyboard-bug-in-Mono-tp24689175p24689175.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 >> > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > -- View this message in context: http://www.nabble.com/Keyboard-bug-in-Mono-tp24689175p24703064.html Sent from the Mono - General mailing list archive at Nabble.com. From ajorgensen at novell.com Tue Jul 28 12:52:39 2009 From: ajorgensen at novell.com (Andrew Jorgensen) Date: Tue, 28 Jul 2009 10:52:39 -0600 Subject: [Mono-list] Announcing the release of Mono 2.4.2.3 Message-ID: <4A6ED8770200004000065496@lucius.provo.novell.com> Today we're announcing the immediate release of Mono 2.4.2.3. This release fixes issues with precompiled MVC applications. The release notes are here: http://www.mono-project.com/Release_Notes_Mono_2.4.2.3 and downloads are available here: http://www.mono-project.com/Downloads Thanks to all those who contributed to this release! :) From abe.gillespie at gmail.com Tue Jul 28 14:29:33 2009 From: abe.gillespie at gmail.com (Abe Gillespie) Date: Tue, 28 Jul 2009 14:29:33 -0400 Subject: [Mono-list] Debug Logging in mod_mono Message-ID: Hi All, I'm getting the ever-popular System.DllNotFoundException: gdiplus.dll exception. I'm sure it's simply due to some missing image libraries (libpng, libjpeg, etc.), but I'd like to know precisely what. I've tried using "MonoDebug True" in the config but am not seeing anything in the logs. Is looking in error_log the right place? - "cat error_log | grep gdi" turns up nothing. Does mod_mono use its own log file that needs to be additionally configured? Something else? I also tried running XSP from the console with MONO_OPTIONS=--debug, but that doesn't seem to be helping either. Of course I may just be using it incorrectly because I don't have much experience doing so. Any help would rock. Thanks, all! -Abe From surfzoid at gmail.com Tue Jul 28 15:41:59 2009 From: surfzoid at gmail.com (Petit Eric) Date: Tue, 28 Jul 2009 21:41:59 +0200 Subject: [Mono-list] Link error at the mono dowload page Message-ID: <84776a970907281241rd0339b9p85a2c208aede8602@mail.gmail.com> Hi please at : http://mono-project.com/OpenSUSE_Build_Service could you correct : https://build.opensuse.org/project/show?project=home%3Asurfzoid by http://software.opensuse.org/search?baseproject=ALL&p=1&q=CS_OBexFTP i don't know this was came the link is at a login page !? -- Cordially. Small Eric Quotations of the days: --------------------------------------------------------------------------- If one day one reproaches you that your work is not a work of professional, say you that: Amateurs built the arch of Noah, and professionals the Titanic. --------------------------------------------------------------------------- When society feel down, to be quiet we say, at this time every things are okay's, because the most important is the landing. --------------------------------------------------------------------------- No key was wounded during the drafting of this message. From monkey at jpobst.com Tue Jul 28 15:54:00 2009 From: monkey at jpobst.com (Jonathan Pobst) Date: Tue, 28 Jul 2009 14:54:00 -0500 Subject: [Mono-list] Link error at the mono dowload page In-Reply-To: <84776a970907281241rd0339b9p85a2c208aede8602@mail.gmail.com> References: <84776a970907281241rd0339b9p85a2c208aede8602@mail.gmail.com> Message-ID: <4A6F5758.7000703@jpobst.com> Fixed, sorry about that. Whoever added it probably was already logged into OBS and didn't realize it was a protected page. Jonathan Petit Eric wrote: > Hi > please at : http://mono-project.com/OpenSUSE_Build_Service could you > correct : https://build.opensuse.org/project/show?project=home%3Asurfzoid > by http://software.opensuse.org/search?baseproject=ALL&p=1&q=CS_OBexFTP > > i don't know this was came > the link is at a login page !? > From Scott.Fluto at cmgl.ca Tue Jul 28 16:41:10 2009 From: Scott.Fluto at cmgl.ca (srf) Date: Tue, 28 Jul 2009 13:41:10 -0700 (PDT) Subject: [Mono-list] Empty string saved as null in sql server Message-ID: <24707463.post@talk.nabble.com> if I have a field that is an empty string rather than a null , when it gets saved it inserts a null rather than an empty string. With windows its works properly and stored an empty string. Has anyone else noticed this and had problems storing an empty string rather than a null value into a sqlserver 2005 database or any other database? thanks scott -- View this message in context: http://www.nabble.com/Empty-string-saved-as-null-in-sql-server-tp24707463p24707463.html Sent from the Mono - General mailing list archive at Nabble.com. From surfzoid at gmail.com Tue Jul 28 16:47:22 2009 From: surfzoid at gmail.com (Petit Eric) Date: Tue, 28 Jul 2009 22:47:22 +0200 Subject: [Mono-list] Link error at the mono dowload page In-Reply-To: <4A6F5758.7000703@jpobst.com> References: <84776a970907281241rd0339b9p85a2c208aede8602@mail.gmail.com> <4A6F5758.7000703@jpobst.com> Message-ID: <84776a970907281347j1b0dcd80t8ed35f7418563259@mail.gmail.com> 2009/7/28 Jonathan Pobst : > Fixed, sorry about that. ?Whoever added it probably was already logged into > OBS and didn't realize it was a protected page. no problem, "errare human est" > > Jonathan > > > Petit Eric wrote: >> >> Hi >> please at : http://mono-project.com/OpenSUSE_Build_Service could you >> correct : https://build.opensuse.org/project/show?project=home%3Asurfzoid >> ?by ? http://software.opensuse.org/search?baseproject=ALL&p=1&q=CS_OBexFTP >> >> i don't know this was came >> the link is at a login page !? >> > > -- Cordially. Small Eric Quotations of the days: --------------------------------------------------------------------------- If one day one reproaches you that your work is not a work of professional, say you that: Amateurs built the arch of Noah, and professionals the Titanic. --------------------------------------------------------------------------- When society feel down, to be quiet we say, at this time every things are okay's, because the most important is the landing. --------------------------------------------------------------------------- No key was wounded during the drafting of this message. From nagappan at gmail.com Tue Jul 28 16:55:59 2009 From: nagappan at gmail.com (Nagappan Alagappan) Date: Tue, 28 Jul 2009 13:55:59 -0700 Subject: [Mono-list] transaction support in mono In-Reply-To: <24692737.post@talk.nabble.com> References: <24692737.post@talk.nabble.com> Message-ID: <9d0602eb0907281355p4253f234h1ac508bc7c466f43@mail.gmail.com> Hello Mishra, What do you mean by Bank related transaction ? Guess you are talking about Database transaction !?! If so, are you using ADO.NET ? and if yes, which provider are you using ? Please provide detailed info, so that some one in this list can help you. Thanks Nagappan On Mon, Jul 27, 2009 at 10:30 PM, Bharti Mishra wrote: > > hi, > > I am migrating Bank Application (.net) onto Open Suse platform using > mono2.4.2. > I read about Mono that mono doesn't support transaction. > so I want to know ,Will it support bank related transaction? > > thanks > -- > View this message in context: > http://www.nabble.com/transaction-support-in-mono-tp24692737p24692737.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 > -- Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090728/b98e7c01/attachment.html From nagappan at gmail.com Tue Jul 28 16:56:47 2009 From: nagappan at gmail.com (Nagappan Alagappan) Date: Tue, 28 Jul 2009 13:56:47 -0700 Subject: [Mono-list] Empty string saved as null in sql server In-Reply-To: <24707463.post@talk.nabble.com> References: <24707463.post@talk.nabble.com> Message-ID: <9d0602eb0907281356p59ff4e16ye8154a9eb477f327@mail.gmail.com> Hello Scott, Can you post a sample test to reproduce the issue you have mentioned here ? Thanks Nagappan On Tue, Jul 28, 2009 at 1:41 PM, srf wrote: > > if I have a field that is an empty string rather than a null , when it gets > saved it inserts a null rather than an empty string. With windows its works > properly and stored an empty string. Has anyone else noticed this and had > problems storing an empty string rather than a null value into a sqlserver > 2005 database or any other database? > > thanks > > scott > -- > View this message in context: > http://www.nabble.com/Empty-string-saved-as-null-in-sql-server-tp24707463p24707463.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 > -- Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090728/edbc56b9/attachment-0001.html From Scott.Fluto at cmgl.ca Tue Jul 28 17:18:14 2009 From: Scott.Fluto at cmgl.ca (srf) Date: Tue, 28 Jul 2009 14:18:14 -0700 (PDT) Subject: [Mono-list] Empty string saved as null in sql server In-Reply-To: <9d0602eb0907281356p59ff4e16ye8154a9eb477f327@mail.gmail.com> References: <24707463.post@talk.nabble.com> <9d0602eb0907281356p59ff4e16ye8154a9eb477f327@mail.gmail.com> Message-ID: <24708036.post@talk.nabble.com> I cant give you the exact ado .net commands since we use an Nhibernate Orm but using its tracing , this is what its preparing: INSERT INTO dbo.[EntityLabel] ([commitcount], [Saved], [Username], [Comment], [IsSnapshot], [Name], [Created], [Description], Id) VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8); @p0 = '1', @p1 = '', @p2 = 'Default', @p3 = '', @p4 = 'False', @p5 = '', @p6 = '7/28/2009 9:11:29 AM', @p7 = '', @p8 = '1c0a122a-1e26-4fc7-af5b-70c19f783188' Note the p1 ,p3 and p5 values are empty strings. WHen I trace its using the sqlserver profiler, the sql generated and being sent to the databaswe is actually null values. When I try this on windows everything is the same except that the empty strings remain as empty string. I noticed that everywhere when we insert empty strings they get inserted as nulls so it seems to be common to everything. Do you have any thoughts on why this would be happening. Is there some asumptions mono is taking to decide to set them to null? As far as I know the only way it should is if I use the System.Dbnull type thanks scott Nagappan wrote: > > Hello Scott, > > Can you post a sample test to reproduce the issue you have mentioned here > ? > > Thanks > Nagappan > > On Tue, Jul 28, 2009 at 1:41 PM, srf wrote: > >> >> if I have a field that is an empty string rather than a null , when it >> gets >> saved it inserts a null rather than an empty string. With windows its >> works >> properly and stored an empty string. Has anyone else noticed this and had >> problems storing an empty string rather than a null value into a >> sqlserver >> 2005 database or any other database? >> >> thanks >> >> scott >> -- >> View this message in context: >> http://www.nabble.com/Empty-string-saved-as-null-in-sql-server-tp24707463p24707463.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 >> > > > > -- > Linux Desktop (GUI Application) Testing Project - > http://ldtp.freedesktop.org > http://nagappanal.blogspot.com > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > -- View this message in context: http://www.nabble.com/Empty-string-saved-as-null-in-sql-server-tp24707463p24708036.html Sent from the Mono - General mailing list archive at Nabble.com. From nagappan at gmail.com Tue Jul 28 17:45:43 2009 From: nagappan at gmail.com (Nagappan Alagappan) Date: Tue, 28 Jul 2009 14:45:43 -0700 Subject: [Mono-list] Empty string saved as null in sql server In-Reply-To: <24708036.post@talk.nabble.com> References: <24707463.post@talk.nabble.com> <9d0602eb0907281356p59ff4e16ye8154a9eb477f327@mail.gmail.com> <24708036.post@talk.nabble.com> Message-ID: <9d0602eb0907281445h531cbfd4gdaa349a70dba320d@mail.gmail.com> Hello Scott, Which version of Mono are you using ? I remember Varadhan have recently committed lots of fix related to this area in ADO.NET. Thanks Nagappan On Tue, Jul 28, 2009 at 2:18 PM, srf wrote: > > I cant give you the exact ado .net commands since we use an Nhibernate Orm > but using its tracing , this is what its preparing: > INSERT INTO dbo.[EntityLabel] ([commitcount], [Saved], [Username], > [Comment], [IsSnapshot], [Name], [Created], [Description], Id) VALUES (@p0, > @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8); @p0 = '1', @p1 = '', @p2 = > 'Default', @p3 = '', @p4 = 'False', @p5 = '', @p6 = '7/28/2009 9:11:29 AM', > @p7 = '', @p8 = '1c0a122a-1e26-4fc7-af5b-70c19f783188' > > Note the p1 ,p3 and p5 values are empty strings. WHen I trace its using the > sqlserver profiler, the sql generated and being sent to the databaswe is > actually null values. When I try this on windows everything is the same > except that the empty strings remain as empty string. I noticed that > everywhere when we insert empty strings they get inserted as nulls so it > seems to be common to everything. Do you have any thoughts on why this > would > be happening. Is there some asumptions mono is taking to decide to set them > to null? As far as I know the only way it should is if I use the > System.Dbnull type > > thanks > > scott > > > Nagappan wrote: > > > > Hello Scott, > > > > Can you post a sample test to reproduce the issue you have mentioned here > > ? > > > > Thanks > > Nagappan > > > > On Tue, Jul 28, 2009 at 1:41 PM, srf wrote: > > > >> > >> if I have a field that is an empty string rather than a null , when it > >> gets > >> saved it inserts a null rather than an empty string. With windows its > >> works > >> properly and stored an empty string. Has anyone else noticed this and > had > >> problems storing an empty string rather than a null value into a > >> sqlserver > >> 2005 database or any other database? > >> > >> thanks > >> > >> scott > >> -- > >> View this message in context: > >> > http://www.nabble.com/Empty-string-saved-as-null-in-sql-server-tp24707463p24707463.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 > >> > > > > > > > > -- > > Linux Desktop (GUI Application) Testing Project - > > http://ldtp.freedesktop.org > > http://nagappanal.blogspot.com > > > > _______________________________________________ > > Mono-list maillist - Mono-list at lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > > > -- > View this message in context: > http://www.nabble.com/Empty-string-saved-as-null-in-sql-server-tp24707463p24708036.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 > -- Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090728/5b314ae3/attachment.html From Scott.Fluto at cmgl.ca Tue Jul 28 17:50:17 2009 From: Scott.Fluto at cmgl.ca (srf) Date: Tue, 28 Jul 2009 14:50:17 -0700 (PDT) Subject: [Mono-list] Empty string saved as null in sql server In-Reply-To: <9d0602eb0907281445h531cbfd4gdaa349a70dba320d@mail.gmail.com> References: <24707463.post@talk.nabble.com> <9d0602eb0907281356p59ff4e16ye8154a9eb477f327@mail.gmail.com> <24708036.post@talk.nabble.com> <9d0602eb0907281445h531cbfd4gdaa349a70dba320d@mail.gmail.com> Message-ID: <24708531.post@talk.nabble.com> oh yes, I forgot to mention, it was mono 2.4.2 production release. Were those patches after this release. If you know that it was addressed in a commited patch I could get the latest daily and try it. thanks scott Nagappan wrote: > > Hello Scott, > > Which version of Mono are you using ? I remember Varadhan have recently > committed lots of fix related to this area in ADO.NET. > > Thanks > Nagappan > > On Tue, Jul 28, 2009 at 2:18 PM, srf wrote: > >> >> I cant give you the exact ado .net commands since we use an Nhibernate >> Orm >> but using its tracing , this is what its preparing: >> INSERT INTO dbo.[EntityLabel] ([commitcount], [Saved], [Username], >> [Comment], [IsSnapshot], [Name], [Created], [Description], Id) VALUES >> (@p0, >> @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8); @p0 = '1', @p1 = '', @p2 = >> 'Default', @p3 = '', @p4 = 'False', @p5 = '', @p6 = '7/28/2009 9:11:29 >> AM', >> @p7 = '', @p8 = '1c0a122a-1e26-4fc7-af5b-70c19f783188' >> >> Note the p1 ,p3 and p5 values are empty strings. WHen I trace its using >> the >> sqlserver profiler, the sql generated and being sent to the databaswe is >> actually null values. When I try this on windows everything is the same >> except that the empty strings remain as empty string. I noticed that >> everywhere when we insert empty strings they get inserted as nulls so it >> seems to be common to everything. Do you have any thoughts on why this >> would >> be happening. Is there some asumptions mono is taking to decide to set >> them >> to null? As far as I know the only way it should is if I use the >> System.Dbnull type >> >> thanks >> >> scott >> >> >> Nagappan wrote: >> > >> > Hello Scott, >> > >> > Can you post a sample test to reproduce the issue you have mentioned >> here >> > ? >> > >> > Thanks >> > Nagappan >> > >> > On Tue, Jul 28, 2009 at 1:41 PM, srf wrote: >> > >> >> >> >> if I have a field that is an empty string rather than a null , when it >> >> gets >> >> saved it inserts a null rather than an empty string. With windows its >> >> works >> >> properly and stored an empty string. Has anyone else noticed this and >> had >> >> problems storing an empty string rather than a null value into a >> >> sqlserver >> >> 2005 database or any other database? >> >> >> >> thanks >> >> >> >> scott >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/Empty-string-saved-as-null-in-sql-server-tp24707463p24707463.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 >> >> >> > >> > >> > >> > -- >> > Linux Desktop (GUI Application) Testing Project - >> > http://ldtp.freedesktop.org >> > http://nagappanal.blogspot.com >> > >> > _______________________________________________ >> > Mono-list maillist - Mono-list at lists.ximian.com >> > http://lists.ximian.com/mailman/listinfo/mono-list >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Empty-string-saved-as-null-in-sql-server-tp24707463p24708036.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 >> > > > > -- > Linux Desktop (GUI Application) Testing Project - > http://ldtp.freedesktop.org > http://nagappanal.blogspot.com > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > -- View this message in context: http://www.nabble.com/Empty-string-saved-as-null-in-sql-server-tp24707463p24708531.html Sent from the Mono - General mailing list archive at Nabble.com. From gonzalo.mono at gmail.com Tue Jul 28 18:59:27 2009 From: gonzalo.mono at gmail.com (Gonzalo Paniagua Javier) Date: Tue, 28 Jul 2009 18:59:27 -0400 Subject: [Mono-list] Building latest svn mono-2-4 fails due to missing In-Reply-To: References: Message-ID: <1248821967.4446.0.camel@lalo-laptop> On Tue, 2009-07-28 at 18:10 +0300, Sergii Volchkov wrote: > Hello, > > I am trying to build mono 2.4 from > http://anonsvn.mono-project.com/source/branches/mono-2-4, r138837. > The build fails for me with the following error message: > > > make[7]: Entering directory `/home/volk/mono/svn/mcs/class/System' > Creating the per profile list > ../../build/deps/net_2_1_bootstrap_System.dll.sources ... > ./../../tools/gensources.sh net_2_1_bootstrap_System.dll.sources > > ../../build/deps/net_2_1_bootstrap_System.dll.sources > Creating ../../build/deps/net_2_1_bootstrap_System.dll.makefrag ... > make[7]: Leaving directory `/home/volk/mono/svn/mcs/class/System' > make[7]: Entering directory `/home/volk/mono/svn/mcs/class/System' > make all-local > make[8]: Entering directory `/home/volk/mono/svn/mcs/class/System' > make[8]: *** No rule to make target > `System.IO.Compression/GzipStream.cs', needed by > `../../class/lib/net_2_1_bootstrap/System.dll'. Stop. This is fixed now. Thanks for the heads up. -Gonzalo From radical at gmail.com Tue Jul 28 19:41:40 2009 From: radical at gmail.com (Ankit Jain) Date: Wed, 29 Jul 2009 05:11:40 +0530 Subject: [Mono-list] Exec task in xbuild not working at all In-Reply-To: References: <24685078.post@talk.nabble.com> Message-ID: This is fixed in svn r138900. -Ankit On Tue, Jul 28, 2009 at 4:55 PM, Ankit Jain wrote: > On Tue, Jul 28, 2009 at 4:19 PM, vladatlshift wrote: >> >> Hi list, >> >> I've been trying out xbuild for a while and everything seems great except >> for the Exec task, which doesn't seem to work for me at all. > > That seems to be a bug, i'm working on fixing that now. > BTW, please use the latest version of mono > (http://www.go-mono.com/mono-downloads/download.html) > as it has a much improved xbuild than the version that you seem to be > using. > > -Ankit > >> >> For example, the following simple .proj file: >> >> >> > xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> >> ? ? >> ? ? ? ? >> ? ? >> >> >> >> when run with xbuild, it outputs: >> >> vlad at mrforgetful:~/w/test$ xbuild test.proj >> XBuild Engine Version 0.1 >> Mono, Version 2.0.1.0 >> Copyright (C) Marek Sieradzki 2005. All rights reserved. >> >> Build started 27/07/2009 18:20:54. >> __________________________________________________ >> Project "/home/vlad/w/test/test.proj" (Build target(s)): >> >> Target Build: >> ? ? ? ? ? ? ? ?Tool echo Hello world! execution started with arguments: >> System.ComponentModel.Win32Exception: ApplicationName='echo Hello world!', >> CommandLine=' ', CurrentDirectory='' >> ?at System.Diagnostics.Process.Start_noshell >> (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process >> process) [0x00000] >> ?at System.Diagnostics.Process.Start_common >> (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process >> process) [0x00000] >> ?at System.Diagnostics.Process.Start () [0x00000] >> ?at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start >> () >> ?at Microsoft.Build.Utilities.ToolTask.RealExecute (System.String filename, >> System.String arguments) [0x00000] >> ?at Microsoft.Build.Utilities.ToolTask.ExecuteTool (System.String >> pathToTool, System.String responseFileCommands, System.String >> commandLineCommands) [0x00000] >> ?at Microsoft.Build.Tasks.Exec.ExecuteTool (System.String pathToTool, >> System.String responseFileCommands, System.String commandLineCommands) >> [0x00000] >> ?at Microsoft.Build.Utilities.ToolTask.Execute () [0x00000] >> ?at Microsoft.Build.BuildEngine.TaskEngine.Execute () [0x00000] >> ?at Microsoft.Build.BuildEngine.BuildTask.Execute () [0x00000] >> >> Build succeeded. >> ? ? ? ? 0 Warning(s) >> ? ? ? ? 1 Error(s) >> >> Time Elapsed 00:00:00.0622170 >> >> >> >> Any idea what the problem could be? Am I doing something wrong? >> >> >> Thanks, >> Vlad. >> >> >> PS. This works on Windows/msbuild. >> -- >> View this message in context: http://www.nabble.com/Exec-task-in-xbuild-not-working-at-all-tp24685078p24685078.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 >> > > > > -- > Blog : http://www.ankitjain.org/blog > -- Blog : http://www.ankitjain.org/blog From vvaradhan at novell.com Wed Jul 29 00:07:52 2009 From: vvaradhan at novell.com (Veerapuram Varadhan) Date: Wed, 29 Jul 2009 09:37:52 +0530 Subject: [Mono-list] Empty string saved as null in sql server In-Reply-To: <24708531.post@talk.nabble.com> References: <24707463.post@talk.nabble.com> <9d0602eb0907281356p59ff4e16ye8154a9eb477f327@mail.gmail.com> <24708036.post@talk.nabble.com> <9d0602eb0907281445h531cbfd4gdaa349a70dba320d@mail.gmail.com> <24708531.post@talk.nabble.com> Message-ID: <1248840472.16861.1.camel@vvaradhan-lap.blr.novell.com> Hi Scott, While I look into this in 2.4.2, would you mind trying any of the daily-snapshots of trunk? Thanks, V. Varadhan On Tue, 2009-07-28 at 14:50 -0700, srf wrote: > oh yes, I forgot to mention, it was mono 2.4.2 production release. Were those > patches after this release. If you know that it was addressed in a commited > patch I could get the latest daily and try it. > > thanks > > scott > > Nagappan wrote: > > > > Hello Scott, > > > > Which version of Mono are you using ? I remember Varadhan have recently > > committed lots of fix related to this area in ADO.NET. > > > > Thanks > > Nagappan > > > > On Tue, Jul 28, 2009 at 2:18 PM, srf wrote: > > > >> > >> I cant give you the exact ado .net commands since we use an Nhibernate > >> Orm > >> but using its tracing , this is what its preparing: > >> INSERT INTO dbo.[EntityLabel] ([commitcount], [Saved], [Username], > >> [Comment], [IsSnapshot], [Name], [Created], [Description], Id) VALUES > >> (@p0, > >> @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8); @p0 = '1', @p1 = '', @p2 = > >> 'Default', @p3 = '', @p4 = 'False', @p5 = '', @p6 = '7/28/2009 9:11:29 > >> AM', > >> @p7 = '', @p8 = '1c0a122a-1e26-4fc7-af5b-70c19f783188' > >> > >> Note the p1 ,p3 and p5 values are empty strings. WHen I trace its using > >> the > >> sqlserver profiler, the sql generated and being sent to the databaswe is > >> actually null values. When I try this on windows everything is the same > >> except that the empty strings remain as empty string. I noticed that > >> everywhere when we insert empty strings they get inserted as nulls so it > >> seems to be common to everything. Do you have any thoughts on why this > >> would > >> be happening. Is there some asumptions mono is taking to decide to set > >> them > >> to null? As far as I know the only way it should is if I use the > >> System.Dbnull type > >> > >> thanks > >> > >> scott > >> > >> > >> Nagappan wrote: > >> > > >> > Hello Scott, > >> > > >> > Can you post a sample test to reproduce the issue you have mentioned > >> here > >> > ? > >> > > >> > Thanks > >> > Nagappan > >> > > >> > On Tue, Jul 28, 2009 at 1:41 PM, srf wrote: > >> > > >> >> > >> >> if I have a field that is an empty string rather than a null , when it > >> >> gets > >> >> saved it inserts a null rather than an empty string. With windows its > >> >> works > >> >> properly and stored an empty string. Has anyone else noticed this and > >> had > >> >> problems storing an empty string rather than a null value into a > >> >> sqlserver > >> >> 2005 database or any other database? > >> >> > >> >> thanks > >> >> > >> >> scott > >> >> -- > >> >> View this message in context: > >> >> > >> http://www.nabble.com/Empty-string-saved-as-null-in-sql-server-tp24707463p24707463.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 > >> >> > >> > > >> > > >> > > >> > -- > >> > Linux Desktop (GUI Application) Testing Project - > >> > http://ldtp.freedesktop.org > >> > http://nagappanal.blogspot.com > >> > > >> > _______________________________________________ > >> > Mono-list maillist - Mono-list at lists.ximian.com > >> > http://lists.ximian.com/mailman/listinfo/mono-list > >> > > >> > > >> > >> -- > >> View this message in context: > >> http://www.nabble.com/Empty-string-saved-as-null-in-sql-server-tp24707463p24708036.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 > >> > > > > > > > > -- > > Linux Desktop (GUI Application) Testing Project - > > http://ldtp.freedesktop.org > > http://nagappanal.blogspot.com > > > > _______________________________________________ > > Mono-list maillist - Mono-list at lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > > From adrin84 at gmail.com Wed Jul 29 04:00:51 2009 From: adrin84 at gmail.com (adrin) Date: Wed, 29 Jul 2009 01:00:51 -0700 (PDT) Subject: [Mono-list] Status of WCF in Mono Message-ID: <24714322.post@talk.nabble.com> Hello, what is the status of Mono's WCF implemetation? Is it by any means usable? I am asking because i consider it one of the most important apis in .net (in terms of software architecture). I;ve seen that some linux distros contain mono-wcf package... that raised my curiosity -- View this message in context: http://www.nabble.com/Status-of-WCF-in-Mono-tp24714322p24714322.html Sent from the Mono - General mailing list archive at Nabble.com. From atsushieno at veritas-vos-liberabit.com Wed Jul 29 04:25:04 2009 From: atsushieno at veritas-vos-liberabit.com (Atsushi Eno) Date: Wed, 29 Jul 2009 17:25:04 +0900 Subject: [Mono-list] Status of WCF in Mono In-Reply-To: <24714322.post@talk.nabble.com> References: <24714322.post@talk.nabble.com> Message-ID: <4A700760.90904@veritas-vos-liberabit.com> You should search for WCF in the mono project web site. http://www.mono-prject.com Atsushi Eno adrin wrote: > Hello, what is the status of Mono's WCF implemetation? Is it by any means > usable? > I am asking because i consider it one of the most important apis in .net (in > terms of software architecture). > I;ve seen that some linux distros contain mono-wcf package... that raised my > curiosity From Scott.Fluto at cmgl.ca Wed Jul 29 09:56:12 2009 From: Scott.Fluto at cmgl.ca (srf) Date: Wed, 29 Jul 2009 06:56:12 -0700 (PDT) Subject: [Mono-list] Empty string saved as null in sql server In-Reply-To: <1248840472.16861.1.camel@vvaradhan-lap.blr.novell.com> References: <24707463.post@talk.nabble.com> <9d0602eb0907281356p59ff4e16ye8154a9eb477f327@mail.gmail.com> <24708036.post@talk.nabble.com> <9d0602eb0907281445h531cbfd4gdaa349a70dba320d@mail.gmail.com> <24708531.post@talk.nabble.com> <1248840472.16861.1.camel@vvaradhan-lap.blr.novell.com> Message-ID: <24719817.post@talk.nabble.com> do you know where I can get the daily , on the daily page last daily is april 14 2009 (http://mono.ximian.com/daily/) , so im not sure where to get to most recent daily anymore. thanks scott Veerapuram Varadhan wrote: > > Hi Scott, > > While I look into this in 2.4.2, would you mind trying any of the > daily-snapshots of trunk? > > Thanks, > > V. Varadhan > > On Tue, 2009-07-28 at 14:50 -0700, srf wrote: >> oh yes, I forgot to mention, it was mono 2.4.2 production release. Were >> those >> patches after this release. If you know that it was addressed in a >> commited >> patch I could get the latest daily and try it. >> >> thanks >> >> scott >> >> Nagappan wrote: >> > >> > Hello Scott, >> > >> > Which version of Mono are you using ? I remember Varadhan have recently >> > committed lots of fix related to this area in ADO.NET. >> > >> > Thanks >> > Nagappan >> > >> > On Tue, Jul 28, 2009 at 2:18 PM, srf wrote: >> > >> >> >> >> I cant give you the exact ado .net commands since we use an Nhibernate >> >> Orm >> >> but using its tracing , this is what its preparing: >> >> INSERT INTO dbo.[EntityLabel] ([commitcount], [Saved], [Username], >> >> [Comment], [IsSnapshot], [Name], [Created], [Description], Id) VALUES >> >> (@p0, >> >> @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8); @p0 = '1', @p1 = '', @p2 = >> >> 'Default', @p3 = '', @p4 = 'False', @p5 = '', @p6 = '7/28/2009 9:11:29 >> >> AM', >> >> @p7 = '', @p8 = '1c0a122a-1e26-4fc7-af5b-70c19f783188' >> >> >> >> Note the p1 ,p3 and p5 values are empty strings. WHen I trace its >> using >> >> the >> >> sqlserver profiler, the sql generated and being sent to the databaswe >> is >> >> actually null values. When I try this on windows everything is the >> same >> >> except that the empty strings remain as empty string. I noticed that >> >> everywhere when we insert empty strings they get inserted as nulls so >> it >> >> seems to be common to everything. Do you have any thoughts on why this >> >> would >> >> be happening. Is there some asumptions mono is taking to decide to set >> >> them >> >> to null? As far as I know the only way it should is if I use the >> >> System.Dbnull type >> >> >> >> thanks >> >> >> >> scott >> >> >> >> >> >> Nagappan wrote: >> >> > >> >> > Hello Scott, >> >> > >> >> > Can you post a sample test to reproduce the issue you have mentioned >> >> here >> >> > ? >> >> > >> >> > Thanks >> >> > Nagappan >> >> > >> >> > On Tue, Jul 28, 2009 at 1:41 PM, srf wrote: >> >> > >> >> >> >> >> >> if I have a field that is an empty string rather than a null , when >> it >> >> >> gets >> >> >> saved it inserts a null rather than an empty string. With windows >> its >> >> >> works >> >> >> properly and stored an empty string. Has anyone else noticed this >> and >> >> had >> >> >> problems storing an empty string rather than a null value into a >> >> >> sqlserver >> >> >> 2005 database or any other database? >> >> >> >> >> >> thanks >> >> >> >> >> >> scott >> >> >> -- >> >> >> View this message in context: >> >> >> >> >> >> http://www.nabble.com/Empty-string-saved-as-null-in-sql-server-tp24707463p24707463.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 >> >> >> >> >> > >> >> > >> >> > >> >> > -- >> >> > Linux Desktop (GUI Application) Testing Project - >> >> > http://ldtp.freedesktop.org >> >> > http://nagappanal.blogspot.com >> >> > >> >> > _______________________________________________ >> >> > Mono-list maillist - Mono-list at lists.ximian.com >> >> > http://lists.ximian.com/mailman/listinfo/mono-list >> >> > >> >> > >> >> >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/Empty-string-saved-as-null-in-sql-server-tp24707463p24708036.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 >> >> >> > >> > >> > >> > -- >> > Linux Desktop (GUI Application) Testing Project - >> > http://ldtp.freedesktop.org >> > http://nagappanal.blogspot.com >> > >> > _______________________________________________ >> > 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 > > -- View this message in context: http://www.nabble.com/Empty-string-saved-as-null-in-sql-server-tp24707463p24719817.html Sent from the Mono - General mailing list archive at Nabble.com. From adrin84 at gmail.com Wed Jul 29 15:02:40 2009 From: adrin84 at gmail.com (adrin) Date: Wed, 29 Jul 2009 12:02:40 -0700 (PDT) Subject: [Mono-list] Status of WCF in Mono In-Reply-To: <4A700760.90904@veritas-vos-liberabit.com> References: <24714322.post@talk.nabble.com> <4A700760.90904@veritas-vos-liberabit.com> Message-ID: <24725540.post@talk.nabble.com> Atsushi Eno-3 wrote: > > You should search for WCF in the mono project web site. > http://www.mono-prject.com > > Thanks for the tip.. however what i've found doesnt completly answer my questions :-) Well some pages state that work for implementing WCF "is in progress", but mono roadmap doesnt include it as a planned, future technology to be included... I assume that WCF isn't 'officially' in development plans? is anybody working on WCF right now? http://www.mono-project.com/WCF page warns that it is outdated :( -- View this message in context: http://www.nabble.com/Status-of-WCF-in-Mono-tp24714322p24725540.html Sent from the Mono - General mailing list archive at Nabble.com. From lenniedg at gmail.com Wed Jul 29 17:41:59 2009 From: lenniedg at gmail.com (Lennie De Villiers) Date: Wed, 29 Jul 2009 23:41:59 +0200 Subject: [Mono-list] Mono C# 4.0 Message-ID: Hi, What C# 4.0 features does the Mono C# compiler contain? Is there a list somewhere? How can I access them? thanks & cheers Lennie De Villiers -- Lennie De Villiers Blog: http://lenniedevilliers.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090729/df84fb10/attachment.html From atsushieno at veritas-vos-liberabit.com Wed Jul 29 23:14:15 2009 From: atsushieno at veritas-vos-liberabit.com (Atsushi Eno) Date: Thu, 30 Jul 2009 12:14:15 +0900 Subject: [Mono-list] Status of WCF in Mono In-Reply-To: <24725540.post@talk.nabble.com> References: <24714322.post@talk.nabble.com> <4A700760.90904@veritas-vos-liberabit.com> <24725540.post@talk.nabble.com> Message-ID: <4A711007.7050708@veritas-vos-liberabit.com> Hello, adrin wrote: > > > Atsushi Eno-3 wrote: >> You should search for WCF in the mono project web site. >> http://www.mono-prject.com >> >> > > Thanks for the tip.. however what i've found doesnt completly answer my > questions :-) > > Well some pages state that work for implementing WCF "is in progress", but > mono roadmap doesnt include it as a planned, future technology to be > included... I assume that WCF isn't 'officially' in development plans? is > anybody working on WCF right now? We don't have solid release plan yet. And I'm working on some of them (now TCP/peer channel and duplex channel support). > http://www.mono-project.com/WCF page warns that it is outdated :( The page indicates a link to the latest status text. Atsushi Eno From gareth at betechnology.com.au Thu Jul 30 00:45:36 2009 From: gareth at betechnology.com.au (Gareth Stokes) Date: Thu, 30 Jul 2009 14:45:36 +1000 Subject: [Mono-list] Status of WCF in Mono In-Reply-To: <4A711007.7050708@veritas-vos-liberabit.com> References: <24714322.post@talk.nabble.com> <4A700760.90904@veritas-vos-liberabit.com> <24725540.post@talk.nabble.com> <4A711007.7050708@veritas-vos-liberabit.com> Message-ID: <24ae12010907292145r3a114179u43f9412862fe923b@mail.gmail.com> Hi Atsushi, I would be very interested in helping out with getting wcf fully implemented. where is the best place for me to start looking? 2009/7/30 Atsushi Eno > Hello, > > adrin wrote: > > > > > > Atsushi Eno-3 wrote: > >> You should search for WCF in the mono project web site. > >> http://www.mono-prject.com > >> > >> > > > > Thanks for the tip.. however what i've found doesnt completly answer my > > questions :-) > > > > Well some pages state that work for implementing WCF "is in progress", > but > > mono roadmap doesnt include it as a planned, future technology to be > > included... I assume that WCF isn't 'officially' in development plans? is > > anybody working on WCF right now? > > We don't have solid release plan yet. And I'm working on some of them > (now TCP/peer channel and duplex channel support). > > > http://www.mono-project.com/WCF page warns that it is outdated :( > > The page indicates a link to the latest status text. > > Atsushi Eno > _______________________________________________ > 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/20090730/b2c2b6c7/attachment-0001.html From atsushieno at veritas-vos-liberabit.com Thu Jul 30 03:03:33 2009 From: atsushieno at veritas-vos-liberabit.com (Atsushi Eno) Date: Thu, 30 Jul 2009 16:03:33 +0900 Subject: [Mono-list] Status of WCF in Mono In-Reply-To: <24ae12010907292145r3a114179u43f9412862fe923b@mail.gmail.com> References: <24714322.post@talk.nabble.com> <4A700760.90904@veritas-vos-liberabit.com> <24725540.post@talk.nabble.com> <4A711007.7050708@veritas-vos-liberabit.com> <24ae12010907292145r3a114179u43f9412862fe923b@mail.gmail.com> Message-ID: <4A7145C5.3000600@veritas-vos-liberabit.com> Hi, Gareth Stokes wrote: > Hi Atsushi, > > I would be very interested in helping out with getting wcf fully > implemented. That's great, welcome to mono hacking land :) > where is the best place for me to start looking? WCF is actually a set of .NET 3.0 libraries (with a few set of tools). So if you haven't tried mono/mcs sources, you'll first have to become familiar with it. Once you got ready to touch class library sources, then there are a couple of WCF assemblies under mcs/class: - System.Runtime.Serialization - System.IdentityModel - System.IdentityModel.Selectors - System.ServiceModel - System.ServiceModel.Web So, anywhere you'd like to hack, you'll end up to hack one of them. In the latest status text (linked from [*1]), there is a couple of [contribute] tags. They are where you'd be easily adopt your hackings into our class libs. [*1] http://www.mono-project.com/WCF See also: http://mono-project.com/Contributing . For WCF hacking, our class status pages would also help what's missing http://mono-project.com/Class_Status Atsushi Eno > 2009/7/30 Atsushi Eno > > > Hello, > > adrin wrote: > > > > > > Atsushi Eno-3 wrote: > >> You should search for WCF in the mono project web site. > >> http://www.mono-prject.com > >> > >> > > > > Thanks for the tip.. however what i've found doesnt completly > answer my > > questions :-) > > > > Well some pages state that work for implementing WCF "is in > progress", but > > mono roadmap doesnt include it as a planned, future technology to be > > included... I assume that WCF isn't 'officially' in development > plans? is > > anybody working on WCF right now? > > We don't have solid release plan yet. And I'm working on some of them > (now TCP/peer channel and duplex channel support). > > > http://www.mono-project.com/WCF page warns that it is outdated :( > > The page indicates a link to the latest status text. > > Atsushi Eno > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/mono-list > > From igor.bustiuc at gmail.com Thu Jul 30 03:18:33 2009 From: igor.bustiuc at gmail.com (bustiuci) Date: Thu, 30 Jul 2009 00:18:33 -0700 (PDT) Subject: [Mono-list] Oracle Enterprise Linux Message-ID: <24714108.post@talk.nabble.com> Hello! Do someone installed Mono framework on Oracle Enterprise Linux (Unbreakable Linux)? Thank you! -- View this message in context: http://www.nabble.com/Oracle-Enterprise-Linux-tp24714108p24714108.html Sent from the Mono - General mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090730/fb003793/attachment.html From ripper33 at gmail.com Thu Jul 30 04:50:29 2009 From: ripper33 at gmail.com (Tynar) Date: Thu, 30 Jul 2009 01:50:29 -0700 (PDT) Subject: [Mono-list] Problems installing MONO 2.2 on Solaris 10 In-Reply-To: <21715140.post@talk.nabble.com> References: <21686429.post@talk.nabble.com> <21714831.post@talk.nabble.com> <21715140.post@talk.nabble.com> Message-ID: <24734579.post@talk.nabble.com> jluoni wrote: > > Thanks for the reply, I had to do a --enable-dtrace=true. Also there was > a patch for one of the files. Had to change a few u_int32_t to uint32_t. > I got it passing mono-test-install. Now I am fighting with getting the > latest gtk-sharp on Solaris 10. I am new to Solaris, but I am stuck with > it. It seems like there is always some KLUDGE from the basic setup. > Fighting with getting cairo setup right now which is a prereq to gtk+ 2.8 > which is prereq for gtksharp 2.8. I need the "EASY" button!!!!!!!!!!! > > I would suggest you to use, gtk-sharp 2.4.3, which does not need gtk+ updates. Also can you share the step by step installation instructions of mono 2.2 on solaris x86 ? Tynar. -- View this message in context: http://www.nabble.com/Problems-installing-MONO-2.2-on-Solaris-10-tp21686429p24734579.html Sent from the Mono - General mailing list archive at Nabble.com. From alan.mcgovern at gmail.com Thu Jul 30 05:19:25 2009 From: alan.mcgovern at gmail.com (Alan McGovern) Date: Thu, 30 Jul 2009 10:19:25 +0100 Subject: [Mono-list] Problems installing MONO 2.2 on Solaris 10 In-Reply-To: <24734579.post@talk.nabble.com> References: <21686429.post@talk.nabble.com> <21714831.post@talk.nabble.com> <21715140.post@talk.nabble.com> <24734579.post@talk.nabble.com> Message-ID: <117799f00907300219p7ba3a2fdr45a9f2a3d5f80be6@mail.gmail.com> Hey, I'd highly recommend you don't use gtk-sharp 2.4.3 if you can avoid it. It is incredibly ancient - approaching 3 years old. If at all possible you should install 2.12.X. Alan. On Thu, Jul 30, 2009 at 9:50 AM, Tynar wrote: > > > > jluoni wrote: > > > > Thanks for the reply, I had to do a --enable-dtrace=true. Also there was > > a patch for one of the files. Had to change a few u_int32_t to uint32_t. > > I got it passing mono-test-install. Now I am fighting with getting the > > latest gtk-sharp on Solaris 10. I am new to Solaris, but I am stuck with > > it. It seems like there is always some KLUDGE from the basic setup. > > Fighting with getting cairo setup right now which is a prereq to gtk+ 2.8 > > which is prereq for gtksharp 2.8. I need the "EASY" button!!!!!!!!!!! > > > > > > I would suggest you to use, gtk-sharp 2.4.3, which does not need gtk+ > updates. Also can you share the step by step installation instructions of > mono 2.2 on solaris x86 ? > > Tynar. > -- > View this message in context: > http://www.nabble.com/Problems-installing-MONO-2.2-on-Solaris-10-tp21686429p24734579.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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090730/3097b624/attachment.html From vvaradhan at novell.com Thu Jul 30 10:14:43 2009 From: vvaradhan at novell.com (Veerapuram Varadhan) Date: Thu, 30 Jul 2009 08:14:43 -0600 Subject: [Mono-list] Empty string saved as null in sql server Message-ID: <4A715673020000D200050EFC@lucius.provo.novell.com> Scott, On Wed, 2009-07-29 at 06:56 -0700, srf wrote: > do you know where I can get the daily , on the daily page last daily is april > 14 2009 (http://mono.ximian.com/daily/) , so im not sure where to get to > most recent daily anymore. > Can you file a bug with your original trace/dump? Thanks, V. Varadhan > thanks > > scott > > Veerapuram Varadhan wrote: > > > > Hi Scott, > > > > While I look into this in 2.4.2, would you mind trying any of the > > daily-snapshots of trunk? > > > > Thanks, > > > > V. Varadhan > > > > On Tue, 2009-07-28 at 14:50 -0700, srf wrote: > >> oh yes, I forgot to mention, it was mono 2.4.2 production release. Were > >> those > >> patches after this release. If you know that it was addressed in a > >> commited > >> patch I could get the latest daily and try it. > >> > >> thanks > >> > >> scott > >> > >> Nagappan wrote: > >> > > >> > Hello Scott, > >> > > >> > Which version of Mono are you using ? I remember Varadhan have recently > >> > committed lots of fix related to this area in ADO.NET. > >> > > >> > Thanks > >> > Nagappan > >> > > >> > On Tue, Jul 28, 2009 at 2:18 PM, srf wrote: > >> > > >> >> > >> >> I cant give you the exact ado .net commands since we use an Nhibernate > >> >> Orm > >> >> but using its tracing , this is what its preparing: > >> >> INSERT INTO dbo.[EntityLabel] ([commitcount], [Saved], [Username], > >> >> [Comment], [IsSnapshot], [Name], [Created], [Description], Id) VALUES > >> >> (@p0, > >> >> @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8); @p0 = '1', @p1 = '', @p2 = > >> >> 'Default', @p3 = '', @p4 = 'False', @p5 = '', @p6 = '7/28/2009 9:11:29 > >> >> AM', > >> >> @p7 = '', @p8 = '1c0a122a-1e26-4fc7-af5b-70c19f783188' > >> >> > >> >> Note the p1 ,p3 and p5 values are empty strings. WHen I trace its > >> using > >> >> the > >> >> sqlserver profiler, the sql generated and being sent to the databaswe > >> is > >> >> actually null values. When I try this on windows everything is the > >> same > >> >> except that the empty strings remain as empty string. I noticed that > >> >> everywhere when we insert empty strings they get inserted as nulls so > >> it > >> >> seems to be common to everything. Do you have any thoughts on why this > >> >> would > >> >> be happening. Is there some asumptions mono is taking to decide to set > >> >> them > >> >> to null? As far as I know the only way it should is if I use the > >> >> System.Dbnull type > >> >> > >> >> thanks > >> >> > >> >> scott > >> >> > >> >> > >> >> Nagappan wrote: > >> >> > > >> >> > Hello Scott, > >> >> > > >> >> > Can you post a sample test to reproduce the issue you have mentioned > >> >> here > >> >> > ? > >> >> > > >> >> > Thanks > >> >> > Nagappan > >> >> > > >> >> > On Tue, Jul 28, 2009 at 1:41 PM, srf wrote: > >> >> > > >> >> >> > >> >> >> if I have a field that is an empty string rather than a null , when > >> it > >> >> >> gets > >> >> >> saved it inserts a null rather than an empty string. With windows > >> its > >> >> >> works > >> >> >> properly and stored an empty string. Has anyone else noticed this > >> and > >> >> had > >> >> >> problems storing an empty string rather than a null value into a > >> >> >> sqlserver > >> >> >> 2005 database or any other database? > >> >> >> > >> >> >> thanks > >> >> >> > >> >> >> scott > >> >> >> -- > >> >> >> View this message in context: > >> >> >> > >> >> > >> http://www.nabble.com/Empty-string-saved-as-null-in-sql-server-tp24707463p24707463.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 > >> >> >> > >> >> > > >> >> > > >> >> > > >> >> > -- > >> >> > Linux Desktop (GUI Application) Testing Project - > >> >> > http://ldtp.freedesktop.org > >> >> > http://nagappanal.blogspot.com > >> >> > > >> >> > _______________________________________________ > >> >> > Mono-list maillist - Mono-list at lists.ximian.com > >> >> > http://lists.ximian.com/mailman/listinfo/mono-list > >> >> > > >> >> > > >> >> > >> >> -- > >> >> View this message in context: > >> >> > >> http://www.nabble.com/Empty-string-saved-as-null-in-sql-server-tp24707463p24708036.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 > >> >> > >> > > >> > > >> > > >> > -- > >> > Linux Desktop (GUI Application) Testing Project - > >> > http://ldtp.freedesktop.org > >> > http://nagappanal.blogspot.com > >> > > >> > _______________________________________________ > >> > 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 > > > > > -- Veerapuram Varadhan From vvaradhan at novell.com Thu Jul 30 10:41:12 2009 From: vvaradhan at novell.com (Veerapuram Varadhan) Date: Thu, 30 Jul 2009 08:41:12 -0600 Subject: [Mono-list] Empty string saved as null in sql server Message-ID: <4A715CA8020000D200050F0C@lucius.provo.novell.com> On Wed, 2009-07-29 at 06:56 -0700, srf wrote: > do you know where I can get the daily , on the daily page last daily is april > 14 2009 (http://mono.ximian.com/daily/) , so im not sure where to get to > most recent daily anymore. > Fixed in trunk - r?139086 Thanks for reporting. V. Varadhan > thanks > > scott > > Veerapuram Varadhan wrote: > > > > Hi Scott, > > > > While I look into this in 2.4.2, would you mind trying any of the > > daily-snapshots of trunk? > > > > Thanks, > > > > V. Varadhan > > > > On Tue, 2009-07-28 at 14:50 -0700, srf wrote: > >> oh yes, I forgot to mention, it was mono 2.4.2 production release. Were > >> those > >> patches after this release. If you know that it was addressed in a > >> commited > >> patch I could get the latest daily and try it. > >> > >> thanks > >> > >> scott > >> > >> Nagappan wrote: > >> > > >> > Hello Scott, > >> > > >> > Which version of Mono are you using ? I remember Varadhan have recently > >> > committed lots of fix related to this area in ADO.NET. > >> > > >> > Thanks > >> > Nagappan > >> > > >> > On Tue, Jul 28, 2009 at 2:18 PM, srf wrote: > >> > > >> >> > >> >> I cant give you the exact ado .net commands since we use an Nhibernate > >> >> Orm > >> >> but using its tracing , this is what its preparing: > >> >> INSERT INTO dbo.[EntityLabel] ([commitcount], [Saved], [Username], > >> >> [Comment], [IsSnapshot], [Name], [Created], [Description], Id) VALUES > >> >> (@p0, > >> >> @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8); @p0 = '1', @p1 = '', @p2 = > >> >> 'Default', @p3 = '', @p4 = 'False', @p5 = '', @p6 = '7/28/2009 9:11:29 > >> >> AM', > >> >> @p7 = '', @p8 = '1c0a122a-1e26-4fc7-af5b-70c19f783188' > >> >> > >> >> Note the p1 ,p3 and p5 values are empty strings. WHen I trace its > >> using > >> >> the > >> >> sqlserver profiler, the sql generated and being sent to the databaswe > >> is > >> >> actually null values. When I try this on windows everything is the > >> same > >> >> except that the empty strings remain as empty string. I noticed that > >> >> everywhere when we insert empty strings they get inserted as nulls so > >> it > >> >> seems to be common to everything. Do you have any thoughts on why this > >> >> would > >> >> be happening. Is there some asumptions mono is taking to decide to set > >> >> them > >> >> to null? As far as I know the only way it should is if I use the > >> >> System.Dbnull type > >> >> > >> >> thanks > >> >> > >> >> scott > >> >> > >> >> > >> >> Nagappan wrote: > >> >> > > >> >> > Hello Scott, > >> >> > > >> >> > Can you post a sample test to reproduce the issue you have mentioned > >> >> here > >> >> > ? > >> >> > > >> >> > Thanks > >> >> > Nagappan > >> >> > > >> >> > On Tue, Jul 28, 2009 at 1:41 PM, srf wrote: > >> >> > > >> >> >> > >> >> >> if I have a field that is an empty string rather than a null , when > >> it > >> >> >> gets > >> >> >> saved it inserts a null rather than an empty string. With windows > >> its > >> >> >> works > >> >> >> properly and stored an empty string. Has anyone else noticed this > >> and > >> >> had > >> >> >> problems storing an empty string rather than a null value into a > >> >> >> sqlserver > >> >> >> 2005 database or any other database? > >> >> >> > >> >> >> thanks > >> >> >> > >> >> >> scott > >> >> >> -- > >> >> >> View this message in context: > >> >> >> > >> >> > >> http://www.nabble.com/Empty-string-saved-as-null-in-sql-server-tp24707463p24707463.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 > >> >> >> > >> >> > > >> >> > > >> >> > > >> >> > -- > >> >> > Linux Desktop (GUI Application) Testing Project - > >> >> > http://ldtp.freedesktop.org > >> >> > http://na> >> >> > http://lists.ximian.com/mailman/listinfo/mono-list > >> >> > > >> >> > > >> >> > >> >> -- > >> >> View this message in context: > >> >> > >> http://www.nabble.com/Empty-string-saved-as-null-in-sql-server-tp24707463p24708036.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 > >> >> > >> > > >> > > >> > > >> > -- > >> > Linux Desktop (GUI Application) Testing Project - > >> > http://ldtp.freedesktop.org > >> > http://nagappanal.blogspot.com > >> > > >> > _______________________________________________ > >> > 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 > > > > -- Veerapuram Varadhan From Scott.Fluto at cmgl.ca Thu Jul 30 11:03:27 2009 From: Scott.Fluto at cmgl.ca (srf) Date: Thu, 30 Jul 2009 08:03:27 -0700 (PDT) Subject: [Mono-list] Empty string saved as null in sql server In-Reply-To: <4A715CA8020000D200050F0C@lucius.provo.novell.com> References: <24707463.post@talk.nabble.com> <4A715CA8020000D200050F0C@lucius.provo.novell.com> Message-ID: <24739967.post@talk.nabble.com> ok thanks, I filed Bug #526794 for this issue anyhow. Do you know how I can get the most recent source since the mono.ximian.com/daily isnt getting updated anymore? thanks scott Veerapuram Varadhan wrote: > > On Wed, 2009-07-29 at 06:56 -0700, srf wrote: >> do you know where I can get the daily , on the daily page last daily > is april >> 14 2009 (http://mono.ximian.com/daily/) , so im not sure where to get > to >> most recent daily anymore. >> > Fixed in trunk - r?139086 > > Thanks for reporting. > > V. Varadhan > >> thanks >> >> scott >> >> Veerapuram Varadhan wrote: >> > >> > Hi Scott, >> > >> > While I look into this in 2.4.2, would you mind trying any of the >> > daily-snapshots of trunk? >> > >> > Thanks, >> > >> > V. Varadhan >> > >> > On Tue, 2009-07-28 at 14:50 -0700, srf wrote: >> >> oh yes, I forgot to mention, it was mono 2.4.2 production release. > Were >> >> those >> >> patches after this release. If you know that it was addressed in a >> >> commited >> >> patch I could get the latest daily and try it. >> >> >> >> thanks >> >> >> >> scott >> >> >> >> Nagappan wrote: >> >> > >> >> > Hello Scott, >> >> > >> >> > Which version of Mono are you using ? I remember Varadhan have > recently >> >> > committed lots of fix related to this area in ADO.NET. >> >> > >> >> > Thanks >> >> > Nagappan >> >> > >> >> > On Tue, Jul 28, 2009 at 2:18 PM, srf wrote: >> >> > >> >> >> >> >> >> I cant give you the exact ado .net commands since we use an > Nhibernate >> >> >> Orm >> >> >> but using its tracing , this is what its preparing: >> >> >> INSERT INTO dbo.[EntityLabel] ([commitcount], [Saved], > [Username], >> >> >> [Comment], [IsSnapshot], [Name], [Created], [Description], Id) > VALUES >> >> >> (@p0, >> >> >> @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8); @p0 = '1', @p1 = '', > @p2 = >> >> >> 'Default', @p3 = '', @p4 = 'False', @p5 = '', @p6 = '7/28/2009 > 9:11:29 >> >> >> AM', >> >> >> @p7 = '', @p8 = '1c0a122a-1e26-4fc7-af5b-70c19f783188' >> >> >> >> >> >> Note the p1 ,p3 and p5 values are empty strings. WHen I trace > its >> >> using >> >> >> the >> >> >> sqlserver profiler, the sql generated and being sent to the > databaswe >> >> is >> >> >> actually null values. When I try this on windows everything is > the >> >> same >> >> >> except that the empty strings remain as empty string. I noticed > that >> >> >> everywhere when we insert empty strings they get inserted as > nulls so >> >> it >> >> >> seems to be common to everything. Do you have any thoughts on > why this >> >> >> would >> >> >> be happening. Is there some asumptions mono is taking to decide > to set >> >> >> them >> >> >> to null? As far as I know the only way it should is if I use the >> >> >> System.Dbnull type >> >> >> >> >> >> thanks >> >> >> >> >> >> scott >> >> >> >> >> >> >> >> >> Nagappan wrote: >> >> >> > >> >> >> > Hello Scott, >> >> >> > >> >> >> > Can you post a sample test to reproduce the issue you have > mentioned >> >> >> here >> >> >> > ? >> >> >> > >> >> >> > Thanks >> >> >> > Nagappan >> >> >> > >> >> >> > On Tue, Jul 28, 2009 at 1:41 PM, srf > wrote: >> >> >> > >> >> >> >> >> >> >> >> if I have a field that is an empty string rather than a null > , when >> >> it >> >> >> >> gets >> >> >> >> saved it inserts a null rather than an empty string. With > windows >> >> its >> >> >> >> works >> >> >> >> properly and stored an empty string. Has anyone else noticed > this >> >> and >> >> >> had >> >> >> >> problems storing an empty string rather than a null value > into a >> >> >> >> sqlserver >> >> >> >> 2005 database or any other database? >> >> >> >> >> >> >> >> thanks >> >> >> >> >> >> >> >> scott >> >> >> >> -- >> >> >> >> View this message in context: >> >> >> >> >> >> >> >> >> > http://www.nabble.com/Empty-string-saved-as-null-in-sql-server-tp24707463p24707463.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 >> >> >> >> >> >> >> > >> >> >> > >> >> >> > >> >> >> > -- >> >> >> > Linux Desktop (GUI Application) Testing Project - >> >> >> > http://ldtp.freedesktop.org >> >> >> > http://na> >> >> > >> http://lists.ximian.com/mailman/listinfo/mono-list >> >> >> > >> >> >> > >> >> >> >> >> >> -- >> >> >> View this message in context: >> >> >> >> >> > http://www.nabble.com/Empty-string-saved-as-null-in-sql-server-tp24707463p24708036.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 >> >> >> >> >> > >> >> > >> >> > >> >> > -- >> >> > Linux Desktop (GUI Application) Testing Project - >> >> > http://ldtp.freedesktop.org >> >> > http://nagappanal.blogspot.com >> >> > >> >> > _______________________________________________ >> >> > 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 >> > >> > > > -- > Veerapuram Varadhan > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > -- View this message in context: http://www.nabble.com/Empty-string-saved-as-null-in-sql-server-tp24707463p24739967.html Sent from the Mono - General mailing list archive at Nabble.com. From adrin84 at gmail.com Thu Jul 30 11:09:18 2009 From: adrin84 at gmail.com (adrin) Date: Thu, 30 Jul 2009 08:09:18 -0700 (PDT) Subject: [Mono-list] How to mount a drive under mono Message-ID: <24740295.post@talk.nabble.com> Hello, Is there any api in mono allowing to mount a drive? I can use 'mount' command and invoke it using 'normal' .NET external process execution pattern... but i wonder if there is a native, mono method for this? -- View this message in context: http://www.nabble.com/How-to-mount-a-drive-under-mono-tp24740295p24740295.html Sent from the Mono - General mailing list archive at Nabble.com. From cdhowie at gmail.com Thu Jul 30 11:22:20 2009 From: cdhowie at gmail.com (Chris Howie) Date: Thu, 30 Jul 2009 11:22:20 -0400 Subject: [Mono-list] How to mount a drive under mono In-Reply-To: <24740295.post@talk.nabble.com> References: <24740295.post@talk.nabble.com> Message-ID: <3d2f29dc0907300822i74c8731ah9014ae150c253c93@mail.gmail.com> On Thu, Jul 30, 2009 at 11:09 AM, adrin wrote: > Hello, > Is there any api in mono allowing to mount a drive? > I can use 'mount' command and invoke it using 'normal' .NET external process > execution pattern... but i wonder if there is a native, mono method for > this? There is not a way to do this short of implementing the P/Invoke yourself or running a process. See : mount: Inherently non-portable across the various Unix flavours, and will never be supported. Instead, use System.Diagnostics.Process and invoke the command-line mount(8) program. -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers From manshack_one at yahoo.com Thu Jul 30 14:16:10 2009 From: manshack_one at yahoo.com (manshack_one) Date: Thu, 30 Jul 2009 11:16:10 -0700 (PDT) Subject: [Mono-list] asp.net conversion advice needed. Message-ID: <24743915.post@talk.nabble.com> We're working on a project to convert MS Access applications to ASP.net using a product called Microtools. It's clunky and we end up doing a lot of debugging but we've been able to get Northwind to run locally after conversion to ASP.net. Problem comes in when we copy the website to the server (Suse) which has Mono and the latest Mysql connector on it. After copying it over there are errors pertaining to the odbc connection when you pull up the screens on Mono. What's apparent to me is that the DSN in windows and the web.config file are set to a windows version of the mysql driver (5.1). When you move it over all of a sudden linux is unable to match that DSN name so it defaults to the system odbc driver libodbc.so. We went through the process of installing unixODBC but it's now saying there is no default data source set up. Which means to me that it's still not using the mysql connector. Would we be doing any better to put monodevelop on the linux box and debug the c# asp code that we get from microtools there? Would monodevelop do a better job of getting the db connection to mysql? What we're up against right now is that the changes we're making in visual studio to the web.config to make it work on the windows desktop don't have an equivalent in linux and for the life of me I can't make the web.config use the mysql connector. Would monodevelop have a better chance of reading the mysql connection if we developed on the linux box instead of the windows box? We still have to run microtools and access in windows but maybe we could just push the converted code out to the server and debug it there so that when it's running correctly in testing we'll know there is not an extra step to make it talk to mysql on the linux box. -- View this message in context: http://www.nabble.com/asp.net-conversion-advice-needed.-tp24743915p24743915.html Sent from the Mono - General mailing list archive at Nabble.com. From diego.frata at gmail.com Thu Jul 30 16:19:55 2009 From: diego.frata at gmail.com (Diego Frata) Date: Thu, 30 Jul 2009 17:19:55 -0300 Subject: [Mono-list] asp.net conversion advice needed. In-Reply-To: <24743915.post@talk.nabble.com> References: <24743915.post@talk.nabble.com> Message-ID: Could you show how did you configure the DSN on Windows and on Suse? And how are you trying to open the connection? It's always good to debug the application on the server if it's not a heavily used production one. Diego Frata diego.frata at gmail.com On Thu, Jul 30, 2009 at 3:16 PM, manshack_one wrote: > > We're working on a project to convert MS Access applications to ASP.net > using > a product called Microtools. It's clunky and we end up doing a lot of > debugging but we've been able to get Northwind to run locally after > conversion to ASP.net. Problem comes in when we copy the website to the > server (Suse) which has Mono and the latest Mysql connector on it. After > copying it over there are errors pertaining to the odbc connection when you > pull up the screens on Mono. What's apparent to me is that the DSN in > windows and the web.config file are set to a windows version of the mysql > driver (5.1). When you move it over all of a sudden linux is unable to > match that DSN name so it defaults to the system odbc driver libodbc.so. > We > went through the process of installing unixODBC but it's now saying there > is > no default data source set up. Which means to me that it's still not using > the mysql connector. > > Would we be doing any better to put monodevelop on the linux box and debug > the c# asp code that we get from microtools there? Would monodevelop do a > better job of getting the db connection to mysql? What we're up against > right now is that the changes we're making in visual studio to the > web.config to make it work on the windows desktop don't have an equivalent > in linux and for the life of me I can't make the web.config use the mysql > connector. > > Would monodevelop have a better chance of reading the mysql connection if > we > developed on the linux box instead of the windows box? We still have to > run > microtools and access in windows but maybe we could just push the converted > code out to the server and debug it there so that when it's running > correctly in testing we'll know there is not an extra step to make it talk > to mysql on the linux box. > -- > View this message in context: > http://www.nabble.com/asp.net-conversion-advice-needed.-tp24743915p24743915.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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090730/a80d91ff/attachment.html From manshack_one at yahoo.com Thu Jul 30 16:49:16 2009 From: manshack_one at yahoo.com (manshack_one) Date: Thu, 30 Jul 2009 13:49:16 -0700 (PDT) Subject: [Mono-list] asp.net conversion advice needed. In-Reply-To: References: <24743915.post@talk.nabble.com> Message-ID: <24747068.post@talk.nabble.com> Each Access form is converted into a separate asp page. In each page there are options to either declare a connection string there or use the one from web.config. We went into each page and made sure it's trying to use 'ConnectionString' from the web.config file. This works in windows with a connection string that contains 'Driver="MySql ODBC 5.1 Driver" but when you move that web.config file to the linux box the connector/net driver that was installed there isn't called the same thing. On Suse all we knew to do was install the connector/net driver according to the mono page where it talks about adding it to the GAC. Since it can't find a driver called 'MySQl ODBC 5.1 Driver" it seems to be defaulting to standard odbc drivers which are not set up at all. Honestly I don't even know how to setup the dsn on suse using mysql. It won't be a problem to debug this on the server. Right now it's just a test box anyways. I'm not at work so I can't get a copy of the web.config right now. Hopefully tomorrow I'll be back in the office. Diego Frata wrote: > > Could you show how did you configure the DSN on Windows and on Suse? And > how > are you trying to open the connection? > > It's always good to debug the application on the server if it's not a > heavily used production one. > > Diego Frata > diego.frata at gmail.com > > > On Thu, Jul 30, 2009 at 3:16 PM, manshack_one > wrote: > >> >> We're working on a project to convert MS Access applications to ASP.net >> using >> a product called Microtools. It's clunky and we end up doing a lot of >> debugging but we've been able to get Northwind to run locally after >> conversion to ASP.net. Problem comes in when we copy the website to the >> server (Suse) which has Mono and the latest Mysql connector on it. After >> copying it over there are errors pertaining to the odbc connection when >> you >> pull up the screens on Mono. What's apparent to me is that the DSN in >> windows and the web.config file are set to a windows version of the mysql >> driver (5.1). When you move it over all of a sudden linux is unable to >> match that DSN name so it defaults to the system odbc driver libodbc.so. >> We >> went through the process of installing unixODBC but it's now saying there >> is >> no default data source set up. Which means to me that it's still not >> using >> the mysql connector. >> >> Would we be doing any better to put monodevelop on the linux box and >> debug >> the c# asp code that we get from microtools there? Would monodevelop do >> a >> better job of getting the db connection to mysql? What we're up against >> right now is that the changes we're making in visual studio to the >> web.config to make it work on the windows desktop don't have an >> equivalent >> in linux and for the life of me I can't make the web.config use the mysql >> connector. >> >> Would monodevelop have a better chance of reading the mysql connection if >> we >> developed on the linux box instead of the windows box? We still have to >> run >> microtools and access in windows but maybe we could just push the >> converted >> code out to the server and debug it there so that when it's running >> correctly in testing we'll know there is not an extra step to make it >> talk >> to mysql on the linux box. >> -- >> View this message in context: >> http://www.nabble.com/asp.net-conversion-advice-needed.-tp24743915p24743915.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 >> > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > -- View this message in context: http://www.nabble.com/asp.net-conversion-advice-needed.-tp24743915p24747068.html Sent from the Mono - General mailing list archive at Nabble.com. From lifewarped at yahoo.com Thu Jul 30 16:54:23 2009 From: lifewarped at yahoo.com (Glenn R. Martin) Date: Thu, 30 Jul 2009 16:54:23 -0400 Subject: [Mono-list] JavaScript Message-ID: Has anyone heard of a JavaScript engine implementation (or Wrapper) in .NET? We are looking to build a scriptable interface in one of our projects. Thanks Glenn R. Martin From diego.frata at gmail.com Thu Jul 30 20:01:31 2009 From: diego.frata at gmail.com (Diego Frata) Date: Thu, 30 Jul 2009 21:01:31 -0300 Subject: [Mono-list] asp.net conversion advice needed. In-Reply-To: <24747068.post@talk.nabble.com> References: <24743915.post@talk.nabble.com> <24747068.post@talk.nabble.com> Message-ID: First of all, it's preferred that you choose using MySql Connector/NET instead of an MySql Connector/ODBC. It's simplier than using ODBC and it's far wide used. For using MySQL Connector/NET, put your connection string like this: And make sure that MySql.Data.dll is registered on GAC, or it's inside the bin directory of your ASP.NET website. If you can't avoid using ODBC: 1) Reinstall (or install, if you haven't) the MySQL Connector/ODBC from this page http://dev.mysql.com/downloads/connector/odbc/5.1.html. 2) Configure your unixODBC again and check for incorrect informations. If you need this URL has a good guidance http://www.unixodbc.org/odbcinst.html 3) Test your provider following the instructions on http://www.mono-project.com/ODBC This way you will be using the libodbc.so and not MySQL Connector/NET (MySql.Data) to access the database. It should work as expected. If this doesn't work, then I will need to see your files. But seriously, you should use the first option, it's far better and easier to configure. Diego Frata diego.frata at gmail.com On Thu, Jul 30, 2009 at 5:49 PM, manshack_one wrote: > > Each Access form is converted into a separate asp page. In each page there > are options to either declare > a connection string there or use the one from web.config. We went into > each > page and made sure it's trying to use 'ConnectionString' from the > web.config > file. This works in windows with a connection string that contains > 'Driver="MySql ODBC 5.1 Driver" but when you move that web.config file to > the linux box the connector/net driver that was installed there isn't > called > the same thing. On Suse all we knew to do was install the connector/net > driver according to the mono page where it talks about adding it to the > GAC. > Since it can't find a driver called 'MySQl ODBC 5.1 Driver" it seems to be > defaulting to standard odbc drivers which are not set up at all. Honestly > I > don't even know how to setup the dsn on suse using mysql. It won't be a > problem to debug this on the server. Right now it's just a test box > anyways. > > I'm not at work so I can't get a copy of the web.config right now. > Hopefully tomorrow I'll be back in the office. > > > > > Diego Frata wrote: > > > > Could you show how did you configure the DSN on Windows and on Suse? And > > how > > are you trying to open the connection? > > > > It's always good to debug the application on the server if it's not a > > heavily used production one. > > > > Diego Frata > > diego.frata at gmail.com > > > > > > On Thu, Jul 30, 2009 at 3:16 PM, manshack_one > > wrote: > > > >> > >> We're working on a project to convert MS Access applications to ASP.net > >> using > >> a product called Microtools. It's clunky and we end up doing a lot of > >> debugging but we've been able to get Northwind to run locally after > >> conversion to ASP.net. Problem comes in when we copy the website to the > >> server (Suse) which has Mono and the latest Mysql connector on it. > After > >> copying it over there are errors pertaining to the odbc connection when > >> you > >> pull up the screens on Mono. What's apparent to me is that the DSN in > >> windows and the web.config file are set to a windows version of the > mysql > >> driver (5.1). When you move it over all of a sudden linux is unable to > >> match that DSN name so it defaults to the system odbc driver libodbc.so. > >> We > >> went through the process of installing unixODBC but it's now saying > there > >> is > >> no default data source set up. Which means to me that it's still not > >> using > >> the mysql connector. > >> > >> Would we be doing any better to put monodevelop on the linux box and > >> debug > >> the c# asp code that we get from microtools there? Would monodevelop do > >> a > >> better job of getting the db connection to mysql? What we're up against > >> right now is that the changes we're making in visual studio to the > >> web.config to make it work on the windows desktop don't have an > >> equivalent > >> in linux and for the life of me I can't make the web.config use the > mysql > >> connector. > >> > >> Would monodevelop have a better chance of reading the mysql connection > if > >> we > >> developed on the linux box instead of the windows box? We still have to > >> run > >> microtools and access in windows but maybe we could just push the > >> converted > >> code out to the server and debug it there so that when it's running > >> correctly in testing we'll know there is not an extra step to make it > >> talk > >> to mysql on the linux box. > >> -- > >> View this message in context: > >> > http://www.nabble.com/asp.net-conversion-advice-needed.-tp24743915p24743915.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 > >> > > > > _______________________________________________ > > Mono-list maillist - Mono-list at lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > > > -- > View this message in context: > http://www.nabble.com/asp.net-conversion-advice-needed.-tp24743915p24747068.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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090730/de287b8d/attachment.html From mygroups at tracker1.info Thu Jul 30 22:27:20 2009 From: mygroups at tracker1.info (mygroups at tracker1.info) Date: Thu, 30 Jul 2009 19:27:20 -0700 Subject: [Mono-list] JavaScript In-Reply-To: References: Message-ID: <4A725688.3050406@tracker1.info> There was a managed JScript implementation for the DLR from MS that has since been abandoned, there's a current onoe from RemObjects too here http://code.remobjects.com/p/roscript/ I'm working on a DLR based ECMAScript (JavaScript 1.8) implementation, but it's really slow going, as I've never built a compiler before... On 7/30/2009 1:54 PM, Glenn R. Martin wrote: > Has anyone heard of a JavaScript engine implementation (or Wrapper) > in .NET? > > We are looking to build a scriptable interface in one of our projects. > > Thanks > > Glenn R. Martin > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list -- Michael J. Ryan - http://tracker1.info/ ... FRA #229: Latinum lasts longer than lust. From mono at mobydisk.com Fri Jul 31 00:27:32 2009 From: mono at mobydisk.com (William Garrison) Date: Thu, 30 Jul 2009 21:27:32 -0700 Subject: [Mono-list] Nabble forums not working? Message-ID: <4A7272B4.2020503@mobydisk.com> I've tried several times to register and login to the forums on http://www.go-mono.com/forums/ -- Who maintains these? 1) Forum registration pages don't work on Safari (OS X) - some javascript infinite reload loop 2) Forum registration doesn't work on Firefox (OS X): It infinitely told me that the captcha was wrong, when it was not. I started over, and it told me I had already registered. So then I tried to login, and it just takes me to a list of forums, but I am not logged-in. There's other major issues too: - There are no scroll bars on the forum index. So if it displays 35 messages per page, you only see the first 13.5 messages. Doesn't matter what your screen resolution is. And this happens on Safari and Firefox both. - There is a warning on the login page about how Nabble stores passwords in plaintext. Are those forums still active and maintained? It doesn't even seem like Nabble is a production-ready system. Unless for some reason I am the only one having this problem (on two OS's, on 2 browsers, on 2 different machines -- seems unlikely): I think those forums should just be shut down. - Moby From lifewarped at yahoo.com Fri Jul 31 07:01:47 2009 From: lifewarped at yahoo.com (Glenn R. Martin) Date: Fri, 31 Jul 2009 07:01:47 -0400 Subject: [Mono-list] JavaScript In-Reply-To: References: Message-ID: <58F864FC-B7FC-413D-BE99-75A343FB75F2@yahoo.com> Diego, Unless im reading this wrong, this will compile C# in to JavaScript. I was looking for a JavaScript interpreter for Mono/.Net. Allowing me to provide an API from C# that some JavaScript writers could work against and could interpret JS. Did i miss something in the documentation? Thanks Glenn R. Martin On 30 Jul 2009, at 20:06 , Diego Frata wrote: > I know there's some projects in this area. > > The easiest to remember is http://projects.nikhilk.net/ScriptSharp > > There's one project from Microsoft but it was taken offline some > months ago and didn't came back yet... I just can't remember the > name of it. > > Diego Frata > diego.frata at gmail.com > > > On Thu, Jul 30, 2009 at 5:54 PM, Glenn R. Martin > wrote: > Has anyone heard of a JavaScript engine implementation (or Wrapper) > in .NET? > > We are looking to build a scriptable interface in one of our projects. > > Thanks > > Glenn R. Martin > _______________________________________________ > 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/20090731/9f11c714/attachment-0001.html From lifewarped at yahoo.com Fri Jul 31 07:04:59 2009 From: lifewarped at yahoo.com (Glenn R. Martin) Date: Fri, 31 Jul 2009 07:04:59 -0400 Subject: [Mono-list] JavaScript In-Reply-To: <386085.40574.qm@web54007.mail.re2.yahoo.com> References: <386085.40574.qm@web54007.mail.re2.yahoo.com> Message-ID: <09942623-EDAA-44BE-AE11-CD41FC2E9D56@yahoo.com> Jedd, I saw this on the Mono site, maybe im wrong but this looks like a JS- to-MSIL compiler. I was hoping there was a JS engine that has a C# wrapper. For example a Google V8, or SquirrelFish wrapper for .NET. Thanks Glenn R. Martin On 30 Jul 2009, at 21:01 , Jedd Haberstro wrote: > Hi Glenn, > > Currently the only implementation I know of is JScript, which is > unfortunately abandoned. Unless there is a lesser well known > implementation out there, I'm afraid you're out of luck :-( > > Jedd Orion Haberstro > > From: Glenn R. Martin > To: mono-list at lists.ximian.com > Sent: Thursday, July 30, 2009 4:54:23 PM > Subject: [Mono-list] JavaScript > > Has anyone heard of a JavaScript engine implementation (or Wrapper) > in .NET? > > We are looking to build a scriptable interface in one of our projects. > > Thanks > > Glenn R. Martin > _______________________________________________ > 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/20090731/328c193e/attachment.html From doug.blank at gmail.com Fri Jul 31 07:45:47 2009 From: doug.blank at gmail.com (Doug Blank) Date: Fri, 31 Jul 2009 07:45:47 -0400 Subject: [Mono-list] JavaScript In-Reply-To: References: Message-ID: On Thu, Jul 30, 2009 at 4:54 PM, Glenn R. Martin wrote: > Has anyone heard of a JavaScript engine implementation (or Wrapper) > in .NET? > > We are looking to build a scriptable interface in one of our projects. > Why JavaScript? Consider using the DLR which would allow users to use Python, Ruby, and other languages as they come on-line. See: http://en.wikipedia.org/wiki/Dynamic_Language_Runtime Works great with Mono. -Doug > Thanks > > Glenn R. Martin > _______________________________________________ > 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/20090731/5020dbd8/attachment.html From vlad at lshift.net Fri Jul 31 09:03:44 2009 From: vlad at lshift.net (Vlad Alexandru Ionescu) Date: Fri, 31 Jul 2009 14:03:44 +0100 Subject: [Mono-list] Exec task in xbuild not working at all In-Reply-To: References: <24685078.post@talk.nabble.com> Message-ID: <4A72EBB0.7070505@lshift.net> An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090731/58b0576e/attachment.html From lifewarped at yahoo.com Fri Jul 31 10:14:15 2009 From: lifewarped at yahoo.com (Glenn R. Martin) Date: Fri, 31 Jul 2009 10:14:15 -0400 Subject: [Mono-list] JavaScript In-Reply-To: References: Message-ID: <3191C50F-9610-4FA2-9C86-0491EBED303C@yahoo.com> On 31 Jul 2009, at 07:45 , Doug Blank wrote: > > Why JavaScript? Consider using the DLR which would allow users to > use Python, Ruby, and other languages as they come on-line. See: > > http://en.wikipedia.org/wiki/Dynamic_Language_Runtime > > Works great with Mono. > All the rest of our systems (the C/C++ and ObjC) portions use JavaScript so we were hoping to standardize. > -Doug > > > Thanks > > Glenn R. Martin > _______________________________________________ > 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/20090731/81ffe90d/attachment.html From adrin84 at gmail.com Fri Jul 31 15:12:33 2009 From: adrin84 at gmail.com (adrin) Date: Fri, 31 Jul 2009 12:12:33 -0700 (PDT) Subject: [Mono-list] How to mount a drive under mono In-Reply-To: <3d2f29dc0907300822i74c8731ah9014ae150c253c93@mail.gmail.com> References: <24740295.post@talk.nabble.com> <3d2f29dc0907300822i74c8731ah9014ae150c253c93@mail.gmail.com> Message-ID: <24761691.post@talk.nabble.com> Chris Howie wrote: > > > There is not a way to do this short of implementing the P/Invoke > yourself or running a process. See > : > > mount: Inherently non-portable across the various Unix flavours, and > will never be supported. Instead, use System.Diagnostics.Process and > invoke the command-line mount(8) program. > > Thanks for your response, I've used Process to invoke mount/umount, it is pretty straight forward and works well in my scenario. -- View this message in context: http://www.nabble.com/How-to-mount-a-drive-under-mono-tp24740295p24761691.html Sent from the Mono - General mailing list archive at Nabble.com. From dirkroel at gmail.com Wed Jul 29 05:23:41 2009 From: dirkroel at gmail.com (Mark DevGood) Date: Wed, 29 Jul 2009 09:23:41 -0000 Subject: [Mono-list] Eclipse assembly reference In-Reply-To: <23970689.post@talk.nabble.com> References: <23970689.post@talk.nabble.com> Message-ID: <24715550.post@talk.nabble.com> Hello I have managed to achieve this, and its more down to how Eclipse works than a mono issue per se. That is assuming you are compiling in Eclipse of course. I am using a 'nant' task with the mono-2.0 assembly. What you need to do is three things - include the dll in the 'references' section of your csc nant task - copy the dll to your bin folder using the nant task - Right click the Project in Eclipse >> Properties >> Project References >> Tick the relevant project. This step is not required if your referenced project is not in eclipse, but if it is it will tell Eclipse to compile this project as well when needed. To give you a bit more help with steps 1 and 2 take a look at this sample build file. What it does is to copy two dlls from two projects (called Project1 and Project2), place the dlls in the bin folder, and to include them when compiling: Hope this helps! - Mark -- View this message in context: http://www.nabble.com/Eclipse-assembly-reference-tp23970689p24715550.html Sent from the Mono - General mailing list archive at Nabble.com. From madhead at gmail.com Wed Jul 15 08:17:23 2009 From: madhead at gmail.com (madhead) Date: Wed, 15 Jul 2009 12:17:23 -0000 Subject: [Mono-list] Support for VirtualBox Message-ID: <24496719.post@talk.nabble.com> Hi, Are you likely to add virtual machine image support for VirtualBox? i use this as my virtual machine environment. Cheers, -- View this message in context: http://www.nabble.com/Support-for-VirtualBox-tp24496719p24496719.html Sent from the Mono - General mailing list archive at Nabble.com. From jwinder at logicalsi.com Thu Jul 30 15:55:30 2009 From: jwinder at logicalsi.com (cptwinder) Date: Thu, 30 Jul 2009 19:55:30 -0000 Subject: [Mono-list] Numeric Keypad goesn't work in Mono apps Message-ID: <24746226.post@talk.nabble.com> I have several Xubuntu 8.04 systems we are trying to get some Mono apps running on. The numeric keypad work correctly in "normal" Linux apps, when the numlock is on the numbers work and when the numlock is off the arrows work. However, inside any Mono app it doesn't matter if the numlock is on or off, only the arrow keys work. We have tested the same apps under Windows and Ubuntu 9.04 and they seem to work fine. It is only on these Xubuntu systems. Any help will be greatly appreciated. Thanks in advance, Jeremy -- View this message in context: http://www.nabble.com/Numeric-Keypad-goesn%27t-work-in-Mono-apps-tp24746226p24746226.html Sent from the Mono - General mailing list archive at Nabble.com. From swapnil.metkar at clariontechnologies.co.in Fri Jul 24 08:37:17 2009 From: swapnil.metkar at clariontechnologies.co.in (swapnil.metkar) Date: Fri, 24 Jul 2009 12:37:17 -0000 Subject: [Mono-list] Web service throwing exception on MONO 2.4.2.1 and 2.4.2.2 Message-ID: <24642778.post@talk.nabble.com> The webservice that is setup on one virtual machine with mono 2.2 framework is working perfectly. But the same webservice throwing below exception on mono 2.4.2.1 as well as on mono 2.4.2.1. Could you please suggest what might be the cuase of this issue. If you need any detail on this you can contant us. We are really stuck on this issue from last 2 weeks. Your help is very much appriciated. Exception Detail Server Error in '/login' Application -------------------------------------------------------------------------------- Object reference not set to an instance of an object Description: HTTP 500. Error processing request. Stack Trace: System.NullReferenceException: Object reference not set to an instance of an object at System.Web.Compilation.BuildManager.FixVirtualPaths () [0x00000] at System.Web.Compilation.BuildManager.LoadPrecompilationInfo () [0x00000] at System.Web.Compilation.BuildManager..cctor () [0x00000] -------------------------------------------------------------------------------- Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 2.0.50727.1433 -- View this message in context: http://www.nabble.com/Web-service-throwing-exception-on-MONO-2.4.2.1-and-2.4.2.2-tp24642778p24642778.html Sent from the Mono - General mailing list archive at Nabble.com. From soul_aspect at yahoo.com Tue Jul 14 22:14:05 2009 From: soul_aspect at yahoo.com (Chris Tulabut) Date: Wed, 15 Jul 2009 02:14:05 -0000 Subject: [Mono-list] Simple MySql Connection Problem Message-ID: <24490824.post@talk.nabble.com> hi, im developing a c# console app that will connect to a mysql database locally and plan on using it on a linux machine. here's my test code: using System; using System.Collections.Generic; using System.Text; using MySql.Data.MySqlClient; namespace TestDBConnect { class Program { static void Main(string[] args) { string ConnectionString = "Server=localhost;" + "Database=myDatabas;" + "User ID=username;" + "Password=myPassword;" + "Pooling=false;"; try { MySqlConnection conn = new MySqlConnection(ConnectionString); conn.Open(); Console.WriteLine(conn.ServerVersion); } catch (MySql.Data.MySqlClient.MySqlException ex) { switch (ex.Number) { case 0: Console.WriteLine(DateTime.Now + " >> " + "Cannot connect to database server."); break; case 1045: Console.WriteLine(DateTime.Now + " >> " + "Invalid username/password, please try again"); break; default: Console.WriteLine(ex.Message); break; } } } } } i compile the code: gmcs program.cs -r:mysql.data.dll i try a test run program.exe <----- works fine mono program.exe <-----------unable to connect to the specified mysql hosts ive tried Mysql.data.dll connector version 6.1 and 5.2 both with the same error mysql.data.dll version 1.0.7 enters Case 0 on my Switch statement and then throws "unable to connect to the specified mysql hosts" im using MS VS 2005 windows vista please help, im really stumped. -- View this message in context: http://www.nabble.com/Simple-MySql-Connection-Problem-tp24490824p24490824.html Sent from the Mono - General mailing list archive at Nabble.com. From observer1 at hotmail.es Wed Jul 15 13:56:14 2009 From: observer1 at hotmail.es (Juan Urroa) Date: Wed, 15 Jul 2009 17:56:14 -0000 Subject: [Mono-list] String.GetHashcode Message-ID: <24502903.post@talk.nabble.com> Hi, I must duplicate the behavior of .net string.GetHashCode in mono I used reflector to get this code: public static class HashCode { public static unsafe int GetCode(string value) { fixed(char* str = ((char*)value)) { char* chPtr = str; int num = 0x15051505; int num2 = num; int* numPtr = (int*)chPtr; for(int i = value.Length; i > 0; i -= 4) { num = (((num << 5) + num) + (num >> 0x1b)) ^ numPtr[0]; if(i <= 2) { break; } num2 = (((num2 << 5) + num2) + (num2 >> 0x1b)) ^ numPtr[1]; numPtr += 2; } return (num + (num2 * 0x5d588b65)); } } } but it doesn't compile the error is 'Cannot convert type 'string' to 'char*'' Can somebody help me with this Thanks -- View this message in context: http://www.nabble.com/String.GetHashcode-tp24502903p24502903.html Sent from the Mono - General mailing list archive at Nabble.com. From pkochubei at gmail.com Tue Jul 21 13:04:30 2009 From: pkochubei at gmail.com (pkm) Date: Tue, 21 Jul 2009 17:04:30 -0000 Subject: [Mono-list] Install Monodevelop 2 on Debian Lenny 5.0 Message-ID: <24591705.post@talk.nabble.com> How to...Install Mono 2.4 Monodevelop 2 on Debian Lenny 5.0. Install of testing repository it is problems stable systems. On backports.org(deb for lenny) not package monodevelop 2. (( -- View this message in context: http://www.nabble.com/Install-Monodevelop-2-on-Debian-Lenny-5.0-tp24591705p24591705.html Sent from the Mono - General mailing list archive at Nabble.com. From oli-phoenix at gmx.de Wed Jul 29 07:00:24 2009 From: oli-phoenix at gmx.de (Phoenix87) Date: Wed, 29 Jul 2009 11:00:24 -0000 Subject: [Mono-list] port mono runtime between linux systems without installation Message-ID: <24716933.post@talk.nabble.com> Hi, i need mono to run an application wich is written in C# from .net Framework 2.0. My problems is that this application have to run on windows, linux and solaris and should not install anything (only copy and execute). At first i try windows to extract a portable mono with the application. I find a way and it runs great on all other windows system. On Linux i also compile mono and extract the important parts i need. But if i port it to an other linux mono say that the mscorlib is not in /opt/mono/lib/mono/2.0/mscorlib.dll. That's right because on the linux where i compile and install it is this the right path. Is there a way to port mono without installation on linux? the files i use: . |-- bin | `-- mono |-- etc | `-- mono | |-- 2.0 | | |-- Browsers | | | `-- Compat.browser | | |-- DefaultWsdlHelpGenerator.aspx | | |-- machine.config | | |-- settings.map | | `-- web.config | |-- browscap.ini | |-- config | `-- mconfig | `-- config.xml |-- lib | `-- mono | |-- 2.0 | | `-- mscorlib.dll | `-- gac | |-- Mono.Security | | `-- 2.0.0.0__0738eb9f132ed756 | | `-- Mono.Security.dll | |-- System | | `-- 2.0.0.0__b77a5c561934e089 | | `-- System.dll | |-- System.Configuration | | `-- 2.0.0.0__b03f5f7f11d50a3a | | `-- System.Configuration.dll | |-- System.EnterpriseServices | | `-- 2.0.0.0__b03f5f7f11d50a3a | | `-- System.EnterpriseServices.dll | |-- System.Web | | `-- 2.0.0.0__b03f5f7f11d50a3a | | `-- System.Web.dll | |-- System.Web.Services | | `-- 2.0.0.0__b03f5f7f11d50a3a | | `-- System.Web.Services.dll | `-- System.Xml | `-- 2.0.0.0__b77a5c561934e089 | `-- System.Xml.dll |-- testapp_cs.mono << my app `-- testapp_cs.mono.config << config fpr the app -- View this message in context: http://www.nabble.com/port-mono-runtime-between-linux-systems-without-installation-tp24716933p24716933.html Sent from the Mono - General mailing list archive at Nabble.com. From phace at gmx.net Fri Jul 31 12:05:12 2009 From: phace at gmx.net (phaceone) Date: Fri, 31 Jul 2009 16:05:12 -0000 Subject: [Mono-list] libpcap and iptables Message-ID: <24758954.post@talk.nabble.com> hello community,i've got problems using libpcap (sharppcap) in promisc mode for an eth and configured iptables at the same time. Sometimes my programm which uses libpcap hangs when starting without any trackable error....do u know about problems in this case ? also if i configure iptables at runtime, the program hangs in bash before starting when executing a mono assembly like "sudo mono myprogram" I use ubuntu distro 8.10 with actual mono package. -- View this message in context: http://www.nabble.com/libpcap-and-iptables-tp24758954p24758954.html Sent from the Mono - General mailing list archive at Nabble.com.