Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Structure Support #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lstagner
Copy link
Contributor

This is very much a work in progress since it doesn't work yet and I hit a wall.

First of all using the RPC backend I get the following error

julia> using IDLCall
Initializing IDL ..

julia> IDLCall.execute("a = {a:1,b:2}")

julia> IDLCall.get_var("a")
IDL_RPCGetMainVariable: RPC: Can't decode result
ERROR: IDL.get_var: variable a does not exist
 in get_var(::String) at /home/stagnerl/.julia/v0.5/IDLCall/src/IDLRPC.jl:229

Its hitting this error

When I try the Callable backend I get the following

julia> using IDLCall
IDL Version 8.4 (linux x86_64 m64). (c) 2014, Exelis Visual Information Solutions, Inc.

julia> IDLCall.execute("a = {a:1,b:2}")

julia> IDLCall.get_var("a")
ERROR: InexactError()
 in get_var(::Ptr{IDLCall.IDL_Variable}, ::String) at /home/stagnerl/.julia/v0.5/IDLCall/src/common-funcs.jl:85
 in get_var(::String) at /home/stagnerl/.julia/v0.5/IDLCall/src/IDLCallable.jl:129

Could you take a look and see what I am doing wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant