Re: [Mono-winforms-list] Clipboard.SetDataObject() doing nothing

2009-05-24 Thread Christoph Teuber
Hello,

thanks for your fast answer.

You were right, there were several changes, but nothing seems to be
connected with my SetDataObject() problem. But I found this statement:

2007-03-18 Jackson Harper jack...@ximian.com

* TextBoxBase.cs: Remove image pasting code for now. There is no
way to get an image on the clipboard right now anyways.

This ist from 2007, so it may be out of date, but does it mean, that
copying images to the clipboard doesn't work at all? I wonder, because

Clipboard.SetImage( im );

or

Clipboard.SetObjectData( im );

doesn't do anything either. (im is an image loaded as posted before). In
contrary,

Clipboard.SetObjectData(this is a test);

does work.

Greetings
cht



Stifu wrote:
 I know there've been clipboard fixes after 2.4, so you could check out SVN
 (or bugzilla).


 cht wrote:
   
 Hello, 

 I'm trying to do some clipboard stuff under Mono right now, and I have the
 problem, that Windows.Forms.Clipboard.SetDataObject() doesn't seem to do
 anything if a DataObject will be passed. 

 I do have the following two pieces of code, which both run under .NET 2.0,
 but running under mono (2.0.1, Ubuntu 9.04) leaves the clipboard
 completely unchanged. 

 private void testButton_Click(object sender, EventArgs e)
 {
 Image im = (Image)Bitmap.FromFile(test.jpg);
 DataObject dataObj = new DataObject();
 dataObj.SetData(im.GetType().ToString(), im);
 Clipboard.SetDataObject(dataObj, true);
  
 }

 private void testTextButton_Click(object sender, EventArgs e)
 {
 DataObject dataObj = new DataObject();
 string format = System.String;
 dataObj.SetData(format, this is a test);
 Clipboard.SetDataObject(dataObj, false);  
 }


 I compile using VS 2008.
 As Clipboard.cs seems to bee unchanged since 2.0.1, I didn't try
 installing Mono 2.4. But I would like to stay compatible to 2.0.1 anyway,
 so I hope I'm doing something wrong.

 Anybody any idea, why this is the case? 

 Thanks in advance 
 cht


 

   

___
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list


Re: [Mono-winforms-list] Clipboard.SetDataObject() doing nothing

2009-05-24 Thread Carlos Alberto Cortez
This issue has nothing to see with that Changelog entry.

Basically we have never supported copying/pasting other than text/rtf text.
So feel free to open a bug report for it :-)

Thanks!
Carlos.


2009/5/24 Christoph Teuber christoph.teu...@gmx.li

 Hello,

 thanks for your fast answer.

 You were right, there were several changes, but nothing seems to be
 connected with my SetDataObject() problem. But I found this statement:

 2007-03-18 Jackson Harper jack...@ximian.com

 * TextBoxBase.cs: Remove image pasting code for now. There is no
 way to get an image on the clipboard right now anyways.

 This ist from 2007, so it may be out of date, but does it mean, that
 copying images to the clipboard doesn't work at all? I wonder, because

 Clipboard.SetImage( im );

 or

 Clipboard.SetObjectData( im );

 doesn't do anything either. (im is an image loaded as posted before). In
 contrary,

 Clipboard.SetObjectData(this is a test);

 does work.

 Greetings
 cht



 Stifu wrote:
  I know there've been clipboard fixes after 2.4, so you could check out
 SVN
  (or bugzilla).
 
 
  cht wrote:
 
  Hello,
 
  I'm trying to do some clipboard stuff under Mono right now, and I have
 the
  problem, that Windows.Forms.Clipboard.SetDataObject() doesn't seem to do
  anything if a DataObject will be passed.
 
  I do have the following two pieces of code, which both run under .NET
 2.0,
  but running under mono (2.0.1, Ubuntu 9.04) leaves the clipboard
  completely unchanged.
 
  private void testButton_Click(object sender, EventArgs e)
  {
  Image im = (Image)Bitmap.FromFile(test.jpg);
  DataObject dataObj = new DataObject();
  dataObj.SetData(im.GetType().ToString(), im);
  Clipboard.SetDataObject(dataObj, true);
 
  }
 
  private void testTextButton_Click(object sender, EventArgs e)
  {
  DataObject dataObj = new DataObject();
  string format = System.String;
  dataObj.SetData(format, this is a test);
  Clipboard.SetDataObject(dataObj, false);
  }
 
 
  I compile using VS 2008.
  As Clipboard.cs seems to bee unchanged since 2.0.1, I didn't try
  installing Mono 2.4. But I would like to stay compatible to 2.0.1
 anyway,
  so I hope I'm doing something wrong.
 
  Anybody any idea, why this is the case?
 
  Thanks in advance
  cht
 
 
 
 
 

 ___
 Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-winforms-list

