Skip to content

random InexactError() after multiple plots using IJulia #119

Closed

Description

@axsk

I use a loop to plot data and save it to files, using PyPlot's plot, savefig, and close functions in each iteration.
The error happened after random iterations (3,11,6,8 so far).

LoadError: InexactError()
while loading In[89], in expression starting on line 2
 in getindex at ...\.julia\v0.4\PyCall\src\PyCall.jl:249 
 in pysequence_query at ...\.julia\v0.4\PyCall\src\conversions.jl:739 
 in convert at ...\.julia\v0.4\PyCall\src\conversions.jl:813 
 in pycall at ...\.julia\v0.4\PyCall\src\PyCall.jl:94 
 in fn at ...\.julia\v0.4\PyCall\src\conversions.jl:181 
 in close_queued_figs at ...\.julia\v0.4\PyPlot\src\PyPlot.jl:295

Unfortunately I don't know how to get a more detailed backtrace of the error, so I can't tell where it is happening exactly (IJulia/Windows issue?).

Edit:
I guess there is no longer backtrace as close_queued_figs is called as a IJulia hook, thus not called by my code.

Activity

  1. changed the title [-]random InexactError() after multiple plots[/-] [+]random InexactError() after multiple plots using IJulia[/+] on Mar 2, 2015
  2. stevengj commented on Mar 2, 2015

    @stevengj
    Member

    Can you give your sample code?

  3. axsk commented on Mar 13, 2015

    @axsk
    Author

    I can't even get the error now, so I guess it was something else then PyPlot..
    Sorry for the noise :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions