mhaberler / asciidoc-diag-filter

Automatically exported from code.google.com/p/asciidoc-diag-filter
1 stars 0 forks source link

can't concat bytes to str #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello 

I'm using a simple test file with a sample from the documentation and when I 
try to compile the asciidoc file it gives me this error:

ERROR: can't concat bytes to str
asciidoc: WARNING: test.txt: line 14: filter non-zero exit code: seqdiag -o 
"[...]/seqdiag-1.png" -Tpng - && echo " ": returned 255
asciidoc: WARNING: test.txt: line 14: no output from filter: seqdiag -o 
"[...]/seqdiag-1.png" -Tpng - && echo " "

I've attached the test file

OS:Arch Linux
software versions: 
asciidoc 8.6.9-1
asciidoc-diag-filter 20120913
blockdiag 1.3.2-1
seqdiag 0.9.0-1
funcparserlib-0.3.6
python-webcolors-1.4-2
Python 2.7.6 and Python 3.4.0 both installed

Thanks

Original issue reported on code.google.com by gigi...@gmail.com on 3 Apr 2014 at 7:40

Attachments:

GoogleCodeExporter commented 9 years ago
It seems the problem is that the seqdiag package from Arch AUR repository 
https://aur.archlinux.org/packages/seqdiag/ installs seqdiag only for phyton3.
Other dependencies have the same problem (blockdiag, python-webcolors).
Updating the PKGBUILD file for python2 also, fixes the problem.
So this was not an issue with asciidoc-diag-filter, the issue can be closed.

Original comment by gigi...@gmail.com on 3 Apr 2014 at 9:36

GoogleCodeExporter commented 9 years ago
Dear Gigi,

Can you please publish the modifications you made to the PKGBUILD files ?

Original comment by cky...@changamuka.com on 4 Apr 2014 at 5:50

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Sorry for the delay, I basically added one more line for python2, updating the 
function package() to look like this (for every PKGBUILD):

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  python3 setup.py install --root="$pkgdir/" --optimize=1
  python2 setup.py install --root="$pkgdir/" --optimize=1
}

Original comment by gigi...@gmail.com on 9 Apr 2014 at 5:13