___
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list


Re: [Mono-winforms-list] Clipboard.SetDataObject() doing nothing

2009-05-24 Thread Ivan N. Zlatev
Hey,

There is already a bug for this:
https://bugzilla.novell.com/show_bug.cgi?id=357642

Basically we don't support IDataObject and custom data (clipboard)
formats and just hand-check for text and handle that in a magical way.
The best way (imho) to fix this is to have a IDataObject centric
clipboard implementation. I have some notes if someone is interested.


On Sun, May 24, 2009 at 4:33 PM, Carlos Alberto Cortez
calberto.cor...@gmail.com wrote:
 This issue has nothing to see with that Changelog entry.

 Basically we have never supported copying/pasting other than text/rtf text.
 So feel free to open a bug report for it :-)

 Thanks!
 Carlos.


 2009/5/24 Christoph Teuber christoph.teu...@gmx.li

 Hello,

 thanks for your fast answer.

 You were right, there were several changes, but nothing seems to be
 connected with my SetDataObject() problem. But I found this statement:

 2007-03-18 Jackson Harper jack...@ximian.com

 * TextBoxBase.cs: Remove image pasting code for now. There is no
 way to get an image on the clipboard right now anyways.

 This ist from 2007, so it may be out of date, but does it mean, that
 copying images to the clipboard doesn't work at all? I wonder, because

 Clipboard.SetImage( im );

 or

 Clipboard.SetObjectData( im );

 doesn't do anything either. (im is an image loaded as posted before). In
 contrary,

 Clipboard.SetObjectData(this is a test);

 does work.

 Greetings
 cht



 Stifu wrote:
  I know there've been clipboard fixes after 2.4, so you could check out
  SVN
  (or bugzilla).
 
 
  cht wrote:
 
  Hello,
 
  I'm trying to do some clipboard stuff under Mono right now, and I have
  the
  problem, that Windows.Forms.Clipboard.SetDataObject() doesn't seem to
  do
  anything if a DataObject will be passed.
 
  I do have the following two pieces of code, which both run under .NET
  2.0,
  but running under mono (2.0.1, Ubuntu 9.04) leaves the clipboard
  completely unchanged.
 
  private void testButton_Click(object sender, EventArgs e)
          {
              Image im = (Image)Bitmap.FromFile(test.jpg);
              DataObject dataObj = new DataObject();
              dataObj.SetData(im.GetType().ToString(), im);
              Clipboard.SetDataObject(dataObj, true);
 
          }
 
  private void testTextButton_Click(object sender, EventArgs e)
          {
              DataObject dataObj = new DataObject();
              string format = System.String;
              dataObj.SetData(format, this is a test);
              Clipboard.SetDataObject(dataObj, false);
          }
 
 
  I compile using VS 2008.
  As Clipboard.cs seems to bee unchanged since 2.0.1, I didn't try
  installing Mono 2.4. But I would like to stay compatible to 2.0.1
  anyway,
  so I hope I'm doing something wrong.
 
  Anybody any idea, why this is the case?
 
  Thanks in advance
  cht
 
 
 
 
 

 ___
 Mono-winforms-list maillist  -  mono-winforms-l...@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-winforms-list


 ___
 Mono-winforms-list maillist  -  mono-winforms-l...@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-winforms-list





-- 
Kind Regards,
Ivan N. Zlatev
___
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list


Re: [Mono-winforms-list] Clipboard.SetDataObject() doing nothing

2009-05-24 Thread Carlos Alberto Cortez
I already did some refactoring code to handle formats other than text, we
only need to copy the information just as other x11 applications do that :-)

But anyway, feel free to send (me) those notes as well :-)

Carlos.

