Bug#940902: doesn't read the data

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#940902: doesn't read the data

Ana Guerrero Lopez
Package: cycle
Version: 0.3.1-16
Severity: grave

Hi,

This new version of cycle, ported to python3, doesn't read the data file
( under .cycle) and prompts to create a new user.

Not creating a new user and downgrading to the version in buster (-14), allows
to continue using the application with the previous data.

Cheers,
Ana

Reply | Threaded
Open this post in threaded view
|

Bug#940902: doesn't read the data

Giuseppe Bilotta-4
Package: cycle
Version: 0.3.1-16
Followup-For: Bug #940902

I'm experiencing this issue as well. For debugging purposes, I moved the
previous .cycle directory out of the way, created a new user, saved, and
on restart it asked me to create a new user again —despite having
created the new profile. So the bug is present even for data file
created in the new version, not only when trying to read old data.

--
Giuseppe "Oblomov" Bilotta


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'oldoldstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-2-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cycle depends on:
ii  python3           3.7.3-1
ii  python3-wxgtk4.0  4.0.6+dfsg-2

cycle recommends no packages.

cycle suggests no packages.

-- no debconf information
Reply | Threaded
Open this post in threaded view
|

Bug#940902: doesn't read the data

ana (Bugzilla)
In reply to this post by Ana Guerrero Lopez

Hi,

On Mon, Sep 23, 2019 at 10:18:51AM +0200, Andreas Tille wrote:
>
...
> On Sun, Sep 22, 2019 at 11:11:47PM +0200, Ana Guerrero Lopez wrote:
...

> > Your current python3 porting is not helping here since many people will start
> > the application, will be prompted for a new user, will create it and erase
> > all their data. So please, revert your changes and if that means the package
> > will be removed from the archive, let it be. At least people will be able to
> > continue using it while they move to something else (or not), but won't lose
> > their data as it'll happen now.
>
> I've now pushed a change to salsa[1] where I deactivated the whole 2to3
> port and replaced the warning about the port by some other warning that
> a port will be needed or the package will vanish.  Hopefully this might
> attract some coders.  BTW, I fully agree with you that the code quality
> might not be a good start.
>
> I tried to start the build here but I get:
>
> $ cycle
> Traceback (most recent call last):
>   File "/usr/bin/cycle", line 213, in <module>
>     app = MyApp(0)
>   File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk3/wx/_core.py", line 8628, in __init__
>     self._BootstrapApp()
>   File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk3/wx/_core.py", line 8196, in _BootstrapApp
>     return _core_.PyApp__BootstrapApp(*args, **kwargs)
>   File "/usr/bin/cycle", line 193, in OnInit
>     ret=first_login()
>   File "/usr/share/cycle/dialogs.py", line 304, in first_login
>     users = get_users()
>   File "/usr/share/cycle/dialogs.py", line 192, in get_users
>     users.append((cPickle.loads(tmp[:n]), f))
> ValueError: unsupported pickle protocol: 3
>
>
> So I reverted to the Python2 version 0.3.1-14 (from testing) but I get
> absolutely the same error.  I wonder whether my package is fine in terms
> of "works as broken as before" or whether I messed up something else.
>
> > Thanks for caring.
>
> Thanks to you.  I'd be happy if you could check master[1] and confirm
> that it is OK.  I can even give you commit permissions so you can change
> anything you feel sensible and do the team upload yourself.

Please, add me to the group, I'll take care of the testing and upload.

Cheers,

Ana

Reply | Threaded
Open this post in threaded view
|

Bug#940902: doesn't read the data

Andreas Tille-6
On Mon, Sep 30, 2019 at 11:47:14PM +0200, Ana Guerrero Lopez wrote:
> > Thanks to you.  I'd be happy if you could check master[1] and confirm
> > that it is OK.  I can even give you commit permissions so you can change
> > anything you feel sensible and do the team upload yourself.
>
> Please, add me to the group, I'll take care of the testing and upload.

Welcome to the team, Andreas.

--
http://fam-tille.de