Bug 15404 - Ошибки импорта/экспорта Sketch в Inkscape
Summary: Ошибки импорта/экспорта Sketch в Inkscape
Status: CLOSED FIXED
Alias: None
Product: Branch 4.0
Classification: Distributions
Component: skencil (show other bugs)
Version: 4.0
Hardware: all Linux
: P2 normal
Assignee: Vitaly Lipatov
QA Contact: Q.A. 4.0
URL:
Keywords:
Depends on:
Blocks: 14519
  Show dependency tree
 
Reported: 2008-04-19 18:35 MSD by ruslandh
Modified: 2008-06-16 09:54 MSD (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ruslandh 2008-04-19 18:35:36 MSD
При импорте файлов Sketch *.sk в формат *.svg c помощью скрипта skconvert 
(напримую)имеем ошибку :

convert face.sk /home/reader/tmp/prim/sk2svg10458.svg


error in line 19
Traceback (most recent call last):
  File "/usr/lib/skencil-0.6.17/Plugins/Filters/skloader.py", line 469, in Load
    funcname, args, kwargs = parse(line)
SyntaxError: unexpected character
Traceback (most recent call last):
  File "/usr/bin/skconvert", line 55, in ?
    main()
  File "/usr/bin/skconvert", line 52, in main
    convert(sys.argv[1], sys.argv[2])
  File "/usr/bin/skconvert", line 35, in convert
    doc = load.load_drawing(infile)
  File "/usr/lib/skencil-0.6.17/Sketch/Base/load.py", line 368, in load_drawing
    return load_drawing_from_file(file, filename)
  File "/usr/lib/skencil-0.6.17/Sketch/Base/load.py", line 343, in 
load_drawing_
from_file
    doc = loader.Load()
  File "/usr/lib/skencil-0.6.17/Plugins/Filters/skloader.py", line 506, in Load
    raise SketchLoadError('%d:%s' % (num, value))
Sketch.skexceptions.SketchLoadError: 19:unexpected character

Конвертация (импорт) из графической оболочки проходит правильно.
Comment 1 ruslandh 2008-04-19 18:48:41 MSD
skconvert конечно, а не convert (ошибка copy - paste).
Comment 2 ruslandh 2008-04-19 21:24:28 MSD
А вот дать команду

LC_ALL=C skconvert face.sk /home/reader/tmp/prim/sk2svg10458.svg

всё работает
Comment 3 ruslandh 2008-06-16 09:54:10 MSD
Исправлено