[julia-users] Nettle basic usage example gives pointer(ASCIIString,) error

2014-06-30 Thread jwmillerusa
Hi, I get the following error when running the hashing functionality example for Nettle: julia using Nettle julia h = HashState(SHA256) SHA256 Hash state julia update!(h, this is a test) ERROR: no method pointer(ASCIIString,) in update! at C:\Users\jeff\.julia\Nettle\src\hash.jl:74

Re: [julia-users] Nettle basic usage example gives pointer(ASCIIString,) error

2014-06-30 Thread Elliot Saba
Hmm, what version of Nettle do you have installed? Pkg.status() should tell you. -E On Mon, Jun 30, 2014 at 7:19 AM, jwmillerusa jwmiller...@gmail.com wrote: Hi, I get the following error when running the hashing functionality example for Nettle: julia using Nettle julia h =

Re: [julia-users] Nettle basic usage example gives pointer(ASCIIString,) error

2014-06-30 Thread Jeff Miller
Ah, I see. I had Nettle version 0.1.4 (which requires Julia version 0.3?). I reverted to Nettle version 0.1.3 and it works now. Thanks, Elliot! Jeff Le lundi 30 juin 2014 14:47:15 UTC-4, Elliot Saba a écrit : Hmm, what version of Nettle do you have installed? Pkg.status() should tell

Re: [julia-users] Nettle basic usage example gives pointer(ASCIIString,) error

2014-06-30 Thread Elliot Saba
How did you get 0.1.4 installed on Julia 0.2.1? Hopefully that should be difficult, as the package manager is supposed to do the right thing automatically. -E On Mon, Jun 30, 2014 at 12:23 PM, Jeff Miller jwmiller...@gmail.com wrote: Ah, I see. I had Nettle version 0.1.4 (which requires

Re: [julia-users] Nettle basic usage example gives pointer(ASCIIString,) error

2014-06-30 Thread Jeff Miller
I believe it was installed when I did Pkg.add(WebSockets). I don't recall whether or not there was a warning about an insufficient Julia version. I just tried removing WebSockets (which also removed Nettle), and when I added it again, it gives me Nettle 0.1.3. I'm not sure why it

Re: [julia-users] Nettle basic usage example gives pointer(ASCIIString,) error

2014-06-30 Thread Elliot Saba
Well, glad it seems to be doing something reasonable now. Let me know if it happens again! -E On Mon, Jun 30, 2014 at 2:04 PM, Jeff Miller jwmiller...@gmail.com wrote: I believe it was installed when I did Pkg.add(WebSockets). I don't recall whether or not there was a warning about an

Re: [julia-users] Nettle basic usage example gives pointer(ASCIIString,) error

2014-06-30 Thread Jeff Miller
Will do. Thanks again for your help! Le lundi 30 juin 2014 17:16:09 UTC-4, Elliot Saba a écrit : Well, glad it seems to be doing something reasonable now. Let me know if it happens again! -E On Mon, Jun 30, 2014 at 2:04 PM, Jeff Miller jwmil...@gmail.com javascript: wrote: I