Your message dated Fri, 20 Apr 2018 07:11:05 -0400
with message-id <[email protected]>
and subject line Re: Bug#896151: kitty: SyntaxError exception in icat.py
has caused the Debian Bug report #896151,
regarding kitty: SyntaxError exception in icat.py
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
896151: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896151
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: kitty
Version: 0.9.0-1
Severity: normal

icat.py is used to render an image on the Kitty terminal.

When running, I get the following error.

rrs@priyasi:~/rrs-home/Data/Pictures$ python /usr/lib/kitty/kitty/icat.py 
mahadev.jpg 
  File "/usr/lib/kitty/kitty/icat.py", line 297
    print('Checking for graphics ({}s max. wait)...'.format(wait_for), end='\r')
                                                                          ^
SyntaxError: invalid syntax
14:13 ♒♒♒    ☹ 😟=> 1  


It'd also be nice if you shipped icat.py as a binary in standard
location. But given that icat name is already taken, you may want to
rename this binary as `icat-kitty` or `kitty-icat`


Thanks,
Ritesh

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (900, 'testing'), (500, 'unstable-debug'), 
(500, 'testing-debug'), (100, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8), LANGUAGE=en_IN:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages kitty depends on:
ii  kitty-terminfo      0.9.0-1
ii  libc6               2.27-3
ii  libfontconfig1      2.13.0-4
ii  libfreetype6        2.8.1-2
ii  libharfbuzz0b       1.7.6-1
ii  libpng16-16         1.6.34-1
ii  libpython3.6        3.6.5-3
ii  libx11-6            2:1.6.5-1
ii  libxkbcommon-x11-0  0.8.0-1
ii  libxkbcommon0       0.8.0-1
ii  python3             3.6.5-3
ii  python3.6           3.6.5-3
ii  zlib1g              1:1.2.8.dfsg-5

kitty recommends no packages.

kitty suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
On Fri, Apr 20, 2018 at 02:18:00PM +0530, Ritesh Raj Sarraf wrote:
> icat.py is used to render an image on the Kitty terminal.
> 
> When running, I get the following error.
> 
> rrs@priyasi:~/rrs-home/Data/Pictures$ python /usr/lib/kitty/kitty/icat.py 
> mahadev.jpg 
>   File "/usr/lib/kitty/kitty/icat.py", line 297
>     print('Checking for graphics ({}s max. wait)...'.format(wait_for), 
> end='\r')
>                                                                           ^
> SyntaxError: invalid syntax
> 14:13 ♒♒♒    ☹ 😟=> 1  

It's a Python3 script, not Python2.

> It'd also be nice if you shipped icat.py as a binary in standard
> location. But given that icat name is already taken, you may want to
> rename this binary as `icat-kitty` or `kitty-icat`

It's not supposed to be invoked directly.  Just run "kitty icat ..."
from a kitty terminal.

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB

--- End Message ---

Reply via email to