Package: asymptote
Version: 1.33-1
Severity: normal

The command

        asy -V filename 

works great (see content of the file below), but 

        xasy filename

fails with the error 

        Cannot open .filename_0.box

End of the strace:

lstat("/share/usr/lib", {st_mode=S_IFDIR|0755, st_size=114688, ...}) = 0
lstat("/share/usr/lib/tk8.4", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/share/usr/lib/tk8.4/text.tcl", {st_mode=S_IFREG|0644, st_size=31195, 
...}) = 0
open("/share/usr/lib/tk8.4/text.tcl", O_RDONLY) = 4
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff78514320) = -1 ENOTTY 
(Inappropriate ioctl for device)
read(4, "# text.tcl --\n#\n# This file defi"..., 4096) = 4096
read(4, "]\n}\nbind Text <Prior> {\n    tk::"..., 4096) = 4096
read(4, "ol-o> {\n    if {!$tk_strictMotif"..., 4096) = 4096
read(4, " the character just after the bo"..., 4096) = 4096
read(4, "    $w mark set insert [TextClos"..., 4096) = 4096
read(4, "{\n\tset total [string length [$w "..., 4096) = 4096
read(4, "crolls\n# the view in the widget "..., 4096) = 4096
read(4, "set pos [$op $text 0]\n\tif {$pos "..., 4096) = 2523
read(4, "", 4096)                       = 0
close(4)                                = 0
write(3, "\20\0\6\0\20\0\0\0WM_DELETE_WINDOW", 24) = 24
read(3, 0x7fff785185f0, 32)             = -1 EAGAIN (Resource temporarily 
unavailable)
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(3, "\1\254\25\0\0\0\0\0$\1\0\0\0\0\0\0\340\32\371\1\0\0\0\0"..., 32) = 32
stat("/home/liontooth/.Tk.tcl", 0x7fff78518af0) = -1 ENOENT (No such file or 
directory)
stat("/home/liontooth/.Tk.py", 0x7fff78518af0) = -1 ENOENT (No such file or 
directory)
stat("/home/liontooth/.xasy.tcl", 0x7fff78518af0) = -1 ENOENT (No such file or 
directory)
stat("/home/liontooth/.xasy.py", 0x7fff78518af0) = -1 ENOENT (No such file or 
directory)
open(".filename_0.box", O_RDONLY)       = -1 ENOENT (No such file or directory)
fstat(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 4), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x2aaaaacb8000
write(1, "Cannot open .filename_0.box\n", 28Cannot open .filename_0.box
) = 28
rt_sigaction(SIGINT, {SIG_DFL}, {0x4a3510, [], SA_RESTORER, 0x2ab8327b97d0}, 8) 
= 0
exit_group(1)                           = ?
Process 16415 detached

It's looking for a dot file and not finding out -- looks like a bug.

Nice program -- thanks for packaging!

Cheers,
Dave

// filename

import graph;

size(300,300,IgnoreAspect);

scale(Linear,Log);

real factorial(real t) {return gamma(t+1);}
draw(graph(factorial,2,50),blue);

real nton(real n) {return n^n;};
draw(graph(nton,2,50),red);

xaxis("$x$",BottomTop,LeftTicks);
yaxis("$y$",LeftRight,RightTicks(Label(currentpen+overwrite(Suppress))));



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22.2 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages asymptote depends on:
ii  ghostscript [gs-gp 8.61.dfsg.1~svn8187-2 The GPL Ghostscript PostScript/PDF
ii  gs                 8.56.dfsg.1-1.1       Transitional package
ii  gs-gpl             8.61.dfsg.1~svn8187-2 Transitional package
ii  imagemagick        7:6.2.4.5.dfsg1-2     Image manipulation programs
ii  libc6              2.7-1                 GNU C Library: Shared libraries
ii  libfftw3-3 [fftw3] 3.1.2-3               library for computing Fast Fourier
ii  libgc1c2           1:6.8-1.1             conservative garbage collector for
ii  libgcc1            1:4.2.2-3             GCC support library
ii  libgsl0ldbl        1.9-5                 GNU Scientific Library (GSL) -- li
ii  libncurses5        5.6+20071013-1        Shared libraries for terminal hand
ii  libreadline5       5.2-3                 GNU readline and history libraries
ii  libsigsegv0        2.4-4                 Library for handling page faults i
ii  libstdc++6         4.2.2-3               The GNU Standard C++ Library v3
ii  python             2.4.4-6               An interactive high-level object-o
ii  python-tk          2.4.4-1               Tkinter - Writing Tk applications 
ii  texlive-base-bin   2007.dfsg.1-2         TeX Live: Essential binaries
ii  texlive-latex-base 2007-13               TeX Live: Basic LaTeX packages
ii  texlive-pstricks   2007.dfsg.1-1         TeX Live: PSTricks packages

Versions of packages asymptote recommends:
ii  asymptote-doc                 1.33-1     script-based vector graphics langu

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to