can't delete temp files on exit (7.01) intermittent

UHE is now closed. For Technical Support from Ableton, please go here: http://www.ableton.com/support
Locked
Angstrom
Posts: 14988
Joined: Mon Oct 04, 2004 2:22 pm
Contact:

can't delete temp files on exit (7.01) intermittent

Post by Angstrom » Tue Dec 18, 2007 1:49 am

Hi,

I've notice this a few times, on exiting the program I get an error message similar to
"cannot delete temp files for some reason"


Now, I've no real idea why this is - but I do know that as a result of this I have about 20 projects in my scratch disk. All called names like ...
Temp Project
Temp-1 Project
Temp-2 Project

all the way to Temp-32 Project, there are a few missing on the way.

My log only contains these small clues,
the blow is the only time the log caught the issue.

Code: Select all

655418 ms. Index: Failed [0x000c]: no such table: version
1442633 ms. ALivePreferences: Begin OnPreferencesChanged
1442633 ms. ALivePreferences: End OnPreferencesChanged
1442634 ms. Default App: Begin SavePrefs
1442652 ms. Default App: End SavePrefs
1462146 ms. Dir: [Temp-16 Project] [G:\live scratch\] Delete error: 6


And there's some other stuff which relates to the decoding cache (not the project temp folders, but it may be related ) these are Sampler waveforms failing to be removed.

Code: Select all

59779 ms. Dir: [Sine_24.wav] [G:\live scratch\Decoding Cache\] Delete error: 32
59851 ms. Dir: [Sawtoothy_26.wav] [G:\live scratch\Decoding Cache\] Delete error: 32
60206 ms. Dir: [Sine_12.wav] [G:\live scratch\Decoding Cache\] Delete error: 32
60311 ms. Dir: [Sine_13.wav] [G:\live scratch\Decoding Cache\] Delete error: 32
60314 ms. Dir: [Sine_14.wav] [G:\live scratch\Decoding Cache\] Delete error: 32
60316 ms. Dir: [Sine_15.wav] [G:\live scratch\Decoding Cache\] Delete error: 32
60318 ms. Dir: [Sine_16.wav] [G:\live scratch\Decoding Cache\] Delete error: 32
60320 ms. Dir: [Sine_17.wav] [G:\live scratch\Decoding Cache\] Delete error: 32
60323 ms. Dir: [Sine_18.wav] [G:\live scratch\Decoding Cache\] Delete error: 32
60325 ms. Dir: [Sine_19.wav] [G:\live scratch\Decoding Cache\] Delete error: 32
60328 ms. Dir: [Sine_20.wav] [G:\live scratch\Decoding Cache\] Delete error: 32
60330 ms. Dir: [Sine_21.wav] [G:\live scratch\Decoding Cache\] Delete error: 32
60333 ms. Dir: [Sine_22.wav] [G:\live scratch\Decoding Cache\] Delete error: 32

etc, etc

Angstrom
Posts: 14988
Joined: Mon Oct 04, 2004 2:22 pm
Contact:

Post by Angstrom » Sat Feb 02, 2008 1:23 am

Hi,

I haven't had the "can't delete" error message for a long while - but these temp files need manual management (deletion). All of these are reasonably recent. This is just the last months crop of Temp files.

Image

longjohns
Posts: 9088
Joined: Mon Dec 22, 2003 3:42 pm
Location: seattle

Post by longjohns » Sat Feb 02, 2008 4:28 am

yes

there is another thread about this too.

it seems to sucessfully delete the samples but not the folder...

I have also gotten the 'can't delete' error dialog one or two times.

longjohns
Posts: 9088
Joined: Mon Dec 22, 2003 3:42 pm
Location: seattle

Post by longjohns » Sat Feb 02, 2008 4:30 am


Alex
Posts: 4006
Joined: Wed Apr 03, 2002 1:07 pm
Location: Ableton Headquarter

Post by Alex » Sat Feb 02, 2008 11:31 am

Angstrom,

according to the log files there are two types of windows error codes (6 = ERROR_INVALID_HANDLE & 32 = ERROR_SHARING_VIOLATION)

We will investigate that.

Regards,
/Alex

Alex
Posts: 4006
Joined: Wed Apr 03, 2002 1:07 pm
Location: Ableton Headquarter

Post by Alex » Sat Feb 02, 2008 1:49 pm

Hi (again),

it seems Live keeps an empty temp folder, each time a new set is loaded while an audio track in the previous set was armed. So this bug is mainly responsible for the amount of empty temp folders you can get after a while.


The errors coming when the deletion of files or folders fail are a different issue. and much harder to trace.


Regards,
/Alex

Angstrom
Posts: 14988
Joined: Mon Oct 04, 2004 2:22 pm
Contact:

Post by Angstrom » Sat Feb 02, 2008 2:47 pm

Hi Alex,
that first post was from a while back (December) and I've not seen those error messages (on closing) for a while, and nothing in the logs either. Although the folders are persisting with the betas for 7.02.
I've just gone back to check through the error logs for Betas 6,5,4 and 3 and none of those turn up anything for the search string "Delete error"
so that issue may have been partly resolved already by the Betas for 7.02