2009/5/24 Ivan N. Zlatev cont...@i-nz.net

 Hey,

 There is already a bug for this:
 https://bugzilla.novell.com/show_bug.cgi?id=357642

 Basically we don't support IDataObject and custom data (clipboard)
 formats and just hand-check for text and handle that in a magical way.
 The best way (imho) to fix this is to have a IDataObject centric
 clipboard implementation. I have some notes if someone is interested.


 On Sun, May 24, 2009 at 4:33 PM, Carlos Alberto Cortez
 calberto.cor...@gmail.com wrote:
  This issue has nothing to see with that Changelog entry.
 
  Basically we have never supported copying/pasting other than text/rtf
 text.
  So feel free to open a bug report for it :-)
 
  Thanks!
  Carlos.
 
 
  2009/5/24 Christoph Teuber christoph.teu...@gmx.li
 
  Hello,
 
  thanks for your fast answer.
 
  You were right, there were several changes, but nothing seems to be
  connected with my SetDataObject() problem. But I found this statement:
 
  2007-03-18 Jackson Harper jack...@ximian.com
 
  * TextBoxBase.cs: Remove image pasting code for now. There is no
  way to get an image on the clipboard right now anyways.
 
  This ist from 2007, so it may be out of date, but does it mean, that
  copying images to the clipboard doesn't work at all? I wonder, because
 
  Clipboard.SetImage( im );
 
  or
 
  Clipboard.SetObjectData( im );
 
  doesn't do anything either. (im is an image loaded as posted before). In
  contrary,
 
  Clipboard.SetObjectData(this is a test);
 
  does work.
 
  Greetings
  cht
 
 
 
  Stifu wrote:
   I know there've been clipboard fixes after 2.4, so you could check out
   SVN
   (or bugzilla).
  
  
   cht wrote:
  
   Hello,
  
   I'm trying to do some clipboard stuff under Mono right now, and I
 have
   the
   problem, that Windows.Forms.Clipboard.SetDataObject() doesn't seem to
   do
   anything if a DataObject will be passed.
  
   I do have the following two pieces of code, which both run under .NET
   2.0,
   but running under mono (2.0.1, Ubuntu 9.04) leaves the clipboard
   completely unchanged.
  
   private void testButton_Click(object sender, EventArgs e)
   {
   Image im = (Image)Bitmap.FromFile(test.jpg);
   DataObject dataObj = new DataObject();
   dataObj.SetData(im.GetType().ToString(), im);
   Clipboard.SetDataObject(dataObj, true);
  
   }
  
   private void testTextButton_Click(object sender, EventArgs e)
   {
   DataObject dataObj = new DataObject();
   string format = System.String;
   dataObj.SetData(format, this is a test);
   Clipboard.SetDataObject(dataObj, false);
   }
  
  
   I compile using VS 2008.
   As Clipboard.cs seems to bee unchanged since 2.0.1, I didn't try
   installing Mono 2.4. But I would like to stay compatible to 2.0.1
   anyway,
   so I hope I'm doing something wrong.
  
   Anybody any idea, why this is the case?
  
   Thanks in advance
   cht
  
  
  
  
  
 
  ___
  Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
  http://lists.ximian.com/mailman/listinfo/mono-winforms-list
 
 
  ___
  Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
  http://lists.ximian.com/mailman/listinfo/mono-winforms-list
 
 



 --
 Kind Regards,
 Ivan N. Zlatev

___
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list


Re: [Mono-winforms-list] Clipboard.SetDataObject() doing nothing

2009-05-24 Thread Christoph Teuber
doing that would be great. I did try to copy other data to clipboard
because I'm working on an small app syncing two clipboards over the LAN.
So I try to copy Windows clipboard contents on Linux. For my own
personal needs, it should work across platform boundaries, but text is
enough. Which works. But other people may have other needs, so I try to
support different formats.

What confuses me is, that clipboard handling within X11 seems to be
quite complicated. For other formats than text, most applications I
tried seem to use their one clipboard. Cutting in Gimp doesn't paste in
OpenOffice Draw and vice versa. So maybe supporting other formats
wouldn't be that usefull, but having the capability of copy and paste
other formats between mono applications would be a good start.

Does anybody of you know a good document explaining the situation?

cht


