Re: [Mono-list] Issue with SHA256 on Mono

2009-05-05 Thread Varun Rai
Hi Sebastien,

Thanks for your reply. I managed to fix the problem. It was not with the
file. The problem was with the byte[] recd on windows pc. The byte[] got
corrupted somehow. Because i manually compared the byte array in mono and
the other one in windows(.net) , they were the same.

Thanks again.
Varun


On Wed, May 6, 2009 at 2:58 AM, Sebastien Pouliot <
sebastien.poul...@gmail.com> wrote:

> On Tue, 2009-05-05 at 04:00 -0700, Varun Rai wrote:
> > I computed a hash for the file stream in mono. And the same method i used
> on
> > windows to compute the hash of the same file. I get two different byte
> > arrays. I tried to look into the problem but till now no solution. Does
> any
> > one know why this happens?
> >
> > Thanks,
> > Varun
> >
> > public static byte[] GetFileHash(string fileName)
> > {
> > byte[] dataHash = null;
> >
> > FileStream fs = new
> > FileStream(fileName,FileMode.Open,FileAccess.Read,FileShare.Read);
> >   byte[] data = new byte[fs.Length];
> >
> >   fs.Read(data,0, Convert.ToInt32(fs.Length));
> >   fs.Close();
> >
> >   SHA256 sha = new SHA256Managed();
> >   dataHash = sha.ComputeHash(data);
> >
> > return dataHash;
> > }
>
> Are you sure both files are truly identical (e.g. corrupted when
> copied) ? like have you run md5sum or sha1sum on both computers ?
>
> Next what happens if you change SHA256 for other hash algorithms, like
> SHA1, MD5, SHA384, SHA512... do you get the same results ? or something
> different ?
>
> If this is similar for all but SHA256 then please open a bug report on
> bugzilla.novell.com
>
> Thanks
> Sebastien
>
>
>
>
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Not all subscribers to event are being called...

2009-05-05 Thread Ryan Kirkpatrick
Chris Howie wrote:
> On Wed, Apr 29, 2009 at 9:26 PM, Ryan Kirkpatrick
>  wrote:
>> I can't provide code as it is proprietary, and my attempts to create a
>> simple test case so far have failed.
> 
> Take your original code and start removing pieces of code until the
> weird behavior stops.  Then you've found the code that's causing the
> problem.

That is was my next step, I justed want to see if my problem rang any 
bells. Seeing it has not, I will start doing that as soon as the project 
schedule allows. In the meantime I am running with Mono 2.2 just fine. 
Thanks.

-- 
Ryan Kirkpatrick , 303-209-7190
Senior Design Engineer
Inovonics Wireless Corporation

This email transmission and any documents, files or previous email
messages attached to it contains information that is confidential
or legally privileged. If you are not the intended recipient or a
person responsible for delivering this transmission to the intended
recipient, you are hereby notified that you must not read this
transmission and that any disclosure, copying, printing,
distribution or use of this transmission is strictly prohibited. If
you have received this transmission in error, please immediately
notify the sender by telephone or return email and delete the
original transmission and its attachments without reading or saving
in any manner. Thank you.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Issue with SHA256 on Mono

2009-05-05 Thread Sebastien Pouliot
On Tue, 2009-05-05 at 04:00 -0700, Varun Rai wrote:
> I computed a hash for the file stream in mono. And the same method i used on
> windows to compute the hash of the same file. I get two different byte
> arrays. I tried to look into the problem but till now no solution. Does any
> one know why this happens?
> 
> Thanks,
> Varun
> 
> public static byte[] GetFileHash(string fileName)
> {
> byte[] dataHash = null;
> 
> FileStream fs = new
> FileStream(fileName,FileMode.Open,FileAccess.Read,FileShare.Read);
>   byte[] data = new byte[fs.Length];
>   
>   fs.Read(data,0, Convert.ToInt32(fs.Length));
>   fs.Close();
>   
>   SHA256 sha = new SHA256Managed();
>   dataHash = sha.ComputeHash(data);
> 
> return dataHash;
> }

