Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 271033

Summary: x11-themes/fvwm-crystal-3.0.6 doesn't work well with python2.6
Product: Gentoo Linux Reporter: Naohiro Aota <naota>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 230205    
Attachments: patch for fvwm-crystal.apps to fix the problem
ebuild to use the above patch

Description Naohiro Aota gentoo-dev 2009-05-24 09:02:12 UTC
`with' became reserved keyword in python2.6 so that
/usr/bin/fvwm-crystal.apps doesn't work well with python2.6.


Reproducible: Always

Steps to Reproduce:
1. eselect python set python2.6
2. start fvwm-crystal
3. You may find that the application menu doesn't appear.


Actual Results:  
/usr/bin/fvwm-crystal.apps exit with the following error.

% /usr/bin/fvwm-crystal.apps
  File "/usr/bin/fvwm-crystal.apps", line 209
    def getAppsData(databases=[database],checkExecs=False,searchIconsIn='',sortOrder='prio',minLength=3,with=None,without=None,rootName='/Applications',topInSub=True,fileIcon='default.png',dirIcon='directory.png'):
                                                                                                           ^
SyntaxError: invalid syntax


Expected Results:  
/usr/bin/fvwm-crystal.apps shoud work.
Comment 1 Naohiro Aota gentoo-dev 2009-05-24 09:04:53 UTC
Created attachment 192272 [details, diff]
patch for fvwm-crystal.apps to fix the problem
Comment 2 Naohiro Aota gentoo-dev 2009-05-24 09:06:22 UTC
Created attachment 192275 [details]
ebuild to use the above patch

These patch and ebuild might fix this bug.
Comment 3 Thomas Sachau gentoo-dev 2009-06-28 19:54:59 UTC
Fixed with x11-themes/fvwm-crystal-3.0.6-r1
Comment 4 Jonathan Geisler 2010-08-10 19:21:17 UTC
The problem also affects fvwm-crystal-3.0.5 and needs a similar patch.  Please apply the same patch to that version or bump 3.0.6-r1 as stable.