Bug 1314

Summary: pypar2 only runs once per user account
Product: Mageia Reporter: Bert Aerts <bert.ram.aerts>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: pypar2-1.4-8.mga1 CVE:
Status comment:

Description Bert Aerts 2011-05-17 21:51:15 CEST
Description of problem:

as normal user pypar2 gives following errors:

[bert@Dell1720MageiaWDblue ~]$ pypar2
Traceback (most recent call last):
  File "/usr/share/pypar2/src/main.py", line 20, in <module>
    import consts, dlgAbout, dlgOutput, gettext, gtk, gtk.glade, locale, os.path, prefsManager, sys, treeview
  File "/usr/share/pypar2/src/dlgOutput.py", line 19, in <module>
    import consts, gtk, prefsManager, signal, sys, os, vte
  File "/usr/share/pypar2/src/prefsManager.py", line 116, in <module>
    value       = typeToolBox.cast(elt.getAttribute('value'), elt.getAttribute('type'))
  File "/usr/share/pypar2/src/typeToolBox.py", line 39, in cast
    return int(value)
ValueError: invalid literal for int() with base 10: 'False'

but as user root, pypar2 startsup the graphical interface:

[root@Dell1720MageiaWDblue bert]# pypar2

(main.py:9357): GVFS-RemoteVolumeMonitor-WARNING **: cannot connect to the session bus: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

(main.py:9357): GVFS-RemoteVolumeMonitor-WARNING **: cannot connect to the session bus: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
/usr/share/pypar2/src/main.py:195: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  wTree  = gtk.glade.XML(os.path.join(consts.dirRes, 'win-main.glade'), domain=consts.appNameShort)


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
Comment 1 Bert Aerts 2011-05-17 22:00:21 CEST
Apparently pypar2 runs only once in a user account (also in root).
But the solution is to remove the .pypar2 directory in the user account:
cd ~bert
rm -rf .pypar2
and then pypar2 starts up again :-)
So pypar2 saves settings in the .pypar2 directory that prevent further use :-(
Bert Aerts 2011-05-17 22:10:57 CEST

Summary: pypar2 only runs in root account => pypar2 only runs once per user account

Comment 2 Ahmad Samir 2011-05-17 22:41:24 CEST
Right-o; I added a patch from Debian to fix that issue, new package should be on the mirrors soon.

You'll need to delete ~/.pypar2 one more time, but it should work after that.
Comment 3 Bert Aerts 2011-05-18 20:09:08 CEST
With pypar2-1.4-9.mga1 issue is solved.

Thanks!

Status: NEW => RESOLVED
Resolution: (none) => FIXED