The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniFocus > OmniFocus 1 for Mac
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
How to delete an embedded file from an action note? Thread Tools Search this Thread Display Modes
Hi Folks!
OF has been adding and embedding files i dragged onto actions for some while. In order to decrease the OF db file i removed these files (mainly two 15+MB PDF files but some more) from their corresponding action notes.
So far the overall db size has not decreased (sic) and the files are still inside the directory structure (i checked manually).
How do i get rid of these?
I tried to rebuild the db.
I tried to archive old actions.
So far no improvements, any ideas?
Cheers
Silvan
 
Silvan,

This seems like it might be a bug. You can report it using Help --> Send Feedback.

In the meantime, here's something to try. What happens if you delete the action entirely? (Just create a new action to replace it.) You could also try just deleting the PDFs from inside the .ofocus package. Make sure you have a backup before doing that.
__________________
Cheers,

Curt
 
Quote:
Originally Posted by curt.clifton View Post
Silvan,

This seems like it might be a bug. You can report it using Help --> Send Feedback.

In the meantime, here's something to try. What happens if you delete the action entirely? (Just create a new action to replace it.) You could also try just deleting the PDFs from inside the .ofocus package. Make sure you have a backup before doing that.
I'll try removing the action, thanxs for the hint.

Removing the file from inside the package manually results in a CORRUPTED DB!
(capitals in order to warn anyone trying this)
I tried this but afterwards OF would not load, save or in any way handle the db anymore, always reporting a missing contents.xml file (which was not missing - maybe the missing PDF file confused some object that analyses contents.xml).
Cheers
Silvan


**Edit**
I just tried deleting the concerning actions - no change.
The OF DB has still the same size. :-(
However i send in a bug report, as suggested.

Last edited by Quorcork; 2008-07-23 at 06:59 AM..
 
Quote:
Originally Posted by Quorcork View Post
Removing the file from inside the package manually results in a CORRUPTED DB!
(capitals in order to warn anyone trying this)
I tried this but afterwards OF would not load, save or in any way handle the db anymore, always reporting a missing contents.xml file (which was not missing - maybe the missing PDF file confused some object that analyses contents.xml).
Eek. Definitely report this to the support ninjas. If you can send them your database, I suspect that will be helpful.
__________________
Cheers,

Curt
 
I can hardly send it, approx. 40MB ...
That's why i started looking for the reason of this file size. :-)
 
Quorcork: If you have syncing turned on, your database won't shrink until all machines have synced a few times. That might help?

Otherwise, thanks for sending in the email. Our ninjas should get to it soon.
 
Quote:
Originally Posted by Lizard View Post
Quorcork: If you have syncing turned on, your database won't shrink until all machines have synced a few times. That might help?

Otherwise, thanks for sending in the email. Our ninjas should get to it soon.
Lizard,
syncing was on but i deactivated it prior to analysing the reasons for the large file size.
It was my hope to get syncing back to work as it never worked after upgrading to iPhone OF 1.0.1, mainly due to time out and other idisk errors. It was my hope that by massively reducing the .oFocus file size i could retry syncing OF on Mac and phone.
Cheers
Silvan
 
I checked in with the engineers. There's a bug that keeps the deleted files from getting removed from the database. Fortunately, you can force OmniFocus to clean up after itself.

1. In OmniFocus, choose Export from the File menu.
2. Choose a save location other than your usual backup location, so you can find this file again easily in a minute.
3. For file format, choose "OmniFocus Backup Document"
4. Save
5. Choose "Revert to Database Backup" from the File menu
6. Browse to the file you just saved in step 4 and click Open

Once your main file is down to size and you're ready to start syncing again, I recommend moving aside the OmniFocus file that is currently on your server and resetting the database on your iPhone so that OmniFocus can have a fresh start.
 
Quote:
Originally Posted by Lizard View Post
I checked in with the engineers. There's a bug that keeps the deleted files from getting removed from the database. Fortunately, you can force OmniFocus to clean up after itself.

1. In OmniFocus, choose Export from the File menu.
2. Choose a save location other than your usual backup location, so you can find this file again easily in a minute.
3. For file format, choose "OmniFocus Backup Document"
4. Save
5. Choose "Revert to Database Backup" from the File menu
6. Browse to the file you just saved in step 4 and click Open

Once your main file is down to size and you're ready to start syncing again, I recommend moving aside the OmniFocus file that is currently on your server and resetting the database on your iPhone so that OmniFocus can have a fresh start.
This procedure seems to be risky.
The Backup file is only half size (22MB YAY!) but when reverting to the file i get the attached (error?-)message.
Hmm, things look ok but can i be sure that this file now contains all my thousands of actions? :-/
Can you check back what this message means?
Regards
Silvan
Attached Thumbnails
Click image for larger version

Name:	Bild 1.jpg
Views:	805
Size:	11.6 KB
ID:	600  
 
Quorcork: Are there any more details in the Console?
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
See pictures in the note of an action K3it4r0 OmniFocus 1 for Mac 2 2012-12-14 01:29 PM
Unable to delete file. Mindaugas OmniFocus 1 for Mac 2 2012-06-29 04:10 AM
How to delete an action? [A: Swipe row, then tap "Delete" button that appears.] kholec OmniFocus for iPhone 2 2011-05-22 07:16 PM
Enormous image embedded invisibly in file somewhere fjordaan OmniGraffle General 3 2009-03-05 07:50 AM
How to access the .caf audio file in a note SpiralOcean OmniFocus Extras 0 2008-11-24 03:25 PM


All times are GMT -8. The time now is 06:24 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.