the last two errors in the log I have are in 7.01

Code: Select all

1047651 ms. Dir: [Temp-19 Project] [G:\live scratch\] Delete error: 6
22093994 ms. Dir: [Temp-20 Project] [G:\live scratch\] Delete error: 6
But the folders are still being left behind without leaving much in the log (it seems), because as you can see : while temp-20 was the last to be logged as a "delete error" I have 32 temp folders, meaning the process is still problematic.


one last note - that "error 32 " related to Simpler / Sampler waveforms.
I was trying some additive synthesis.
I'm not sure if that helps at all.

Angstrom
Posts: 14988
Joined: Mon Oct 04, 2004 2:22 pm
Contact:

Post by Angstrom » Tue Feb 05, 2008 8:37 pm

Hi,
I got the "Can;t delete Temp files for some reason" message on saving again today.
It's quite a simple set. One track has the EIC piano, and on another track a Simpler and a Sampler in a rack, both of those reference the same sawtooth wave (not an Ableton wave that one) . I have taken a bug reporting snapshot if you would like it.

I had a look at the log to see what it had to say on the matter.
the thrilling part is at 2928721 ms. "Dir: [Temp-29 Project] [G:\live scratch\] Delete error: 6"

Code: Select all

21498 ms. Live App: End Init
21549 ms. Directories: Library: Check
21549 ms. Directories: Library: Ok
21550 ms. Directories: Library Presets: Check
21550 ms. Directories: Library Presets: Ok
23583 ms. ASIO: AsioSupportsTimeInfo
23583 ms. ASIO: AsioSupportsTimeCode
26398 ms. Defaults: Skipped standard midi device
26399 ms. Defaults: Skipped standard directx device
27265 ms. Live App: Check for library
27297 ms. Live App: Check for default content
27329 ms. Live App: Check for package installation
27986 ms. Live App: Check lesson init
43501 ms. Index: Failed [0x000c]: no such table: version
2928721 ms. Dir: [Temp-29 Project] [G:\live scratch\] Delete error: 6
2928744 ms. LiveDocument: Purge project failed: "G:\live scratch\Temp-29 Project" cannot be deleted.
2934145 ms. Default App: Begin SavePrefs
2934170 ms. Default App: End SavePrefs

Angstrom
Posts: 14988
Joined: Mon Oct 04, 2004 2:22 pm
Contact:

Post by Angstrom » Tue Feb 05, 2008 8:45 pm

and again

Code: Select all

3198028 ms. BRSS: Manual Bug Reporting Snap Shot
3198028 ms. BRSS: 
3631235 ms. Dir: [Temp-29 Project] [G:\live scratch\] Delete error: 6
3631235 ms. LiveDocument: Purge project failed: "G:\live scratch\Temp-29 Project" cannot be deleted.
3634982 ms. Default App: Begin SavePrefs
3635000 ms. Default App: End SavePrefs
the slightly odd thing here is - that this project is no longer a Temp project at all, it is a saved Project , with a name, on a completely different drive.

so I'm not sure why Live is still struggling with the temp folder

Angstrom
Posts: 14988
Joined: Mon Oct 04, 2004 2:22 pm
Contact:

Post by Angstrom » Thu Feb 14, 2008 4:49 pm

hi, this problem still exists in 7.02

I have a fully saved project, but every time I try to save I get the little warning dialogue box and my log says.

Code: Select all

4052024 ms. ASIO: AsioSupportsTimeInfo
4052024 ms. ASIO: AsioSupportsTimeCode
4395291 ms. Dir: [Temp-1 Project] [G:\live scratch\] Delete error: 6
4395292 ms. LiveDocument: Purge project failed: "G:\live scratch\Temp-1 Project" cannot be deleted.
4396935 ms. Default App: Begin SavePrefs
4396954 ms. Default App: End SavePrefs
4529231 ms. Dir: [Temp-1 Project] [G:\live scratch\] Delete error: 6
4529232 ms. LiveDocument: Purge project failed: "G:\live scratch\Temp-1 Project" cannot be deleted.
4530700 ms. Default App: Begin SavePrefs
4530720 ms. Default App: End SavePrefs
4570738 ms. Dir: [Temp-1 Project] [G:\live scratch\] Delete error: 6
4570739 ms. LiveDocument: Purge project failed: "G:\live scratch\Temp-1 Project" cannot be deleted.
4572372 ms. Default App: Begin SavePrefs
4572391 ms. Default App: End SavePrefs
4656267 ms. Dir: [Temp-1 Project] [G:\live scratch\] Delete error: 6
4656268 ms. LiveDocument: Purge project failed: "G:\live scratch\Temp-1 Project" cannot be deleted.
4657783 ms. Default App: Begin SavePrefs
4657801 ms. Default App: End SavePrefs
4749820 ms. Dir: [Temp-1 Project] [G:\live scratch\] Delete error: 6
4749820 ms. LiveDocument: Purge project failed: "G:\live scratch\Temp-1 Project" cannot be deleted.
4751162 ms. Default App: Begin SavePrefs
4751180 ms. Default App: End SavePrefs

Locked