Are you sure both files are truly identical (e.g. corrupted when
copied) ? like have you run md5sum or sha1sum on both computers ?

Next what happens if you change SHA256 for other hash algorithms, like
SHA1, MD5, SHA384, SHA512... do you get the same results ? or something
different ?

If this is similar for all but SHA256 then please open a bug report on
bugzilla.novell.com

Thanks
Sebastien



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


[Mono-list] Issue with SHA256 on Mono

2009-05-05 Thread Varun Rai

I computed a hash for the file stream in mono. And the same method i used on
windows to compute the hash of the same file. I get two different byte
arrays. I tried to look into the problem but till now no solution. Does any
one know why this happens?

Thanks,
Varun

public static byte[] GetFileHash(string fileName)
{
byte[] dataHash = null;

FileStream fs = new
FileStream(fileName,FileMode.Open,FileAccess.Read,FileShare.Read);
byte[] data = new byte[fs.Length];

fs.Read(data,0, Convert.ToInt32(fs.Length));
fs.Close();

SHA256 sha = new SHA256Managed();
dataHash = sha.ComputeHash(data);

return dataHash;
}
-- 
View this message in context: 
http://www.nabble.com/Issue-with-SHA256-on-Mono-tp23385233p23385233.html
Sent from the Mono - General mailing list archive at Nabble.com.

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



[Mono-list] Mono 2.0.1 installable for Linux

2009-05-05 Thread Suchismita Panda
Hello,
 
I am facing some challenges while installing the mono with GTK# for the
following architectures
 
1-IA64 for SLES10 and SLES 11(mono 2.0.1)
2-i586 for SLES 9 (mono 1.9)
3-x86_64 for SLES 9 (mono 1.9)
 
I got the installable from the following location.
 
http://ftp.novell.com/pub/mono/archive/2.0.1/download/ for SLES 10 and SLES
11
 
http://ftp.novell.com/pub/mono/archive/1.9.1/download/ for SLES 9
 
I think for the 1st option, the location does not have the complete package.
Is there any other location where I can download the complete package for
IA64 for SLES10 and SLES 11(mono 2.0.1).
 
For the second and third options I am getting dependencies errors like
(System.Design),(System.Web) etc. which I am not able to solve.
 
Please help.
 
TIA

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email. 

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


Re: [Mono-list] cannot find metadata file

2009-05-05 Thread Danny Waite

Hi All,
 
Sorry to come back to you on this one, but I'm having troubles getting this 
working.
 
I've now pre-compiled my web app using VS2008 and Web Deployment Tool.
 
When I browse to the URL I get:
 
"This is a marker file generated by the precompilation tool".
 
What needs to be done to the apache configuration, ie. which extensions should 
be passed to mod_mono.
 
I know I'm missing something very silly.
 
TIA -- Danny