Carlos Alberto Cortez wrote:
 I already did some refactoring code to handle formats other than text,
 we only need to copy the information just as other x11 applications do
 that :-)

 But anyway, feel free a magicalto send (me) those notes as well :-)

 Carlos.

 2009/5/24 Ivan N. Zlatev cont...@i-nz.net mailto:cont...@i-nz.net

 Hey,

 There is already a bug for this:
 https://bugzilla.novell.com/show_bug.cgi?id=357642

 Basically we don't support IDataObject and custom data (clipboard)
 formats and just hand-check for text and handle that in a magical way.
 The best way (imho) to fix this is to have a IDataObject centric
 clipboard implementation. I have some notes if someone is interested.


 On Sun, May 24, 2009 at 4:33 PM, Carlos Alberto Cortez
 calberto.cor...@gmail.com mailto:calberto.cor...@gmail.com wrote:
  This issue has nothing to see with that Changelog entry.
 
  Basically we have never supported copying/pasting other than
 text/rtf text.
  So feel free to open a bug report for it :-)
 
  Thanks!
  Carlos.
 
 
  2009/5/24 Christoph Teuber christoph.teu...@gmx.li
 mailto:christoph.teu...@gmx.li
 
  Hello,
 
  thanks for your fast answer.
 
  You were right, there were several changes, but nothing seems to be
  connected with my SetDataObject() problem. But I found this
 statement:
 
  2007-03-18 Jackson Harper jack...@ximian.com
 mailto:jack...@ximian.com
 
  * TextBoxBase.cs: Remove image pasting code for now. There is no
  way to get an image on the clipboard right now anyways.
 
  This ist from 2007, so it may be out of date, but does it mean,
 that
  copying images to the clipboard doesn't work at all? I wonder,
 because
 
  Clipboard.SetImage( im );
 
  or
 
  Clipboard.SetObjectData( im );
 
  doesn't do anything either. (im is an image loaded as posted
 before). In
  contrary,
 
  Clipboard.SetObjectData(this is a test);
 
  does work.
 
  Greetings
  cht
 
 
 
  Stifu wrote:
   I know there've been clipboard fixes after 2.4, so you could
 check out
   SVN
   (or bugzilla).
  
  
   cht wrote:
  
   Hello,
  
   I'm trying to do some clipboard stuff under Mono right now,
 and I have
   the
   problem, that Windows.Forms.Clipboard.SetDataObject()
 doesn't seem to
   do
   anything if a DataObject will be passed.
  
   I do have the following two pieces of code, which both run
 under .NET
   2.0,
   but running under mono (2.0.1, Ubuntu 9.04) leaves the clipboard
   completely unchanged.
  
   private void testButton_Click(object sender, EventArgs e)
   {
   Image im = (Image)Bitmap.FromFile(test.jpg);
   DataObject dataObj = new DataObject();
   dataObj.SetData(im.GetType().ToString(), im);
   Clipboard.SetDataObject(dataObj, true);
  
   }
  
   private void testTextButton_Click(object sender, EventArgs e)
   {
   DataObject dataObj = new DataObject();
   string format = System.String;
   dataObj.SetData(format, this is a test);
   Clipboard.SetDataObject(dataObj, false);
   }
  
  
   I compile using VS 2008.
   As Clipboard.cs seems to bee unchanged since 2.0.1, I didn't try
   installing Mono 2.4. But I would like to stay compatible to
 2.0.1
   anyway,
   so I hope I'm doing something wrong.
  
   Anybody any idea, why this is the case?
  
   Thanks in advance
   cht
  
  
  
  
  
 
  ___
  Mono-winforms-list maillist  -
  Mono-winforms-list@lists.ximian.com
 mailto:Mono-winforms-list@lists.ximian.com
  http://lists.ximian.com/mailman/listinfo/mono-winforms-list
 
 

Re: [Mono-dev] [PATCH] Upgrade RabbitMQ libraries to version 1.5.3

