FS#9381 - [obmenu 1.0-4] obm-xdg: broken argument parsing

Attached to Project: Community Packages
Opened by Diego Martin Nieto Cid (diego) - Monday, 28 January 2008, 23:56 GMT
Last edited by Hugo Doria (hdoria) - Tuesday, 24 June 2008, 15:44 GMT
Task Type Bug Report
Category
Status Closed
Assigned To DaNiMoTh (DaNiMoTh)
Hugo Doria (hdoria)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

obm-xdg does not run when both an option and a filename are specified in the command line.

Additional info:

Traceback (most recent call last):
File "/usr/bin/obm-xdg", line 443, in <module>
mnu.parseFile(filename)
File "/usr/bin/obm-xdg", line 180, in parseFile
f = open(filename)
IOError: [Errno 2] No such file or directory: ''

Steps to reproduce:

$ obm-xdg --replace /etc/xdg/menus/arch-applications.menu

Solution: attached patch? :P
This task depends upon

Closed by  Hugo Doria (hdoria)
Tuesday, 24 June 2008, 15:44 GMT
Reason for closing:  Fixed
Comment by DaNiMoTh (DaNiMoTh) - Friday, 11 April 2008, 07:51 GMT
Patch mailed to a project maintainer. We are only packagers, so these bug must be reported directly to main-stream developers.

Thanks anyway, I apply this until they doesn't release.
Comment by Hugo Doria (hdoria) - Wednesday, 04 June 2008, 17:41 GMT
Can we close this?
Comment by Diego Martin Nieto Cid (diego) - Wednesday, 04 June 2008, 22:07 GMT
I didn't know where main-stream was located, so I posted this here. Thank you for forwarding this. So, I guess there's no reason to keep this open.

Loading...