> Date: Thu, 30 Apr 2009 16:57:47 +0100
> Subject: Re: [Mono-list] cannot find metadata file
> From: donbonifa...@gmail.com
> To: dannywai...@hotmail.com
> CC: mono-list@lists.ximian.com
>
>> Interesting! Thanks Pedro. What do you mean by precompile?
>
> I mean this:
> http://gonzalo.name/blog/archive/archive-2009-Feb.html
>
> Our deploy process sends everything to a Web folder and then we call
> (using nant);
>
>> basedir="H:\WINDOWS\Microsoft.NET\Framework\v2.0.50727"
> program="aspnet_compiler"
> commandline="-nologo -f -c -fixednames -p Deploy/Web -v /
> Deploy/WebPrecompiled/" />
>
> This creates a WebPrecompiled folder with everything precompiled. The
> first access is faster because mono doesn't need to compile
> aspx/master/etc.
>
> Hope this helps,
> BR
>
> On Thu, Apr 30, 2009 at 4:49 PM, Danny Waite wrote:
>>
>> Interesting! Thanks Pedro. What do you mean by precompile? I'm using the 
>> publish function in Visual Studio (gulp) I saw that there is better support 
>> for that in 2.4 however maybe thats a bad way to do things.
>>
>> 
>>> Date: Thu, 30 Apr 2009 16:33:03 +0100
>>> Subject: Re: [Mono-list] cannot find metadata file
>>> From: donbonifa...@gmail.com
>>> To: dannywai...@hotmail.com
>>> CC: mono-list@lists.ximian.com
>>>
>>> I also experienced that behavior. What we now do is precompile
>>> everything. That way our websites never get that error when mono tries
>>> to compile them. :-)
>>>
>>> On Thu, Apr 30, 2009 at 4:21 PM, Danny Waite wrote:

 Hi All,

 I've been through various mono versions over time and have seen this error 
 throughout and it really has been beaten! It's an ASP.NET web app, quite a 
 simple one. It works well for a while until we get the following error.

 If we kill the mod-mono-server2.exe process or restart apache, it stops.

 Could anyone shed any light onto it before I pull my hair out! :-)

 Best,
 Danny


 Server Error in '/' Application


 Compilation Error
 Description: Error compiling a resource required to service this request. 
 Review your source file and modify it to fix this error.
 Compiler Error Message: CS0006: cannot find metadata file 
 `/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll'/manage/dynamic-interfaces.aspx

 Show Detailed Compiler Output:


 gmcs /target:library /debug+ /optimize- /warn:4 
 /out:"/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_3639c1f1.dll" 
 /r:"/usr/local/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll" 
 /r:"/usr/local/lib/mono/gac/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll"
  
 /r:"/usr/local/lib/mono/gac/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll"
  
 /r:"/usr/local/lib/mono/gac/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll"
  
 /r:"/usr/local/lib/mono/gac/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll"
  
 /r:"/usr/local/lib/mono/gac/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll"
  
 /r:"/usr/local/lib/mono/gac/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll"
  
 /r:"/usr/local/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll"
  
 /r:"/usr/local/lib/mono/gac/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll"
  
 /r:"/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/a41b7686/305f42ab_9444342d_0001/Mo
 no.Da
 ta.SqliteClient.dll" 
 /r:"/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/0c44534b/98006766_9444342d_0001/Mono.Data.dll"
  
 /r:"/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/fa8669ae/6ec25d83_9444342d_0001/Mono.Posix.dll"
  
 /r:"/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/3c856a06/a8c15e2b_9444342d_0001/Xrio.Enterprise.DataTypes.dll"
  
 /r:"/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/7dcf53f1/e98b67dc_9444342d_0001/Xrio.Standalone.Configuration.dll"
  
 /r:"/tmp/daemon-temp-aspnet-0/ade07c07/assembly/shadow/c09555f0/54d161dd_9444342d_0001/Xrio.Standalone.Service.dll"
  /r:"/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll" 
 /r:"/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_632a571.dll" /nowarn:0169 
 -- "/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_3639c1f1_0.cs" error 
 CS0006: cannot find metadata file 
 `/tmp/daemon-temp-aspnet-0/b5597ee1/App_Web_18ec48c7.dll'error CS0006: 
 can

Re: [Mono-list] developing moonlight apps

2009-05-05 Thread Michael Hutchinson
On Tue, May 5, 2009 at 12:48 PM, Daniel Soto  wrote:
>
> Anyone knows how to develop moonlight applications in mono? It's possible?

Use MonoDevelop in a parallel environment with Moonlight installed
from trunk, and MonoDevelop from trunk.

http://www.mono-project.com/Parallel_Mono_Environments

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


[Mono-list] developing moonlight apps

2009-05-05 Thread Daniel Soto
Hello everyone.

Anyone knows how to develop moonlight applications in mono? It's possible?

Any info will be appreciated.

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


Re: [Mono-list] Moonlight 2.0?

