Destination file already exists error is annoying.

Bug #357176 reported by Albert Santoni
2
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
Low
Sean M. Pappalardo

Bug Description

Some users switch back and forth between Mixxx versions (this is not that uncommon). This is even more likely to be the case if our 1.7.0 beta doesn't work well for people. After upgrading from 1.6.1 to 1.7.0, Mixxx moves your configuration files over to their new .mixxx/ location. However, if you run 1.6.1 again, and then run 1.7.0 after it, Mixxx will complain that it can't overwrite the .mixxx/ files. (It will see your 1.6.1 config files, try to move them, and complain because the 1.7.0 files will already be there.)

The error sequence in the console looks like this:
Warning: [Main]: "Error moving your library file /Users/alb/.mixxxtrack.xml to the new location /Users/alb/.mixxx/mixxxtrack.xml:
" The destination file already exists.
Warning: [Main]: "Error moving your settings file /Users/alb/.mixxxbpmscheme.xml to the new location /Users/alb/.mixxx/mixxxbpmscheme.xml:
" The destination file already exists.
Warning: [Main]: "Error moving your configuration file /Users/alb/.mixxx.cfg to the new location /Users/alb/.mixxx/mixxx.cfg:
" The destination file already exists.

It also pops up a super-annoying error message. This error message should be removed, to make it fail silently, at least.

Thanks,
Albert

Albert Santoni (gamegod)
Changed in mixxx:
assignee: nobody → pegasus-renegadetech
importance: Undecided → Low
milestone: none → 1.7.0
status: New → Confirmed
Revision history for this message
Sean M. Pappalardo (pegasus-renegadetech) wrote :

So how should we handle these instances? Overwrite the new version's files with those from the old version? Or just do nothing as currently but switch to a qDebug instead of a qWarning?

Revision history for this message
Nick (kousu) wrote : Re: [Bug 357176] Re: Destination file already exists error is annoying.

qDebug() it. This won't bite "end users" and anyone who isn't will
know enough to look in the logfile or at least come ask us if they
notice their settings aren't being saved.

Revision history for this message
Sean M. Pappalardo (pegasus-renegadetech) wrote :

Changed all "file exists" warnings to qDebugs. (Left the "MIDI format has changed" message as is because upgrading users will need to see that.)

Changed in mixxx:
status: Confirmed → Fix Committed
Revision history for this message
Albert Santoni (gamegod) wrote : Re: [Bug 357176] [NEW] Destination file already exists error is annoying.

Perfect, thanks guys!

On 4/7/09, Pegasus <email address hidden> wrote:
> Changed all "file exists" warnings to qDebugs. (Left the "MIDI format
> has changed" message as is because upgrading users will need to see
> that.)
>
> ** Changed in: mixxx
> Status: Confirmed => Fix Committed
>
> --
> Destination file already exists error is annoying.
> https://bugs.launchpad.net/bugs/357176
> You received this bug notification because you are a member of Mixxx
> Development Team, which is subscribed to Mixxx.
>

--
Sent from my mobile device

RJ Skerry-Ryan (rryan)
Changed in mixxx:
status: Fix Committed → Fix Released
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/5129

lock status: Metadata changes locked and limited to project staff
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.