From miguel at novell.com Tue Jul 1 13:12:27 2008 From: miguel at novell.com (Miguel de Icaza) Date: Tue, 01 Jul 2008 13:12:27 -0400 Subject: [Mono-list] Where is the SWT for Mono like Java ? In-Reply-To: <1214874360.1554.2.camel@negro> References: <17981476.post@talk.nabble.com> <17982575.post@talk.nabble.com> <17988578.post@talk.nabble.com> <1214158204.6214.55.camel@linux.site> <1214874360.1554.2.camel@negro> Message-ID: <1214932347.19234.161.camel@frost> > You still need to install freetype manually, isnit? > (wich depends on X, etc, etc?) I believe so. From rodrigobamboo at gmail.com Tue Jul 1 21:30:03 2008 From: rodrigobamboo at gmail.com (Rodrigo B. de Oliveira) Date: Tue, 1 Jul 2008 22:30:03 -0300 Subject: [Mono-list] Where is the SWT for Mono like Java ? In-Reply-To: <17981476.post@talk.nabble.com> References: <17981476.post@talk.nabble.com> Message-ID: <5917478b0807011830h630a80a9xcf39938e5934c918@mail.gmail.com> Notice that you should be able use swt through ikvm. It used to work like a charm. On Wed, Jun 18, 2008 at 9:17 AM, _elli_ wrote: > > Mono and .NET languages are a very good thing, but not for people he must > write multi platform GUI applications. !! > ... From dan.shryock at gmail.com Wed Jul 2 12:56:35 2008 From: dan.shryock at gmail.com (Dan Shryock) Date: Wed, 2 Jul 2008 09:56:35 -0700 Subject: [Mono-list] Where is the SWT for Mono like Java ? In-Reply-To: <5917478b0807011830h630a80a9xcf39938e5934c918@mail.gmail.com> References: <17981476.post@talk.nabble.com> <5917478b0807011830h630a80a9xcf39938e5934c918@mail.gmail.com> Message-ID: <5fe9674f0807020956n306b6ab7y6f068ea14b5a7db2@mail.gmail.com> On Tue, Jul 1, 2008 at 6:30 PM, Rodrigo B. de Oliveira wrote: > Notice that you should be able use swt through ikvm. It used to work > like a charm. True for Windows, and Linux, but not on OSX (unless Jeroen Frijters has fixed ikvm's jni issues on OSX) Dan From carl.cerecke at telogis.com Wed Jul 2 23:34:59 2008 From: carl.cerecke at telogis.com (Carl Cerecke) Date: Thu, 3 Jul 2008 15:34:59 +1200 Subject: [Mono-list] mono trying to mkdir /etc/mono/registry Message-ID: <92fc6620807022034q40279029wc05b09b5966924ad@mail.gmail.com> Hi, I have a C# .NET application successfully running on mono, but it requires certain directories to exist in /etc/mono. In particular, these must exist, or it fails to run ("mkdir /etc/mono/registry" from somewhere inside mono gets permission denied) : $ find /etc/mono/registry /etc/mono/registry /etc/mono/registry/LocalMachine /etc/mono/registry/ClassesRoot If I run the C# app as root, it mkdirs these for me. Then I can run it as an ordinary user no problems. Note that there are no files at all in any of these directories. Any idea how I can convince mono to not try to create these? Cheers, Carl. -- Carl Cerecke, PhD Senior Software Engineer Telogis, Intelligent Location Technology Level 2, Building 2 1 Show Place Addington CHRISTCHURCH New Zealand Phone: +64 03 339 2825 ext 208 Fax: +64 03 339 4537 Email: carl.cerecke at telogis.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. From robertj at gmx.net Thu Jul 3 04:31:54 2008 From: robertj at gmx.net (Robert Jordan) Date: Thu, 03 Jul 2008 10:31:54 +0200 Subject: [Mono-list] mono trying to mkdir /etc/mono/registry In-Reply-To: <92fc6620807022034q40279029wc05b09b5966924ad@mail.gmail.com> References: <92fc6620807022034q40279029wc05b09b5966924ad@mail.gmail.com> Message-ID: Hi, Carl Cerecke wrote: > Hi, > > I have a C# .NET application successfully running on mono, but it > requires certain directories to exist in /etc/mono. > > In particular, these must exist, or it fails to run ("mkdir > /etc/mono/registry" from somewhere inside mono gets permission denied) > : > > $ find /etc/mono/registry > /etc/mono/registry > /etc/mono/registry/LocalMachine > /etc/mono/registry/ClassesRoot > > If I run the C# app as root, it mkdirs these for me. Then I can run it > as an ordinary user no problems. Note that there are no files at all > in any of these directories. > > Any idea how I can convince mono to not try to create these? Your application is trying to open some key from the LocalMachine registry tree in read/write mode. This fails for non-admins on unix and it usually also fails on MS.NET/Windows unless the current user has read/write access rights for the key. You should either fix the app to deal with the fact that registry operations may fail or set the environment variable MONO_REGISTRY_PATH to a path inside user's home: $ MONO_REGISTRY_PATH=~/.mono/registry mono yourapp.exe Robert From jfoster at capsher.com Tue Jul 1 11:53:25 2008 From: jfoster at capsher.com (joshua70448) Date: Tue, 1 Jul 2008 08:53:25 -0700 (PDT) Subject: [Mono-list] Cairo 1.4.10 does not yet support the requested image format Message-ID: <18219338.post@talk.nabble.com> I've been working to get an existing .NET application working inside Mono across platforms, and I've recently gotten it working in Red Hat Enterprise Linux 4 update 2 on a local VMware virtual server. However, another user on another RHEL4u2 machine got the following error on startup: Error: Cairo 1.4.10 does not yet support the requested image format: Depth: 8 Alpha mask: 0x00000000 Red mask: 0x00000000 Green mask: 0x00000000 Blue mask: 0x00000000 Please file an enhancement request (quoting the above) at: http://bugs.freedesktop.org/enter_bug.cgi?product=cairo mono: cairo-image-surface.c:199: _cairo_format_from_pixman_format: Assertion 'NOT_REACHED' failed. Stacktrace: at (wrapper managed-to-native) System.Drawing.GDIPlus.GdipFillRectangleI (intptr,intptr,int,int,int,int) <0x00004> Any ideas on how to get around this? -- View this message in context: http://www.nabble.com/Cairo-1.4.10-does-not-yet-support-the-requested-image-format-tp18219338p18219338.html Sent from the Mono - General mailing list archive at Nabble.com. From jfoster at capsher.com Tue Jul 1 15:46:38 2008 From: jfoster at capsher.com (joshua70448) Date: Tue, 1 Jul 2008 12:46:38 -0700 (PDT) Subject: [Mono-list] Cairo 1.4.10 does not yet support the requested image format In-Reply-To: <18219338.post@talk.nabble.com> References: <18219338.post@talk.nabble.com> Message-ID: <18223864.post@talk.nabble.com> The problem's been resolved, the user updated his display settings (changed the video card to "VMWARE") and everything works now. -- View this message in context: http://www.nabble.com/Cairo-1.4.10-does-not-yet-support-the-requested-image-format-tp18219338p18223864.html Sent from the Mono - General mailing list archive at Nabble.com. From usul.the.mouse at gmail.com Wed Jul 2 09:09:43 2008 From: usul.the.mouse at gmail.com (themouse) Date: Wed, 2 Jul 2008 06:09:43 -0700 (PDT) Subject: [Mono-list] Evironment Question Message-ID: <18237104.post@talk.nabble.com> Can mono be installed and run in a completely non-gui environment? if x windows and a manager is not installed? Thanks, theMouse -- View this message in context: http://www.nabble.com/Evironment-Question-tp18237104p18237104.html Sent from the Mono - General mailing list archive at Nabble.com. From joe at joekondel.com Thu Jul 3 05:34:26 2008 From: joe at joekondel.com (Joseph Kondel) Date: Thu, 3 Jul 2008 05:34:26 -0400 Subject: [Mono-list] .Net output works in XSP2 not Apache2/mod_mono Message-ID: <27B549E6-A2FB-42D4-B319-DD41384A15B1@joekondel.com> Hi, I've got some file download code that works just fine under XSP2 ( outputs the file ok, and user can open it up ) but under Apache2/ Mod_Mono (Apache/2.2.4 (Ubuntu 7.10)) mod_mono/1.2.6) it truncates the file to zero. I've checked permissions, etc... and can't seem to come up with any ideas as to why this is. There's no errors in the logs either. File output code is: private bool DownloadFile(string sFileId) { bool bRetValue = false; try { FileService FService = new FileService(); FileStorage DownloadFile = FService.GetFileById (Int16.Parse(sFileId)); string sFileName = pGeneral.GetBaseFilePath() + "\\" + DownloadFile.Path; Response.Clear(); Response.ClearContent(); Response.ClearHeaders(); this.EnableViewState = false; Response.Buffer = true; Response.ContentType = "application/octet-stream"; Response.Charset = "utf-8"; //UTF8 Response.AddHeader("Content-Disposition", "attachment; filename=" + DownloadFile.FileName); FileStream sourceFile = new FileStream(sFileName, FileMode.Open); long FileSize; FileSize = sourceFile.Length; byte[] getContent = new byte[(int)FileSize]; sourceFile.Read(getContent, 0, (int)sourceFile.Length); sourceFile.Close(); Response.BinaryWrite(getContent); Response.Flush(); bRetValue = true; // Response.End(); } catch { bRetValue = false; } return bRetValue; } Thanks, -j From adr123ro at temporaryforwarding.com Thu Jul 3 08:20:20 2008 From: adr123ro at temporaryforwarding.com (adrya1984) Date: Thu, 3 Jul 2008 05:20:20 -0700 (PDT) Subject: [Mono-list] =?utf-8?q?_Can_we_run_WCF_=28inluding_=E2=80=9CnetTcp?= =?utf-8?b?QmluZGluZ+KAnSkgb24gTW9ubz8=?= Message-ID: <18258002.post@talk.nabble.com> Hi, I have a question and i hope you can help me with an answer as soon as possible :-) Question is: Can we run WCF (inluding ?netTcpBinding?) on Mono? I'm new to this, any help appreciated Thank you very much :-) -- View this message in context: http://www.nabble.com/Can-we-run-WCF-%28inluding-%E2%80%9CnetTcpBinding%E2%80%9D%29-on-Mono--tp18258002p18258002.html Sent from the Mono - General mailing list archive at Nabble.com. From alan.mcgovern at gmail.com Thu Jul 3 21:06:57 2008 From: alan.mcgovern at gmail.com (Alan McGovern) Date: Fri, 4 Jul 2008 02:06:57 +0100 Subject: [Mono-list] System.DriveInfo class bugs In-Reply-To: <18202942.post@talk.nabble.com> References: <285090.80084.qm@web54603.mail.re2.yahoo.com> <18202942.post@talk.nabble.com> Message-ID: <117799f00807031806j41c3d7c2sbacfa8f4c0af1667@mail.gmail.com> This class isn't fully implemented. That's why the numbers are weird. Alan. On Mon, Jun 30, 2008 at 8:46 PM, jordanwb wrote: > > Yes I'm having the same problem too. But for me, all the properties, the > values are the maximum possible. > -- > View this message in context: > http://www.nabble.com/System.DriveInfo-class-bugs-tp12825759p18202942.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/20080704/6fc5e0ba/attachment.html From lnc19 at hotmail.com Thu Jul 3 23:05:23 2008 From: lnc19 at hotmail.com (Luciano _) Date: Fri, 4 Jul 2008 03:05:23 +0000 Subject: [Mono-list] Gecko WebControl Message-ID: Hi All, I don't know if this is the correct place to ask this, if it is not, please point me to the correct place. I'm trying to use Gecko WebControl with Gtk#, the first i try is to test Mono sample (i found on svn), and i try to run GtkMozApp.exe and WebThumbnailer.exe and both app, compiled with mono, doesn't show the WebControl. I was googling a lot, and i found something that says that i need to setup my MOZILLA_FIVE_HOME var, but after trying all the possible combinations (All that i found) i can't really make this sample to work. (I need to know how to run this app to make my own one). I try to run monodevelop from a console, and it says that Mozilla Directory cannot be found, so i guess that doesn't exists. How is the correct way to setup? I'm using Ubuntu 8.04 Hardy Heron. Is there other WebControl to use other than this? I have the same problem on Windows, the Mozilla path cannot be found, so my own app on windows cannot be run. Thanks Luciano _________________________________________________________________ Send funny voice messages packed with tidbits from MSN. Everyone wants to be ready. http://www.noonewantstolookdumb.com?OCID=T001MSN54N1613A -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080704/03513490/attachment.html From jyotiseth2001 at gmail.com Fri Jul 4 02:54:30 2008 From: jyotiseth2001 at gmail.com (Jyoti Seth) Date: Fri, 4 Jul 2008 12:24:30 +0530 Subject: [Mono-list] compressing axd files on mono apache server In-Reply-To: References: Message-ID: <000001c8dda2$d38a0f20$7a9e2d60$@com> Hi All, I am testing my website using yslow, it is showing that my webresource.axd is not minified. I tried implementing Http Compression Module available at the following url: http://www.codeproject.com/KB/aspnet/httpcompression.aspx?fid=413041 &df=90&mpp=25&noise=3&sort=Position&view=Quick&fr=26#xx0xx. It is working on windows, but when I deployed the same on mono apache server and accessing the website it is showing blank pages. Is there any way to compress .axd files on mono apache server. Thanks, Jyoti -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080704/8fc13b46/attachment-0001.html From mtausig at fsmat.at Fri Jul 4 03:54:20 2008 From: mtausig at fsmat.at (Mathias Tausig) Date: Fri, 4 Jul 2008 09:54:20 +0200 (CEST) Subject: [Mono-list] No VBox content in Dialog In-Reply-To: <48698CA5.9090102@terra.com.br> References: <48698CA5.9090102@terra.com.br> Message-ID: <61232.195.64.3.50.1215158060.squirrel@fsmat.at> Add a "dialog.ShowAll()" before you call dialog.Run(). And don't forget to add your hbox, too. cheers Mathias From mtausig at fsmat.at Fri Jul 4 03:55:13 2008 From: mtausig at fsmat.at (Mathias Tausig) Date: Fri, 4 Jul 2008 09:55:13 +0200 (CEST) Subject: [Mono-list] Evironment Question In-Reply-To: <18237104.post@talk.nabble.com> References: <18237104.post@talk.nabble.com> Message-ID: <61239.195.64.3.50.1215158113.squirrel@fsmat.at> Yes. > > Can mono be installed and run in a completely non-gui environment? > if x windows and a manager is not installed? > > > Thanks, > theMouse > -- > View this message in context: > http://www.nabble.com/Evironment-Question-tp18237104p18237104.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 pirogov.e at gmail.com Fri Jul 4 08:48:34 2008 From: pirogov.e at gmail.com (Evgeny Pirogov) Date: Fri, 4 Jul 2008 15:48:34 +0300 Subject: [Mono-list] New hosting for ukrainian site about Mono Message-ID: <3478aa000807040548r43f02446nbb65ce5307df6b72@mail.gmail.com> Old site http://arise.iatp.org.ua with translations about Mono to russian moved to new domain : http://arise-project.org.ua General site ideas : collect information about Mono in russian, artificial intelligence, open source programming and other good thinks. Project has good history in IATP organization and now hosted in own domain. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080704/788ca19e/attachment.html From lluis at novell.com Fri Jul 4 12:28:09 2008 From: lluis at novell.com (Lluis Sanchez Gual) Date: Fri, 04 Jul 2008 18:28:09 +0200 Subject: [Mono-list] MonoDevelop 2.0 Alpha 1 released Message-ID: <1215188889.6866.88.camel@portador.aticatac-centre> ?The MonoDevelop team is proud to announce the release of MonoDevelop 2.0 alpha 1 (1.9). This is the first release of a series of releases that will lead to MonoDevelop 2.0, hopefully around the end of the year. MonoDevelop is a GNOME IDE primarily designed for C# and other .NET languages. ? This release contains lots of new features and improvements, including: * Better support for the MSBuild format. * Support for opening multiple solutions. * Code completion for ASP.NET and XML files. * Improved editor with code folding, incremental search, split view. * New assembly browser. * Basic code metrics add-in. * Vala add-in. Complete release notes are available here: http://www.monodevelop.com/Release_notes_for_MonoDevelop_2.0_Alpha_1 Packages are available here: http://www.monodevelop.com/Download_-_Unstable Enjoy! From neil.young at freenet.de Fri Jul 4 16:16:14 2008 From: neil.young at freenet.de (neil.young) Date: Fri, 4 Jul 2008 13:16:14 -0700 (PDT) Subject: [Mono-list] Strange problems with System.Text.Encoding Message-ID: <18285467.post@talk.nabble.com> Hi group, I don't want to bother you with the background of my problem, because I could encapsulate the problematic things into a small console application, which illustrates the core problem. For some reasons I run into the follwoing exception: Unhandled Exception: System.ArgumentException: Arg_InsufficientSpace Parameter name: chars at System.Text.UTF8Encoding.InternalGetChars (System.Byte* bytes, Int32 byteCount, System.Char* chars, Int32 charCount, System.UInt32& leftOverBits, System.UInt32& leftOverCount, System.Object provider, System.Text.DecoderFallbackBuffer& fallbackBuffer, System.Byte[]& bufferArg, Boolean flush) [0x00000] at System.Text.UTF8Encoding.InternalGetChars (System.Byte[] bytes, Int32 byteIndex, Int32 byteCount, System.Char[] chars, Int32 charIndex, System.UInt32& leftOverBits, System.UInt32& leftOverCount, System.Object provider, System.Text.DecoderFallbackBuffer& fallbackBuffer, System.Byte[]& bufferArg, Boolean flush) [0x00000] at System.Text.UTF8Encoding.GetChars (System.Byte[] bytes, Int32 byteIndex, Int32 byteCount, System.Char[] chars, Int32 charIndex) [0x00000] at System.Text.Encoding.GetChars (System.Byte[] bytes, Int32 index, Int32 count) [0x00000] at System.Text.Encoding.GetString (System.Byte[] bytes, Int32 index, Int32 count) [0x00000] at System.Text.UTF8Encoding.GetString (System.Byte[] bytes, Int32 index, Int32 count) [0x00000] at System.Text.Encoding.GetString (System.Byte[] bytes) [0x00000] at utf8.Program.Main (System.String[] args) [0x00000] while trying to convert a byte buffer to an UTF8 string. The following code snippet, which runs PERFECTLY under .net 2.0 (Windows) is sufficient to provoke the exception. using System; using System.Collections.Generic; using System.Text; namespace utf8 { class Program { static void Main(string[] args) { Random r = new Random(); byte[] b = new byte[1024]; r.NextBytes(b); for (int i = 0; i < 16; i++) Console.Write("{0:x} ", b[i]); Console.WriteLine(); string sASCII = System.Text.Encoding.ASCII.GetString(b); Console.WriteLine("ASCII: Converted successfully. Length: {0} bytes, {1:x} {2:x} {3:x} {4:x} {5:x}", sASCII.Length, sASCII[0], sASCII[1], sASCII[2], sASCII[3], sASCII[4]); string sUTF8 = System.Text.Encoding.UTF8.GetString(b); Console.WriteLine("UTF8: Converted successfully. Length: {0} bytes, {1:x} {2:x} {3:x} {4:x} {5:x}", sUTF8.Length, sUTF8[0], sUTF8[1], sUTF8[2], sUTF8[3], sUTF8[4]); string sDefault = System.Text.Encoding.Default.GetString(b); Console.WriteLine("Default: Converted successfully. Length: {0} bytes, {1:x} {2:x} {3:x} {4:x} {5:x}", sDefault.Length, sDefault[0], sDefault[1], sDefault[2], sDefault[3], sDefault[4]); } } } It fills a buffer of 1024 bytes randomly and prints out the first 16 bytes of the buffer. After that it tries to convert to ASCII, UTF8 and Default. I have run the sample under VMWare, using the OpenSUSE 10.3/Mono 1.9.1 image from the binary compiled under Windows. Under Windows the Default encoding is somewhat like Windows 1252, whereas Default is UTF8 for Linux. So there shall be no difference between Default and UTF8. The big question: Why does the conversion except that strange? Kind reagards. Any pointer welcome. -- View this message in context: http://www.nabble.com/Strange-problems-with-System.Text.Encoding-tp18285467p18285467.html Sent from the Mono - General mailing list archive at Nabble.com. From neil.young at freenet.de Sat Jul 5 02:40:59 2008 From: neil.young at freenet.de (neil.young) Date: Fri, 4 Jul 2008 23:40:59 -0700 (PDT) Subject: [Mono-list] Strange problems with System.Text.Encoding In-Reply-To: <18285467.post@talk.nabble.com> References: <18285467.post@talk.nabble.com> Message-ID: <18289480.post@talk.nabble.com> As a side note (and a possible work around) one should note, that the exception above doesn't occur with ISO-8859-1 and Windows-1252 encoding. Regards -- View this message in context: http://www.nabble.com/Strange-problems-with-System.Text.Encoding-tp18285467p18289480.html Sent from the Mono - General mailing list archive at Nabble.com. From surfzoid at gmail.com Sat Jul 5 06:44:34 2008 From: surfzoid at gmail.com (Petit Eric) Date: Sat, 5 Jul 2008 12:44:34 +0200 Subject: [Mono-list] Really strange compile problem Message-ID: <84776a970807050344m320d9a4ciee46af746c301358@mail.gmail.com> i have a really strange problem and think it came from version pkg, but i can't find wich one it is i updated by svn, MD, mono/mcs and libgdiplus with same distro up to date one compile my project nice other fail with resgen2 on a .resx xml file the error say exception throug gdi plus and refer a line in the ressource file at the "/" char of "" !! someone have a idea of the good version of a mono pkg who fix this problem ? i see the same problem with Open suse build service -- 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 heribertod at gmail.com Mon Jul 7 10:05:39 2008 From: heribertod at gmail.com (Izhido) Date: Mon, 7 Jul 2008 07:05:39 -0700 (PDT) Subject: [Mono-list] Does Mono require h/w multithreading to work? In-Reply-To: <18092320.post@talk.nabble.com> References: <18092320.post@talk.nabble.com> Message-ID: <18317498.post@talk.nabble.com> Izhido wrote: > > Hi! > > My name is Heriberto Delgado. I'm interested in downloading the latest > sources for Mono (1.9 as of this date), to try a port of it to a small > ARM-based device. Thing is, the device as such does not handle > multithreading very well. In fact, there's no hardware (or software) > support for it at all. My question: is that going to be a problem while > attempting to port Mono? How much of it is dependent on the underlying > platform providing consistent multithreading support? Anything you can > tell me will help. Thanks for your advice! > > - Izhido > > Anybody? -- View this message in context: http://www.nabble.com/Does-Mono-require-h-w-multithreading-to-work--tp18092320p18317498.html Sent from the Mono - General mailing list archive at Nabble.com. From kumpera at gmail.com Mon Jul 7 11:37:14 2008 From: kumpera at gmail.com (Rodrigo Kumpera) Date: Mon, 7 Jul 2008 12:37:14 -0300 Subject: [Mono-list] Does Mono require h/w multithreading to work? In-Reply-To: <18092320.post@talk.nabble.com> References: <18092320.post@talk.nabble.com> Message-ID: <8cca42d80807070837r7c3edd8bu117ae43114ff38d4@mail.gmail.com> Mono requires multi-threading support from the OS. Making it work without such thing would be difficult and might require cutting out some basic functionality such as finalizers. On Tue, Jun 24, 2008 at 12:47 PM, Izhido wrote: > > Hi! > > My name is Heriberto Delgado. I'm interested in downloading the latest > sources for Mono (1.9 as of this date), to try a port of it to a small > ARM-based device. Thing is, the device as such does not handle > multithreading very well. In fact, there's no hardware (or software) > support > for it at all. My question: is that going to be a problem while attempting > to port Mono? How much of it is dependent on the underlying platform > providing consistent multithreading support? Anything you can tell me will > help. Thanks for your advice! > > - Izhido > > -- > View this message in context: > http://www.nabble.com/Does-Mono-require-h-w-multithreading-to-work--tp18092320p18092320.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/20080707/84396f16/attachment-0001.html From charlie at nunit.com Tue Jul 8 14:16:24 2008 From: charlie at nunit.com (Charlie Poole) Date: Tue, 8 Jul 2008 11:16:24 -0700 Subject: [Mono-list] ANN: NUnit 2.5 Alpha 3 Is Out Message-ID: <001101c8e126$bb8dfa30$6401a8c0@ferrari> From rolandomartinezg at gmail.com Wed Jul 9 02:00:59 2008 From: rolandomartinezg at gmail.com (Rolando Martinez) Date: Wed, 9 Jul 2008 02:00:59 -0400 Subject: [Mono-list] Continous Integration on Linux Message-ID: <35fdac010807082300g2edf0fc6ocf35fc3dcad9e1d6@mail.gmail.com> I would like to know if anyone knows how to install some CI Server (BuildBot or CCNet or wathever..). I didn't find any useful site where I can see how to make it on Linux =( Thanks you!!! Regards, Rolando. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080709/e54bd084/attachment.html From brett_senior at yahoo.com.au Wed Jul 9 08:27:08 2008 From: brett_senior at yahoo.com.au (Brett Senior) Date: Wed, 9 Jul 2008 05:27:08 -0700 (PDT) Subject: [Mono-list] Failure to initialise ZLIB Message-ID: <839078.96385.qm@web50306.mail.re2.yahoo.com> I have an application written in MD/Mono and it uses GZipStream. The application runs fine for a while, performing file compression etc, but after about 10,000 files processed, I get the following error: Failed to initialize zlib. You probably have an old zlib installed. Version 1.2.0.4 or later is required. I have checked my zlib version and it is 1.2.3.3. To make sure things were OK I went into Synaptic (I run Debian/Lenny) and re-installed the libary. I recently downloaded the mono source and performed an update to what I'd had which was a version that came down via apt-get. Is the above an issue when processing large numbers of files using GZipStream - or is my application buggy in some way. Thank you, Brett Senior. Start at the new Yahoo!7 for a better online experience. www.yahoo7.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080709/31562a2c/attachment.html From aquil.abdullah at gmail.com Wed Jul 9 11:04:13 2008 From: aquil.abdullah at gmail.com (Aquil H. Abdullah) Date: Wed, 9 Jul 2008 11:04:13 -0400 Subject: [Mono-list] Continous Integration on Linux In-Reply-To: <35fdac010807082300g2edf0fc6ocf35fc3dcad9e1d6@mail.gmail.com> References: <35fdac010807082300g2edf0fc6ocf35fc3dcad9e1d6@mail.gmail.com> Message-ID: <23116d500807090804x21133985t6349c0d2ca43b11c@mail.gmail.com> Hello Rolando, I am currently using a combination of NAnt and Cruise Control for a Continuous Build process. Both are fairly easy to download and install. However, I did have some configuration issues which took me some time to sort out. NOTE: I am using Cruise Control and not CCNet. On Wed, Jul 9, 2008 at 2:00 AM, Rolando Martinez wrote: > I would like to know if anyone knows how to install some CI Server > (BuildBot or CCNet or wathever..). I didn't find any useful site where I can > see how to make it on Linux =( > > Thanks you!!! > Regards, > Rolando. > > > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > -- Aquil H. Abdullah aquil.abdullah at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080709/b87039c2/attachment.html From rolandomartinezg at gmail.com Wed Jul 9 12:10:45 2008 From: rolandomartinezg at gmail.com (Rolando Martinez) Date: Wed, 9 Jul 2008 12:10:45 -0400 Subject: [Mono-list] Continous Integration on Linux In-Reply-To: <23116d500807090804x21133985t6349c0d2ca43b11c@mail.gmail.com> References: <35fdac010807082300g2edf0fc6ocf35fc3dcad9e1d6@mail.gmail.com> <23116d500807090804x21133985t6349c0d2ca43b11c@mail.gmail.com> Message-ID: <35fdac010807090910s6fe1o19af742658220c84@mail.gmail.com> Hi Aquil, I thought that Cruise Control is just Java project. I will see more the documentation about Cruise Control. Thank you!!! Rolando. 2008/7/9 Aquil H. Abdullah : > Hello Rolando, > I am currently using a combination of NAnt and Cruise Control for a > Continuous Build process. Both are fairly easy to download and install. > However, I did have some configuration issues which took me some time to > sort out. NOTE: I am using Cruise Control and not CCNet. > > On Wed, Jul 9, 2008 at 2:00 AM, Rolando Martinez < > rolandomartinezg at gmail.com> wrote: > >> I would like to know if anyone knows how to install some CI Server >> (BuildBot or CCNet or wathever..). I didn't find any useful site where I can >> see how to make it on Linux =( >> >> Thanks you!!! >> Regards, >> Rolando. >> >> >> >> _______________________________________________ >> Mono-list maillist - Mono-list at lists.ximian.com >> http://lists.ximian.com/mailman/listinfo/mono-list >> >> > > > -- > Aquil H. Abdullah > aquil.abdullah at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080709/fb0c70d6/attachment.html From allan.jardine at sprypanel.com Wed Jul 9 17:17:48 2008 From: allan.jardine at sprypanel.com (theallan) Date: Wed, 9 Jul 2008 14:17:48 -0700 (PDT) Subject: [Mono-list] Compiling C# program with Request object Message-ID: <18371017.post@talk.nabble.com> Hello all, I want to write a little CGI program that I can run under IIS, and I'm some what stumped - here is what I have: public class Test { static void Main() { Console.Write( "Content-type: text/html\n\n" ); System.Console.WriteLine( System.Web.HttpContext.Current.Request.ServerVariables["HTTP_USER_AGENT"] ); } } Which is all well can good - it compiles with "gmcs -out:text.exe test.cs -r:System.Web". But then I transfer the .exe file to my Windows machine and try to run it as a CGI program I get: Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object. So the question is, how can I compile a C# application with Mono using the 'Request' object and have it available under a IIS CGI environment. Or should I be accessing the CGI variables in some different manner? Thanks Allan -- View this message in context: http://www.nabble.com/Compiling-C--program-with-Request-object-tp18371017p18371017.html Sent from the Mono - General mailing list archive at Nabble.com. From robertj at gmx.net Wed Jul 9 18:02:51 2008 From: robertj at gmx.net (Robert Jordan) Date: Thu, 10 Jul 2008 00:02:51 +0200 Subject: [Mono-list] Compiling C# program with Request object In-Reply-To: <18371017.post@talk.nabble.com> References: <18371017.post@talk.nabble.com> Message-ID: theallan wrote: > Hello all, > > I want to write a little CGI program that I can run under IIS, and I'm some > what stumped - here is what I have: > > public class Test > { > static void Main() > { > Console.Write( "Content-type: text/html\n\n" ); > System.Console.WriteLine( > System.Web.HttpContext.Current.Request.ServerVariables["HTTP_USER_AGENT"] ); > } > } > > Which is all well can good - it compiles with "gmcs -out:text.exe test.cs > -r:System.Web". But then I transfer the .exe file to my Windows machine and > try to run it as a CGI program I get: > > Unhandled Exception: System.NullReferenceException: Object reference not set > to an instance of an object. Well, a HttpContext is only available to ASP.NET applications. > So the question is, how can I compile a C# application with Mono using the > 'Request' object and have it available under a IIS CGI environment. Or > should I be accessing the CGI variables in some different manner? Get them from the environment (see the CGI specs) or resort to ASP.NET. Robert From allan.jardine at sprypanel.com Wed Jul 9 18:16:29 2008 From: allan.jardine at sprypanel.com (theallan) Date: Wed, 9 Jul 2008 15:16:29 -0700 (PDT) Subject: [Mono-list] Compiling C# program with Request object In-Reply-To: References: <18371017.post@talk.nabble.com> Message-ID: <18372102.post@talk.nabble.com> Hi Robert, Thanks for the reply! > Well, a HttpContext is only available to ASP.NET applications. Okay - so it can't be used in C# applications at all (or am I getting my terminology muddled up?). > Get them from the environment (see the CGI specs) or resort to ASP.NET. I had been trying to use: System.Environment.GetEnvironmentVariable, which works perfectly on the CLI, but when I run it in the IIS CGI environment I get: Unhandled Exception: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.EnvironmentPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed So I guess I need to grant it permissions to get the environment variable, but I don't have a clue how to do this. Thanks Allan -- View this message in context: http://www.nabble.com/Compiling-C--program-with-Request-object-tp18371017p18372102.html Sent from the Mono - General mailing list archive at Nabble.com. From sontek at gmail.com Thu Jul 10 03:19:37 2008 From: sontek at gmail.com (John M. Anderson) Date: Thu, 10 Jul 2008 01:19:37 -0600 Subject: [Mono-list] Mono Hacking with Emacs or Vim Message-ID: <6938f5390807100019w387d919av9fe77193e753b0c4@mail.gmail.com> What tweaks/tricks do you guys use when hacking Mono with Vim or Emacs? From gjunker at dayark.com Wed Jul 9 13:25:13 2008 From: gjunker at dayark.com (Gregory Junker) Date: Wed, 9 Jul 2008 10:25:13 -0700 Subject: [Mono-list] Continous Integration on Linux In-Reply-To: <35fdac010807090910s6fe1o19af742658220c84@mail.gmail.com> References: <35fdac010807082300g2edf0fc6ocf35fc3dcad9e1d6@mail.gmail.com><23116d500807090804x21133985t6349c0d2ca43b11c@mail.gmail.com> <35fdac010807090910s6fe1o19af742658220c84@mail.gmail.com> Message-ID: <008701c8e1e8$cc4b2c40$8e010a0a@hyperpia.com> Not at all -- we use it to manage the Linux integration and build of our C++ server codebase. _____ From: mono-list-bounces at lists.ximian.com [mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Rolando Martinez Sent: Wednesday, July 09, 2008 9:11 AM To: Aquil H. Abdullah Cc: mono-list at lists.ximian.com Subject: Re: [Mono-list] Continous Integration on Linux Hi Aquil, I thought that Cruise Control is just Java project. I will see more the documentation about Cruise Control. Thank you!!! Rolando. 2008/7/9 Aquil H. Abdullah : Hello Rolando, I am currently using a combination of NAnt and Cruise Control for a Continuous Build process. Both are fairly easy to download and install. However, I did have some configuration issues which took me some time to sort out. NOTE: I am using Cruise Control and not CCNet. On Wed, Jul 9, 2008 at 2:00 AM, Rolando Martinez wrote: I would like to know if anyone knows how to install some CI Server (BuildBot or CCNet or wathever..). I didn't find any useful site where I can see how to make it on Linux =( Thanks you!!! Regards, Rolando. _______________________________________________ Mono-list maillist - Mono-list at lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list -- Aquil H. Abdullah aquil.abdullah at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080709/c6ae6a24/attachment.html From apassor at gmail.com Thu Jul 10 09:11:40 2008 From: apassor at gmail.com (Apas Sor) Date: Thu, 10 Jul 2008 15:11:40 +0200 Subject: [Mono-list] Mono packages for Debian Sarge on Arm Message-ID: <44e3ed060807100611s2d5c8428uf0391b716950bf13@mail.gmail.com> Hi! I'm looking for Mono packages for Debian Sarge on Arm. Looks like there aren't any in the official repo. Does anybody know where can I get them? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080710/ae3de12b/attachment.html From ben at skullsquad.com Thu Jul 10 11:52:26 2008 From: ben at skullsquad.com (Ben Joldersma) Date: Thu, 10 Jul 2008 08:52:26 -0700 Subject: [Mono-list] Continous Integration on Linux In-Reply-To: <35fdac010807090910s6fe1o19af742658220c84@mail.gmail.com> References: <35fdac010807082300g2edf0fc6ocf35fc3dcad9e1d6@mail.gmail.com> <23116d500807090804x21133985t6349c0d2ca43b11c@mail.gmail.com> <35fdac010807090910s6fe1o19af742658220c84@mail.gmail.com> Message-ID: <4eeb7b650807100852pb75fa1an3fe2d1458a733ca8@mail.gmail.com> We use Cruise Control (not .Net) for our linux continuous integration as well. It works great. We're currently using Ant / NAnt (some combination of the two, I forget how exactly) for building, but I was wondering: is anyone building with CC & MSBUILD/xBuild? We'd like to switch over to this, so we can use the same configurations for our workstations (MonoDevelop) as we use in our build environments. Anyone? -- ben joldersma software architect http://skullsquad.com [o]: 206.973.8003 [c]: 206.349.2852 On Wed, Jul 9, 2008 at 9:10 AM, Rolando Martinez wrote: > Hi Aquil, > I thought that Cruise Control is just Java project. I will see more the > documentation about Cruise Control. > > Thank you!!! > Rolando. > > > 2008/7/9 Aquil H. Abdullah : > > Hello Rolando, >> I am currently using a combination of NAnt and Cruise Control for a >> Continuous Build process. Both are fairly easy to download and install. >> However, I did have some configuration issues which took me some time to >> sort out. NOTE: I am using Cruise Control and not CCNet. >> >> On Wed, Jul 9, 2008 at 2:00 AM, Rolando Martinez < >> rolandomartinezg at gmail.com> wrote: >> >>> I would like to know if anyone knows how to install some CI Server >>> (BuildBot or CCNet or wathever..). I didn't find any useful site where I can >>> see how to make it on Linux =( >>> >>> Thanks you!!! >>> Regards, >>> Rolando. >>> >>> >>> >>> _______________________________________________ >>> Mono-list maillist - Mono-list at lists.ximian.com >>> http://lists.ximian.com/mailman/listinfo/mono-list >>> >>> >> >> >> -- >> Aquil H. Abdullah >> aquil.abdullah at gmail.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/20080710/cf0bca3e/attachment.html From aquil.abdullah at gmail.com Thu Jul 10 15:16:09 2008 From: aquil.abdullah at gmail.com (Aquil H. Abdullah) Date: Thu, 10 Jul 2008 15:16:09 -0400 Subject: [Mono-list] Continous Integration on Linux In-Reply-To: <4eeb7b650807100852pb75fa1an3fe2d1458a733ca8@mail.gmail.com> References: <35fdac010807082300g2edf0fc6ocf35fc3dcad9e1d6@mail.gmail.com> <23116d500807090804x21133985t6349c0d2ca43b11c@mail.gmail.com> <35fdac010807090910s6fe1o19af742658220c84@mail.gmail.com> <4eeb7b650807100852pb75fa1an3fe2d1458a733ca8@mail.gmail.com> Message-ID: <23116d500807101216j353b6127iee01050322c7074a@mail.gmail.com> Hello Rolando, I think that the proper place for this discussion is the Cruise Control User List. Setting up a build environment can be a daunting task, however there are many resources out there to help you. I user cmcrossroads. Here is my advice: 1. Define your build process, The book Expert .NET Delivery by Marc Holmes is an Excellent resource, (Although some of the examples are dated Open Source Software can change at a furrious pace). 2. Setup a test environment, you should include NAnt, Cruise Control, and your software repository. 3. Set up a HelloWorld repository. 4. Configure your NAnt buildfiles 5. Configure Cruise Control...Simple (Download Binary package, unzip in the build users directory, configure config.xml., Start running your Continuous Build.) CC comes with a "nant" element. If you have problems post on the CC User List. I can found out there as well. On Thu, Jul 10, 2008 at 11:52 AM, Ben Joldersma wrote: > We use Cruise Control (not .Net) for our linux continuous integration as > well. It works great. > > We're currently using Ant / NAnt (some combination of the two, I forget how > exactly) for building, but I was wondering: is anyone building with CC & > MSBUILD/xBuild? We'd like to switch over to this, so we can use the same > configurations for our workstations (MonoDevelop) as we use in our build > environments. > > Anyone? > > > -- > ben joldersma > software architect > http://skullsquad.com > [o]: 206.973.8003 > [c]: 206.349.2852 > > On Wed, Jul 9, 2008 at 9:10 AM, Rolando Martinez < > rolandomartinezg at gmail.com> wrote: > >> Hi Aquil, >> I thought that Cruise Control is just Java project. I will see more the >> documentation about Cruise Control. >> >> Thank you!!! >> Rolando. >> >> >> 2008/7/9 Aquil H. Abdullah : >> >> Hello Rolando, >>> I am currently using a combination of NAnt and Cruise Control for a >>> Continuous Build process. Both are fairly easy to download and install. >>> However, I did have some configuration issues which took me some time to >>> sort out. NOTE: I am using Cruise Control and not CCNet. >>> >>> On Wed, Jul 9, 2008 at 2:00 AM, Rolando Martinez < >>> rolandomartinezg at gmail.com> wrote: >>> >>>> I would like to know if anyone knows how to install some CI Server >>>> (BuildBot or CCNet or wathever..). I didn't find any useful site where I can >>>> see how to make it on Linux =( >>>> >>>> Thanks you!!! >>>> Regards, >>>> Rolando. >>>> >>>> >>>> >>>> _______________________________________________ >>>> Mono-list maillist - Mono-list at lists.ximian.com >>>> http://lists.ximian.com/mailman/listinfo/mono-list >>>> >>>> >>> >>> >>> -- >>> Aquil H. Abdullah >>> aquil.abdullah at gmail.com >> >> >> >> _______________________________________________ >> Mono-list maillist - Mono-list at lists.ximian.com >> http://lists.ximian.com/mailman/listinfo/mono-list >> >> > -- Aquil H. Abdullah aquil.abdullah at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080710/ff250bd7/attachment.html From surfzoid at gmail.com Thu Jul 10 18:28:54 2008 From: surfzoid at gmail.com (Petit Eric) Date: Fri, 11 Jul 2008 00:28:54 +0200 Subject: [Mono-list] Friendly GUI MonoUpdater anouce Message-ID: <84776a970807101528x4c3c76dfo59c902f3f95df4d5@mail.gmail.com> Hi monkeys, pinguin and all friendly comunity. I have writted Cs-ObexFtp who folow few bug fix quickly as official release of Mono, so i writed "MonoUpdtaer" to integrate it in Cs-ObexFtp and made life of user easy. MonoUpdater is a simple GUi to linux shell command for downloading Mono SVN or Mono dailly tarball, made optional argument of configure graphicaly with check box and install a last Mono versionor update existing SVN one. Mono Updater work, but need some fix and feature, they will come as soon as possible, when time permit me (dammed time) An executable can be found here : http://surfzoid.free.fr/freevbsoft/MonoUpdater/ The sources of it, for MD or VS, are here : http://cs-obexftp.svn.sourceforge.net/viewvc/cs-obexftp/trunk/Cs-ObexFtp/MonoUpdater/ If you want to use configure && make i sugest you to get the wole cs-obexftp rpoject/solution, MonoUpdater is a project of it : http://cs-obexftp.svn.sourceforge.net/viewvc/cs-obexftp/trunk/Cs-ObexFtp/ or svn co https://cs-obexftp.svn.sourceforge.net/svnroot/cs-obexftp/trunk/Cs-ObexFtp/ To get it -- 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 vesely at tana.it Thu Jul 10 13:37:41 2008 From: vesely at tana.it (Alessandro Vesely) Date: Thu, 10 Jul 2008 19:37:41 +0200 Subject: [Mono-list] How to build mono w/o glib (pb) Message-ID: <487648E5.1010507@tana.it> Hi list, glib 2.4 is a requirement for mono, as stated in the README. Is it at all possible to do without? I tried --with-x=no to no avail. How was the Nokia port built? Apps that will run under mono have absolutely no [G]UI, they only work on the net. I'm targeting a very old Red Hat (7.2), and would downright prefer a very minimal mono package, thus I include most items in the enable_minimal configure option. However, I don't know how to skip graphics. Isn't there a compile option or some dummy gtk that will just satisfy dependencies? TIA for your help Ale -- (pb) = possibly duplicated: I just subscribed after attempting to post from nabble.com... apologies for that From jonpryor at vt.edu Thu Jul 10 21:35:27 2008 From: jonpryor at vt.edu (Jonathan Pryor) Date: Fri, 11 Jul 2008 01:35:27 +0000 Subject: [Mono-list] How to build mono w/o glib (pb) In-Reply-To: <487648E5.1010507@tana.it> References: <487648E5.1010507@tana.it> Message-ID: <1215740127.6187.36.camel@lina.magi.jprl.com> On Thu, 2008-07-10 at 19:37 +0200, Alessandro Vesely wrote: > glib 2.4 is a requirement for mono, as stated in the README. > > Is it at all possible to do without? I tried --with-x=no to no avail. > How was the Nokia port built? configure --with-glib=embedded By "Nokia port" do you mean Maemo? I imagine that used the Maemo-provided glib. > Apps that will run under mono have absolutely no [G]UI, they only work > on the net. GLib doesn't provide a GUI. GTK+ provides a GUI, GLib does not, so a normal mono build will run w/o a GUI (unless/until you use something that requires that a GUI be present, such as System.Drawing). > I'm targeting a very old Red Hat (7.2), and would downright prefer a > very minimal mono package, thus I include most items in the > enable_minimal configure option. The only GUI that `mono` provides is System.Windows.Forms, and I don't know of a way to prevent building it. Not that it matters, as it doesn't require that GTK+ or any other GUI libraries be present to build. (It also won't run until you build & install libgdiplus...) Gtk# isn't built as part of mono, it's built separately when you build gtk-sharp. So just building mono will NOT build Gtk#. - Jon From josuapm at yahoo.com Thu Jul 10 22:18:25 2008 From: josuapm at yahoo.com (Josua Marpaung) Date: Thu, 10 Jul 2008 19:18:25 -0700 (PDT) Subject: [Mono-list] Error GetApplicationContext Message-ID: <392621.5678.qm@web59712.mail.ac4.yahoo.com> Dear all, I'm a newbie for mono. I use Spring.Net on mono, but while I trying to test GetApplicationContext for my application, there is error look like this : Spring.Util.FatalReflectionException : Cannot instantiate Type [Spring.Context.Support.XmlApplicationContext] using ctor [Void .ctor(String, Boolean, String[])] : 'Exception has been thrown by the target of an invocation.' ----> System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation. ----> Spring.Objects.Factory.ObjectDefinitionStoreException : Unexpected exception parsing XML document from config [spring/objects]Inner exception message= An exception was thrown by the type initializer for Spring.Objects.Factory.Xml.NamespaceParserRegistry ----> System.TypeInitializationException : An exception was thrown by the type initializer for Spring.Objects.Factory.Xml.NamespaceParserRegistry ----> System.ArgumentException : Could not load schema from resource = assembly [Spring.Core, Version=1.1.1.11001, Culture=neutral, PublicKeyToken=null], resource [Spring.Validation.Config.spring-validation-1.1.xsd] ----> System.Xml.Schema.XmlSchemaException : XmlSchema error: Referenced group http://www.springframework.net:objectList was not found in the corresponding schema. Related schema item SourceUri: , Line 265, Position 10.]]> Here is my App.Config
An example that demonstrates simple IoC features. Is anyone can help me ... What's wrong and what I've to do.. FYI I use mono 1.9.1 and Ubuntu 8.04 OS. Thanks very Much, Josua -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080710/c5547f59/attachment.html From maitredede at gmail.com Fri Jul 11 10:39:38 2008 From: maitredede at gmail.com (Damien DALY) Date: Fri, 11 Jul 2008 16:39:38 +0200 Subject: [Mono-list] Compiling C# program with Request object In-Reply-To: <18372102.post@talk.nabble.com> References: <18371017.post@talk.nabble.com> <18372102.post@talk.nabble.com> Message-ID: <6df580e50807110739t765365d9ybb57d18c5bdee677@mail.gmail.com> > > I had been trying to use: System.Environment.GetEnvironmentVariable, which > works perfectly on the CLI, but when I run it in the IIS CGI environment I > get: > > Unhandled Exception: System.Security.SecurityException: Request for the > permission of type 'System.Security.Permissions.EnvironmentPermission, > mscorlib, Version=2.0.0.0, Culture=neutral, > PublicKeyToken=b77a5c561934e089' > failed > > So I guess I need to grant it permissions to get the environment variable, > but I don't have a clue how to do this. > Hi, This is about the user the CGI runs... In most cases, IIS user is IUSR_machine, a kind of equivalent to unix user "none". Due to security restrictions of the IUSR_machine user, it can't acces to its environement variables. So you have to search in IIS how you can change the user it uses for CGI access... Good luck Damien -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080711/e86cb4b1/attachment.html From twiest at novell.com Fri Jul 11 11:53:07 2008 From: twiest at novell.com (Thomas Wiest) Date: Fri, 11 Jul 2008 09:53:07 -0600 Subject: [Mono-list] Novell Bugzilla and e-mail validation... Message-ID: <487781E3.8040002@novell.com> Hey Guys, Good news! After months of prodding, the Novell marketing dept has changed their policy on automatically sending out the "validate e-mail address" e-mail when a new Bugzilla account is created. Accordingly, the Novell Bugzilla team has already updated the website to automatically send out this "validate e-mail address" e-mail. I've updated our Novell Bugzilla Faq with the new information: http://mono-project.com/FAQ:_Novell_Bugzilla This was one of the biggest complaints our users have had with Novell Bugzilla, so please help spread the word that this is now fixed! Thanks, Thomas From diego.fnascimento at gmail.com Fri Jul 11 13:17:26 2008 From: diego.fnascimento at gmail.com (Diego Nascimento) Date: Fri, 11 Jul 2008 13:17:26 -0400 Subject: [Mono-list] HTTP 500. Failed to load httpHandler type ... Message-ID: <2736969c0807111017w47d1519fjebcc55b45a74dc8f@mail.gmail.com> Hi, I'm newbie in mono, and i tried to execute a simple ASP .NET application that uses MonoRail Framework, and i got this error message: *Error Message: *HTTP 500. Failed to load httpHandler type `Castle.MonoRail.Framework.MonoRailHttpHandlerFactory, Castle.MonoRail.Framework' *Stack Trace: * System.TypeLoadException: Could not load type 'Castle.MonoRail.Framework.MonoRailHttpHandlerFactory, Castle.MonoRail.Framework'. at <0x00000> at (wrapper managed-to-native) System.Type:internal_from_name (string,bool,bool) at System.Type.GetType (System.String typeName, Boolean throwOnError) [0x00000] at System.Web.Configuration.HttpHandlerAction.LoadType (System.String type_name) [0x00000] I tried to tried to put the dll files(Castle.MonoRail.Framework.dll, etc...) to the directories /usr/lib/mono/1.0 and /usr/lib/mono/2.0 and didn't work yet. here is my Web.config:
GettingStartedSample ** I used xsp2. * thanks.* * -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080711/b1c35334/attachment-0001.html From iggy.ma at gmail.com Fri Jul 11 15:16:44 2008 From: iggy.ma at gmail.com (Iggy MA) Date: Fri, 11 Jul 2008 12:16:44 -0700 (PDT) Subject: [Mono-list] Getting CS1002 even though I have ; In-Reply-To: <18403818.post@talk.nabble.com> References: <18403818.post@talk.nabble.com> Message-ID: <18410768.post@talk.nabble.com> I don't think it should matter but have you tried making your MainClass public? http://iggyma.blogspot.com/ iskai wrote: > > > I just installed Mono 1.9 onto a fresh MacBook using the binary release. > First I wrote a hello world application, which worked file. Then I > expanded it a little to see if file io worked properly. > > Now i'm getting all kinds of errors. The program shown below is valid but > the compiler believes otherwise. Before this (i recreated this project > from scratch) the compiler insisted that I was missing the 'class' keyword > from line 9 - even though it was on line 8. > > Does anybody have any idea why this isn't working? > > http://www.nabble.com/file/p18403818/Picture%2B2.png Picture+2.png > -- View this message in context: http://www.nabble.com/Getting-CS1002-even-though-I-have---tp18403818p18410768.html Sent from the Mono - General mailing list archive at Nabble.com. From iggy.ma at gmail.com Fri Jul 11 15:19:40 2008 From: iggy.ma at gmail.com (Iggy MA) Date: Fri, 11 Jul 2008 12:19:40 -0700 (PDT) Subject: [Mono-list] Complete new and utterly lost In-Reply-To: <18322702.post@talk.nabble.com> References: <18322702.post@talk.nabble.com> Message-ID: <18410825.post@talk.nabble.com> What program are you trying to get working? Is this a program written in Mono? Or just a random program? http://iggyma.blogspot.com/ Astrologo wrote: > > Hello all! > I'm trying to get a windows application to work on kUbuntu but this app > uses framework 2.0 net, I've tried using with wine and crossover office > but it doesn't work. > Googling I stumbled upon this site and I ran the compatibilty program and > got the following report. > I would like to know what steps would I need to do in order to get this > app working. > Thanks in advance > > MoMA Scan Results > > Scan time: 07/07/2008 14:27:48 > MoMA Definitions: Mono 1.9 > > For descriptions of issues and what to do, see > http://www.mono-project.com/MoMA_-_Issue_Descriptions. > > Tutor.com Classroom.exe > Methods missing from Mono > Calling Method Method not yet in Mono > Class m: > void i() void HtmlElement.set_ScrollTop(int) > > > P/Invokes into native code > Calling Method P/Invoke Method External DLL > Class d: > void g() int GetForegroundWindow() user32.dll > void g() Int16 FlashWindowEx(d/i&) user32.dll > > > Methods called that throw NotImplementedException > Calling Method Mono method that throws NotImplementedException > Class m: > void a(string, string, string, string) void > HtmlElement.set_InnerHtml(string) > void a(string, string, string, string) void > HtmlElement.set_InnerHtml(string) > void a(string, string, string, string) void > HtmlDocument.ExecCommand(string, bool, Object) > void h() void HtmlElement.set_InnerHtml(string) > void b(Object, EventArgs) void HtmlDocument.ExecCommand(string, bool, > Object) > void a(Object, EventArgs) void HtmlDocument.ExecCommand(string, bool, > Object) > Class b: > void a(Object, WebBrowserNavigatedEventArgs) void > HtmlElement.set_InnerHtml(string) > Class t: > void a() void AxHost.set_Enabled(bool) > void a() void AxHost.set_OcxState(AxHost/State) > Class j: > void b(Object, EventArgs) void HtmlDocument.ExecCommand(string, bool, > Object) > > > Methods called marked with [MonoTodo] > Calling Method Method with [MonoTodo] Reason > Class m: > void a() void WebBrowser..ctor() Stub, not implemented > void a() void WebBrowser.set_AllowNavigation(bool) Stub, not implemented > void a() void WebBrowser.set_AllowWebBrowserDrop(bool) Stub, not > implemented > void a() void WebBrowser.set_IsWebBrowserContextMenuEnabled(bool) Stub, > not implemented > Class x: > void a() void WebBrowser..ctor() Stub, not implemented > void a() void WebBrowser.set_IsWebBrowserContextMenuEnabled(bool) Stub, > not implemented > void a() void WebBrowser.set_WebBrowserShortcutsEnabled(bool) Stub, not > implemented > Class al: > void k(Object, EventArgs) string WebBrowser.get_StatusText() Stub, not > implemented > void k(Object, EventArgs) string WebBrowser.get_StatusText() Stub, not > implemented > void a(q) void WebBrowser.set_AllowNavigation(bool) Stub, not implemented > void a() void WebBrowser..ctor() Stub, not implemented > void a() void WebBrowser.set_ScriptErrorsSuppressed(bool) Stub, not > implemented > Class s: > void a() void WebBrowser..ctor() Stub, not implemented > void a() void WebBrowser.set_AllowNavigation(bool) Stub, not implemented > void a() void WebBrowser.set_IsWebBrowserContextMenuEnabled(bool) Stub, > not implemented > void a() void WebBrowser.set_WebBrowserShortcutsEnabled(bool) Stub, not > implemented > Class b: > void b() void WebBrowser..ctor() Stub, not implemented > Class i: > void a() void WebBrowser..ctor() Stub, not implemented > void a() void WebBrowser.set_IsWebBrowserContextMenuEnabled(bool) Stub, > not implemented > void a() void WebBrowser.set_WebBrowserShortcutsEnabled(bool) Stub, not > implemented > -- View this message in context: http://www.nabble.com/Complete-new-and-utterly-lost-tp18322702p18410825.html Sent from the Mono - General mailing list archive at Nabble.com. From iggy.ma at gmail.com Fri Jul 11 15:23:41 2008 From: iggy.ma at gmail.com (Iggy MA) Date: Fri, 11 Jul 2008 12:23:41 -0700 (PDT) Subject: [Mono-list] ArrayConverter bug In-Reply-To: <18290337.post@talk.nabble.com> References: <18290337.post@talk.nabble.com> Message-ID: <18410901.post@talk.nabble.com> Why do you have an quote here ")] , could that be causing the problem? http://iggyma.blogspot.com/ pgutierrez wrote: > > A Settings class with the following property fails to initialize: > > [global::System.Configuration.ApplicationScopedSettingAttribute()] > [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] > [global::System.Configuration.DefaultSettingValueAttribute(@" version=""1.0"" encoding=""utf-16""?> > xmlns:xsd=""http://www.w3.org/2001/XMLSchema""> > 3001 > 3002 > 3003 > 3004 > 3005 > 3006 > 3007 > 3008 > 3009 > 3010 > ")] > public int[] RemotingPorts { > get { > return ((int[])(this["RemotingPorts"])); > } > } > > When the program tries to access this property a exception is thrown: > > Unhandled Exception: System.TypeInitializationException: An exception was > thrown by the type initializer for Kern.Properties.Settings ---> > System.NotSupportedException: ArrayConverter cannot convert from > System.String. > at System.ComponentModel.TypeConverter.GetConvertFromException > (System.Object value) [0x00000] > at System.ComponentModel.TypeConverter.ConvertFrom > (ITypeDescriptorContext context, System.Globalization.CultureInfo culture, > System.Object value) [0x00000] > at System.ComponentModel.TypeConverter.ConvertFrom (System.Object o) > [0x00000] > at System.ComponentModel.TypeConverter.ConvertFromString (System.String > text) [0x00000] > at System.Configuration.ApplicationSettingsBase.CreateSettingsProperty > (System.Reflection.PropertyInfo prop, > System.Configuration.SettingsPropertyCollection properties, > System.Configuration.LocalFileSettingsProvider& local_provider) [0x00000] > at System.Configuration.ApplicationSettingsBase.get_Properties () > [0x00000] > at System.Configuration.ApplicationSettingsBase..ctor () [0x00000] > at Kern.Properties.Settings..ctor () [0x00000] > at Kern.Properties.Settings..cctor () [0x00000] --- End of inner > exception stack trace --- > > This happens with mono 1.9.1 under Ubuntu and Mac OS X. > > Regards, > > Pedro > > > -- View this message in context: http://www.nabble.com/ArrayConverter-bug-tp18290337p18410901.html Sent from the Mono - General mailing list archive at Nabble.com. From vesely at tana.it Sat Jul 12 04:50:45 2008 From: vesely at tana.it (Alessandro Vesely) Date: Sat, 12 Jul 2008 10:50:45 +0200 Subject: [Mono-list] How to build mono w/o glib (pb) In-Reply-To: <1215740127.6187.36.camel@lina.magi.jprl.com> References: <487648E5.1010507@tana.it> <1215740127.6187.36.camel@lina.magi.jprl.com> Message-ID: <48787065.5020301@tana.it> Jonathan Pryor wrote: > On Thu, 2008-07-10 at 19:37 +0200, Alessandro Vesely wrote: >> glib 2.4 is a requirement for mono, as stated in the README. >> >> Is it at all possible to do without? I tried --with-x=no to no avail. >> How was the Nokia port built? > > configure --with-glib=embedded > > By "Nokia port" do you mean Maemo? I imagine that used the > Maemo-provided glib. > >> Apps that will run under mono have absolutely no [G]UI, they only work >> on the net. > > GLib doesn't provide a GUI. GTK+ provides a GUI, GLib does not, so a > normal mono build will run w/o a GUI (unless/until you use something > that requires that a GUI be present, such as System.Drawing). Thanks a lot. It turns out I had some wrong preconception about glib. It doesn't depend on more packages, and has bee easy to built. >> I'm targeting a very old Red Hat (7.2), and would downright prefer a >> very minimal mono package, thus I include most items in the >> enable_minimal configure option. I didn't use eglib as it's not obvious what should go there. FWIW, mono compiles quite nicely with gcc 2.96, except for a few C twists. However, make check freezes when it tries to verify ByteFX.Data.dll. I'll seek your help again as soon as I can figure out what's happening. Thanks again for your help Ale From mysql.jorge at decimal.pt Sat Jul 12 14:48:39 2008 From: mysql.jorge at decimal.pt (Jorge Bastos) Date: Sat, 12 Jul 2008 19:48:39 +0100 Subject: [Mono-list] PDF Viewer Message-ID: <008301c8e44f$e6b26760$b4173620$@jorge@decimal.pt> Hi people Sorry about this offtopic, does anyone know a free pdf viewer to integrate with winforms? Jorge -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080712/7dab2af7/attachment.html From nagappan at gmail.com Sat Jul 12 21:01:31 2008 From: nagappan at gmail.com (Nagappan A) Date: Sat, 12 Jul 2008 18:01:31 -0700 Subject: [Mono-list] PDF Viewer In-Reply-To: <1916639083657124799@unknownmsgid> References: <1916639083657124799@unknownmsgid> Message-ID: <9d0602eb0807121801s3032a299ga283d69f4c3916bd@mail.gmail.com> Hello Jorge, You can give a try with this http://code.google.com/p/gouda/ Thanks Nagappan On Sat, Jul 12, 2008 at 11:48 AM, Jorge Bastos wrote: > Hi people > > Sorry about this offtopic, does anyone know a free pdf viewer to integrate > with winforms? > > > > Jorge > > _______________________________________________ > 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/20080712/47294757/attachment.html From vesely at tana.it Sun Jul 13 09:48:15 2008 From: vesely at tana.it (Alessandro Vesely) Date: Sun, 13 Jul 2008 15:48:15 +0200 Subject: [Mono-list] How to build mono w/o glib (pb) In-Reply-To: <48787065.5020301@tana.it> References: <487648E5.1010507@tana.it> <1215740127.6187.36.camel@lina.magi.jprl.com> <48787065.5020301@tana.it> Message-ID: <487A079F.20609@tana.it> I wrote: > FWIW, mono compiles quite nicely with gcc 2.96, except for a few C > twists. However, make check freezes when it tries to verify > ByteFX.Data.dll. I'll seek your help again as soon as I can figure out > what's happening. Astonishingly, that seems to be a bug in glib's memory allocation. I didn't file a bug on bugzilla.gnome.org (yet); however, I reported it on the mailing list, see: http://www.nabble.com/Astonishing-allocation-bug-in-glib-2.16.4-compiled-with-gcc-2.96-to18428394.html Why didn't that come out before? Or am I missing something? I configured mono as ./configure \ --with-gnu-ld\ --enable-minimal=profiler,reflection_emit,large_code,com,ssa\ --with-xen_opt=no\ --with-moonlight=no\ --with-x=no\ --with-sigaltstack=no Is excluding SSA uncommon enough to justify the possibility that a bug in glib has remained unnoticed until now? I get the bug on "Compiling 120 ByteFX.Data.MySqlClient.MySqlCommandBuilder" in make check. Everytime. That is on the mono-107638 snapshot that I retrieved a few days ago. In case someone is willing to have a try, I've saved a copy in http://www.tana.it/sw/mono/mono-107638.tar.bz2 while glib-2.16.4 is still current on http://ftp.gnome.org/pub/GNOME/sources/glib/2.16/ Any hint is welcome TIA Ale -- please cc to me your response From vesely at tana.it Sun Jul 13 14:20:07 2008 From: vesely at tana.it (Ale2008) Date: Sun, 13 Jul 2008 11:20:07 -0700 (PDT) Subject: [Mono-list] set G_SLICE=debug-blocks (was:Re: How to build mono w/o glib (pb)) In-Reply-To: <487A079F.20609@tana.it> References: <487648E5.1010507@tana.it> <1215740127.6187.36.camel@lina.magi.jprl.com> <48787065.5020301@tana.it> <487A079F.20609@tana.it> Message-ID: <18432122.post@talk.nabble.com> Ale2008 wrote: > > I wrote: >> FWIW, mono compiles quite nicely with gcc 2.96, except for a few C >> twists. However, make check freezes when it tries to verify >> ByteFX.Data.dll. I'll seek your help again as soon as I can figure out >> what's happening. > > Astonishingly, that seems to be a bug in glib's memory allocation. I > didn't file a bug on bugzilla.gnome.org (yet); however, I reported it > on the mailing list, see: > http://www.nabble.com/Astonishing-allocation-bug-in-glib-2.16.4-compiled-with-gcc-2.96-to18428394.html > The bug is in mono. I' going to file some. Major point for all users: set G_SLICE=debug-blocks most of the times. That is, unless you can bet there are no bugs :-) Unfortunately, even mono's test suite runs without that. That's nonsensical. -- View this message in context: http://www.nabble.com/How-to-build-mono-w-o-glib-%28pb%29-tp18394713p18432122.html Sent from the Mono - General mailing list archive at Nabble.com. From surfzoid at gmail.com Sun Jul 13 17:56:42 2008 From: surfzoid at gmail.com (Petit Eric) Date: Sun, 13 Jul 2008 23:56:42 +0200 Subject: [Mono-list] Stability problem under linux MDV 2008 Cooker In-Reply-To: <84776a970712301455h6e3c5a7eob1fe77f493cd0d2e@mail.gmail.com> References: <84776a970712231401s68d7a223kc77a11de1d3b2d9c@mail.gmail.com> <1198984154.4181.117.camel@erandi.boston.ximian.com> <84776a970712300258h691be8c8y56409b08eadaaf41@mail.gmail.com> <1199032920.4472.28.camel@erandi.boston.ximian.com> <84776a970712301009u2558ebc5o2740a601cf22ba69@mail.gmail.com> <1199038683.4472.41.camel@erandi.boston.ximian.com> <84776a970712301204y5e801deci8ba6085e1f39afad@mail.gmail.com> <84776a970712301223x200d917bq365ccb412300791b@mail.gmail.com> <84776a970712301450w704abc44g3da29786c83e7448@mail.gmail.com> <84776a970712301455h6e3c5a7eob1fe77f493cd0d2e@mail.gmail.com> Message-ID: <84776a970807131456g6dfbc305kaae4539c5a1fad29@mail.gmail.com> Hi Since this long time i always have this problem, so i will try to explain it the more clear i can . First, in globaly , as we now threat managment is not the same under linux and windows. I see and don't really know if it is bad or good, under windows when you use a BackGroundWorker ( a "second" thread") you are not allowed to "interacte" with GUI part. Let's say a form with a textbox "TxtBx1" and a backgroundworker "Bck", in the event : Bck_DoWork(...), if you say This.TxtBx1.Text = "some text"; yu have a exception about invalid interthread operation. But under linux you don't have exception ! Second : My prog, CsObexftp : http://cs-obexftp.wiki.sourceforge.net/ is a tool who use the "new" C# binding of obexftp : http://dev.zuckschwerdt.org/openobex/ the popular console programme we see in most linux OS. The work of csobexftp is to conect to a device like a mobile phone by Bluetooth, usb or irda and use obex protocole to transfert files. So i write csobexftp with 3 backgroundworker , one for conection (BckConnect), one for read operation like download or list file (BckRead) and a last to write like uploat/put file or make dir (BckWrite). As we know A Windows Form App have 2 thread, one for the graphical part other for the code with the 3 mine (Bck) we have 5 thread. The main compnent of the obexftp C# binding is "client", so in global declaration i declare one : Client Cli = null; Cli is in the thread 2 (code) When user click on conect, i start the BckConnect work and then in thread 3 i do a cli = new cli(conect args); When BckConnect finished is job (in thread 2) i start the BckRead (thread 4) to list the root folder of the phone. when user select multiple files and say "get to my computer" i start again the BckRead (thread 4) with the list of file to transfer and made a loop to all files with cli.get_files(fssrce, dest); In this loop i use BckRead.reportprogress to interacte with a progressbar on GUI(thread2 and then thread 1). This stuff work gread under windows, i writed with Zany the author of obexftp a little class "cs_stress_test" who run as a console program to connect to phone and download a list of file, it work nice under linux with a last Mono V1.91. But with cs-obexftp during loop the thread is not anymore executed , this occure never at the same time, sometime after the 1th files other time after the 14th file I see no error in Mono debug output and no error in obexftp debug output where i set debug level to 5 (very hight debug ) The code who use the background worker can be read here : http://cs-obexftp.svn.sourceforge.net/viewvc/cs-obexftp/trunk/Cs-ObexFtp/Cs-ObexFtp/Forms/MainForm.cs?view=log My point of view is, it could be not a mono problem, but the fact i transfert the "cli" object in 3 thread ? But why i didn't see it under windows. Also i was say " Stability problem under linux MDV 2008 Cooker", so i do some test under OpenSuse 11 and problem still here . 2007/12/30 Petit Eric : > 2007/12/30, Petit Eric : >> i run csobexftp as it : >> MONO_LOG_LEVEL="debug" MONO_EVENTLOG_TYPE=local:~/tmp/csobexftp mono >> ./Cs-ObexFtp.exe > test.log >> so i add test log as attachment >> normal way should be : >> thread 2 >> thread 1 >> thread 2 >> ................ >> but as we can see it s not the case !! >> >> > the attachmement is too big so : > http://surfzoid.free.fr/test.log > -- 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 surfzoid at gmail.com Sun Jul 13 19:06:46 2008 From: surfzoid at gmail.com (Petit Eric) Date: Mon, 14 Jul 2008 01:06:46 +0200 Subject: [Mono-list] Stability problem under linux MDV 2008 Cooker In-Reply-To: <84776a970807131456g6dfbc305kaae4539c5a1fad29@mail.gmail.com> References: <84776a970712231401s68d7a223kc77a11de1d3b2d9c@mail.gmail.com> <84776a970712300258h691be8c8y56409b08eadaaf41@mail.gmail.com> <1199032920.4472.28.camel@erandi.boston.ximian.com> <84776a970712301009u2558ebc5o2740a601cf22ba69@mail.gmail.com> <1199038683.4472.41.camel@erandi.boston.ximian.com> <84776a970712301204y5e801deci8ba6085e1f39afad@mail.gmail.com> <84776a970712301223x200d917bq365ccb412300791b@mail.gmail.com> <84776a970712301450w704abc44g3da29786c83e7448@mail.gmail.com> <84776a970712301455h6e3c5a7eob1fe77f493cd0d2e@mail.gmail.com> <84776a970807131456g6dfbc305kaae4539c5a1fad29@mail.gmail.com> Message-ID: <84776a970807131606s1949d0e4vae5a8467758b844e@mail.gmail.com> I forget two important thing, first is when the "crash/problem" occure the dll i use to "wrap" the obexftp lib is "broken", i can restart my prog and do wath i want, i'm never abble to connect to a phone or do anything else with the object "client" i need to recompil it and then i'm again able to connect, list folder and get another file since it break again, it is sound like the object in the backgound_dowork doesn't freeing some pointer in memory or a GC problem, no ? Second, Miguel you ask me about a tcpdump or etherall/shark.., with the compilation of obexftp with debug=5 i have the packet transmit between phone and PC so i put it here : http://surfzoid.free.fr/stdout_stderr.txt this one is : Conect, list root folder, browse to a folder and then try to get 14 files, the first one was okay but the 13 next was in "broken" state like i don't use the corect thread where cli is conected . 2008/7/13 Petit Eric : > Hi > Since this long time i always have this problem, so i will try to > explain it the more clear i can . > First, in globaly , as we now threat managment is not the same under > linux and windows. > I see and don't really know if it is bad or good, under windows when > you use a BackGroundWorker ( a "second" thread") you are not allowed > to "interacte" with GUI part. > Let's say a form with a textbox "TxtBx1" and a backgroundworker "Bck", > in the event : Bck_DoWork(...), if you say This.TxtBx1.Text = "some > text"; yu have a exception about invalid interthread operation. > But under linux you don't have exception ! > > Second : > My prog, CsObexftp : http://cs-obexftp.wiki.sourceforge.net/ is a tool > who use the "new" C# binding of obexftp : > http://dev.zuckschwerdt.org/openobex/ the popular console programme we > see in most linux OS. > The work of csobexftp is to conect to a device like a mobile phone by > Bluetooth, usb or irda and use obex protocole to transfert files. > > So i write csobexftp with 3 backgroundworker , one for conection > (BckConnect), one for read operation like download or list file > (BckRead) and a last to write like uploat/put file or make dir > (BckWrite). > > As we know A Windows Form App have 2 thread, one for the graphical > part other for the code with the 3 mine (Bck) we have 5 thread. > > The main compnent of the obexftp C# binding is "client", so in global > declaration i declare one : Client Cli = null; > Cli is in the thread 2 (code) > When user click on conect, i start the BckConnect work and then in > thread 3 i do a cli = new cli(conect args); > > When BckConnect finished is job (in thread 2) i start the BckRead > (thread 4) to list the root folder of the phone. > > when user select multiple files and say "get to my computer" i start > again the BckRead (thread 4) with the list of file to transfer and > made a loop to all files with cli.get_files(fssrce, dest); > In this loop i use BckRead.reportprogress to interacte with a > progressbar on GUI(thread2 and then thread 1). > > This stuff work gread under windows, i writed with Zany the author of > obexftp a little class "cs_stress_test" who run as a console program > to connect to phone and download a list of file, it work nice under > linux with a last Mono V1.91. > > But with cs-obexftp during loop the thread is not anymore executed , > this occure never at the same time, sometime after the 1th files other > time after the 14th file > > I see no error in Mono debug output and no error in obexftp debug > output where i set debug level to 5 (very hight debug ) > > The code who use the background worker can be read here : > > http://cs-obexftp.svn.sourceforge.net/viewvc/cs-obexftp/trunk/Cs-ObexFtp/Cs-ObexFtp/Forms/MainForm.cs?view=log > > My point of view is, it could be not a mono problem, but the fact i > transfert the "cli" object in 3 thread ? > But why i didn't see it under windows. > > Also i was say " Stability problem under linux MDV 2008 Cooker", so i > do some test under OpenSuse 11 and problem still here . > > 2007/12/30 Petit Eric : >> 2007/12/30, Petit Eric : >>> i run csobexftp as it : >>> MONO_LOG_LEVEL="debug" MONO_EVENTLOG_TYPE=local:~/tmp/csobexftp mono >>> ./Cs-ObexFtp.exe > test.log >>> so i add test log as attachment >>> normal way should be : >>> thread 2 >>> thread 1 >>> thread 2 >>> ................ >>> but as we can see it s not the case !! >>> >>> >> the attachmement is too big so : >> http://surfzoid.free.fr/test.log >> > > > > -- > > 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. > -- 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 surfzoid at gmail.com Sun Jul 13 19:11:02 2008 From: surfzoid at gmail.com (Petit Eric) Date: Mon, 14 Jul 2008 01:11:02 +0200 Subject: [Mono-list] Stability problem under linux MDV 2008 Cooker In-Reply-To: <84776a970807131456g6dfbc305kaae4539c5a1fad29@mail.gmail.com> References: <84776a970712231401s68d7a223kc77a11de1d3b2d9c@mail.gmail.com> <84776a970712300258h691be8c8y56409b08eadaaf41@mail.gmail.com> <1199032920.4472.28.camel@erandi.boston.ximian.com> <84776a970712301009u2558ebc5o2740a601cf22ba69@mail.gmail.com> <1199038683.4472.41.camel@erandi.boston.ximian.com> <84776a970712301204y5e801deci8ba6085e1f39afad@mail.gmail.com> <84776a970712301223x200d917bq365ccb412300791b@mail.gmail.com> <84776a970712301450w704abc44g3da29786c83e7448@mail.gmail.com> <84776a970712301455h6e3c5a7eob1fe77f493cd0d2e@mail.gmail.com> <84776a970807131456g6dfbc305kaae4539c5a1fad29@mail.gmail.com> Message-ID: <84776a970807131611jc78cb93r9921325ddabe11c3@mail.gmail.com> I forget two important thing, first is when the "crash/problem" occure the dll i use to "wrap" the obexftp lib is "broken", i can restart my prog and do wath i want, i'm never abble to connect to a phone or do anything else with the object "client" i need to recompil it and then i'm again able to connect, list folder and get another file since it break again, it is sound like the object in the backgound_dowork doesn't freeing some pointer in memory or a GC problem, no ? Second, Miguel you ask me about a tcpdump or etherall/shark.., with the compilation of obexftp with debug=5 i have the packet transmit between phone and PC so i put it here : http://surfzoid.free.fr/stdout_stderr.txt this one is : Conect, list root folder, browse to a folder and then try to get 14 files, the first one was okay but the 13 next was in "broken" state like i don't use the corect thread where cli is conected . 2008/7/13 Petit Eric : > Hi > Since this long time i always have this problem, so i will try to > explain it the more clear i can . > First, in globaly , as we now threat managment is not the same under > linux and windows. > I see and don't really know if it is bad or good, under windows when > you use a BackGroundWorker ( a "second" thread") you are not allowed > to "interacte" with GUI part. > Let's say a form with a textbox "TxtBx1" and a backgroundworker "Bck", > in the event : Bck_DoWork(...), if you say This.TxtBx1.Text = "some > text"; yu have a exception about invalid interthread operation. > But under linux you don't have exception ! > > Second : > My prog, CsObexftp : http://cs-obexftp.wiki.sourceforge.net/ is a tool > who use the "new" C# binding of obexftp : > http://dev.zuckschwerdt.org/openobex/ the popular console programme we > see in most linux OS. > The work of csobexftp is to conect to a device like a mobile phone by > Bluetooth, usb or irda and use obex protocole to transfert files. > > So i write csobexftp with 3 backgroundworker , one for conection > (BckConnect), one for read operation like download or list file > (BckRead) and a last to write like uploat/put file or make dir > (BckWrite). > > As we know A Windows Form App have 2 thread, one for the graphical > part other for the code with the 3 mine (Bck) we have 5 thread. > > The main compnent of the obexftp C# binding is "client", so in global > declaration i declare one : Client Cli = null; > Cli is in the thread 2 (code) > When user click on conect, i start the BckConnect work and then in > thread 3 i do a cli = new cli(conect args); > > When BckConnect finished is job (in thread 2) i start the BckRead > (thread 4) to list the root folder of the phone. > > when user select multiple files and say "get to my computer" i start > again the BckRead (thread 4) with the list of file to transfer and > made a loop to all files with cli.get_files(fssrce, dest); > In this loop i use BckRead.reportprogress to interacte with a > progressbar on GUI(thread2 and then thread 1). > > This stuff work gread under windows, i writed with Zany the author of > obexftp a little class "cs_stress_test" who run as a console program > to connect to phone and download a list of file, it work nice under > linux with a last Mono V1.91. > > But with cs-obexftp during loop the thread is not anymore executed , > this occure never at the same time, sometime after the 1th files other > time after the 14th file > > I see no error in Mono debug output and no error in obexftp debug > output where i set debug level to 5 (very hight debug ) > > The code who use the background worker can be read here : > > http://cs-obexftp.svn.sourceforge.net/viewvc/cs-obexftp/trunk/Cs-ObexFtp/Cs-ObexFtp/Forms/MainForm.cs?view=log > > My point of view is, it could be not a mono problem, but the fact i > transfert the "cli" object in 3 thread ? > But why i didn't see it under windows. > > Also i was say " Stability problem under linux MDV 2008 Cooker", so i > do some test under OpenSuse 11 and problem still here . From vesely at tana.it Mon Jul 14 10:03:04 2008 From: vesely at tana.it (Ale2008) Date: Mon, 14 Jul 2008 07:03:04 -0700 (PDT) Subject: [Mono-list] Stability problem under linux MDV 2008 Cooker In-Reply-To: <84776a970807131456g6dfbc305kaae4539c5a1fad29@mail.gmail.com> References: <84776a970712231401s68d7a223kc77a11de1d3b2d9c@mail.gmail.com> <1198984154.4181.117.camel@erandi.boston.ximian.com> <84776a970712300258h691be8c8y56409b08eadaaf41@mail.gmail.com> <1199032920.4472.28.camel@erandi.boston.ximian.com> <84776a970712301009u2558ebc5o2740a601cf22ba69@mail.gmail.com> <1199038683.4472.41.camel@erandi.boston.ximian.com> <84776a970712301204y5e801deci8ba6085e1f39afad@mail.gmail.com> <84776a970712301455h6e3c5a7eob1fe77f493cd0d2e@mail.gmail.com> <84776a970807131456g6dfbc305kaae4539c5a1fad29@mail.gmail.com> Message-ID: <18444588.post@talk.nabble.com> Petit Eric wrote: > > I see no error in Mono debug output and no error in obexftp debug > output where i set debug level to 5 (very hight debug ) > Hi Eric, I'm new to mono and not even a C# programmer... so I don't think I can help you much. However, I found out the hard way that setting G_SLICE=debug-blocks is a requirement for no-nonsense debugging with mono. I'd just be curious to know if you usually set that. Best Ale -- View this message in context: http://www.nabble.com/Stability-problem-under-linux-MDV-2008-Cooker-tp14482297p18444588.html Sent from the Mono - General mailing list archive at Nabble.com. From martindederer at gmx.de Mon Jul 14 12:00:08 2008 From: martindederer at gmx.de (Martin Dederer) Date: Mon, 14 Jul 2008 18:00:08 +0200 Subject: [Mono-list] executing mono binaries without explicit runtime invocation on opensuse Message-ID: <1216051208.27851.10.camel@r51> Hello all, is there any equivalent to the ubuntu binfmt-support package for opensuse? I would like to start my mono applications without prefixing them with the mono runtime when executing from a shell. Is there any other way to do this except shell-scripts or aliases? Thanks, Martin From g18c at hotmail.com Mon Jul 14 16:30:40 2008 From: g18c at hotmail.com (g18c) Date: Mon, 14 Jul 2008 13:30:40 -0700 (PDT) Subject: [Mono-list] System.DllNotFoundException: gdiplus.dll - libgdiplus.so is Missing on CentOS 5.1 / WHM (cPanel) Message-ID: <18452303.post@talk.nabble.com> Hi, I installed mono via Apache Update (Easy::Apache) in WHM (cPanel) which downloaded mod_mono 1.9, i then enabled ASP 2.0 for Mono as per: http://forums.cpanel.net/showthread.php?t=76453&page=2&highlight=mono http://forums.cpanel.net/showthread.php?t=76453&page=2&highlight=mono I then upload a simple ASP.net 2.0 application which fails to run, throwing a System.DllNotFoundException: gdiplus.dll exception: Server Error in '/test' Application -------------------------------------------------------------------------------- gdiplus.dll Description: HTTP 500. Error processing request. Stack Trace: 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] I have checked on this link but unfrotunatly I cant even find libgdiplus.so anywhere on my system, /usr/local/lib/, or otherwise. http://www.mono-project.com/DllNotFoundException http://www.mono-project.com/DllNotFoundException On checking mono-test-install it also fails: root at host [~]# /home/cpeasyapache/src/mono-1.9.1/scripts/mono-test-install Active Mono: Warning: pkg-config could not find mono installed on this system No dotnet pkgconfig found, Windows.Forms, System.Drawing and others will not work I'm not supprised its failing given the above file is missing, but my question relates to resolving this in a WHM installed environment. Am i better to remove mono in Easy::Apache and install this manually via 'yum', or are there other options for getting libgdiplus.so onto my system? Many thanks in advance, Chris -- View this message in context: http://www.nabble.com/System.DllNotFoundException%3A-gdiplus.dll---libgdiplus.so-is-Missing-on-CentOS-5.1---WHM-%28cPanel%29-tp18452303p18452303.html Sent from the Mono - General mailing list archive at Nabble.com. From g18c at hotmail.com Mon Jul 14 16:48:39 2008 From: g18c at hotmail.com (g18c) Date: Mon, 14 Jul 2008 13:48:39 -0700 (PDT) Subject: [Mono-list] System.DllNotFoundException: gdiplus.dll - libgdiplus.so is Missing on CentOS 5.1 / WHM (cPanel) In-Reply-To: <18452303.post@talk.nabble.com> References: <18452303.post@talk.nabble.com> Message-ID: <18452312.post@talk.nabble.com> g18c wrote: > > I'm not supprised its failing given the above file is missing, but my > question relates to resolving this in a WHM installed environment. Am i > better to remove mono in Easy::Apache and install this manually via 'yum', > or are there other options for getting libgdiplus.so onto my system? > Sorry for the slightly premature post, i installed libgdiplus via 'yum install libgdiplus', i now have the following installed on my CentOS 5.1 box: root at host [/usr/local/lib]# find / -name libgdiplus* /var/cache/yum/dag/packages/libgdiplus-1.0.5-1.2.el4.rf.i386.rpm /var/cache/yum/dag/headers/libgdiplus-1.0.5-1.2.el4.rf.i386.hdr /usr/lib/libgdiplus.so.0.0.0 /usr/lib/libgdiplus.so.0 /usr/share/doc/libgdiplus-1.0.5 However when i run: root at host [/usr/local/lib]# ldconfig -p |grep libgdiplus libgdiplus.so.0 (libc6) => /usr/lib/libgdiplus.so.0 I can see the lib is linked, but i still get same 'System.DllNotFoundException: gdiplus.dll' exception. Any pointers much appreciated. Regards, Chris -- View this message in context: http://www.nabble.com/System.DllNotFoundException%3A-gdiplus.dll---libgdiplus.so-is-Missing-on-CentOS-5.1---WHM-%28cPanel%29-tp18452303p18452312.html Sent from the Mono - General mailing list archive at Nabble.com. From valentin.sawadski at googlemail.com Mon Jul 14 16:59:09 2008 From: valentin.sawadski at googlemail.com (Valentin Sawadski) Date: Mon, 14 Jul 2008 22:59:09 +0200 Subject: [Mono-list] System.DllNotFoundException: gdiplus.dll - libgdiplus.so is Missing on CentOS 5.1 / WHM (cPanel) In-Reply-To: <18452312.post@talk.nabble.com> References: <18452303.post@talk.nabble.com> <18452312.post@talk.nabble.com> Message-ID: <1216069149.24568.1.camel@pi1536.site> Hi, On Mon, 2008-07-14 at 13:48 -0700, g18c wrote: > > g18c wrote: > > > > I'm not supprised its failing given the above file is missing, but my > > question relates to resolving this in a WHM installed environment. Am i > > better to remove mono in Easy::Apache and install this manually via 'yum', > > or are there other options for getting libgdiplus.so onto my system? > > > > Sorry for the slightly premature post, i installed libgdiplus via 'yum > install libgdiplus', i now have the following installed on my CentOS 5.1 > box: > > root at host [/usr/local/lib]# find / -name libgdiplus* > /var/cache/yum/dag/packages/libgdiplus-1.0.5-1.2.el4.rf.i386.rpm > /var/cache/yum/dag/headers/libgdiplus-1.0.5-1.2.el4.rf.i386.hdr > /usr/lib/libgdiplus.so.0.0.0 > /usr/lib/libgdiplus.so.0 > /usr/share/doc/libgdiplus-1.0.5 > > However when i run: > > root at host [/usr/local/lib]# ldconfig -p |grep libgdiplus > libgdiplus.so.0 (libc6) => /usr/lib/libgdiplus.so.0 > > I can see the lib is linked, but i still get same > 'System.DllNotFoundException: gdiplus.dll' exception. > > Any pointers much appreciated. Try looking at http://mono-project.com/DllNotFoundException and especially http://mono-project.com/Config_DllMap Hopefully this might help :-) Kind Regards, Valentin -------------- 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/20080714/b3f6fed9/attachment.bin From g18c at hotmail.com Mon Jul 14 17:28:59 2008 From: g18c at hotmail.com (Chris Morley ) Date: Mon, 14 Jul 2008 21:28:59 +0000 Subject: [Mono-list] System.DllNotFoundException: gdiplus.dll - libgdiplus.so is Missing on CentOS 5.1 / WHM (cPanel) Message-ID: Thanks for the reply, but the more I think about installin libgdiplus via yum the less happy I am. Should libgdiplus be installed by default and alongside in the same package when installing mono? Im concerned why mine was missing with installing mono via Easy::Apache WHM cPanel script. Furthermore I read on this mailgroup archives that the versions of libgdiplus and mono should be the same versions, this is not the case as my mono installed is 1.9 and the lib 1.0.5! Regards Chris -----Original Message----- From: Valentin Sawadski Sent: 15 July 2008 00:59 To: g18c at hotmail.com Cc: mono-list at lists.ximian.com Subject: Re: [Mono-list] System.DllNotFoundException: gdiplus.dll - libgdiplus.so is Missing on CentOS 5.1 / WHM (cPanel) Hi, ?On Mon, 2008-07-14 at 13:48 -0700, g18c wrote: ?> ?> g18c wrote: ?> > ?> > I'm not supprised its failing given the above file is missing, but my ?> > question relates to resolving this in a WHM installed environment. Am i ?> > better to remove mono in Easy::Apache and install this manually via 'yum', ?> > or are there other options for getting libgdiplus.so onto my system? ?> > ?> ?> Sorry for the slightly premature post, i installed libgdiplus via 'yum ?> install libgdiplus', i now have the following installed on my CentOS 5.1 ?> box: ?> ?> root at host [/usr/local/lib]# find / -name libgdiplus* ?> /var/cache/yum/dag/packages/libgdiplus-1.0.5-1.2.el4.rf.i386.rpm ?> /var/cache/yum/dag/headers/libgdiplus-1.0.5-1.2.el4.rf.i386.hdr ?> /usr/lib/libgdiplus.so.0.0.0 ?> /usr/lib/libgdiplus.so.0 ?> /usr/share/doc/libgdiplus-1.0.5 ?> ?> However when i run: ?> ?> root at host [/usr/local/lib]# ldconfig -p |grep libgdiplus ?>???????? libgdiplus.so.0 (libc6) => /usr/lib/libgdiplus.so.0 ?> ?> I can see the lib is linked, but i still get same ?> 'System.DllNotFoundException: gdiplus.dll' exception. ?> ?> Any pointers much appreciated. ?Try looking at http://mono-project.com/DllNotFoundException and ?especially http://mono-project.com/Config_DllMap ?Hopefully this might help :-) ?Kind Regards, ?Valentin From sebastien.pouliot at gmail.com Mon Jul 14 19:28:38 2008 From: sebastien.pouliot at gmail.com (Sebastien Pouliot) Date: Mon, 14 Jul 2008 19:28:38 -0400 Subject: [Mono-list] System.DllNotFoundException: gdiplus.dll - libgdiplus.so is Missing on CentOS 5.1 / WHM (cPanel) In-Reply-To: References: Message-ID: <1216078118.12392.91.camel@mizar.home> On Mon, 2008-07-14 at 21:28 +0000, Chris Morley wrote: > Thanks for the reply, but the more I think about installin libgdiplus > via yum the less happy I am. Not sure why ? anyway not sure you have the choice either ;-) unless you prefer building from sources... > Should libgdiplus be installed by default and alongside in the same > package when installing mono? By default ? no. There are case where libgdiplus is not needed. Generally your package manager is able to detect them and install it when necessary. > Im concerned why mine was missing with installing mono via > Easy::Apache WHM cPanel script. It's the first time I hear about this script. Did you contact the maintainer of the script to see if/how libgdiplus is supported/installed ? > Furthermore I read on this mailgroup archives that the versions of > libgdiplus and mono should be the same versions, this is not the case > as my mono installed is 1.9 and the lib 1.0.5! Yes, it's important that both version match. In this case I can assure you that the result of 1.9 and 1.0.5 will NOT work. Sebastien > > Regards > > Chris > > -----Original Message----- > From: Valentin Sawadski > Sent: 15 July 2008 00:59 > To: g18c at hotmail.com > Cc: mono-list at lists.ximian.com > Subject: Re: [Mono-list] System.DllNotFoundException: gdiplus.dll - > libgdiplus.so is Missing on CentOS 5.1 / WHM (cPanel) > > Hi, > > On Mon, 2008-07-14 at 13:48 -0700, g18c wrote: > > > > g18c wrote: > > > > > > I'm not supprised its failing given the above file is missing, > but my > > > question relates to resolving this in a WHM installed > environment. Am i > > > better to remove mono in Easy::Apache and install this manually > via 'yum', > > > or are there other options for getting libgdiplus.so onto my > system? > > > > > > > Sorry for the slightly premature post, i installed libgdiplus via > 'yum > > install libgdiplus', i now have the following installed on my > CentOS 5.1 > > box: > > > > root at host [/usr/local/lib]# find / -name libgdiplus* > > /var/cache/yum/dag/packages/libgdiplus-1.0.5-1.2.el4.rf.i386.rpm > > /var/cache/yum/dag/headers/libgdiplus-1.0.5-1.2.el4.rf.i386.hdr > > /usr/lib/libgdiplus.so.0.0.0 > > /usr/lib/libgdiplus.so.0 > > /usr/share/doc/libgdiplus-1.0.5 > > > > However when i run: > > > > root at host [/usr/local/lib]# ldconfig -p |grep libgdiplus > > libgdiplus.so.0 (libc6) => /usr/lib/libgdiplus.so.0 > > > > I can see the lib is linked, but i still get same > > 'System.DllNotFoundException: gdiplus.dll' exception. > > > > Any pointers much appreciated. > > Try looking at http://mono-project.com/DllNotFoundException and > especially http://mono-project.com/Config_DllMap > > Hopefully this might help :-) > > Kind Regards, > Valentin > > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list From surfzoid at gmail.com Tue Jul 15 03:39:28 2008 From: surfzoid at gmail.com (Petit Eric) Date: Tue, 15 Jul 2008 09:39:28 +0200 Subject: [Mono-list] Stability problem under linux MDV 2008 Cooker In-Reply-To: <487C4C63.8030203@tana.it> References: <84776a970712231401s68d7a223kc77a11de1d3b2d9c@mail.gmail.com> <1199032920.4472.28.camel@erandi.boston.ximian.com> <84776a970712301009u2558ebc5o2740a601cf22ba69@mail.gmail.com> <1199038683.4472.41.camel@erandi.boston.ximian.com> <84776a970712301204y5e801deci8ba6085e1f39afad@mail.gmail.com> <84776a970712301455h6e3c5a7eob1fe77f493cd0d2e@mail.gmail.com> <84776a970807131456g6dfbc305kaae4539c5a1fad29@mail.gmail.com> <18444588.post@talk.nabble.com> <84776a970807141457u26d54baakf1459f9c909a1e0b@mail.gmail.com> <487C4C63.8030203@tana.it> Message-ID: <84776a970807150039s205f82dfl6120b25eedbd807e@mail.gmail.com> 2008/7/15 Alessandro Vesely : > Hi Eric, >>> >>> However, I found out the hard way that setting G_SLICE=debug-blocks is a >>> requirement for no-nonsense debugging with mono. >> >> H? h? , yu think ishould do that ? > > If there is a chance that a bug depends on a C written function, absolutely > yes. Yes i have a managed C program (obexftp), can yu say me if i need to compile the C programe with G_SLICE=debug-blocks or in environment or when compiling Mono ? Better , do yu know a link with TODO to do that step by step, it is true i really need to see wath happen in the C code, a Valgrind for Mono should be very nice > >> Debuging mono : http://cs-obexftp.wiki.sourceforge.net/NixDebug >> I thing you can replace debug by trace to have more infos > > Yup, I did that. However, memory errors strike long after the point where > they've been committed, and appear as inexplicable broken logic no matter > how many "-v" I put on the command line. > > Ale > -- 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 vesely at tana.it Tue Jul 15 06:44:29 2008 From: vesely at tana.it (Alessandro Vesely) Date: Tue, 15 Jul 2008 12:44:29 +0200 Subject: [Mono-list] Stability problem under linux MDV 2008 Cooker In-Reply-To: <84776a970807150039s205f82dfl6120b25eedbd807e@mail.gmail.com> References: <84776a970712231401s68d7a223kc77a11de1d3b2d9c@mail.gmail.com> <1199032920.4472.28.camel@erandi.boston.ximian.com> <84776a970712301009u2558ebc5o2740a601cf22ba69@mail.gmail.com> <1199038683.4472.41.camel@erandi.boston.ximian.com> <84776a970712301204y5e801deci8ba6085e1f39afad@mail.gmail.com> <84776a970712301455h6e3c5a7eob1fe77f493cd0d2e@mail.gmail.com> <84776a970807131456g6dfbc305kaae4539c5a1fad29@mail.gmail.com> <18444588.post@talk.nabble.com> <84776a970807141457u26d54baakf1459f9c909a1e0b@mail.gmail.com> <487C4C63.8030203@tana.it> <84776a970807150039s205f82dfl6120b25eedbd807e@mail.gmail.com> Message-ID: <487C7F8D.8010102@tana.it> Petit Eric wrote: > 2008/7/15 Alessandro Vesely : >> Hi Eric, >>>> >>>> However, I found out the hard way that setting G_SLICE=debug-blocks is a >>>> requirement for no-nonsense debugging with mono. >>> >>> H? h? , yu think ishould do that ? >> >> If there is a chance that a bug depends on a C written function, absolutely >> yes. > Yes i have a managed C program (obexftp), can yu say me if i need to > compile the C programe with G_SLICE=debug-blocks or in environment or > when compiling Mono ? After compiling a managed C (i.e. C#) program one can always make sure that the compilation is correct by inspecting the assembly. When running it, [plain, i.e. unmanaged] C code supervises the execution. In normal C code, releasing a non-allocated memory block results in a core dump. In mono without debug-blocks, glib blindly accepts any released memory for later reallocation. That may result in overlapping variables at some further point during the execution. > Better , do yu know a link with TODO to do that step by step running "env G_SLICE=debug-blocks mono my.exe" would suffice for dismissing an occasional doubt. However, I'd recommend setting "export G_SLICE=debug-blocks" in a developer's .bashrc. The point is that, even if memory errors a quite uncommon, one of them is enough for all bets to be off. That's what managed code is all about. > it is > true i really need to see wath happen in the C code, a Valgrind for > Mono should be very nice Although mono can be instrumented with Valgrind tools, as mentioned in http://www.mono-project.com/Debugging, that is likely to cause performance degradation on a different scale w.r.t. glib internal checking (noticeable vs. unnoticeable). Ciao Ale From surfzoid at gmail.com Tue Jul 15 08:23:33 2008 From: surfzoid at gmail.com (Petit Eric) Date: Tue, 15 Jul 2008 14:23:33 +0200 Subject: [Mono-list] Stability problem under linux MDV 2008 Cooker In-Reply-To: <487C7F8D.8010102@tana.it> References: <84776a970712231401s68d7a223kc77a11de1d3b2d9c@mail.gmail.com> <1199038683.4472.41.camel@erandi.boston.ximian.com> <84776a970712301204y5e801deci8ba6085e1f39afad@mail.gmail.com> <84776a970712301455h6e3c5a7eob1fe77f493cd0d2e@mail.gmail.com> <84776a970807131456g6dfbc305kaae4539c5a1fad29@mail.gmail.com> <18444588.post@talk.nabble.com> <84776a970807141457u26d54baakf1459f9c909a1e0b@mail.gmail.com> <487C4C63.8030203@tana.it> <84776a970807150039s205f82dfl6120b25eedbd807e@mail.gmail.com> <487C7F8D.8010102@tana.it> Message-ID: <84776a970807150523u2c06a914j5dfd3e71feb5453a@mail.gmail.com> 2008/7/15 Alessandro Vesely : > Petit Eric wrote: >> >> 2008/7/15 Alessandro Vesely : >>> >>> Hi Eric, >>>>> >>>>> However, I found out the hard way that setting G_SLICE=debug-blocks is >>>>> a >>>>> requirement for no-nonsense debugging with mono. >>>> >>>> H? h? , yu think ishould do that ? >>> >>> If there is a chance that a bug depends on a C written function, >>> absolutely >>> yes. >> >> Yes i have a managed C program (obexftp), can yu say me if i need to >> compile the C programe with G_SLICE=debug-blocks or in environment or >> when compiling Mono ? > > After compiling a managed C (i.e. C#) program one can always make sure that > the compilation is correct by inspecting the assembly. When running it, > [plain, i.e. unmanaged] C code supervises the execution. In normal C code, > releasing a non-allocated memory block results in a core dump. In mono > without debug-blocks, glib blindly accepts any released memory for later > reallocation. That may result in overlapping variables at some further point > during the execution. > >> Better , do yu know a link with TODO to do that step by step > > running "env G_SLICE=debug-blocks mono my.exe" would suffice for dismissing > an occasional doubt. However, I'd recommend setting "export > G_SLICE=debug-blocks" in a developer's .bashrc. The point is that, even if > memory errors a quite uncommon, one of them is enough for all bets to be > off. That's what managed code is all about. > >> it is >> true i really need to see wath happen in the C code, a Valgrind for >> Mono should be very nice > > Although mono can be instrumented with Valgrind tools, as mentioned in > http://www.mono-project.com/Debugging, that is likely to cause performance > degradation on a different scale w.r.t. glib internal checking (noticeable > vs. unnoticeable). I will try all this, as soon as possible. molte grazie > > Ciao > Ale > > -- 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 amc1999 at gmail.com Tue Jul 15 12:22:54 2008 From: amc1999 at gmail.com (Amc Gmail) Date: Tue, 15 Jul 2008 12:22:54 -0400 Subject: [Mono-list] System.DllNotFoundException: gdiplus.dll - libgdiplus.so is Missing on CentOS 5.1 / WHM (cPanel) In-Reply-To: <1216078118.12392.91.camel@mizar.home> References: <1216078118.12392.91.camel@mizar.home> Message-ID: <48a304b00807150922v53d5ef8dh85fc02bf4a17476b@mail.gmail.com> >> > root at host [/usr/local/lib]# find / -name libgdiplus* >> > /var/cache/yum/dag/packages/libgdiplus-1.0.5-1.2.el4.rf.i386.rpm >> > /var/cache/yum/dag/headers/libgdiplus-1.0.5-1.2.el4.rf.i386.hdr >> > /usr/lib/libgdiplus.so.0.0.0 >> > /usr/lib/libgdiplus.so.0 >> > /usr/share/doc/libgdiplus-1.0.5 >> > >> > However when i run: >> > >> > root at host [/usr/local/lib]# ldconfig -p |grep libgdiplus >> > libgdiplus.so.0 (libc6) => /usr/lib/libgdiplus.so.0 >> > >> > I can see the lib is linked, but i still get same >> > 'System.DllNotFoundException: gdiplus.dll' exception. >> > >> > Any pointers much appreciated. >> >> Try looking at http://mono-project.com/DllNotFoundException and >> especially http://mono-project.com/Config_DllMap i had similar problem and it cause by Mono 1.9 installation issue (bug???). libgdiplus itself installed perfectly OK, but there is no dll-mapping defined in Mono. there are few ways to fix it (assuming Mono 1.9 installed in /mono/1.9/): 1. quick and NOT recommended in production. add export LD_LIBRARY_PATH=/momo/1.9/lib:$LD_LIBRARY_PATH into /mono/bin/mod-mono-server script (or mod-mono-server2) and restart mod-mono through http://localhost/mono (or restart Apache) 2. define gdiplus.dll mapping for System.Drawing.dll create System.Drawing.dll.config file: and copy it into /mono/1.9/lib/mono/gac/System.Drawing/***all-sub-dirs-here***/ i would expect that from Mono build/installer (why it does not?) 3. same as above, but in a simple way (i am using it myself) add following line into /mono/1.9/etc/mono/config hope it helps -- amc p.s.: version of libgdiplus MUST be same as Mono version. usually it is located in /your/mono/root/lib/ From g18c at hotmail.com Tue Jul 15 15:18:48 2008 From: g18c at hotmail.com (g18c) Date: Tue, 15 Jul 2008 12:18:48 -0700 (PDT) Subject: [Mono-list] Error 503 on Apache - Failed to connect to mod-mono-server after several attempts to spawn the process Message-ID: <18472872.post@talk.nabble.com> Hi, I have a CentOS 5.2 box running Apache 2.2 (which is tested and serving plain html ok). I have tried to compile Mono from source, everything compiled ok and seemed to install into the right paths. However when i try and run the test scripts (copied from /opt/mono/lib/xsp/test to my httpd files directory /var/www/html/) i get the following error page when ever I access the webserver: Error 503 - Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. -------------------------------------------------------------------------------- Apache/2.2.3 (CentOS) Server at 192.168.2.50 Port 80 The apache error log is as follows: #cat /var/log/http/error_log [Tue Jul 15 15:18:08 2008] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations [Tue Jul 15 15:18:41 2008] [error] Failed to connect to mod-mono-server after several attempts to spawn the process. To compile the source I performed the following steps: cd ~ yum install httpd build-essential gcc bzip bison pkgconfig glib-devel glib2-devel \ httpd-devel libpng-devel libX11-devel freetype fontconfig pango-devel ruby ruby-rdoc \ gtkhtml38-devel wget export PKG_CONFIG_PATH=/usr/lib/pkgconfig/:/opt/mono/lib/pkgconfig/:/usr/lib/ wget http://go-mono.com/sources/mono/mono-1.9.tar.bz2 wget http://go-mono.com/sources/libgdiplus/libgdiplus-1.9.tar.bz2 wget http://go-mono.com/sources/xsp/xsp-1.9.tar.bz2 wget http://go-mono.com/sources/mod_mono/mod_mono-1.9.tar.bz2 tar xf mono-1.9.tar.bz2 tar xf xsp-1.9.tar.bz2 tar xf mod_mono-1.2.4.tar.bz2 tar xf libgdiplus-1.9.tar.bz2 cd ~/mono-1.9 ./configure --prefix=/opt/mono make; make install export PATH=/opt/mono/bin:$PATH cd ~/xsp-1.9 ./configure --prefix=/opt/mono make; make install cd ~/mod_mono-1.9 ./configure --prefix=/opt/mono --with-mono-prefix=/opt/mono --with-apr-config=/usr/lib/httpd/modules make; make install cd ~/libgdiplus-1.9 ./configure make; make install Directory contents are as follows: [root at support httpd]# ls /opt/mono/bin/ al mono-api-info al2 mono-api-info2 asp-state monodis asp-state2 mono-find-provides caspol mono-find-requires cert2spc monograph certmgr monolinker chktrust monop cilc monop2 dbsessmgr mono-service dbsessmgr2 mono-service2 disco mono-shlib-cop dtd2rng mono-test-install dtd2xsd mono-xmltool fastcgi-mono-server mozroots fastcgi-mono-server2 nunit-console gacutil nunit-console2 genxs pedump gmcs permview httpcfg prj2make ilasm resgen ilasm2 resgen2 installvst secutil jay setreg macpack sgen makecert signcode mbas smcs mconfig sn mcs soapsuds mjs sqlsharp mkbundle wsdl mkbundle2 wsdl2 mod-mono-server xbuild mod-mono-server2 xsd mono xsp mono-api-diff xsp2 [root at support httpd]# ls /opt/mono/lib/ libgdiplus.a libmono-profiler-aot.so.0 libgdiplus.la libmono-profiler-aot.so.0.0.0 libgdiplus.so libmono-profiler-cov.a libgdiplus.so.0 libmono-profiler-cov.la libgdiplus.so.0.0.0 libmono-profiler-cov.so libikvm-native.a libmono-profiler-cov.so.0 libikvm-native.la libmono-profiler-cov.so.0.0.0 libikvm-native.so libmono.so libmono.a libmono.so.0 libmono.la libmono.so.0.0.0 libMonoPosixHelper.a libMonoSupportW.a libMonoPosixHelper.la libMonoSupportW.la libMonoPosixHelper.so libMonoSupportW.so libmono-profiler-aot.a mono libmono-profiler-aot.la pkgconfig libmono-profiler-aot.so xsp [root at support conf]# ls /usr/lib/httpd/modules/ libphp5.so mod_file_cache.so mod_actions.so mod_filter.so mod_alias.so mod_headers.so mod_asis.so mod_ident.so mod_auth_basic.so mod_imagemap.so mod_auth_digest.so mod_include.so mod_authn_alias.so mod_info.so mod_authn_anon.so mod_ldap.so mod_authn_dbd.so mod_log_config.so mod_authn_dbm.so mod_log_forensic.so mod_authn_default.so mod_logio.so mod_authn_file.so mod_mem_cache.so mod_authnz_ldap.so mod_mime_magic.so mod_authz_dbm.so mod_mime.so mod_authz_default.so mod_mono.so mod_authz_groupfile.so mod_mono.so.0.0.0 mod_authz_host.so mod_negotiation.so mod_authz_owner.so mod_proxy_ajp.so mod_authz_user.so mod_proxy_balancer.so mod_autoindex.so mod_proxy_connect.so mod_cache.so mod_proxy_ftp.so mod_cern_meta.so mod_proxy_http.so mod_cgid.so mod_proxy.so mod_cgi.so mod_rewrite.so mod_dav_fs.so mod_setenvif.so mod_dav.so mod_speling.so mod_dbd.so mod_status.so mod_deflate.so mod_suexec.so mod_dir.so mod_unique_id.so mod_disk_cache.so mod_userdir.so mod_dumpio.so mod_usertrack.so mod_env.so mod_version.so mod_expires.so mod_vhost_alias.so mod_ext_filter.so And my configuration files are as follows: [root at support httpd]# ls /etc/httpd/conf/mod_mono.conf LoadModule mono_module /usr/lib/httpd/modules/mod_mono.so AddType application/x-asp-net .aspx AddType application/x-asp-net .asmx AddType application/x-asp-net .ashx AddType application/x-asp-net .asax AddType application/x-asp-net .ascx AddType application/x-asp-net .soap AddType application/x-asp-net .rem AddType application/x-asp-net .axd AddType application/x-asp-net .cs AddType application/x-asp-net .config AddType application/x-asp-net .Config AddType application/x-asp-net .dll DirectoryIndex index.aspx DirectoryIndex Default.aspx DirectoryIndex default.aspx [root at support httpd]# ls /etc/httpd/conf/httpd.conf # This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions. # See for detailed information. # In particular, see # # for a discussion of each configuration directive. ### Section 1: Global Environment ServerTokens OS ServerRoot "/etc/httpd" PidFile run/httpd.pid Timeout 120 KeepAlive Off MaxKeepAliveRequests 100 KeepAliveTimeout 15 StartServers 8 MinSpareServers 5 MaxSpareServers 20 ServerLimit 256 MaxClients 256 MaxRequestsPerChild 4000 StartServers 2 MaxClients 150 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 25 MaxRequestsPerChild 0 Listen 80 LoadModule auth_basic_module modules/mod_auth_basic.so LoadModule auth_digest_module modules/mod_auth_digest.so LoadModule authn_file_module modules/mod_authn_file.so LoadModule authn_alias_module modules/mod_authn_alias.so LoadModule authn_anon_module modules/mod_authn_anon.so LoadModule authn_dbm_module modules/mod_authn_dbm.so LoadModule authn_default_module modules/mod_authn_default.so LoadModule authz_host_module modules/mod_authz_host.so LoadModule authz_user_module modules/mod_authz_user.so LoadModule authz_owner_module modules/mod_authz_owner.so LoadModule authz_groupfile_module modules/mod_authz_groupfile.so LoadModule authz_dbm_module modules/mod_authz_dbm.so LoadModule authz_default_module modules/mod_authz_default.so LoadModule ldap_module modules/mod_ldap.so LoadModule authnz_ldap_module modules/mod_authnz_ldap.so LoadModule include_module modules/mod_include.so LoadModule log_config_module modules/mod_log_config.so LoadModule logio_module modules/mod_logio.so LoadModule env_module modules/mod_env.so LoadModule ext_filter_module modules/mod_ext_filter.so LoadModule mime_magic_module modules/mod_mime_magic.so LoadModule expires_module modules/mod_expires.so LoadModule deflate_module modules/mod_deflate.so LoadModule headers_module modules/mod_headers.so LoadModule usertrack_module modules/mod_usertrack.so LoadModule setenvif_module modules/mod_setenvif.so LoadModule mime_module modules/mod_mime.so LoadModule dav_module modules/mod_dav.so LoadModule status_module modules/mod_status.so LoadModule autoindex_module modules/mod_autoindex.so LoadModule info_module modules/mod_info.so LoadModule dav_fs_module modules/mod_dav_fs.so LoadModule vhost_alias_module modules/mod_vhost_alias.so LoadModule negotiation_module modules/mod_negotiation.so LoadModule dir_module modules/mod_dir.so LoadModule actions_module modules/mod_actions.so LoadModule speling_module modules/mod_speling.so LoadModule userdir_module modules/mod_userdir.so LoadModule alias_module modules/mod_alias.so LoadModule rewrite_module modules/mod_rewrite.so LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_balancer_module modules/mod_proxy_balancer.so LoadModule proxy_ftp_module modules/mod_proxy_ftp.so LoadModule proxy_http_module modules/mod_proxy_http.so LoadModule proxy_connect_module modules/mod_proxy_connect.so LoadModule cache_module modules/mod_cache.so LoadModule suexec_module modules/mod_suexec.so LoadModule disk_cache_module modules/mod_disk_cache.so LoadModule file_cache_module modules/mod_file_cache.so LoadModule mem_cache_module modules/mod_mem_cache.so LoadModule cgi_module modules/mod_cgi.so LoadModule version_module modules/mod_version.so #LoadModule cern_meta_module modules/mod_cern_meta.so #LoadModule asis_module modules/mod_asis.so # Load config files from the config directory "/etc/httpd/conf.d". Include conf.d/*.conf Include /etc/httpd/conf/mod_mono.conf #ExtendedStatus On User apache Group apache ### Section 2: 'Main' server configuration ServerAdmin root at localhost ServerName support.mydomain.com:80 UseCanonicalName Off DocumentRoot "/var/www/html" Options FollowSymLinks AllowOverride None Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all UserDir public_html DirectoryIndex index.html index.html.var AccessFileName .htaccess Order allow,deny Deny from all TypesConfig /etc/mime.types DefaultType text/plain # MIMEMagicFile /usr/share/magic.mime MIMEMagicFile conf/magic HostnameLookups Off #EnableMMAP off #EnableSendfile off ErrorLog logs/error_log LogLevel warn LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent CustomLog logs/access_log combined ServerSignature On Alias /icons/ "/var/www/icons/" Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all # # WebDAV module configuration section. # # Location of the WebDAV lock database. DAVLockDB /var/lib/dav/lockdb ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" AllowOverride None Options None Order allow,deny Allow from all IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t AddLanguage en .en ForceLanguagePriority Prefer Fallback AddDefaultCharset UTF-8 AddType application/x-compress .Z AddType application/x-gzip .gz .tgz #AddHandler cgi-script .cgi #AddHandler send-as-is asis AddHandler type-map var AddType text/html .shtml AddOutputFilter INCLUDES .shtml Alias /error/ "/var/www/error/" AllowOverride None Options IncludesNoExec AddOutputFilter Includes html AddHandler type-map var Order allow,deny Allow from all LanguagePriority en es de fr ForceLanguagePriority Prefer Fallback # The following directives modify normal HTTP response behavior to # handle known problems with browser implementations. BrowserMatch "Mozilla/2" nokeepalive BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 BrowserMatch "RealPlayer 4\.0" force-response-1.0 BrowserMatch "Java/1\.0" force-response-1.0 BrowserMatch "JDK/1\.0" force-response-1.0 BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully BrowserMatch "MS FrontPage" redirect-carefully BrowserMatch "^WebDrive" redirect-carefully BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully BrowserMatch "^gnome-vfs/1.0" redirect-carefully BrowserMatch "^XML Spy" redirect-carefully BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully ### Section 3: Virtual Hosts #NameVirtualHost *:80 # # ServerAdmin webmaster at dummy-host.example.com # DocumentRoot /www/docs/dummy-host.example.com # ServerName dummy-host.example.com # ErrorLog logs/dummy-host.example.com-error_log # CustomLog logs/dummy-host.example.com-access_log common # I'm at a loss as to what i have done wrong, spent 4 hours on this and am pulling my hair out! Is there anything obvious I am missing? Many thanks in advance, Chris PS Sorry for the long post -- View this message in context: http://www.nabble.com/Error-503-on-Apache---Failed-to-connect-to-mod-mono-server-after-several-attempts-to-spawn-the-process-tp18472872p18472872.html Sent from the Mono - General mailing list archive at Nabble.com. From grendel at twistedcode.net Tue Jul 15 15:34:27 2008 From: grendel at twistedcode.net (Marek Habersack) Date: Tue, 15 Jul 2008 21:34:27 +0200 Subject: [Mono-list] Error 503 on Apache - Failed to connect to mod-mono-server after several attempts to spawn the process In-Reply-To: <18472872.post@talk.nabble.com> References: <18472872.post@talk.nabble.com> Message-ID: <20080715213427.4fce020a@twistedcode.net> On Tue, 15 Jul 2008 12:18:48 -0700 (PDT) g18c wrote: Hello, > Hi, I have a CentOS 5.2 box running Apache 2.2 (which is tested and serving > plain html ok). I have tried to compile Mono from source, everything > compiled ok and seemed to install into the right paths. However when i try > and run the test scripts (copied from /opt/mono/lib/xsp/test to my httpd > files directory /var/www/html/) i get the following error page when ever I > access the webserver: > > Error 503 - Service Temporarily Unavailable > The server is temporarily unable to service your request due to maintenance > downtime or capacity problems. Please try again later. [snip] > I'm at a loss as to what i have done wrong, spent 4 hours on this and am > pulling my hair out! Is there anything obvious I am missing? Get the srpm for the mod_mono module, modify the spec file to configure the sources with --enable-debug. Install the new rpm and run your app - the apache error log should contain more information. Basically what's happening is that either the mod-mono-server.exe backend isn't found or that it's failing at the start for some reason (sigabrt, sigsegv etc). You might want to use the strace tool to attach to the apache process and have it follow forks (-f or -ff if you want separate files) to see if the mod-mono-server process is started at all. best, marek From g18c at hotmail.com Wed Jul 16 02:24:22 2008 From: g18c at hotmail.com (Chris Morley) Date: Wed, 16 Jul 2008 06:24:22 +0000 Subject: [Mono-list] Error 503 on Apache - Failed to connect to mod-mono-server after several attempts to spawn the process In-Reply-To: <20080715213427.4fce020a@twistedcode.net> References: <18472872.post@talk.nabble.com> <20080715213427.4fce020a@twistedcode.net> Message-ID: > Get the srpm for the mod_mono module, modify the spec file to configure the sources> with --enable-debug. Install the new rpm and run your app - the apache error log> should contain more information. Basically what's happening is that either the> mod-mono-server.exe backend isn't found or that it's failing at the start for some> reason (sigabrt, sigsegv etc). You might want to use the strace tool to attach to> the apache process and have it follow forks (-f or -ff if you want separate files)> to see if the mod-mono-server process is started at all. Hi, i rebuilt mod_mono with: # make uninstall; make clean # ./configure --prefix=/opt/mono --with-mono-prefix=/opt/mono --with-apr-config=/usr/lib/httpd/modules --enable-debug # make; make install I now get the following in the error log, however i cant see why it is failing: [root at support httpd]# cat logs/error_log[Wed Jul 16 03:15:30 2008] [notice] SELinux policy enabled; httpd running as context root:system_r:httpd_t:s0[Wed Jul 16 03:15:30 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)[Wed Jul 16 03:15:30 2008] [warn] creating mono server config[Wed Jul 16 03:15:30 2008] [warn] Temporarily switching to target uid/gid[Wed Jul 16 03:15:30 2008] [warn] creating dashboard mutex = /tmp/mod_mono_dashboard_XXGLOBAL_1.lock[Wed Jul 16 03:15:30 2008] [warn] Requested locking mechanism nam