Setting:

    output_surface = none

in ~/.julia/v0.3/Winston/src/Winston.ini will probably do the trick.

-Mike

On Mon, Dec 1, 2014 at 10:45 PM, Travis Porco <[email protected]> wrote:
> Thanks -- unfortunately no -- same thing even as a script:
>
> ubuntu@ip-10-22-136-206:~/Project-Seven$ julia post.jl
> ERROR: TclError("error initializing Tk: no display name and no \$DISPLAY
> environment variable")
>  in init at /home/ubuntu/.julia/v0.3/Tk/src/tkwidget.jl:61
>  in include at ./boot.jl:245
>  in include_from_node1 at ./loading.jl:128
>  in include at ./boot.jl:245
>  in include_from_node1 at ./loading.jl:128
>  in reload_path at loading.jl:152
> ...
> This with 0.3.3, after Pkg.update() on Ubuntu 14.
>
> On Monday, December 1, 2014 12:00:40 PM UTC-8, Mike Nolta wrote:
>>
>> Try running post.jl as a script,
>>
>>     $ julia post.jl
>>
>> -Mike
>>
>> On Mon, Dec 1, 2014 at 11:26 AM, Travis Porco <[email protected]>
>> wrote:
>> > Does anyone know how to use Winston in batch mode, to automatically
>> > generate
>> > *.png 's without having to have a window open? Now I get this:
>> > julia> include("post.jl")
>> > ERROR: TclError("error initializing Tk: no display name and no \$DISPLAY
>> > environment variable")
>> >
>> > Thanks.

Reply via email to