Quick Usb Formatter

Register     Lost Password?  
A tiny app for format USB Sticks
Tasklist

FS#426 - Format Fat32 does not work

Attached to Project: Quick Usb Formatter
Opened by Christian Trippe (ctrippe) - Monday, 09 April 2012, 07:26 GMT
Last edited by Daniele Cocca (jmc) - Tuesday, 14 August 2012, 00:45 GMT
Task Type Bug Report
Category Backend / Core
Status Closed
Assigned To Daniele Cocca (jmc)
Operating System x86_64
Severity Low
Priority Normal
Reported Version Archimedes
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hi,

I tried to make quick-usb-formatter work on openSUSE.

I already fixed the issues mentioned at https://bugzilla.novell.com/show_bug.cgi?id=707873

However one problem remains: The formatting itself does not work. In .xsesseion-errors I get

==

**** FORMATTING AS FAT 32
EXEC COMMANDS : kdesu mkdosfs ("-v", "/dev/sdb1")
UNABLE TO FORMAT

==

Please note that the kdesu is alreay modified be me, because it is needed on openSUSE as this action requires root priviliges there.

However it seems to me that the arguments to mkdosfs are passed as written above in the error message.

Is it really correct that "argumentos" which contains the parameters is defined as a QStringList?

This is when using the tarball from http://kde-apps.org/content/show.php?action=content&content=137493
This task depends upon

Closed by  Daniele Cocca (jmc)
Tuesday, 14 August 2012, 00:45 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Should not be a bug, plus the bug reporter seems not to be reachable anymore.
2012-10-19: A request to re-open the task has been made. Reason for request: Utterly understand what your stance in this matter. Though I'd disagree on some of the finer particulars, I think you did an superior job explaining it. Certain beats having to analysis it on my own. Thanks. Anyway, in my language, there aren't a lot good supply like this. http://www.dimoulet.net
Comment by Daniele Cocca (jmc) - Tuesday, 31 July 2012, 08:51 GMT
Hi, sorry for the late response, haven't noticed this bug report before today...

Yes, the definition of "argumentos" is correct, see the API documentation for QProcess about that: http://qt-project.org/doc/qt-4.8/qprocess.html#execute

The thing is, as I see this you're trying to launch the executable "kdesu mkdosfs", which of course is not there. What you would do is rather to launch the "kdesu" executable, and "mkdosfs" will be its first argument, followed by the rest of "argumentos", constructed as it is now.

If my analysis is correct, then this is not a Quick USB Formatter bug: in such a case, please notify me so I can close this report.

Hope that helps. :)

Loading...