Bug#1036988: crashes with TypeError: _ScrolledWindowBase.SetScrollbars(): argument 3 has unexpected type 'float'

2023-05-31 Thread Konstantin L. Metlov

Done. New release is up on GitHub.

https://github.com/metlov/cycle

With the best regards,
  Konstantin.

Quoting Andreas Tille :


Am Wed, May 31, 2023 at 05:35:46PM +0300 schrieb Konstantin L. Metlov:

Thank you for reporting this bug !

It is already fixed by the commit

https://github.com/metlov/cycle/commit/e86d72ec1a2a05c46ccde2f607f142cef7dbabb2

I should, probably, make a new bugfix release.


A bugfix release would be welcome.

Kind regards
 Andreas.


Or, alternatively, the
package can be patched with the last few cherry picked git commits. All of
the latest commits are bugfixes, only one of them (merging LMB and RMB
handling) changes the functionality a little bit, making the program more
convenient to use on touch screen devices.

With the best regards,
  Konstantin.

Quoting cacat...@tuxfamily.org:

> Package: cycle
> Version: 0.3.2-2
>
> Hello,
>
> steps to reproduce:
> - run the program
> - fill infos (name and password)
> - validate
>
> The program crashes with this output on a terminal:
>
> ~
> $ cycle
> /usr/bin/cycle:35: DeprecationWarning: Use setlocale(), getencoding()
> and getlocale() instead
>   dl = locale.getdefaultlocale()
>
> (cycle:108832): dbind-WARNING **: 08:53:27.113: AT-SPI: Error retrieving
> accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown:
> The name org.a11y.Bus was not provided by any .service files
> Traceback (most recent call last):
>   File "/usr/bin/cycle", line 212, in OnInit
> self.frame_init()
>   File "/usr/bin/cycle", line 216, in frame_init
> frame = MyFrame(None, -1, "")
> ^
>   File "/usr/bin/cycle", line 81, in __init__
> self.cal = Cal_Year(self)
>^^
>   File "/usr/share/cycle/cal_year.py", line 168, in __init__
> self.Init_Year()
>   File "/usr/share/cycle/cal_year.py", line 209, in Init_Year
> self.SetScrollbars(20, 20, w/20, h/20)
> TypeError: _ScrolledWindowBase.SetScrollbars(): argument 3 has
> unexpected type 'float'
> OnInit returned false, exiting...
> ~
>
> Have a good day,
>
>
> -- System Information:
> Debian Release: 12.0
>   APT prefers testing
>   APT policy: (900, 'testing'), (800, 'unstable'), (500,
> 'testing-security'), (500, 'testing-debug')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 6.1.0-9-amd64 (SMP w/4 CPU threads; PREEMPT)
> Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE
> not set
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
>
> Versions of packages cycle depends on:
> ii  python3   3.11.2-1+b1
> ii  python3-wxgtk4.0  4.2.0+dfsg-3
>
> cycle recommends no packages.
>
> cycle suggests no packages.
>
> -- no debconf information

___
Debian-med-packaging mailing list
debian-med-packag...@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-packaging



--
http://fam-tille.de




Bug#1036988: crashes with TypeError: _ScrolledWindowBase.SetScrollbars(): argument 3 has unexpected type 'float'

2023-05-31 Thread Andreas Tille
Am Wed, May 31, 2023 at 05:35:46PM +0300 schrieb Konstantin L. Metlov:
> Thank you for reporting this bug !
> 
> It is already fixed by the commit
> 
> https://github.com/metlov/cycle/commit/e86d72ec1a2a05c46ccde2f607f142cef7dbabb2
> 
> I should, probably, make a new bugfix release.

A bugfix release would be welcome.

Kind regards
 Andreas.

> Or, alternatively, the
> package can be patched with the last few cherry picked git commits. All of
> the latest commits are bugfixes, only one of them (merging LMB and RMB
> handling) changes the functionality a little bit, making the program more
> convenient to use on touch screen devices.
> 
> With the best regards,
>   Konstantin.
> 
> Quoting cacat...@tuxfamily.org:
> 
> > Package: cycle
> > Version: 0.3.2-2
> > 
> > Hello,
> > 
> > steps to reproduce:
> > - run the program
> > - fill infos (name and password)
> > - validate
> > 
> > The program crashes with this output on a terminal:
> > 
> > ~
> > $ cycle
> > /usr/bin/cycle:35: DeprecationWarning: Use setlocale(), getencoding()
> > and getlocale() instead
> >   dl = locale.getdefaultlocale()
> > 
> > (cycle:108832): dbind-WARNING **: 08:53:27.113: AT-SPI: Error retrieving
> > accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown:
> > The name org.a11y.Bus was not provided by any .service files
> > Traceback (most recent call last):
> >   File "/usr/bin/cycle", line 212, in OnInit
> > self.frame_init()
> >   File "/usr/bin/cycle", line 216, in frame_init
> > frame = MyFrame(None, -1, "")
> > ^
> >   File "/usr/bin/cycle", line 81, in __init__
> > self.cal = Cal_Year(self)
> >^^
> >   File "/usr/share/cycle/cal_year.py", line 168, in __init__
> > self.Init_Year()
> >   File "/usr/share/cycle/cal_year.py", line 209, in Init_Year
> > self.SetScrollbars(20, 20, w/20, h/20)
> > TypeError: _ScrolledWindowBase.SetScrollbars(): argument 3 has
> > unexpected type 'float'
> > OnInit returned false, exiting...
> > ~
> > 
> > Have a good day,
> > 
> > 
> > -- System Information:
> > Debian Release: 12.0
> >   APT prefers testing
> >   APT policy: (900, 'testing'), (800, 'unstable'), (500,
> > 'testing-security'), (500, 'testing-debug')
> > Architecture: amd64 (x86_64)
> > 
> > Kernel: Linux 6.1.0-9-amd64 (SMP w/4 CPU threads; PREEMPT)
> > Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE
> > not set
> > Shell: /bin/sh linked to /usr/bin/dash
> > Init: systemd (via /run/systemd/system)
> > LSM: AppArmor: enabled
> > 
> > Versions of packages cycle depends on:
> > ii  python3   3.11.2-1+b1
> > ii  python3-wxgtk4.0  4.2.0+dfsg-3
> > 
> > cycle recommends no packages.
> > 
> > cycle suggests no packages.
> > 
> > -- no debconf information
> 
> ___
> Debian-med-packaging mailing list
> debian-med-packag...@alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-packaging
> 

