I had the same problem with printing... but songwrite didn't crash, it
simply displayed a window saying that something failed. I just installed
songwrite, run it and tried to print something...

After clicking on the preview-print button, the command line output was
this:

==================
[EMAIL PROTECTED]:~$ songwrite 
/usr/bin/../share/songwrite/song.py:1352: DeprecationWarning: 'b' format 
requires -128 <= number <= 127
  END_TRACK = struct.pack(">bbb", 0xFF, 0x2F, 0x00)
* Songwrite * Lilypond version is 2.10.25...
* Songwrite * Loading module for Lilypond 2.2
/usr/bin/../share/songwrite/song.py:522: DeprecationWarning: 'b' format 
requires -128 <= number <= 127
  (-1, None, struct.pack(">bb" , 0xC0 + channel.id, self.instrument), self),   
# Instrument selection
/usr/bin/../share/songwrite/song.py:523: DeprecationWarning: 'b' format 
requires -128 <= number <= 127
  (-1, None, struct.pack(">bbb", 0xB0 + channel.id, 0x5B, self.reverb    )), # 
Reverb
/usr/bin/../share/songwrite/song.py:524: DeprecationWarning: 'b' format 
requires -128 <= number <= 127
  (-1, None, struct.pack(">bbb", 0xB0 + channel.id, 0x5D, self.chorus    )), # 
Chorus
/usr/bin/../share/songwrite/song.py:525: DeprecationWarning: 'b' format 
requires -128 <= number <= 127
  (-1, None, struct.pack(">bbb", 0xB0 + channel.id, 0x07, self.volume / 2)), # 
Volume
/usr/bin/../share/songwrite/song.py:649: DeprecationWarning: 'b' format 
requires -128 <= number <= 127
  return (self.time - start_time, mesure, struct.pack(">bbb", 0x90 + 
channel.id, self.value, self.volume), self), (self.time - start_time + 
self.duration, mesure, struct.pack(">bbb", 0x80 + channel.id, self.value, 
self.volume))


Running 'cd /tmp/tmplu8xXD; lilypond-book -o /tmp/tmplu8xXD 
/tmp/tmplu8xXD/gtab.lytex'
lilypond-book (GNU LilyPond) 2.10.25
Reading /tmp/tmplu8xXD/gtab.lytex...
Running latex...This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
 %&-line parsing enabled.
entering extended mode
(/tmp/tmpd5Mn8Z.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, loaded.

(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo))
(/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
(/usr/share/texmf-texlive/tex/latex/base/t1enc.def))
(/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
(/usr/share/texmf-texlive/tex/latex/base/latin1.def))
(/usr/share/texmf-texlive/tex/latex/geometry/geometry.sty
(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty))
(/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty
(/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty
(/usr/share/texmf-texlive/tex/latex/graphics/trig.sty)
(/etc/texmf/tex/latex/config/graphics.cfg)
(/usr/share/texmf-texlive/tex/latex/graphics/dvips.def)))
(/usr/share/texmf-texlive/tex/generic/babel/babel.sty
(/usr/share/texmf-texlive/tex/generic/babel/english.ldf
(/usr/share/texmf-texlive/tex/generic/babel/babel.def)))
No file tmpd5Mn8Z.aux.
textwidth=512.14963pt
columnsep=10.0pt
(./tmpd5Mn8Z.aux) )
No pages of output.
Transcript written on tmpd5Mn8Z.log.
Dissecting...
Writing snippets...
Processing...
Running lilypond...GNU LilyPond 2.10.25
Processing `/tmp/tmplu8xXD/snippet-map.ly'
Parsing...
Processing `/tmp/tmplu8xXD/lily-5051e82b3d.ly'
Parsing...
/tmp/tmplu8xXD/lily-5051e82b3d.ly:29:6: error: unknown escaped string: 
`\property'
      
      \property TabVoice.Stem \set #'direction = #'1
/tmp/tmplu8xXD/lily-5051e82b3d.ly:29:6: error: syntax error, unexpected STRING
      
      \property TabVoice.Stem \set #'direction = #'1
/tmp/tmplu8xXD/lily-5051e82b3d.ly:24:9: error: errors found, ignoring music 
expression
\score { 
         \simultaneous {
error: failed files: "lily-5051e82b3d"
command failed: lilypond -b eps -I  "/tmp/tmplu8xXD" --formats=eps  
-deps-box-padding=3.000000  -dread-file-list  snippet-names
Child returned 1
Traceback (most recent call last):
  File "/usr/bin/../share/songwrite/main.py", line 682, in on_preview_print
    try: latex.preview(self.song, globdef.config.PREVIEW_COMMAND)
  File "/usr/bin/../share/songwrite/latex.py", line 181, in preview
    export2ps(_song, temp_ps)
  File "/usr/bin/../share/songwrite/latex.py", line 148, in export2ps
    run_latex(temp_tex , temp_dvi)
  File "/usr/bin/../share/songwrite/latex.py", line 205, in run_latex
    latex = open(file).read()
IOError: [Errno 2] No such file or directory: '/tmp/tmplu8xXD/gtab.tex'
==================================================0


by the way, I tried to look into the '/tmp/tmplu8xXD directory, but it actually 
doesn't seem to exists...

Hope that's enough

have fun ;)

-- 
When you try to print from Songwrite, you just get a general error message from 
the Songwrite application.
https://bugs.launchpad.net/bugs/116132
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to