Hi Shirish,

Re title: Filing new bugs for each distinct problem / error is easiest
to manage on any BTS :)

Also, was the original autostart issue fixed? Everything else previously
mentioned here should be fixed as of 0.7.0.

On 2018-09-21 01:55 AM, shirish शिरीष wrote:
> Dear James,
> 
> After today's update, I took the plunge and removed -
> 
> ~/.config$ rm -rf variety
> 
> $ variety
> ERROR: 2018-09-21 14:10:30,552: _generate_pencil_tile() 'Could not
> generate pencil_tile.png'
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/variety/VarietyWindow.py", line
> 302, in _generate_pencil_tile
>     "-motion-blur 0x20+135 -charcoal 2 -resize 50%% %s" %
> pipes.quote(pencil_tile_filename.encode('utf8')))
>   File "/usr/lib/python3.6/shlex.py", line 314, in quote
>     if _find_unsafe(s) is None:
> TypeError: cannot use a string pattern on a bytes-like object

Fixed in
https://github.com/varietywalls/variety/commit/a6eaec2e5f5ef3836919d4ce70303cf94899f83c
for next release

> WARNING: 2018-09-21 14:10:30,653: load_history() 'Could not load
> history file, continuing without it, no worries'
> WARNING: 2018-09-21 14:10:30,846: create_menu() 'Variety Slideshow is
> not installed. This is an optional extension adding pan-and-zoom
> slideshows to Variety: see
> https://github.com/peterlevi/variety-slideshow for details'
> 
> (variety:1800): Gdk-CRITICAL **: 14:10:30.994:
> gdk_window_thaw_toplevel_updates: assertion
> 'window->update_and_descendants_freeze_count > 0' failed
> ERROR: 2018-09-21 14:10:31,145: image_ok() 'Error in image_ok for file
> /usr/share/backgrounds/bluebird.svg'
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/variety/VarietyWindow.py", line
> 1478, in image_ok
>     i = PILImage.open(img)
>   File "/usr/lib/python3/dist-packages/PIL/Image.py", line 2622, in open
>     % (filename if filename else fp))
> OSError: cannot identify image file '/usr/share/backgrounds/bluebird.svg'
> ERROR: 2018-09-21 14:10:31,319: image_ok() 'Error in image_ok for file
> /usr/share/backgrounds/greybird.svg'
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/variety/VarietyWindow.py", line
> 1478, in image_ok
>     i = PILImage.open(img)
>   File "/usr/lib/python3/dist-packages/PIL/Image.py", line 2622, in open
>     % (filename if filename else fp))
> OSError: cannot identify image file '/usr/share/backgrounds/greybird.svg'
> ERROR: 2018-09-21 14:10:31,605: image_ok() 'Error in image_ok for file
> /usr/share/backgrounds/albatross-wall-source.svg'
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/variety/VarietyWindow.py", line
> 1478, in image_ok
>     i = PILImage.open(img)
>   File "/usr/lib/python3/dist-packages/PIL/Image.py", line 2622, in open
>     % (filename if filename else fp))
> OSError: cannot identify image file
> '/usr/share/backgrounds/albatross-wall-source.svg'
> 
> Looks like variety doesn't understand svg files :(

This might be a worthwhile feature request, though I have no idea how
common desktop environment support for SVG backgrounds is.

> Seems the scripts are not regenerated and guess variety has to be
> purged and installed as new .
> 
> Did that and still came with the error above.

They should be copied even if the pencil_tile generation breaks?
Double check whether ~/.config/variety/scripts/ looks correct.

> Also nice to see variety using libayatana-appindicator instead of the
> way out appindicator.

:)

Best,
James

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to