argument parsing broken on windows

Bug #956143 reported by Roberto Alsina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Control Panel
Status tracked in Trunk
Stable-3-0
Fix Released
Undecided
Unassigned
Trunk
Fix Released
High
Roberto Alsina

Bug Description

QApplication.arguments() returns the real argv, so, on windows, it's not possible to run the .py as

python bin\ubuntuone-control-panel-qt

because the filename is argv[1] and is being passed to argparse

Tags: u1-windows

Related branches

Roberto Alsina (ralsina)
Changed in ubuntuone-control-panel:
status: New → In Progress
Changed in ubuntuone-control-panel:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.