Ah, I think this issue is probably a bug in ForwardDiff, which I import in 
Lora. I will open an issue in ForwardDiff.

On Saturday, 2 January 2016 22:58:24 UTC, Theodore Papamarkou wrote:
>
> I work on Lora (from master which hasn't been pushed to METADATA), running 
> lines 1-34 in test/BasicMCJob.jl, which works works fine in Julia 0.4.2. 
> However, 0.5 throws the following:
>
> *ERROR: MethodError: `data` has no method matching data(::Function)*
>
> * in ##run_basicmcjob#8537 at 
> /Users/theodore/.julia/v0.5/Lora/src/jobs/BasicMCJob.jl:329*
>
> * in run at /Users/theodore/.julia/v0.5/Lora/src/jobs/BasicMCJob.jl:402*
>
> * in eval at 
> /Applications/Julia-0.5.0-dev-b77587362d.app/Contents/Resources/julia/lib/julia/sys.dylib*
>
>
> I checked my own code, the breakage occurs at some point where I generate 
> code (a function) and then evaluate it to actually get a function. I 
> grep-ed for "data(" both in my package (which I know by heart and can tell 
> the function names on top of my head after so much work on Lora..). and in 
> julia. In the latter case, julia's code base has many occurrences of 
> "...data(...", not sure where to start from.
>
>
> Thanks for asking and for trying to help.
>
> On Saturday, 2 January 2016 22:51:06 UTC, Milan Bouchet-Valat wrote:
>>
>> Le samedi 02 janvier 2016 à 14:30 -0800, Theodore Papamarkou a écrit :
>>
>> I receive an error in Julia 0.5, which does not happen in 0.4.2. Due to 
>> the complexity of the underlying code it is hard to isolate the problem, 
>> and even more intriguingly, the error message I receive comes out of the 
>> blue complaining about a method error for a "data" function, which I 
>> haven't defined anyhow anywhere in my code. I know that due to the little 
>> amount of information I provide, it will be hard to receive any help, but I 
>> thought it would be worth posting the error below, just in case anyone else 
>> has ever seen it in Julia 0.5:
>>
>> *ERROR: MethodError: `data` has no method matching data(::Function)*
>>
>> * ...*
>>
>> * in eval at 
>> /Applications/Julia-0.5.0-dev-b77587362d.app/Contents/Resources/julia/lib/julia/sys.dylib*
>>
>> Is there anything interesting in the ... part? What packages are you 
>> using? I would grep for "data(" in the source of all of them.
>>
>>
>> Regards
>>
>

Reply via email to