Bug#905783: variety doesn't startup in mate and throws a bunch of python warnings

2018-08-15 Thread James Lu
Forwarding my last reply to the bug tracker as I had missed it:

On 2018-08-10 07:29 AM, James Lu wrote:
> 
> 
> On 2018-08-10 12:11 AM, shirish शिरीष wrote:
>> Reply in-line :-
>>
>> On 09/08/2018, James Lu  wrote:
>>> Control: tags -1 +moreinfo
>>>
>>> Hi,
>>>
>>
>> Hi,
>>
>>> On 2018-08-09 06:18 AM, shirish शिरीष wrote:
 Package: variety
 Version: 0.6.9-1
 Severity: normal

 Dear Maintainer,

 First I checked why variety isn't startup applications because I had
 put it in startup applications.

 It used to work for quite sometime but recently didn't start. I saw
 for some reason it
 was now showing as variety only instead of /usr/bin/variety which I
 fixed. I have shared
 screenshots of both.
>>>
>>> I don't see how this would make a difference unless you have a
>>> conflicting "variety" binary elsewhere. What does "which variety" on the
>>> command line show you?
>>>
>>
>> $ which variety
>> /usr/bin/variety
> 
> That looks OK..
> 

 Then I tried triggering variety via command-line and got the following
 messages -

 $ variety> WARNING: 2018-08-09 18:09:04,714: 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'
 /home/shirish/.config/variety/scripts/set_wallpaper: line 121: [: ==:
 unary operator expected

 (variety:23253): Gdk-CRITICAL **: 18:09:05.488:
 gdk_window_thaw_toplevel_updates: assertion
 'window->update_and_descendants_freeze_count > 0' failed
 /home/shirish/.config/variety/scripts/set_wallpaper: line 121: [: ==:
 unary operator expected
>>>
>>> If you haven't edited set_wallpaper directly, delete
>>> ~/.config/variety/scripts/set_wallpaper and restart Variety. This will
>>> make Variety copy over the newest set_wallpaper (this bug was fixed in
>>> set_wallpaper since 0.6.7)
>>>
>>
>> shirish@debian:~/.config/variety/scripts$ rm -rf set_wallpaper
>>
>> I restarted variety and on another console tab shows this now -
>>
>> ~/.config/variety/scripts$ ls -lh
>> total 16K
>> -rwxr-xr-x 1 shirish shirish 1.6K Mar 22 06:32 get_wallpaper
>> -rwxr-xr-x 1 shirish shirish 9.5K Aug 10 12:28 set_wallpaper
>>
>> dunno if I should also delete the get_wallpaper script and it
>> will take the new one or not. For now Not touching till you say so.
>>
> 
> get_wallpaper is not affected, don't worry about that.
> 
 /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:860:
 InsecureRequestWarning: Unverified HTTPS request is being made. Adding
 certificate verification is strongly advised. See:
 https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
   InsecureRequestWarning)
 /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:860:
 InsecureRequestWarning: Unverified HTTPS request is being made. Adding
 certificate verification is strongly advised. See:
 https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
   InsecureRequestWarning)
 /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:860:
 InsecureRequestWarning: Unverified HTTPS request is being made. Adding
 certificate verification is strongly advised. See:
 https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
   InsecureRequestWarning)
 /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:860:
 InsecureRequestWarning: Unverified HTTPS request is being made. Adding
 certificate verification is strongly advised. See:
 https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
   InsecureRequestWarning)
 /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:860:
 InsecureRequestWarning: Unverified HTTPS request is being made. Adding
 certificate verification is strongly advised. See:
 https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
   InsecureRequestWarning)
 /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:860:
 InsecureRequestWarning: Unverified HTTPS request is being made. Adding
 certificate verification is strongly advised. See:
 https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
   InsecureRequestWarning)
 /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:860:
 InsecureRequestWarning: Unverified HTTPS request is being made. Adding
 certificate verification is strongly advised. See:
 https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
   InsecureRequestWarning)
 /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:860:
 InsecureRequestWarning: Unverified HTTPS request is being made. Adding
 certificate verification is strongly advised. See:
 https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
   InsecureRequestWarnin