2009-05-24 Thread Mirco Bauer
On Sun, 24 May 2009 09:20:07 +0100
Michael Barker m...@middlesoft.co.uk wrote:

 Hi,
 
 Actually, due to tricky dependency issue, we don't use the spec/*.xml
 files in the build; we've checked in the generated source (yes it is a
 hack) and make the regeneration from the spec files a manual step
 (this only needs to happen when I pull in a new version of RabbitMQ).
 So deleting the spec/*.xml files isn't a problem technically, but it
 may mean that we do not have all of the source code.

Don't include anything from the specification file in the .cs file
though, as the documentation is non-free too. Right now the
specification documentation is included into the source.

 
 Does Debian package Apache QPid or OpenAMQ?  If so, how is it handled
 those packages?

They don't have such strict specification licenses, I checked the
python implementation and the specification implementation bits were
BSD-style license.

 
 Regards,
 Michael Barker.
 
-- 
Regards,

Mirco 'meebey' Bauer

PGP-Key ID: 0xEEF946C8

FOSS Developermee...@meebey.net  http://www.meebey.net/
PEAR Developermee...@php.net http://pear.php.net/
Debian Developer  mee...@debian.org  http://www.debian.org/
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] [PATCH] Upgrade RabbitMQ libraries to version 1.5.3

2009-05-24 Thread Mirco Bauer
On Sun, 24 May 2009 11:13:12 -0400
Miguel de Icaza mig...@novell.com wrote:

  Well the generated .cs file is already there, but contains parts
  of the
  specification, those are non-free bits too :) So someone has to
  generate a naked C# interface from that, that's what I meant with my
  first post.
 
 Please provide details in the mailing list.   Vague details like
 this are not useful to me, I cant do anything about it

Well if you take a look at the xml and then the cs file it is very
obvious (ok, at least to me).

So here it is:

qpid-amqp.0-8.xml says

 License
 ===
 JPMorgan Chase Bank  Co., Cisco Systems, Inc., Envoy Technologies
 Inc., iMatix  Corporation, IONA Technologies, Red Hat, Inc., TWIST
 Process Innovations, and  29West Inc. (collectively, the Authors)
 each hereby grants to you a worldwide, perpetual, royalty-free,
 nontransferable, nonexclusive license to (i) copy, display,
 distribute and implement the Advanced Messaging Queue Protocol
 (AMQP) Specification and (ii) the Licensed Claims that are held by
 the Authors, all for the purpose of implementing the Advanced
 Messaging Queue Protocol Specification.

That's cleary not an open-source license (as it's an specification
license). You are not allowed to modify nor to redistribute the
modified version.

Now the specification file contains interface descriptions like this:

 field name=mechanism type=shortstr
 selected security mechanism
 doc
 A single security mechanisms selected by the client, which must be
 one of those specified by the server.
 /doc
 ...
 /field

The used and needed source code file autogenerated-api-qpid-0-8.cs now
contains for example:

/// summary
/// 
///   A single security mechanisms selected by the client, which must 
 be
///   one of those specified by the server.
///
/// /summary
string Mechanism { get; }

The description was copied from the non-free specification (and no otherwise
defined licensed for the documentation strings) into the generated C# interface
definition.

This makes this C# code as is non-free, too.

This is exactly the same matter when developers implement RFC standards and copy
documentation from it into their source. The license of the specification is 
not an
open-source license.

 
 
  If I would have the time and interest I would have done that already
  long time ago.
 
 WEll, it seems that the XML files are not used, so it is a non- 
 issue.   You can continue stripping the XML files.

That's what I did, the .xml files and .cs file is gone, everywhere else 
remained, as
covered by the Apache 2.0 license (but doesn't compile anymore).

I hope it's now clear what I tried to point out.

 
 Miguel.


-- 
Regards,

Mirco 'meebey' Bauer

PGP-Key ID: 0xEEF946C8

FOSS Developermee...@meebey.net  http://www.meebey.net/
PEAR Developermee...@php.net http://pear.php.net/
Debian Developer  mee...@debian.org  http://www.debian.org/
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] gc heap multi-threading

2009-05-24 Thread Steve Bjorg
I'm working on some lock-free data structures in c# and have a  
question on the internals of the GC on mono.  Does each thread have  
its own heap that it can allocate from?  Or asked differently, does  
new object() always cause a lock on the global heap or only when the  
thread's local heap is exhausted?  Thanks.

- Steve

--
Steve G. Bjorg
http://mindtouch.com
http://twitter.com/bjorg
irc.freenode.net #mindtouch

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-list] Problem installing service

2009-05-24 Thread Derek Ekins
Hi,
I am trying to use installutil.exe to install my service.

I am getting the following error and I am not sure what to make of it as I
have apps on this server that are using the mentioned classes.
Any help much appreciated!

r...@ip-10-226-103-117:/srv/media-app/service# mono
/usr/local/lib/mono/2.0/installutil.exe mediaapp.monitoring.service.exe

** (/usr/local/lib/mono/2.0/installutil.exe:1680): WARNING **: The class
System.Collections.Generic.IList`1 could not be loaded, used in mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Stacktrace:

  at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes (bool)
0x4
  at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes (bool)
0x
  at System.Reflection.Assembly.GetTypes () 0x00018
  at InstallUtil.Perform (bool,string) 0x000fd
  at InstallUtil.Install (string) 0x00012
  at InstallUtil.Main (string[]) 0x004b6
  at (wrapper runtime-invoke) InstallUtil.runtime_invoke_int_object
(object,intptr,intptr,intptr) 0x

Native stacktrace:

mono [0x80cbd64]
mono [0x80f66fb]
[0x438440]
mono [0x815c79c]
mono [0x815d6e7]
mono [0x815e854]
mono(mono_class_init+0x744) [0x815f004]
mono(mono_type_get_object+0x14a) [0x81478aa]
mono [0x818016b]
mono [0x8183ad4]
[0x162ce2]
[0x162ca9]
[0x161d46]
[0x161c2b]
[0x161b27]
[0x161203]
mono(mono_runtime_exec_main+0x16e) [0x811fc5e]
mono(mono_runtime_run_main+0x16b) [0x812037b]
mono(mono_main+0x18f2) [0x80b3772]
mono [0x805af31]
/lib/tls/i686/nosegneg/libc.so.6(__libc_start_main+0xe5) [0xafb775]
mono [0x805ae61]

Debug info from gdb:


=
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=

Aborted
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Problem installing service

2009-05-24 Thread Petit Eric
Hey didn't know before there is an install service tool, i use a
simple script (init.d one ) : mono-service MyService.exe --arg

2009/5/24 Derek Ekins de...@spathi.com:
 Hi,
 I am trying to use installutil.exe to install my service.

 I am getting the following error and I am not sure what to make of it as I
 have apps on this server that are using the mentioned classes.
 Any help much appreciated!

 r...@ip-10-226-103-117:/srv/media-app/service# mono
 /usr/local/lib/mono/2.0/installutil.exe mediaapp.monitoring.service.exe

 ** (/usr/local/lib/mono/2.0/installutil.exe:1680): WARNING **: The class
 System.Collections.Generic.IList`1 could not be loaded, used in mscorlib,
 Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
 Stacktrace:

   at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes (bool)
 0x4
   at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes (bool)
 0x
   at System.Reflection.Assembly.GetTypes () 0x00018
   at InstallUtil.Perform (bool,string) 0x000fd
   at InstallUtil.Install (string) 0x00012
   at InstallUtil.Main (string[]) 0x004b6
   at (wrapper runtime-invoke) InstallUtil.runtime_invoke_int_object
 (object,intptr,intptr,intptr) 0x

 Native stacktrace:

     mono [0x80cbd64]
     mono [0x80f66fb]
     [0x438440]
     mono [0x815c79c]
     mono [0x815d6e7]
     mono [0x815e854]
     mono(mono_class_init+0x744) [0x815f004]
     mono(mono_type_get_object+0x14a) [0x81478aa]
     mono [0x818016b]
     mono [0x8183ad4]
     [0x162ce2]
     [0x162ca9]
     [0x161d46]
     [0x161c2b]
     [0x161b27]
     [0x161203]
     mono(mono_runtime_exec_main+0x16e) [0x811fc5e]
     mono(mono_runtime_run_main+0x16b) [0x812037b]
     mono(mono_main+0x18f2) [0x80b3772]
     mono [0x805af31]
     /lib/tls/i686/nosegneg/libc.so.6(__libc_start_main+0xe5) [0xafb775]
     mono [0x805ae61]

 Debug info from gdb:


 =
 Got a SIGSEGV while executing native code. This usually indicates
 a fatal error in the mono runtime or one of the native libraries
 used by your application.
 =

 Aborted


 ___
 Mono-list maillist  -  mono-l...@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list





-- 

Cordially.

Small Eric Quotations of the days:
---
If one day one reproaches you that your work is not a work of
professional, say you that:
Amateurs built the arch of Noah, and professionals the Titanic.
---

Few people are done for independence, it is the privilege of the powerful ones.
---

No key was wounded during the drafting of this message.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Problem installing service

2009-05-24 Thread Derek Ekins
Yup it is there - just isn't working for me right now!That is a good option
to know in case I can't get this working.

2009/5/24 Petit Eric surfz...@gmail.com

 Hey didn't know before there is an install service tool, i use a
 simple script (init.d one ) : mono-service MyService.exe --arg

 2009/5/24 Derek Ekins de...@spathi.com:
  Hi,
  I am trying to use installutil.exe to install my service.
 
  I am getting the following error and I am not sure what to make of it as
 I
  have apps on this server that are using the mentioned classes.
  Any help much appreciated!
 
  r...@ip-10-226-103-117:/srv/media-app/service# mono
  /usr/local/lib/mono/2.0/installutil.exe mediaapp.monitoring.service.exe
 
  ** (/usr/local/lib/mono/2.0/installutil.exe:1680): WARNING **: The class
  System.Collections.Generic.IList`1 could not be loaded, used in mscorlib,
  Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
  Stacktrace:
 
at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes
 (bool)
  0x4
at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes
 (bool)
  0x
at System.Reflection.Assembly.GetTypes () 0x00018
at InstallUtil.Perform (bool,string) 0x000fd
at InstallUtil.Install (string) 0x00012
at InstallUtil.Main (string[]) 0x004b6
at (wrapper runtime-invoke) InstallUtil.runtime_invoke_int_object
  (object,intptr,intptr,intptr) 0x
 
  Native stacktrace:
 
  mono [0x80cbd64]
  mono [0x80f66fb]
  [0x438440]
  mono [0x815c79c]
  mono [0x815d6e7]
  mono [0x815e854]
  mono(mono_class_init+0x744) [0x815f004]
  mono(mono_type_get_object+0x14a) [0x81478aa]
  mono [0x818016b]
  mono [0x8183ad4]
  [0x162ce2]
  [0x162ca9]
  [0x161d46]
  [0x161c2b]
  [0x161b27]
  [0x161203]
  mono(mono_runtime_exec_main+0x16e) [0x811fc5e]
  mono(mono_runtime_run_main+0x16b) [0x812037b]
  mono(mono_main+0x18f2) [0x80b3772]
  mono [0x805af31]
  /lib/tls/i686/nosegneg/libc.so.6(__libc_start_main+0xe5) [0xafb775]
  mono [0x805ae61]
 
  Debug info from gdb:
 
 
  =
  Got a SIGSEGV while executing native code. This usually indicates
  a fatal error in the mono runtime or one of the native libraries
  used by your application.
  =
 
  Aborted
 
 
  ___
  Mono-list maillist  -  Mono-list@lists.ximian.com
  http://lists.ximian.com/mailman/listinfo/mono-list
 
 



 --

 Cordially.

 Small Eric Quotations of the days:
 ---
 If one day one reproaches you that your work is not a work of
 professional, say you that:
 Amateurs built the arch of Noah, and professionals the Titanic.
 ---

 Few people are done for independence, it is the privilege of the powerful
 ones.
 ---

 No key was wounded during the drafting of this message.

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Problem installing service

2009-05-24 Thread Robert Jordan
Derek Ekins wrote:
 Hi,
 I am trying to use installutil.exe to install my service.
 
 I am getting the following error and I am not sure what to make of it as I
 have apps on this server that are using the mentioned classes.
 Any help much appreciated!
 
 r...@ip-10-226-103-117:/srv/media-app/service# mono
 /usr/local/lib/mono/2.0/installutil.exe mediaapp.monitoring.service.exe
 
 ** (/usr/local/lib/mono/2.0/installutil.exe:1680): WARNING **: The class
 System.Collections.Generic.IList`1 could not be loaded, used in mscorlib,
 Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
 Stacktrace:

The error occurs because installutil is compiled only for .NET 1.1.
Anyways, it won't be able to install your service, because there
is no service manager in linux.

You'll have more luck with mono-service  and a run level script.

Robert

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Problem installing service

2009-05-24 Thread Derek Ekins
Thanks for clearing that up.I take it that it is only meant for windows
installs then?


2009/5/24 Robert Jordan robe...@gmx.net

 Derek Ekins wrote:
  Hi,
  I am trying to use installutil.exe to install my service.
 
  I am getting the following error and I am not sure what to make of it as
 I
  have apps on this server that are using the mentioned classes.
  Any help much appreciated!
 
  r...@ip-10-226-103-117:/srv/media-app/service# mono
  /usr/local/lib/mono/2.0/installutil.exe mediaapp.monitoring.service.exe
 
  ** (/usr/local/lib/mono/2.0/installutil.exe:1680): WARNING **: The class
  System.Collections.Generic.IList`1 could not be loaded, used in mscorlib,
  Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
  Stacktrace:

 The error occurs because installutil is compiled only for .NET 1.1.
 Anyways, it won't be able to install your service, because there
 is no service manager in linux.

 You'll have more luck with mono-service  and a run level script.

 Robert

 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] new IronPython changes reveal Mono bug in accessing protected methods?

2009-05-24 Thread Doug Blank
I'm testing the latest stable build (0.91) of the DLR (Dynamic Language
Runtime) from:

http://dlr.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=21424#ReleaseFiles

with that version of IronPython. Trying this Python code with mono ipy.exe:

import clr
clr.AddReference(System.Windows.Forms)
from System.Windows.Forms import *
class MyForm(Form): pass
f = MyForm()
f.SetStyle(ControlStyles.UserPaint, True)

Gives:

Traceback (most recent call last):
TypeError: cannot access protected member SetStyle without a python subclass
of Control

This was also releated to an error that Microsoft had earlier that exposed
protected methods, and now requires the MyForm wrapper, see:

http://dlr.codeplex.com/Thread/View.aspx?ThreadId=57324

I'm using:

$ mono --version
Mono JIT compiler version 134631 (tarball Sat May 23 10:52:56 UTC 2009)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
TLS:   __thread
GC:Included Boehm (with typed GC and Parallel Mark)
SIGSEGV:   altstack
Notifications: epoll
Architecture:  x86
Disabled:  none

I've also tried the latest version of IronPython independent of the DLR, and
both versions of ipy.exe under .NET on Windows work fine, so this looks like
a Mono bug, although strange that it worked before MS fixed IronPython so
that you had to subclass Form to access the protected SetStyle. That must
have uncovered a Mono bug, don't you think?

Any feedback appreciated,

-Doug
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Problem installing service

2009-05-24 Thread Petit Eric
2009/5/24 Derek Ekins de...@spathi.com:
 Thanks for clearing that up.
 I take it that it is only meant for windows installs then?

Windows work in a differante way, you need to manage some class
installer and use similare of one of my batch script :
http://clamwinrt.svn.sourceforge.net/viewvc/clamwinrt/ClamWinRT.ConvertedToCs/bin/Debug/

 2009/5/24 Robert Jordan robe...@gmx.net

 Derek Ekins wrote:
  Hi,
  I am trying to use installutil.exe to install my service.
 
  I am getting the following error and I am not sure what to make of it as
  I
  have apps on this server that are using the mentioned classes.
  Any help much appreciated!
 
  r...@ip-10-226-103-117:/srv/media-app/service# mono
  /usr/local/lib/mono/2.0/installutil.exe mediaapp.monitoring.service.exe
 
  ** (/usr/local/lib/mono/2.0/installutil.exe:1680): WARNING **: The class
  System.Collections.Generic.IList`1 could not be loaded, used in
  mscorlib,
  Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
  Stacktrace:

 The error occurs because installutil is compiled only for .NET 1.1.
 Anyways, it won't be able to install your service, because there
 is no service manager in linux.

 You'll have more luck with mono-service  and a run level script.

 Robert

 ___
 Mono-list maillist  -  mono-l...@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list


 ___
 Mono-list maillist  -  mono-l...@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list





-- 

Cordially.

Small Eric Quotations of the days:
---
If one day one reproaches you that your work is not a work of
professional, say you that:
Amateurs built the arch of Noah, and professionals the Titanic.
---

Few people are done for independence, it is the privilege of the powerful ones.
---

No key was wounded during the drafting of this message.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list