Help needed deleting corrupted file
G'day,
I have a corrupted file on my hard disk. It is a Vault backup file created by Aperture. Whenever I do anything with the file (e.g., try to unlock it, try to view info, try to open it), the o/s immediately tells me that I have to manually turn off the system (which is what I understand to be a kernel panic).
I have tried to delete the file using the terminal window and by placing the file into a folder and moving the folder to trash. In all cases, I'm told to manually shut down the computer (even when I tried to empty the trash).
It's a 30 gig file, so I'd like to be able to delete it in order to save the hard disk space. Does anyone have any suggestions? I'll reformat the drive if I have to, but I'd prefer to remove just the file.
Thanks for your help.
Regards,
Doug
Sometimes it happens that the Finder just doesn't want to empty the trash anymore and says "The operation cannot be completed because the item "" is in use.". That's a good warning if it is true, but sometimes you want to get rid of an application and this warning appears even though the only thing running is the Finder. Usually after a restart you can delete it. But that is very time consuming and even then, it is sometimes still stuck not wanting to be deleted. There is a risky command that can be used in the Terminal that will empty the trash no matter what. Risky because a simple error in the syntax could erase a lot of stuff that you want to keep.
There is a much easier and quicker way of forcing the Finder to empty the trash no matter what! It is done in the freeware customization and maintenance application OnyX (download @ http://www.titanium.free.fr/pgs/english.html ). Once you loaded OnyX and entered your administrator password, choose "Cleaning" in the top bar. Click on the "Trash" tab. You can now choose whether you want to "Delete" or to "Securely Delete" (by overwriting) and click Execute. That's it, it will force the Finder to empty the trash even if the files are in use!
Also look at these links.
Solving Trash Problems
http://www.thexlab.com/faqs/trash.html
How To Fix Stubborn Trash and Why it Won't Delete
http://www.osxfaq.com/Tutorials/LearningCenter/HowTo/Trash/index.ws
Cheers, Tom
Similar Messages
-
Is there an ap for finding/deleting corrupt files on OS X 10.7?
I seem to have a corrupt file(s) which cause my MacBook Pro to freeze inexplicably (and randomly) upon start-up. I've been told that this is a symptom of having a corrupt file.
Is there an an for finding/deleting corrupt files on OS X 10.7?
I'm pretty much bound to my computer and simply don't have the time to go through it manually.
Thank you.This is an old post and I am not the person who posted the original query, but I ran your terminal diagnostic and am hoping you are still attending to this forum. I have a mid 2011 macbook Air 11", 256 GB SSD, 1.8 GHz Intel Core i7, 4 GB 1333 MHz DDR3, Mac OS X v. 10.7.5 Lion. I have had various problems in my user homefolder for a while. I have gone through quite a few other troubleshooting and fixing steps, the most extensive following a posting here "Step by Step to fix your mac" by ds store in the Apple forums. These steps helped a lot. I did remove some 3rd party software as part of this process.
My computer is running well in general now, but one thing that has been a recurring problem is problems with move/cut-paste. I researched this online and ACL's being present where they're not supposed to be seems to be an issue. I have used terminal commands to remove ACL's, used Onyx to repair user permissions, rebooted with command-r to reset password screen and reset user permissions. They all help, but then a some point later on the problem recurs. When I run repair disk permissions with either disk utility or onyx I always get this message:
Repairing permissions for “maggieairHD”
Warning: SUID file “System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent” has been modified and will not be repaired.
ACL found but not expected on “Users”
Repaired “Users”
Permissions repair complete
This ALWAYS comes up, even if I run it immediately after running it and haven't done anything else on the computer in between.
I created another user and did not have the same problems I was having at the time with some programs, although I haven't used it that much to be able to really compare. The home folder permissions repair in Onyx comes out the same in that user, though.
Here are my results from your diagnostic terminal commands:
Last login: Wed Dec 26 09:36:47 on console
Maggies-MacBook-Air:~ maggieair$ kextstat -kl | awk '!/com\.apple/ {print $6 $7}'
com.rim.driver.BlackBerryUSBDriverInt(0.0.68)
com.logmein.driver.LogMeInSoundDriver(1.0.0)
com.protech.NoSleep(1.3.1)
com.parallels.kext.prl_usb_connect(7.0
com.parallels.kext.prl_hypervisor(7.0
com.parallels.kext.prl_hid_hook(7.0
com.parallels.kext.prl_netbridge(7.0
com.parallels.kext.prl_vnic(7.0
Maggies-MacBook-Air:~ maggieair$ sudo launchctl list | sed 1d | awk '!/0x|com\.apple/ {print $3}'
Password:
com.parallels.vm.prl_naptd
org.x.privileged_startx
org.postfix.master
org.ntp.ntpd
org.cups.cupsd
com.vix.cron
com.sharpcast.xfsmond
com.parallels.desktop.launchdaemon
com.microsoft.office.licensing.helper
com.adobe.fpsaud
Maggies-MacBook-Air:~ maggieair$ launchctl list | sed 1d | awk '!/0x|com\.apple/ {print $3}'
org.x.startx
org.openbsd.ssh-agent
com.parallels.vm.prl_pcproxy
com.parallels.DesktopControlAgent
com.parallels.desktop.client.launch
com.maintain.CocktailSystemEvents
Maggies-MacBook-Air:~ maggieair$ ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Sta}* L*/Fonts 2> /dev/null
/Library/Address Book Plug-Ins:
RCFaxAB.bundle
/Library/Components:
/Library/Extensions:
/Library/Frameworks:
AEProfiling.framework
AERegistration.framework
Adobe AIR.framework
AquaticPrime.framework
AudioMixEngine.framework
HPSmartPrint.framework
NyxAudioAnalysis.framework
PluginManager.framework
RIM_VSP.framework
RimBlackBerryUSB.framework
iTunesLibrary.framework
/Library/Input Methods:
/Library/Internet Plug-Ins:
AdobePDFViewer.plugin
AdobePDFViewerNPAPI.plugin
Flash Player.plugin
Quartz Composer.webplugin
QuickTime Plugin.plugin
Silverlight.plugin
flashplayer.xpt
googletalkbrowserplugin.plugin
npgtpo3dautoplugin.plugin
nsIQTScriptablePlugin.xpt
/Library/Keyboard Layouts:
/Library/LaunchAgents:
com.maintain.CocktailPurgeInactiveMemory.plist
com.maintain.CocktailSystemEvents.plist
com.parallels.DesktopControlAgent.plist
com.parallels.desktop.launch.plist
com.parallels.vm.prl_pcproxy.plist
/Library/LaunchDaemons:
com.adobe.fpsaud.plist
com.apple.remotepairtool.plist
com.microsoft.office.licensing.helper.plist
com.parallels.desktop.launchdaemon.plist
com.sharpcast.xfsmond.plist
/Library/PreferencePanes:
Flash Player.prefPane
JavaControlPanel.prefpane
NoSleep.prefPane
/Library/PrivilegedHelperTools:
Google Drive Icon Helper
com.bresink.system.securityagent3
com.microsoft.office.licensing.helper
/Library/QuickLook:
ParallelsQL.qlgenerator
iWork.qlgenerator
/Library/QuickTime:
AppleIntermediateCodec.component
AppleMPEG2Codec.component
/Library/ScriptingAdditions:
MTL.osax
/Library/Services:
AScrEd • New Script for Frontmost Application.workflow
AScrEd • Open Application Scripting Dictionary.workflow
AScrEd • Open Dictionary of Frontmost Application.workflow
AScrEd • Open with AppleScript Editor.workflow
Audio • Encode to iTunes Format.workflow
Browse Movie Library.workflow
Browse Photo Library.workflow
Browse iTunes Library.workflow
Disk Item • Rename Selected Items.workflow
Disk Item • Set Spotlight Comments.workflow
Image • Add Metadata to JPEGs.workflow
Image • Change File Type.workflow
Image • Import into iPhoto.workflow
Image • Print Image Files.workflow
Image • Rotate Clockwise.workflow
Image • Rotate Counter-Clockwise.workflow
Launch Terminal.workflow
PDF • Encrypt File.workflow
PDF • Set Metadata.workflow
Terminal • Get Manual for Command.workflow
Terminal • Insert Current Finder Directory.workflow
Terminal • Insert Selected Finder Items.workflow
UNIX • Apply Command to Selected Items.workflow
UNIX • New Terminal Window to Insertion Location.workflow
iPhoto • Spotlight Search for Detected People.workflow
/Library/StartupItems:
Cocktail
/etc/mach_init.d:
/etc/mach_init_per_login_session.d:
/etc/mach_init_per_user.d:
Library/Address Book Plug-Ins:
.DS_Store
SkypeABDialer.bundle
SkypeABSMS.bundle
Library/Fonts:
Library/Input Methods:
.localized
Library/Internet Plug-Ins:
CitrixOnlineWebDeploymentPlugin.plugin
Google Earth Web Plug-in.plugin
WebEx64.plugin
Library/Keyboard Layouts:
Library/LaunchAgents:
com.apple.AddressBook.ScheduledSync.PHXCardDAVSource.7D3946E8-ADA6-4982-87CA-565 69B042BAC.plist
com.apple.FolderActions.enabled.plist
com.apple.FolderActions.folders.plist
com.google.keystone.agent.plist
com.macpaw.CleanMyMac.volumeWatcher.plist
Library/Mail/Bundles:
Library/PreferencePanes:
.DS_Store
Archives.prefPane
Library/Services:
.DS_Store
GraphicConverter.service
Sync with MacDropAny.workflow
Maggies-MacBook-Air:~ maggieair$ osascript -e 'tell application "System Events" to get the name of every login item'
NoSleep, iTunesHelper, Caffeine, Dropbox
Maggies-MacBook-Air:~ maggieair$
I have removed NoSleep, Caffeine, itunesHelper and Dropbox from login items before and didn't notice any difference, so I put them back. Some of these I know I don't want, like rim/blackberry, adobe AIR. Skype has never worked consistently on this computer. I don't use most of these Services, and I know I had trouble with some that were not compatible with Lion before. I am not using Parallels much now, have been thinking about taking it off as it uses a chunk of my SSD. But I don't feel confident about getting rid of .frameworks etc safely.
I am glad to remove anything I don't use if I know how to do it safely. I am willing to remove anything I do use if it's necessary, but obviously would prefer to find a way to keep things that I find helpful.
I appreciate any suggestions! -
Need Help Opening a Corrupted File in MS Office Word 2007.
I use Microsoft Office Word 2007. I need help in opening a corrupted file. I tried to open but am getting messages: "cannot be opened", "unreadable content", "do you want to recover contents?" "Do you want to search
for a converter?"
Anyone have any ideas on how I can get this file to open? :/
Thank you,
Chuck in CaliforniaFrom Microsoft Documentation:-
If a file has been damaged and you cannot open it by normal means, you may be able to recover its content by using the Open and Repair
feature.
Click the
Microsoft Office Button
Browse to the file that you want to recover, and click it (do not double-click it).
Click the arrow next to the
Open button, and then click Open and Repair.
You might also like to look at this (which is just a longer version of what's above):-
http://support.microsoft.com/kb/893672?wa=wsignin1.0 -
Unable to delete corrupted files on music player o...
guys please help me to delete the corrupted files in music player (album)
Hard and Soft Reset doesn't work, the files are still there
help me guys.. tnxSeen these?
User Contributed Tips:
Pondini - Time Machine - TROUBLESHOOTING (Sept 25, 2009)
http://discussions.apple.com/thread.jspa?threadID=2057525
Pondini - Time Machine -- Frequently Asked Questions (Apr 3, 2009)
http://discussions.apple.com/thread.jspa?threadID=1964018 -
Help needed:Printing HTML file using javax.print
Hi
I am using the following code which i got form the forum for rpinting an HTML file.
The folllowing code is working fine, but the problem is the content of HTML file is not getting printed. I am geeting a blank page with no content. What is the change that is required in the code? ALso is there any simpler way to implement this. Help needed ASAP.
public boolean printHTMLFile(String filename) {
try {
JEditorPane editorPane = new JEditorPane();
editorPane.setEditorKit(new HTMLEditorKit());
//editorPane.setContentType("text/html");
editorPane.setSize(500,500);
String text = getFileContents(filename);
if (text != null) {
editorPane.setText(text);
} else {
return false;
printEditorPane(editorPane);
return true;
} catch (Exception tce) {
tce.printStackTrace();
return false;
public String getFileContents(String filename) {
try {
File file = new File(filename);
BufferedReader br = new BufferedReader(new FileReader(file));
String line;
StringBuffer sb = new StringBuffer();
while ((line = br.readLine()) != null) {
sb.append(line);
br.close();
return sb.toString();
} catch (Exception tce) {
tce.printStackTrace();
return null;
public void printEditorPane(JEditorPane editorPane) {
try {
HTMLPrinter htmlPrinter = new HTMLPrinter();
htmlPrinter.printJEditorPane(editorPane, htmlPrinter.showPrintDialog());
} catch (Exception tce) {
tce.printStackTrace();
* Sets up to easily print HTML documents. It is not necessary to call any of the setter
* methods as they all have default values, they are provided should you wish to change
* any of the default values.
public class HTMLPrinter {
public int DEFAULT_DPI = 72;
public float DEFAULT_PAGE_WIDTH_INCH = 8.5f;
public float DEFAULT_PAGE_HEIGHT_INCH = 11f;
int x = 100;
int y = 80;
GraphicsConfiguration gc;
PrintService[] services;
PrintService defaultService;
DocFlavor flavor;
PrintRequestAttributeSet attributes;
Vector pjlListeners = new Vector();
Vector pjalListeners = new Vector();
Vector psalListeners = new Vector();
public HTMLPrinter() {
gc = null;
attributes = new HashPrintRequestAttributeSet();
flavor = null;
defaultService = PrintServiceLookup.lookupDefaultPrintService();
services = PrintServiceLookup.lookupPrintServices(flavor, attributes);
// do something with the supported docflavors
DocFlavor[] df = defaultService.getSupportedDocFlavors();
for (int i = 0; i < df.length; i++)
System.out.println(df.getMimeType() + " " + df[i].getRepresentationClassName());
// if there is a default service, but no other services
if (defaultService != null && (services == null || services.length == 0)) {
services = new PrintService[1];
services[0] = defaultService;
* Set the GraphicsConfiguration to display the print dialog on.
* @param gc a GraphicsConfiguration object
public void setGraphicsConfiguration(GraphicsConfiguration gc) {
this.gc = gc;
public void setServices(PrintService[] services) {
this.services = services;
public void setDefaultService(PrintService service) {
this.defaultService = service;
public void setDocFlavor(DocFlavor flavor) {
this.flavor = flavor;
public void setPrintRequestAttributes(PrintRequestAttributeSet attributes) {
this.attributes = attributes;
public void setPrintDialogLocation(int x, int y) {
this.x = x;
this.y = y;
public void addPrintJobListener(PrintJobListener pjl) {
pjlListeners.addElement(pjl);
public void removePrintJobListener(PrintJobListener pjl) {
pjlListeners.removeElement(pjl);
public void addPrintServiceAttributeListener(PrintServiceAttributeListener psal) {
psalListeners.addElement(psal);
public void removePrintServiceAttributeListener(PrintServiceAttributeListener psal) {
psalListeners.removeElement(psal);
public boolean printJEditorPane(JEditorPane jep, PrintService ps) {
if (ps == null || jep == null) {
System.out.println("printJEditorPane: jep or ps is NULL, aborting...");
return false;
// get the root view of the preview pane
View rv = jep.getUI().getRootView(jep);
// get the size of the view (hopefully the total size of the page to be printed
int x = (int) rv.getPreferredSpan(View.X_AXIS);
int y = (int) rv.getPreferredSpan(View.Y_AXIS);
// find out if the print has been set to colour mode
DocPrintJob dpj = ps.createPrintJob();
PrintJobAttributeSet pjas = dpj.getAttributes();
// get the DPI and printable area of the page. use default values if not available
// use this to get the maximum number of pixels on the vertical axis
PrinterResolution pr = (PrinterResolution) pjas.get(PrinterResolution.class);
int dpi;
float pageX, pageY;
if (pr != null)
dpi = pr.getFeedResolution(PrinterResolution.DPI);
else
dpi = DEFAULT_DPI;
MediaPrintableArea mpa = (MediaPrintableArea) pjas.get(MediaPrintableArea.class);
if (mpa != null) {
pageX = mpa.getX(MediaPrintableArea.INCH);
pageY = mpa.getX(MediaPrintableArea.INCH);
} else {
pageX = DEFAULT_PAGE_WIDTH_INCH;
pageY = DEFAULT_PAGE_HEIGHT_INCH;
int pixelsPerPageY = (int) (dpi * pageY);
int pixelsPerPageX = (int) (dpi * pageX);
int minY = Math.max(pixelsPerPageY, y);
// make colour true if the user has selected colour, and the PrintService can support colour
boolean colour = pjas.containsValue(Chromaticity.COLOR);
colour = colour & (ps.getAttribute(ColorSupported.class) == ColorSupported.SUPPORTED);
// create a BufferedImage to draw on
int imgMode;
if (colour)
imgMode = BufferedImage.TYPE_3BYTE_BGR;
else
imgMode = BufferedImage.TYPE_BYTE_GRAY;
BufferedImage img = new BufferedImage(pixelsPerPageX, minY, imgMode);
Graphics myGraphics = img.getGraphics();
myGraphics.setClip(0, 0, pixelsPerPageX, minY);
myGraphics.setColor(Color.WHITE);
myGraphics.fillRect(0, 0, pixelsPerPageX, minY);
java.awt.Rectangle rectangle=new java.awt.Rectangle(0,0,pixelsPerPageX, minY);
// call rootView.paint( myGraphics, rect ) to paint the whole image on myGraphics
rv.paint(myGraphics, rectangle);
try {
// write the image as a JPEG to the ByteArray so it can be printed
Iterator writers = ImageIO.getImageWritersByFormatName("jpeg");
ImageWriter writer = (ImageWriter) writers.next();
// mod: Added the iwparam to create the highest quality image possible
ImageWriteParam iwparam = writer.getDefaultWriteParam();
iwparam.setCompressionMode(ImageWriteParam.MODE_EXPLICIT) ;
iwparam.setCompressionQuality(1.0f); // highest quality
ByteArrayOutputStream out = new ByteArrayOutputStream();
ImageOutputStream ios = ImageIO.createImageOutputStream(out);
writer.setOutput(ios);
// get the number of pages we need to print this image
int imageHeight = img.getHeight();
int numberOfPages = (int) Math.ceil(minY / (double) pixelsPerPageY);
// print each page
for (int i = 0; i < numberOfPages; i++) {
int startY = i * pixelsPerPageY;
// get a subimage which is exactly the size of one page
BufferedImage subImg = img.getSubimage(0, startY, pixelsPerPageX, Math.min(y - startY, pixelsPerPageY));
// mod: different .write() method to use the iwparam parameter with highest quality compression
writer.write(null, new IIOImage(subImg, null, null), iwparam);
SimpleDoc sd = new SimpleDoc(out.toByteArray(), DocFlavor.BYTE_ARRAY.JPEG, null);
printDocument(sd, ps);
// reset the ByteArray so we can start the next page
out.reset();
} catch (PrintException e) {
System.out.println("Error printing document.");
e.printStackTrace();
return false;
} catch (IOException e) {
System.out.println("Error creating ImageOutputStream or writing to it.");
e.printStackTrace();
return false;
// uncomment this code and comment out the 'try-catch' block above
// to print to a JFrame instead of to the printer
/* JFrame jf = new JFrame();
PaintableJPanel jp = new PaintableJPanel();
jp.setImage( img );
JScrollPane jsp = new JScrollPane( jp );
jf.getContentPane().add( jsp );
Insets i = jf.getInsets();
jf.setBounds( 0, 0, newX, y );
jf.setDefaultCloseOperation( JFrame.DISPOSE_ON_CLOSE );
jf.setVisible( true );*/
return true;
* Print the document to the specified PrintService.
* This method cannot tell if the printing was successful. You must register
* a PrintJobListener
* @return false if no PrintService is selected in the dialog, true otherwise
public boolean printDocument(Doc doc, PrintService ps) throws PrintException {
if (ps == null)
return false;
addAllPrintServiceAttributeListeners(ps);
DocPrintJob dpj = ps.createPrintJob();
addAllPrintJobListeners(dpj);
dpj.print(doc, attributes);
return true;
public PrintService showPrintDialog() {
return ServiceUI.printDialog(gc, x, y, services, defaultService, flavor, attributes);
private void addAllPrintServiceAttributeListeners(PrintService ps) {
// add all listeners that are currently added to this object
for (int i = 0; i < psalListeners.size(); i++) {
PrintServiceAttributeListener p = (PrintServiceAttributeListener) psalListeners.get(i);
ps.addPrintServiceAttributeListener(p);
private void addAllPrintJobListeners(DocPrintJob dpj) {
// add all listeners that are currently added to this object
for (int i = 0; i < pjlListeners.size(); i++) {
PrintJobListener p = (PrintJobListener) pjlListeners.get(i);
dpj.addPrintJobListener(p);
// uncomment this also to print to a JFrame instead of a printer
/* protected class PaintableJPanel extends JPanel {
Image img;
protected PaintableJPanel() {
super();
public void setImage( Image i ) {
img = i;
public void paint( Graphics g ) {
g.drawImage( img, 0, 0, this );
Thanks
RamRam,
I have had printing problems too a year and a half ago. I used all printing apis of java and I still find that it is something java lacks. Now basically you can try autosense. To check whether your printer is capable of printing the docflavor use this PrintServiceLookup.lookupPrintServices(flavor, aset); . If it lists the printer then he can print the document otherwise he can't. I guess that is why you get the error.
Regards,
Kevin -
How to delete corrupted files backed up on Time Machine.
Hi,
I'm using Fusion to run Windows XP Home. This morning I tried to open it and was told the file was corrupted and couldn't be used. I had to force quit both Fusion and Windows XP. Luckily I could go back a few days and use TM machine to restore an earlier version of Windows XP and now it's working perfectly again. I'd like to delete the corrupted file but I'm afraid I might delete something critical and I don't to delete all backups. Any suggestions?
ThanksWelcome to the Apple boards:
If you did it correctly, the bad file is overwritten by the "new" one from TM.
If not, you should be able to find it and temporarily drag it to your desktop.
If nothing bad happens after a day or so, then trash the desktop windows file.
If you are looking to delete the bad file from TM, open TM and find the bad file and select it. Then select delete You will be prompted to delete only that file or all previous backups. Select only the one you have chosen.
Be sure TM has backed up your new Windows system before deleting it and there is little you can lose.
I would also like to compliment you on using TM and using it properly.
Were everyone as conscientious as you, most of the issues on the board would resolve themselves.
Kudos.
Message was edited by: nerowolfe
Message was edited by: nerowolfe -
Keeps randomly disconnecting,cant be restored,cant delete corrupted files!
Too many problems with my ipod video!!!Its a constant battle to get it working.
Ive tried to restore it but it sais "firmware update failure. Disk write error."
I tried deleteing the corrupt files in my temp music folder but it keeps telling me the directory cannot be deleted because its not empty, and when i delete song in the backup folder individually they just reapear!!
Windows XP*so nobody knows how to fix it?*
Yes, we do know but you've taken steps to prevent implementation of the fix. You want your flat tire repaired but you refuse to allow the mechanic to jack up the car.
*apple, im tired of spending countless hours restoring my ipod everytime something goes wrong!*
Hold on, now. You're blaming Apple for having spent "countless hours" restoring the iPod yet you told me that you don't want to do the restore because you deliberately configured iTunes different from Apple's recommendations. Wow, that's heavy. $300 for an iPod but you won't spend $80 to upgrade your computer so that it can support the iPod.
Message was edited by: PhillyPhan -
Help needed making SWF file loop
Hello Everyone-
I have been researching this topic and am really struggling.
I'm not much of a HTML guy and I think I'll need to do some to
resolve my issues. I have searched and searched but I'm not having
any luck.
I create an animation in Apple Motion, exported it as a MOV
and imported it as video into Flash CS3. It was encoded using
Progressive download from server it creates a FLV file a SWF file
and an HTML file. My provider is 1and1. I then use Adobe GoLive to
create my webpage and upload to the web. I need my SWF file to loop
and I cannot get it to loop.
In flash. Everything plays fine. When I do a publish preview
however, the swf file does not loop. I've got the loop option
checked in my publish preview settings and even in the inspector in
GoLive but it does nothing.
Here is the link to the page. And the source code. If anyone
can help me that would be genius.
PS there is actually two SWF that I need to loop. Neither of
them are looping.
http://www.drewwfilms.com/Index2.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type"
content="text/html;charset=utf-8" />
<meta name= content="Adobe GoLive" />
<title>Drew W Films Index</title>
</head>
<body>
<div
style="position:relative;width:750px;height:571px;margin:auto;-adbe-g:p;">
<div
style="position:absolute;top:64px;left:16px;width:720px;height:150px;">
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
height="150" width="720">
<param name="loop" value="true" />
<param name="movie" value="IndexHeader2/IndexHeader2.swf"
/>
<param name="quality" value="best" />
<param name="play" value="true" />
<embed height="150" pluginspage="
http://www.macromedia.com/go/getflashplayer"
src="IndexHeader2/IndexHeader2.swf"
type="application/x-shockwave-flash" width="720" quality="best"
play="true" loop="true"></embed>
</object></div>
<div
style="position:absolute;top:16px;left:64px;width:624px;height:32px;-adbe-c:c">
<menumachine name="indexheader2" id="mre8mxf">
<csobj t="Component"
csref="menumachine/indexheader2/menuspecs.menudata"><noscript>
<p><a class="mm_no_js_link"
href="menumachine/indexheader2/navigation.html">Site
Navigation</a></p>
</noscript> </csobj>
<script type="text/javascript"><!--
var mmfolder=/*URL*/"menumachine/",zidx=1000;
//--></script>
<script type="text/javascript"
src="menumachine/menumachine2.js"></script>
<script type="text/javascript"
src="menumachine/indexheader2/menuspecs.js"></script>
</menumachine>
</div>
<div
style="position:absolute;top:224px;left:16px;width:720px;height:304px;">
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
height="304" width="720">
<param name="loop" value="true" />
<param name="movie" value="IndexHeader2/IndexBody.swf"
/>
<param name="quality" value="best" />
<param name="play" value="true" />
<embed height="304" pluginspage="
http://www.macromedia.com/go/getflashplayer"
src="IndexHeader2/IndexBody.swf"
type="application/x-shockwave-flash" width="720" quality="best"
play="true" loop="true"></embed>
</object></div>
</div>
<p></p>
</body>
</html>The problem you are encountering is that you are telling the
SWF to loop, when in fact you need to tell the FLV to loop.
Unfortunately, you need to code a few lines of Actionscript
to get this to work, you would think that it would be as simple as
just checking an option.
I don't know if you have an AS2 or AS3 project, so I'm going
to give you both for the code.
Actionscript 2:
1. Select the FLVPlayback component on the stage.
2. In the Actions panel, enter the following:
on(complete){
this.autoRewind = true;
this.play();
Actionscript 3:
1. Select the FLVPlayback component on the stage, and give it
an instance name by entering some text in the properties panel.
(Upper left corner of the panel, right under where it says
"Component" there is a text input box. This is where you input it.)
Names are commonly things like "myFLVPlayback" or "myVideo" etc.
2. Deselect everything.
3. In the actions panel, enter the following (replacing
"myVideo" with the instance name you chose):
myVideo.addEventListener(VideoEvent.COMPLETE,doLoop);
function doLoop(evt:VideoEvent):void {
evt.currentTarget.play();
Either of those blocks of code should work for you. Simply
add them to your flash project and re-export the SWF. -
Help needed in splitting files using BPM
Hello experts,
I am working on an interface where i need to split files within BPM.
I know,i can achieve it in Message Mapping by mapping Recordset to Target structure and then using Interface Mapping within Transformation step.But i dont want to follow this.Is there an alternative way to achieve this within BPM.
I have an input file with multiple headers and i need to split for each header.My input file looks like this:
HXXXXXABCDVN01
MXXXXXXXXXXXXXX
MXXXXXXXXXXXXXX
SXXXXXXXXXXXXXX
HXXXXXABCDVN02
MXXXXXXXXXXXXXX
MXXXXXXXXXXXXXX
SXXXXXXXXXXXXXX
HXXXXXABCDVN03
MXXXXXXXXXXXXXX
SXXXXXXXXXXXXXX
Is there a way, where i can specify this condition within BPM , that split files for every H.
Thanks in advance.
Regards,
SwathiHi,
have your target structure with occurence as 0...unbounded in the mapping and map the header filed to the root node (repeating parent node) of the target structure....this will create as many target messages as the header fileds....if you want to send these messages separately then use a block in BPM with ForEach option....
Splitting and Dynamic configuration can be applied in the same mapping.
Regards,
Abhishek.
Edited by: abhishek salvi on Dec 18, 2008 12:59 PM -
Help, I deleted some files and then secure empty trashed it.
I accidently deleted important files, and also secure empty trash, is there any way to recover those files?
no, unless you have a backup.
-
How to delete corrupted files on ipod classic
Somehow the "index" of files on my Ipod Classic HD got corrupted so none of my music, video, etc files showed up on the Ipod. The library, and all the files, would display in Itunes so I followed the instructions and copied them over to an external HD. Then, when I synced the Ipod, about 1/3 of my available HD on the Ipod shows up as yellow in the space available indicator. Fortunately I had enough capacity to re-sync....just with very little free space on the HD afterward
My question is:
Should I reset the Ipod and then copy the library media folder from the external HD back to my PC?....and then sync? Will that get rid of the corrupted files so I regain the capacity on the Ipod HD?
Thanks for any helpHi arakis,
Welcome to the Apple Support Communities!
In this situation I would restore your iPod back to factory settings and then sync the music back onto it. It shouldn’t matter if the music is located on the computer hard drive or an external hard drive, as long as the iTunes Media Folder is pointed to the correct location to access the music from iTunes. The first article below explains the process of restoring your iPod back to factory settings and the second article shows the location (and how to change the location) of the iTunes Media Folder.
Restoring iPod to factory settings
http://support.apple.com/kb/HT1339
iTunes for Windows: Moving your iTunes Media folder
http://support.apple.com/kb/HT1364
Have a great day,
Joe -
Please help...corrupted files
My Ipod just erased. Everytime I go to resync it, it says, "corrupted files, cannot sync." Is there anyone out there who can explain what this means and how I can rectify this? thank you SO much!
Don't think so. The second I plug it in it reads, "Do not disconnect." Then, it says, "Set up your IPOD" and it asks me if I want to automatically sync it" If I say no then it immediately says, "cannot be synced. The file or directory is corrupted and unreadable."
Do you have any suggestions? -
Urgent.... Help Needed for Storing file in Application Server
Hi All,
I have a requirement where in I have to save a file in Application Server.
File is of 141 Character Length, so there can be spaces left at the end.
When I am downloading the file into Application Sever and then downloading the same file from Application Server to Presentation into a notepad then the spaces at the end are truncating.
I want that the file that is generated should be of 141 character though if there may be spaces at the end.
It will be great if you can help me out in this.
Thanks in Advance.
Jayant Sahu.when downloading to App server, you need to specify the LENGTH option on your TRANSFER ststement to keep fixed length. You must also use a STRING type variable in your transfer.
From Documentation on Transfer command:
<b>If the file was opened as a text file or a legacy text file, the trailing blank characters are deleted for all data objects, except for those of data type string. The line end marker defined when the file was opened is then added to the remaining content of the data object or to the result of the conversion, and the final result is written byte-by-byte to the file.</b>
There also used to be a problem with WS_DOWNLOAD - you had to do the following:
Maintaining Trailing spaces when downloading to PC
Before calling DOWNLOAD or WS_DOWNLOAD, do a perform SET_TRAIL_BLANKS(saplgrap) using 'X'
To set the length of each record including your blanks add this code: perform SET_FIXLEN(saplgrap) using '0' '100'
Don't think this is needed any more.
Andrew -
I hope someone can help me out there! Recently I experienced a problem that Lightroom was condensing my pictures (500x500 jpeg), when I went to go in to resize to a larger size it lost the image and became blurry and noisy.... I did not save the RAW images, I thought though that Lightroom automatically saves the images. Is there anyway to get back the files with the correct dimension even if it is JPEG or to re-edit them as RAW.. I don't have them on the memory card either and it has been about a month or so and I am just noticing this problem now, geese!
Any help or feedback is appreciated!
Thanks.If you imported the RAWs using Lightroom, then the RAWs are on one of your hard disks somewhere, unless you deleted them. I suggest you look for them. The easiest way to find them is to go into Lightroom and right-click on the photo and select "Show in Explorer". This won't work if you deleted or moved or renamed the photos. You could also search for them using your operating system tools. Please try both of these suggestions and report back.
I think you also need to look at introductory videos/tutorials/FAQs on the proper usage of Lightroom, as it sounds like a lot of these problems are preventable. -
Help needed on CSV file uploading
Hi All,
I need to upload a csv file in the table through file browse button.For that i have created the below process and function.This method is working perfectly fine when the file size is small.But i need to upload the file of 16 MB size and when i try to upload that file it gives error wwv_flow.accept error.Any expert of APEX please help me out on this error.As i am very new to APEX and i need to get this done as early as possible.Please provide any solution ,i will be really grateful to the person.
function
create or replace function hex_to_decimal
--this function is based on one by Connor McDonald
--http://www.jlcomp.demon.co.uk/faq/base_convert.html
( p_hex_str in varchar2 ) return number
is
v_dec number;
v_hex varchar2(16) := '0123456789ABCDEF';
begin
v_dec := 0;
for indx in 1 .. length(p_hex_str)
loop
v_dec := v_dec * 16 + instr(v_hex,upper(substr(p_hex_str,indx,1)))-1;
end loop;
return v_dec;
end hex_to_decimal;
Process
DECLARE
v_blob_data BLOB;
v_blob_len NUMBER;
v_position NUMBER;
v_clob_data CLOB := 'anything';
dest_offset NUMBER := 1;
src_offset NUMBER := 1;
blob_csid NUMBER := dbms_lob.default_csid;
lang_ctx INTEGER := dbms_lob.default_lang_ctx;
warning INTEGER;
v_raw_chunk RAW(10000);
v_char CHAR(1);
c_chunk_len number := 1;
v_line VARCHAR2 (32767) := NULL;
v_data_array wwv_flow_global.vc_arr2;
v_rows number;
v_sr_no number := 1;
BEGIN
delete from scg_recievables2;
-- Read data from wwv_flow_files
select blob_content into v_blob_data
from wwv_flow_files
where last_updated = (select max(last_updated) from wwv_flow_files where UPDATED_BY = :APP_USER)
and id = (select max(id) from wwv_flow_files where updated_by = :APP_USER);
v_blob_len := dbms_lob.getlength(v_blob_data);
v_position := 1;
-- Read and convert binary to char
WHILE ( v_position <= v_blob_len ) LOOP
dbms_lob.converttoclob(v_clob_data, v_blob_data, v_blob_len, dest_offset,src_offset,blob_csid,lang_ctx,warning);
v_char := dbms_lob.getlength(v_clob_data);
v_line := v_line || v_char;
v_position := v_position + c_chunk_len;
-- When a whole line is retrieved </span>
IF v_char = CHR(10) THEN
-- Convert comma to : to use wwv_flow_utilities
v_line := REPLACE (v_line, ';', ':');
-- Convert each column separated by : into array of data
v_data_array := wwv_flow_utilities.string_to_table (v_line);
if IsNumber(substr(v_data_array(9),1,1)) = 1 then
v_data_array(9) := substr(v_data_array(9),1,11);
else
v_data_array(9) := '01-JAN-1900';
end if;
v_data_array(9) := NVL(v_data_array(9),'01-JAN-1900');
-- Insert data into target table
EXECUTE IMMEDIATE 'insert into scg_recievables2 (Account_receivable_number, the_account_number, bill_history_tran, service_number, item_type, the_amount_billed, the_remaining_amount,source_of_payment)
values (:1,:2,:3,:4,:5,:6,:7,:8,:9)'
USING
v_data_array(1),
v_data_array(2),
v_data_array(3),
v_data_array(4),
v_data_array(5),
v_data_array(6),
v_data_array(7),
v_data_array(8);
-- Clear out
v_line := NULL;
v_sr_no := v_sr_no + 1;
END IF;
END LOOP;
END;You are probably timing out with your web server. Check the server logs to see if there are any errors there..
Thank you,
Tony Miller
Webster, TX
A lady came up to me on the street, pointed at my suede jacket and said "Do you know a cow was murdered to make that jacket?"
"I didn't know there were any witnesses", I replied " Now I'll have to kill you too"
Maybe you are looking for
-
How can I put a part of my movie in the beginning of the movie and still keep it where it is in the movie? Yes I want to add one little part of the movie at the start, but keep that same part still in the movie where it is, how can I do that?
-
Does PSE 10 support and is it compatible with Adobe Camera Raw Process 2012?
I recently upgraded to Photoshop CS6 but am still using Photoshop Elements 8 Organizer to manage my collection. It appears that the new Process 2012 that is available with the Camera Raw processor is not supported by PSE 8 and in fact PSE 8 changes
-
TabViewController to - NavigationViewController to - TableViewController
Hi. I am trying to make an applicaton that follows the following structure and I am trying to make sure I have it laid out right... I have a tab bar controller as the project type... I have added new "tabs" as navigation controllers and view controll
-
Can someone please help with the following casting exception error? Vector names = v.retrieveModuleNames(); ModuleNameNumber mnn = new ModuleNameNumber(); for (int i=0; i<names.size(); i++) { mnn = (ModuleNameNumber)names.elementAt(i); thanks!!
-
Depot to plant and vice versa process.
Dear all, Can anybody share your knowledge about depot to plant and plant to depot and sales process flow with excise entery. Advance thanks for your great knowledge shareing. reg mrs