2009-05-05 Thread ggking7


Miguel de Icaza-2 wrote:
> 
>> Has moonlight 2.0 been released?  According to the roadmap, an alpha
>> should
>> be out now and a beta very soon:
>> 
>> http://www.mono-project.com/MoonlightRoadmap
> 
> It has just been released.
> 
> We got delayed by a few loose ends here and there.
> 

That's great, is it part of the mono download?  If so, which version did it
first appear in?

Has anyone tested it with Netflix "Watch Instantly"?

Thanks a lot.
-- 
View this message in context: 
http://www.nabble.com/Moonlight-2.0--tp23351408p23389725.html
Sent from the Mono - General mailing list archive at Nabble.com.

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


Re: [Mono-list] Portal code / CMS recs for ASP.NET (DotNetNuke/Rainbow/mojoPortal)

2009-05-05 Thread Tom Opgenorth
My 2 cents again, four years later:

I'm still with mojoPortal.  From a functional point of view, my only
complaint with mojoPortal is that Joe keeps pushing out updates faster
than I seem to get around to installing them.  :)  But seriously,
there's pretty good support for mojoPortal, and it's under actively
development.

There is also Graffiti CMS.  I've noticed a lot of guys switching to
that lately.  Played with it for a bit, and I liked it.

Not a big fan of DNN these days.

I like the code in Cuyahoga.  Clean and modular.


On Thu, Apr 30, 2009 at 20:38, fireworks  wrote:
>
> I've got the same question this fella had 4 years ago.  Any new opinions on
> this?  I'm looking for the same thing.
>
>
> John Kleven wrote:
>>
>> Hello,
>>
>> Hoping to get some info on what the recommended
>> CMS/portal application framework is for ASP.NET
>> running on apache/mono/linux.  Are there any
>> suggestions for what is best, what others are using,
>> blah blah blah?  Here's what i know about the 3 I
>> listed in the subject (DotNetNuke(DNN), Rainbow,
>> mojoPortal).  Maybe i'm missing other frameworks too
>> -- fill me in if so.
>>
>> DNN
>> Has anybody even gotten DotNetNuke (DNN) running on
>> Linux/mono yet?  Last i read you couldn't compile it
>> on Linux because the VB.NET compiler was still not
>> complete enough to do it.  Maybe somebody has compiled
>> it on windows and then ran it on Linux?  This portal
>> seems to be the most active, tested, so on and so
>> forth.  However its VB which (for me only) makes it a
>> bit less desirable than a C# app.
>>
>> Rainbow
>> Looks good.  Anybody using it with Mono?  More
>> importantly, anybody using it for a commercial venture
>> on mono??  Actually, for me, it looks like a clear cut
>> winner because its C# also.
>>
>> mojoPortal
>> More like a hobby but i guess thats how many OSS
>> projects start.
>>
>> Anyways, feedback (good, bad, ugly) appreciated.
>>
>> Thanks all -
>> John
>>
>>
>> __
>> Do You Yahoo!?
>> Tired of spam?  Yahoo! Mail has the best spam protection around
>> http://mail.yahoo.com
>> ___
>> Mono-list maillist  -  mono-l...@lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/Portal-code---CMS-recs-for-ASP.NET-%28DotNetNuke-Rainbow-mojoPortal%29-tp1877056p23327698.html
> Sent from the Mono - General mailing list archive at Nabble.com.
>
> ___
> Mono-list maillist  -  mono-l...@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>



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


Re: [Mono-list] Moonlight 2.0?

2009-05-05 Thread Michael Foord
2009/5/5 Miguel de Icaza 

> Hello,
>
> > Has moonlight 2.0 been released?  According to the roadmap, an alpha
> should
> > be out now and a beta very soon:
> >
> > http://www.mono-project.com/MoonlightRoadmap
>
> It has just been released.
>
> We got delayed by a few loose ends here and there.



Congratulations, w00t!

Michael


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



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