-- 
http://fam-tille.de



Bug#1036988: crashes with TypeError: _ScrolledWindowBase.SetScrollbars(): argument 3 has unexpected type 'float'

2023-05-31 Thread Konstantin L. Metlov

Thank you for reporting this bug !

It is already fixed by the commit

https://github.com/metlov/cycle/commit/e86d72ec1a2a05c46ccde2f607f142cef7dbabb2

I should, probably, make a new bugfix release. Or, alternatively, the  
package can be patched with the last few cherry picked git commits.  
All of the latest commits are bugfixes, only one of them (merging LMB  
and RMB handling) changes the functionality a little bit, making the  
program more convenient to use on touch screen devices.


With the best regards,
  Konstantin.

Quoting cacat...@tuxfamily.org:


Package: cycle
Version: 0.3.2-2

Hello,

steps to reproduce:
- run the program
- fill infos (name and password)
- validate

The program crashes with this output on a terminal:

~
$ cycle
/usr/bin/cycle:35: DeprecationWarning: Use setlocale(),  
getencoding() and getlocale() instead

  dl = locale.getdefaultlocale()

(cycle:108832): dbind-WARNING **: 08:53:27.113: AT-SPI: Error  
retrieving accessibility bus address:  
org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was  
not provided by any .service files

Traceback (most recent call last):
  File "/usr/bin/cycle", line 212, in OnInit
self.frame_init()
  File "/usr/bin/cycle", line 216, in frame_init
frame = MyFrame(None, -1, "")
^
  File "/usr/bin/cycle", line 81, in __init__
self.cal = Cal_Year(self)
   ^^
  File "/usr/share/cycle/cal_year.py", line 168, in __init__
self.Init_Year()
  File "/usr/share/cycle/cal_year.py", line 209, in Init_Year
self.SetScrollbars(20, 20, w/20, h/20)
TypeError: _ScrolledWindowBase.SetScrollbars(): argument 3 has  
unexpected type 'float'

OnInit returned false, exiting...
~

Have a good day,


-- System Information:
Debian Release: 12.0
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (500,  
'testing-security'), (500, 'testing-debug')

Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-9-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8),  
LANGUAGE not set

Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cycle depends on:
ii  python3   3.11.2-1+b1
ii  python3-wxgtk4.0  4.2.0+dfsg-3

cycle recommends no packages.

cycle suggests no packages.

-- no debconf information




Bug#1036988: crashes with TypeError: _ScrolledWindowBase.SetScrollbars(): argument 3 has unexpected type 'float'

2023-05-31 Thread cacatoes

Package: cycle
Version: 0.3.2-2

Hello,

steps to reproduce:
- run the program
- fill infos (name and password)
- validate

The program crashes with this output on a terminal:

~
$ cycle
/usr/bin/cycle:35: DeprecationWarning: Use setlocale(), getencoding() 
and getlocale() instead

  dl = locale.getdefaultlocale()

(cycle:108832): dbind-WARNING **: 08:53:27.113: AT-SPI: Error retrieving 
accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: 
The name org.a11y.Bus was not provided by any .service files

Traceback (most recent call last):
  File "/usr/bin/cycle", line 212, in OnInit
self.frame_init()
  File "/usr/bin/cycle", line 216, in frame_init
frame = MyFrame(None, -1, "")
^
  File "/usr/bin/cycle", line 81, in __init__
self.cal = Cal_Year(self)
   ^^
  File "/usr/share/cycle/cal_year.py", line 168, in __init__
self.Init_Year()
  File "/usr/share/cycle/cal_year.py", line 209, in Init_Year
self.SetScrollbars(20, 20, w/20, h/20)
TypeError: _ScrolledWindowBase.SetScrollbars(): argument 3 has 
unexpected type 'float'

OnInit returned false, exiting...
~

Have a good day,


-- System Information:
Debian Release: 12.0
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (500, 
'testing-security'), (500, 'testing-debug')

Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-9-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE 
not set

Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cycle depends on:
ii  python3   3.11.2-1+b1
ii  python3-wxgtk4.0  4.2.0+dfsg-3

cycle recommends no packages.

cycle suggests no packages.

-- no debconf information