ahnan4arch / asciidoc-diag-filter

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

can't concat bytes to str #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 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 8 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 8 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 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 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

GoogleCodeExporter commented 8 years ago
@Gigi Belated but sincere thank you!
I will try to convince the maintainer of the AUR package to include the missing 
lines in the package

Original comment by cky...@changamuka.com on 4 Jun 2015 at 12:32