Bug#905783: variety doesn't startup in mate and throws a bunch of python warnings

2018-08-10 Thread shirish शिरीष
at bottom :-

On 09/08/2018, James Lu  wrote:



>> Is there a possibility of having variety-slideshow as a binary too ?
>
> You can request a new package through the RFP process:
> https://wiki.debian.org/RFP
>

Just filed #905821 for the same.

You might need to update the packaging for variety-slideshow to be
more in tune with Debian today.



>
>
> Best,
> James
>

-- 
  Regards,
  Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
EB80 462B 08E1 A0DE A73A  2C2F 9F3D C7A4 E1C4 D2D8



Bug#905783: variety doesn't startup in mate and throws a bunch of python warnings

2018-08-10 Thread shirish शिरीष
Reply in-line :-

On 09/08/2018, James Lu  wrote:
> Control: tags -1 +moreinfo
>
> Hi,
>

Hi,

> On 2018-08-09 06:18 AM, shirish शिरीष wrote:
>> Package: variety
>> Version: 0.6.9-1
>> Severity: normal
>>
>> Dear Maintainer,
>>
>> First I checked why variety isn't startup applications because I had
>> put it in startup applications.
>>
>> It used to work for quite sometime but recently didn't start. I saw
>> for some reason it
>> was now showing as variety only instead of /usr/bin/variety which I
>> fixed. I have shared
>> screenshots of both.
>
> I don't see how this would make a difference unless you have a
> conflicting "variety" binary elsewhere. What does "which variety" on the
> command line show you?
>

$ which variety
/usr/bin/variety

>>
>> Then I tried triggering variety via command-line and got the following
>> messages -
>>
>> $ variety> WARNING: 2018-08-09 18:09:04,714: 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'
>> /home/shirish/.config/variety/scripts/set_wallpaper: line 121: [: ==:
>> unary operator expected
>>
>> (variety:23253): Gdk-CRITICAL **: 18:09:05.488:
>> gdk_window_thaw_toplevel_updates: assertion
>> 'window->update_and_descendants_freeze_count > 0' failed
>> /home/shirish/.config/variety/scripts/set_wallpaper: line 121: [: ==:
>> unary operator expected
>
> If you haven't edited set_wallpaper directly, delete
> ~/.config/variety/scripts/set_wallpaper and restart Variety. This will
> make Variety copy over the newest set_wallpaper (this bug was fixed in
> set_wallpaper since 0.6.7)
>

shirish@debian:~/.config/variety/scripts$ rm -rf set_wallpaper

I restarted variety and on another console tab shows this now -

~/.config/variety/scripts$ ls -lh
total 16K
-rwxr-xr-x 1 shirish shirish 1.6K Mar 22 06:32 get_wallpaper
-rwxr-xr-x 1 shirish shirish 9.5K Aug 10 12:28 set_wallpaper

dunno if I should also delete the get_wallpaper script and it
will take the new one or not. For now Not touching till you say so.

>> /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:860:
>> InsecureRequestWarning: Unverified HTTPS request is being made. Adding
>> certificate verification is strongly advised. See:
>> https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
>>   InsecureRequestWarning)
>> /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:860:
>> InsecureRequestWarning: Unverified HTTPS request is being made. Adding
>> certificate verification is strongly advised. See:
>> https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
>>   InsecureRequestWarning)
>> /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:860:
>> InsecureRequestWarning: Unverified HTTPS request is being made. Adding
>> certificate verification is strongly advised. See:
>> https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
>>   InsecureRequestWarning)
>> /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:860:
>> InsecureRequestWarning: Unverified HTTPS request is being made. Adding
>> certificate verification is strongly advised. See:
>> https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
>>   InsecureRequestWarning)
>> /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:860:
>> InsecureRequestWarning: Unverified HTTPS request is being made. Adding
>> certificate verification is strongly advised. See:
>> https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
>>   InsecureRequestWarning)
>> /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:860:
>> InsecureRequestWarning: Unverified HTTPS request is being made. Adding
>> certificate verification is strongly advised. See:
>> https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
>>   InsecureRequestWarning)
>> /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:860:
>> InsecureRequestWarning: Unverified HTTPS request is being made. Adding
>> certificate verification is strongly advised. See:
>> https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
>>   InsecureRequestWarning)
>> /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:860:
>> InsecureRequestWarning: Unverified HTTPS request is being made. Adding
>> certificate verification is strongly advised. See:
>> https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
>>   InsecureRequestWarning)
>
> We'll likely fix this in 0.7.0:
> https://github.com/varietywalls/variety/pull/48#discussion_r208742549
>

just looked at it, so it's migration to python 2.7 issues, glad you
are working on it :)

>> /home/shirish/.config/variety/scripts/set_wallpaper: line 121: [: ==:
>> unary operator expected
>>
>> I see a bunch of ssl warnings along with line 121, line 121 of the
>> script says -
>>
>> if [ ${KDE_FULL_SESSION} == "true" ]; then
>>
>> but this is mate-desktop. 

Bug#905783: variety doesn't startup in mate and throws a bunch of python warnings

2018-08-09 Thread James Lu
Control: tags -1 +moreinfo

Hi,

On 2018-08-09 06:18 AM, shirish शिरीष wrote:
> Package: variety
> Version: 0.6.9-1
> Severity: normal
> 
> Dear Maintainer,
> 
> First I checked why variety isn't startup applications because I had
> put it in startup applications.
> 
> It used to work for quite sometime but recently didn't start. I saw
> for some reason it
> was now showing as variety only instead of /usr/bin/variety which I
> fixed. I have shared
> screenshots of both.

I don't see how this would make a difference unless you have a
conflicting "variety" binary elsewhere. What does "which variety" on the
command line show you?

> 
> Then I tried triggering variety via command-line and got the following
> messages -
> 
> $ variety> WARNING: 2018-08-09 18:09:04,714: 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'
> /home/shirish/.config/variety/scripts/set_wallpaper: line 121: [: ==:
> unary operator expected
> 
> (variety:23253): Gdk-CRITICAL **: 18:09:05.488:
> gdk_window_thaw_toplevel_updates: assertion
> 'window->update_and_descendants_freeze_count > 0' failed
> /home/shirish/.config/variety/scripts/set_wallpaper: line 121: [: ==:
> unary operator expected

If you haven't edited set_wallpaper directly, delete
~/.config/variety/scripts/set_wallpaper and restart Variety. This will
make Variety copy over the newest set_wallpaper (this bug was fixed in
set_wallpaper since 0.6.7)

> /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:860:
> InsecureRequestWarning: Unverified HTTPS request is being made. Adding
> certificate verification is strongly advised. See:
> https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
>   InsecureRequestWarning)
> /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:860:
> InsecureRequestWarning: Unverified HTTPS request is being made. Adding
> certificate verification is strongly advised. See:
> https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
>   InsecureRequestWarning)
> /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:860:
> InsecureRequestWarning: Unverified HTTPS request is being made. Adding
> certificate verification is strongly advised. See:
> https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
>   InsecureRequestWarning)
> /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:860:
> InsecureRequestWarning: Unverified HTTPS request is being made. Adding
> certificate verification is strongly advised. See:
> https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
>   InsecureRequestWarning)
> /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:860:
> InsecureRequestWarning: Unverified HTTPS request is being made. Adding
> certificate verification is strongly advised. See:
> https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
>   InsecureRequestWarning)
> /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:860:
> InsecureRequestWarning: Unverified HTTPS request is being made. Adding
> certificate verification is strongly advised. See:
> https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
>   InsecureRequestWarning)
> /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:860:
> InsecureRequestWarning: Unverified HTTPS request is being made. Adding
> certificate verification is strongly advised. See:
> https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
>   InsecureRequestWarning)
> /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:860:
> InsecureRequestWarning: Unverified HTTPS request is being made. Adding
> certificate verification is strongly advised. See:
> https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
>   InsecureRequestWarning)

We'll likely fix this in 0.7.0:
https://github.com/varietywalls/variety/pull/48#discussion_r208742549

> /home/shirish/.config/variety/scripts/set_wallpaper: line 121: [: ==:
> unary operator expected
> 
> I see a bunch of ssl warnings along with line 121, line 121 of the
> script says -
> 
> if [ ${KDE_FULL_SESSION} == "true" ]; then
> 
> but this is mate-desktop. Also that gdk-critical error seems something
> to look at.

OK, maybe the Gdk-CRITICAL stuff is related but it looks like a bit of a
red herring. Reason being that Variety is still working after displaying
that error. It's more important to know if there actual missing
elements, e.g. a broken tray icon.

> I do not know whether it's a debian issue or something that upstream
> needs to take a look at ?

I happen to be upstream so I'm looking at it either way ;)
> 
> Look forward to your response to know what to do .
> 
> Is there a possibility of having variety-slideshow as a binary too ?

You can request a new package through the RFP process:
https://wiki.debian.org/RFP

> -- System Information:
> Debia

Bug#905783: variety doesn't startup in mate and throws a bunch of python warnings

2018-08-09 Thread shirish शिरीष
Package: variety
Version: 0.6.9-1
Severity: normal

Dear Maintainer,

First I checked why variety isn't startup applications because I had
put it in startup applications.

It used to work for quite sometime but recently didn't start. I saw
for some reason it
was now showing as variety only instead of /usr/bin/variety which I
fixed. I have shared
screenshots of both.

Then I tried triggering variety via command-line and got the following
messages -

$ variety
WARNING: 2018-08-09 18:09:04,714: 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'
/home/shirish/.config/variety/scripts/set_wallpaper: line 121: [: ==:
unary operator expected

(variety:23253): Gdk-CRITICAL **: 18:09:05.488:
gdk_window_thaw_toplevel_updates: assertion
'window->update_and_descendants_freeze_count > 0' failed
/home/shirish/.config/variety/scripts/set_wallpaper: line 121: [: ==:
unary operator expected
/usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:860:
InsecureRequestWarning: Unverified HTTPS request is being made. Adding
certificate verification is strongly advised. See:
https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
/usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:860:
InsecureRequestWarning: Unverified HTTPS request is being made. Adding
certificate verification is strongly advised. See:
https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
/usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:860:
InsecureRequestWarning: Unverified HTTPS request is being made. Adding
certificate verification is strongly advised. See:
https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
/usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:860:
InsecureRequestWarning: Unverified HTTPS request is being made. Adding
certificate verification is strongly advised. See:
https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
/usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:860:
InsecureRequestWarning: Unverified HTTPS request is being made. Adding
certificate verification is strongly advised. See:
https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
/usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:860:
InsecureRequestWarning: Unverified HTTPS request is being made. Adding
certificate verification is strongly advised. See:
https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
/usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:860:
InsecureRequestWarning: Unverified HTTPS request is being made. Adding
certificate verification is strongly advised. See:
https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
/usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:860:
InsecureRequestWarning: Unverified HTTPS request is being made. Adding
certificate verification is strongly advised. See:
https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
/home/shirish/.config/variety/scripts/set_wallpaper: line 121: [: ==:
unary operator expected

I see a bunch of ssl warnings along with line 121, line 121 of the
script says -

if [ ${KDE_FULL_SESSION} == "true" ]; then

but this is mate-desktop. Also that gdk-critical error seems something
to look at.

I do not know whether it's a debian issue or something that upstream
needs to take a look at ?

Look forward to your response to know what to do .

Is there a possibility of having variety-slideshow as a binary too ?

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

Kernel: Linux 4.17.0-1-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)
LSM: AppArmor: enabled

Versions of packages variety depends on:
ii  gir1.2-gdkpixbuf-2.0 2.36.12-1
ii  gir1.2-gexiv2-0.10   0.10.8-1
ii  gir1.2-glib-2.0  1.56.1-1
ii  gir1.2-gtk-3.0   3.22.30-2
ii  gir1.2-notify-0.70.7.7-3
ii  gir1.2-pango-1.0 1.42.1-2
ii  imagemagick  8:6.9.10.8+dfsg-1
ii  imagemagick-6.q16 [imagemagick]  8:6.9.10.8+dfsg-1
ii  python   2.7.15-3
ii  python-bs4   4.6.0-1
ii  python-cairo 1.16.2-1+b1
ii  python-configobj 5.0.6-2
ii  python-dbus  1.2.8-2+b1
ii  python-