[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#387148: marked as done (sk2ps: locale dependent error)



Your message dated Fri, 03 Sep 2010 16:35:33 +0000
with message-id <E1OrZEj-0006X3-Da@merkel.debian.org>
and subject line Package skencil has been removed from Debian
has caused the Debian Bug report #387148,
regarding sk2ps: locale dependent error
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
387148: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=387148
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: skencil
Version: 0.6.17-7
Severity: normal

With attached file (a trivial one, just a rectangle), running sk2ps in my
spanish locale gives an error,

-------------------------------------------------------------------------
$ sk2ps example.sk kk.ps
error in line 6
Traceback (most recent call last):
  File "/usr/lib/skencil/Plugins/Filters/skloader.py", line 469, in Load
    funcname, args, kwargs = parse(line)
SyntaxError: ')' expected
Traceback (most recent call last):
  File "/usr/bin/sk2ps", line 141, in ?
    result = main()
  File "/usr/bin/sk2ps", line 138, in main
    rotate = rotate, embed_fonts = embed_fonts)
  File "/usr/bin/sk2ps", line 39, in sk2ps
    doc = load.load_drawing(filename)
  File "/usr/lib/skencil/Sketch/Base/load.py", line 368, in load_drawing
    return load_drawing_from_file(file, filename)
  File "/usr/lib/skencil/Sketch/Base/load.py", line 343, in
load_drawing_from_file
    doc = loader.Load()
  File "/usr/lib/skencil/Plugins/Filters/skloader.py", line 506, in Load
    raise SketchLoadError('%d:%s' % (num, value))
Sketch.skexceptions.SketchLoadError: 6:')' expected
-------------------------------------------------------------------------

However, everything works well with C locale, both setting LANG or LC_ALL

  $ LANG=C sk2ps example.sk kk.ps

and in particular with LC_NUMERIC set to C,

  $ LC_NUMERIC=C sk2ps example.sk kk.ps

and the bug reappear with other LC_* stuff.

This bug might be related with the fact that in spanish locale decimal
separator is comma instead of dot.



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17
Locale: LANG=es_ES, LC_CTYPE=es_ES (charmap=ISO-8859-1)

Versions of packages skencil depends on:
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
ii  libx11-6                     2:1.0.0-8   X11 client-side library
ii  libxext6                     1:1.0.1-2   X11 miscellaneous extension librar
ii  python                       2.4.3-11    An interactive high-level object-o
ii  python-imaging-tk            1.1.5-11    Python Imaging Library ImageTk Mod
ii  python-support               0.5         automated rebuilding support for p
ii  tcl8.4                       8.4.12-1.1  Tcl (the Tool Command Language) v8
ii  tk8.4                        8.4.12-1    Tk toolkit for Tcl and X11, v8.4 -

skencil recommends no packages.

-- no debconf information

-- 
Agustin
##Sketch 1 2
document()
layout('A4',0)
layer('Capa 1',1,1,0,0,(0,0,0))
lw(1)
r(51.7134,0,0,-34.4756,211.449,638.572)
guidelayer('L\xedneas gu\xeda',1,0,0,1,(0,0,1))
grid((0,0,20,20),0,(0,0,1),'Rejilla')

--- End Message ---
--- Begin Message ---
Version: 0.6.17-17+rm

You filed the bug http://bugs.debian.org/387148 in Debian BTS
against the package skencil. I'm closing it at *unstable*, but it will
remain open for older distributions.

For more information about this package's removal, read
http://bugs.debian.org/537259. That bug might give the reasons why
this package was removed and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

--
Luca Falavigna


--- End Message ---

Reply to: