paktahn doesnt work [ Illegal :UTF-8 character starting ]
Closed this issue · 12 comments
With any options pakthan gives this:
pak -Syu ==> Cache "local" not found, building it. ==> Illegal :UTF-8 character starting at position 1.
with simple "# pak" is result help.
my locale:
LOCALE="cs_CZ.utf8"
Thanks for the report!
Please help us further by getting a backtrace for this error.
Create $HOME/.paktahn/config.lisp with the following contents:
(setf pak::*on-error* :backtrace)
Then reproduce the problem and send us the backtrace output.
==> Cache "local" not found, building it. ==> Illegal :UTF-8 character starting at position 1. Date/time: 2010-01-12-13:18An unhandled error condition has been signalled: Illegal :UTF-8 character starting at position 1. 0: (SB-DEBUG::MAP-BACKTRACE #)[:EXTERNAL] 1: (BACKTRACE 536870911 #) 2: (TRIVIAL-BACKTRACE:PRINT-BACKTRACE-TO-STREAM #) 3: (TRIVIAL-BACKTRACE:PRINT-BACKTRACE #)[:EXTERNAL] 4: (PAKTAHN::DEFAULT-ERROR-HANDLER #)[:EXTERNAL] 5: (SIGNAL #)[:EXTERNAL] 6: (PAKTAHN::BUILD-MEMORY-CACHE "local") 7: (PAKTAHN::REBUILD-DISK-CACHE "local") 8: (PAKTAHN::MAYBE-UPDATE-DISK-CACHE "local") 9: (PAKTAHN::MAYBE-REFRESH-CACHE) 10: (PAKTAHN::SEARCH-AND-INSTALL-PACKAGES "-Syu")[:EXTERNAL] 11: (PAKTAHN::MAIN ("-Syu")) 12: (PAKTAHN::CORE-MAIN) 13: ((LABELS SB-IMPL::RESTART-LISP))
Sort of handled in a660db6; at the very least this gives us a hint of what string we're looking at.
I just compiled paktahn 0.8.3 and have little different error
......
problem on github in the statement (html marks in the statement) .
I notice same mistake as in the earlier post.
http://pastebin.com/m59e55ea9
Okay, thanks for your help. Let's try this in your config.lisp for your next output:
(in-package :pak) (trace alpm-grp-get-name alpm-pkg-get-name alpm-get-version alpm-pkg-get-desc safe-foreign-string-to-lisp)
#pak -Syu ==> The function ALPM-GET-VERSION is undefined.
Sorry, a small mistake. It needs to be alpm-pkg-get-version, i.e.:
(in-package :pak) (trace alpm-grp-get-name alpm-pkg-get-name alpm-pkg-get-version alpm-pkg-get-desc safe-foreign-string-to-lisp)
Are juse sure with this? it gave's over 20k lines output.
#pak -Syu > pak.log
http://www.sendspace.com/file/rmh77r
i have instaled:
kdemod-playground/kdemod-playground-aqpm-git 20091223-1
with community/aqpm 1.3.3.2-1 and aur/libaqpm-git 20100126-1 is output same.
Thanks, that helped a bit. Please send the output of the commands
pacman -Qi wormsofprey
cat /var/lib/pacman/local/wormsofprey-/
It would also help to have a tarball of your /var/lib/pacman:
tar cvfj db.tbz2 /var/lib/pacman
#pacman -Qi wormsofprey Jméno : wormsofprey Verze : 0.4.3-1 URL : http://www.wormsofprey.org Licence : GPL Skupiny : Nic Poskytuje : Nic Závisí na : sdl_ttf sdl_net sdl_mixer sdl_image Volitelné záv. : Nic Požadovaný : Nic Konfliktní s : Nic Nahrazuje : Nic Vel. instalace : 23456,00 K Zabalil : Unknown Packager Architektura : i686 Datum sestavení: Ne 12. říjen 2008, 14:58:20 CEST Datum instalace: So 24. leden 2009, 20:04:25 CET Důvod instalace: Výslovně nainstalován Instal. skript : Ne Popis : W
I think you mean ls no cat becouse it's a directory
ls -l /var/lib/pacman/local/wormsofprey-0.4.3-1/ celkem 248 -rw-r--r-- 1 root users 47 24. led 2009 depends -rw-r--r-- 1 root users 261 24. led 2009 desc -rw-r--r-- 1 root users 244151 24. led 2009 files
tarbal: /var/lib/pacman
http://www.sendspace.com/file/z6q63c
Recently I do new arch installation on my notebook and paktahn working well. But on PC problem continuing I predicate this problem to old arch installation maybe some old config files.
It's not even funny for now :(
I have perfectly woking paktahn on my laptop. And now pak gaves this:
==> Problem decoding foreign string as UTF8: Illegal :UTF-8 character starting at position 1.
with backtrase:
]$ pak tex
==> Cache "arch-games" not found, building it.==> Problem decoding foreign string as UTF8: Illegal :UTF-8 character starting at position 1.
Date/time: 2010-02-16-18:56An unhandled error condition has been signalled: Problem decoding foreign string as UTF8: Illegal :UTF-8 character starting at position 1.0: (SB-DEBUG::MAP-BACKTRACE #<CLOSURE (LAMBDA (SB-DEBUG::FRAME)) {BFD2D35}>)[:EXTERNAL]
1: (BACKTRACE 536870911 #<SYNONYM-STREAM :SYMBOL TERMINAL-IO {911FFA1}>)
2: (TRIVIAL-BACKTRACE:PRINT-BACKTRACE-TO-STREAM #<SYNONYM-STREAM :SYMBOL TERMINAL-IO {911FFA1}>)
3: (TRIVIAL-BACKTRACE:PRINT-BACKTRACE #<SIMPLE-ERROR {BFCFAB9}>)[:EXTERNAL]
4: (PAKTAHN::DEFAULT-ERROR-HANDLER #<SIMPLE-ERROR {BFCFAB9}>)[:EXTERNAL]
5: (SIGNAL #<SIMPLE-ERROR {BFCFAB9}>)[:EXTERNAL]
6: (PAKTAHN::BUILD-MEMORY-CACHE "arch-games")
7: (PAKTAHN::REBUILD-DISK-CACHE "arch-games")
8: (PAKTAHN::MAYBE-UPDATE-DISK-CACHE "arch-games")
9: (PAKTAHN::MAYBE-REFRESH-CACHE)
10: (PAKTAHN::SEARCH-AND-INSTALL-PACKAGES "tex")[:EXTERNAL]
11: (PAKTAHN::MAIN ("tex"))
12: (PAKTAHN::CORE-MAIN)
13: ((LABELS SB-IMPL::RESTART-LISP))
I don't know what happend.