Error in file #X

When a run time error occurs, Bridge or Photoshop returns an error dialog that gives the line and file # where the error occurred. Suppose the error was "line 57, file #8". Is there any way to find file #8, other than guessing which jsx file was being executed at the time.
This would be very useful for remote debugging programs when a user reports an error. If they could also include the script, in this case, file #8, it would simplfy my life.
Rory

Here is a even more clear example that something is wrong. CompareTo returns != 0 for all files in a folder, even when compared to the file object, from which a file was just created.
Again this works fine with Windows XP.
public class Test
     public static void main(String []args)
          try
               String filename = "\u00C5"; //Danish �
               String folderPath = "/Users/.../shared/";
               //Create file.
               java.io.File file = new java.io.File(folderPath + filename);
               file.createNewFile();
               //Loop folder          
               java.io.File folder = new java.io.File(folderPath);
               java.io.File[] files = folder.listFiles();
               for (int j=0; j<files.length; j++)
                    java.io.File folderFile = files[j];
                    System.out.println(folderFile + " compareTo: " + file.compareTo(folderFile));
          catch (Exception ex)
               System.out.println(""+ex);
}Message was edited by:
stigcAtSun2

Similar Messages

  • Web-Disk on OSX 10.9 Give me this error: "Finder got an error: Network file permission error."

    Previously I was using OSX 10.8 and Web Disk was working great.
    Since I upgraded to OSX 10.9 Web Disk Dont Attach to my compputer and give me this ERROR:
    FInder got an error: Network file permission error.
    When I got this ERROR first time I searched GOOGLE and found this link: http://cammodude.blogspot.no/
    And I did:
    To force all connections to be SMB1:
    Open A terminal window
    paste in the following line followed by the return key(should be all on one line): 
    echo "[default]" >> ~/Library/Preferences/nsmb.conf; echo "smb_neg=smb1_only" >> ~/Library/Preferences/nsmb.conf
    What the command does:
    Creates a file called nsmb.conf  in your  home directory at the path ~/Library/Preferences/nsmb.conf.
    Adds directives to force SMB connections to use the SMB1 protocol.  This is slower but stable.
    Then I could use Web Disk on OSX 10.9 after executing this command in Terminal.
    But now I restarted my Macbook and now Im NOT able to connect to Web Disk and get the same ERROR.
    FInder got an error: Network file permission error
    After trying 100 times it attaches 1 time but then show this ERROR:
    Can't get <<class cdis>> "my.server.com/2078" of application "Finder".
    If this happen then I can see the files in Finder and see the Contents and Size of files but if I open a PHP file in BBEdit then it shows BLANK.. But actually it is NOT blank.
    Now Im stuck How can I solve this? All help is highly appericated..
    Thank you so much...

    Hi,
    Make sure to chmod the app, something like this :
    chmod -Rf 777  secure_site_WebDisk.app
    (in my case the CPanel provided the app for my OSx version.)

  • [Solved] Error : The file or folder path /Probl?me 1 does not exist

    Hello,
    I encountered this error
    The file or folder <path>/Probl?me 2 does not exist
    while I was trying to open a directory already extracted from a zip file containing directories with special characters. In this case, it is a "è" that was misinterpreted as a "?".
    I searched the forums and on google, the solutions proposed do not work for me. Although, I have to deal with these files written in french, I would like to have my locale in english (US), with a system wide support for special characters.
    Attempt 1: Adding the option : iocharset=utf8 into the fstab, like this :
    fstab :
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    none /dev/pts devpts defaults 0 0
    none /dev/shm tmpfs defaults 0 0
    /dev/cdrom /media/cd auto ro,user,noauto,unhide 0 0
    /dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
    /dev/fd0 /media/fl auto user,noauto 0 0
    /dev/disk/by-uuid/24ba75ac-e52d-40eb-a599-83b394b500b2 /boot ext2 defaults 0 2
    /dev/disk/by-uuid/c797f409-00bc-479a-b4d6-ab49943f644b / ext4 defaults 0 1
    /dev/disk/by-uuid/668427a8-5f51-42bd-a316-fc7984bf5f4f /var ext4 defaults 0 2
    /dev/sda7 swap swap defaults 0 0
    /dev/disk/by-uuid/417cd1b7-8f06-414b-84d5-e8714d9646ab /home ext4 defaults 0 2
    /dev/disk/by-uuid/ef9aa00e-0515-4d7b-aa23-8096e787250d /usr ext4 defaults 0 2
    /dev/disk/by-uuid/17d401b7-2fc7-4d9f-8e17-657d86926d2e /tmp ext4 defaults,iocharset=utf8 0 0 <<<<<<<<<<<<<<
    /dev/disk/by-uuid/71e543b6-e06c-4b0e-b1e3-3b491ff1fefe /var/cache/pacman/repos ext4 defaults 0 2
    #/dev/sda12 /mnt/archive ext4 defaults 0 2
    #.host:/ /mnt/hgfs vmhgfs defaults 0 0
    This solution does not work, because after adding iocharset=utf8, in front or after a "defaults", after a reboot, while mounting the filesystem, there is the following error message:
    Mounting Locale Filesystem :
    mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
    missing codepage or helper program, or other error
    In some cases useful info is found in syslog - try
    dmesg | tail or so
    $ dmesg | tail
    phy0: Selected rate control algorithm 'iwl-agn-rs'
    EXT4-fs (sda5): re-mounted. Opts: (null)
    EXT4-fs (sda5): re-mounted. Opts: (null)
    EXT4-fs (sda6): mounted filesystem with ordered data mode. Opts: (null)
    EXT4-fs (sda8): mounted filesystem with ordered data mode. Opts: (null)
    EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
    EXT4-fs (sda10): Unrecognized mount option "iocharset=utf8" or missing value <<<<<<<<<<<<<<
    EXT4-fs (sda11): mounted filesystem with ordered data mode. Opts: (null)
    Adding 2104476k swap on /dev/sda7. Priority:-1 extents:1 across:2104476k
    tg3 0000:07:00.0: irq 44 for MSI/MSI-X
    Attempt 2: Changing all the locale features in KDE and in /etc/rc.conf as well.
    $ vim /etc/rc.conf
    LOCALE="fr_CA.utf8"
    HARDWARECLOCK=""
    TIMEZONE="America/Montreal"
    KEYMAP="us"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    It is complicated to remove these directories. I had to use the inum to get precisely these directories before removing them.
    $ ls -il
    total 8
    1577566 drwxr-xr-x 2 [username] [username] 4096 28 jan 07:09 Probl?me 1
    1577573 drwxr-xr-x 2 [username] [username] 4096 28 jan 07:09 Probl?me 2
    $ find . -inum 1577566 -exec rm -i {} \;
    rm: impossible de supprimer « ./Probl\212me 1 »: est un dossier
    Note that the hypothetical character 'è' is represented has a '\212', a 'È' if seen as a extended ASCII character.
    These directories cannot be deleted this way :
    $ rm -r Problème\ 1
    rm: cannot remove `Problème 1': No such file or directory
    or
    $ rm -r ProblÈme\ 1
    rm: cannot remove `ProblÈme 1': No such file or directory
    What should I do to be make the operating system recognize those special character, and interpret them correctly ?
    Last edited by ramboman (2011-01-29 21:45:50)

    I found a working solution, but better solution are also welcome
    I had to have fr_CA not only in utf8 but also in iso88591. I had to modify the /etc/rc.conf this way :
    LOCALE="fr_CA" <<<<<<<<<<<<<<
    HARDWARECLOCK=""
    TIMEZONE="America/Montreal"
    KEYMAP="us"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    To preserve the english US language system wide, I had to add the following line in the /etc/profile :
    # Allow french special character while in en_US
    export LANG=en_US
    The character misinterpreted by a "?" is now seen :
    as a "è" in dolphin
    as a "?" in the console
    It is now possible to access the folders.

  • My LR 4 suddenly no longer recognized my memory cards. I am using the same cards and cameras but consisitently get the error message:"files not imported because the files could not be read. they are jpg and nef files...I am stuck without my workhorse! Any

    My LR 4 suddenly no longer recognized my memory cards. I am using the same cards and cameras but consisitently get the error message:"files not imported because the files could not be read. they are jpg and nef files...I am stuck without my workhorse! Any advice is helpful. This has never happened in 6 years

    answered in your other thread LR 4 suddenly no longer recognizes files.

  • I have the following error The file "iTunes library.itl" cannot be read because it was created by a newer version of iTunes

    Can anyone help me with this problem.  I tried updating the latest itunes and it caused an error MSVCR80.dll missing.  I then tried fixing it after reading other people had the same problem and a solution was given about uninstaling itunes and the order in which to do that.  I did that but now get the error "the  files "itunes library.itl" cannot be read because it was created with a newer version of itunes.  I see a solution has been given about this but I cannot find what is suggested to enable me to follow instructions.  Can anyone please go through step by step (letting  me know where I can find what is needed) to enable me to be able tio log into itues again.  Thanks

    Hi pussygalore,
    If you are having issues with iTunes after an attempted update, you may find the following article helpful:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    You may want to make sure that in the last step (reinstalling iTunes) that you are installing the latest/newest available version, and not attempting a reinstall from an older file.
    Regards,
    - Brenden

  • File Error:Unknown File.

    I am getting a "File Error:Unknown file" when i try and save my project. So i am not able to save any changes i make to my project. any thoughts?

    Try FILE>Save Project As.
    does that work?
    Shane

  • "File error: unknown file" upon movie import

    Got a DVD. Extracted the footage with Mac the ripper. Created an mp4 file with Handbrake. It plays fine in Quicktime at 720 by 480 and 23.98 FPS. I've tried importing it into FCP and I get the error, "File error: unknown file". FCP sequence presents are 24 FPS...I've also tried switching it to 23.98 FPS. I've re-encoded the movie in Quicktime to a .mov file with "DV/DVCPRO - NTSC" compression and it still will not import. Any suggestions?

    Tried making an AVI in Handbrake. Handbrake just froze everytime and it would never finish.
    I should also note that FFMpeg did not like the footage either and would not convert it to a file of any kind.
    So I put the DVD into a consumer DVD player and used my Panasonic DVX100B camera to record the footage in VCR mode. The tape turned out fine.
    BUT...
    I am trying to capture the footage from another low end Canon camera. Usually there is no problem. However, with this particular footage from this cursed DVD, I get a "general error" when I try to capture the footage in FCP.
    No matter what file format or media is used, this footage will not import into FCP. It must be watermarked to not like FCP.
    Any further suggestions???

  • File Error: Unknown File when trying to render a Motion Lower third

    I'm getting this: "File Error: Unknown File" when trying to render a Lower third made in the Motion tab. I'm using FCP 6.0.6 and haven't had any issues with this before. It seems to work fine if there is just text, but as soon as I apply any effect, like a drop shadow, I get that error message.
    Thanks,
    Joe

    What's the exact format of the video you're working with and the exact specification the sequence you're editing in?

  • File Error - Unknown file when trying to import from HDD camera

    I recently purchased a Panasonic SDR-H80 and am trying to get my widescreen footage into FCP. I converted the .MOD files to .m4v files in Handbrake, and they play and look fine in the Finder. However, when I try to move them into FCP, I get a dialog that says "File Error - Unknown file." I'm not sure what I'm doing wrong here. Can anybody help?

    I converted the .MOD files to .m4v files in Handbrake .... I'm not sure what I'm doing wrong here
    What you're doing wrong is using Handbrake and trying to use .m4v files in FCP. Neither is the correct process in preparing for editing.
    Try using MPEG Streamclip and a format that actually works natively in FCP. .m4v is a final delivery format- not for editing. A search on this forum would have revealed that to you in a matter of seconds: http://discussions.apple.com/search.jspa?objID=c206&search=Go&q=handbrake
    -DH

  • File Error: Unknown File, Cannot Save

    I hope this is only a matter of healthy file management, but I'm quite confused and hope someone can clear this up into something of a simple science. On the otherhand, could this be a LIMITATION of FCP?
    -Have been editing a sequence from a larger film on a second computer. That sequence has been worked on over several days and saved (of course). However, upon saving last night, was an error message: "File error: Unknown File" and the project could not be saved.
    -This is quite possibly due to the fact that both the media and project files have been copied over the network to the first computer where the master project is being assembled.
    -HOWEVER, no media files claimed to be offline, everything was editable AND the FILE WOULD NOT SAVE through multiple attempts
    -ALSO, the other open project WOULD NOT SAVE either (its files where never moved or otherwise tampered with. It was a small and entirely local operation).
    -SAVING was finally accomplished ONLY by saving the project file to the LOCAL HD rather than the EXTERNAL DRIVE where the MEDIA and PROJECT FILES originated and had been previously saved to.
    -All other attempts to save to the EXTERNAL were met with the message "FILE ERROR: UNKNOWN FILE" This compromised saving process resulted in the loss of all work, edits, etc. on the LESSER and EXCLUSIVELY local project.
    -AFTER saving to the LOCAL HD, the project COULD BE once again saved to the EXTERNAL HD. This flow seemed very strange to me.
    -Has anyone else encountered this problem, and what can I correct in my processes to avoid this.
    --*Also, the First computer encountered the same problems at the same time, after both EDITING & SAVING had taken place since the last FILE COPYING. Again, work was lost.
    Thanks for any help you can offer.
    G5 Dual 2 GHz PowerPC   Mac OS X (10.4.5)   1.5 GB ram

    Do people search this forum at all?!?
    Check your project for CMYK files.
    Search this forum for General Error.
    This was discussed about 90 minutes ago.

  • File Error: Unknown File when saving

    I tried to save my project to the drive I've been working in and saving all day. And all of a sudden Im getting a new error: File Error: Unknown File. What's that all about? It saved fine to another drive.

    km@ms, Welcome to the forums.
    You have posted in a topic started by someone else in the pro video discussions.
    While someone here may well have an answer for you, it would be far better to ask your question as it's own topic. As a rule, you will receive an answer much sooner.
    Here is a link to the general discussion category for Mac OS X 10.4:
    http://discussions.apple.com/category.jspa?categoryID=177
    Here is the link to the "Pages" forum. http://discussions.apple.com/forum.jspa?forumID=1191
    While your issue is unrelated to that software product, you stand a better chance of finding someone familiar with Quark and .eps files there.

  • File Error: Unknown File - when doing save as

    yet another variation on the file problems i am having.
    opened an aotosave file and tried to 'Save project as",
    wont do it, reports "File error: unknown file"
    the same error i get often when trying to "save as" the original,
    and the same error i get if i make a copy of the FCP file in the finer, open it and try to save it, it wont do it.....
    so with the main sequence in my project getting lost ("not found"),
    i now find that its almost impossible to make a backup that works....
    anyone know about this SERIOUS FAULT.
    i can think of no reason why it cant handle the most basic act of keeping assets attached to the program.
    new computer, new drives, new everything..
    i am now working really scared, when it loses the main sequence again (1 hour), the latest backup that might work could be anything from 1 - 5 days old, who knows, and there goes days of work...
    ======================================
    FCP6
    HDV captures.
    Main sequence is prores render.
    Files and media on one 750G drive in the Mac Pro box.
    deleted all render files yesterday, now only about 15 there.
    changed MP3 tracks to aif.
    have done FCP resue often
    have done permissions
    have upgraded to 10.4.10

    i now find that its almost impossible to make a backup that works....
    anyone know about this SERIOUS FAULT.
    i can think of no reason why it cant handle the most basic act of keeping assets attached to the program.
    new computer, new drives, new everything..
    Except that this issue is almost always totally unrelated to FCP at all.
    Paulo has dome great anecdotal advice but this is usually a fiel permissions problem. No idea how it gets changed but you can run Disk Utility and repair permissions. Do it twice. then Get Info on your drive and see what the privileges are. Do the same for your FCP projects folders. Get info on your FCP project file itself.
    You need to get this figured out before you invest any more time in editing.
    bogiesan

  • File Error:  Unknown file.  - Importing problem

    I recently had some problems getting my FCP 5.0.4 to launch. To make a long story short someone in this forum said that my version of FCP was out of date with my current Macbook Pro running 10.5.5. I found this a little odd because I've had this computer for over six months and have been running FCP the whole time without a single problem. Since funds are tight and I don't have the money upgrade I did some troubleshooting to see if I could make it work again.
    I did remember that I had recently moved some of my older quicktime codecs into my library/quicktime folder and when I removed them I was able to launch and run FCP.
    Now when I try to import files I'm getting a "File Error: Unknown file" error message. I am able to view all the quicktimes and am only able to import a few quicktimes. I have quicktimes from the last six years that I'm trying to import so there's a good variety of different codes that were used. But I am able to watch all of the quicktimes via Quicktime.
    Any suggestions why I might be getting this problem? Any way to fix this without upgrading? Thanks

    *I recently had some problems getting my FCP 5.0.4 to launch.*
    The reason is because that version of for PPC Macs, and you have an Intel Mac.
    *Someone in this forum said that my version of FCP was out of date with my current Macbook Pro running 10.5.5*
    It doesn't matter which OS version is running. You need an Intel/UB version of FCP to run on a Intel Mac.
    *Any way to fix this without upgrading?*
    It's not a problem. It's an incompatibility. Because you have run it for some time without an incident is incidental to its incompatibility.

  • "File Error: Unknown File" when rendering

    Hi,
    When attempting to render any clip I get a "File Error: Unknown File". Help?
    I'm using FCP 6.0.5 with video content from a Canon consumer HD camera.
    Thank you,
    Tim Moore

    switch the location of your render files and see if that helps. I had this happen week before last and it drove me crazy (crazier) I switched scratch disks and met deadline. Now it all behaves like it never happened. some bit stuck somewhere, that took the machine being off for a while to cure

  • Adobe Muse won't publish (Error uploading file)

    After making simple animations using Adobe Edge Animate it seems as though none of the assets will publish with my site after importing them into Muse.
    In Edge animate I saved for "web animation" and published. Then I went to muse and hit "place". I went to preview and everything works fine. When I go to publish there are always errors in uploading my assets with '.png' extensions.
    Any help is much appreciated. I have completely scrapped my website and created another, reinstalled Animate and have renamed all my files, I'm not sure whats wrong here.
    I got one animation working, and that can be seen here under the Photography section, but I have multiples that will be shown on my page at one time.
    http://chasebodydesign.businesscatalyst.com

    I get the error uploading file everytime I try publishing the animation.

  • When I publish my site on one specific page where i've added {tag_pagecontent} I get the error:Some files on the server may be missing or incorrect. Clear browser cache and try again. If the problem persists please contact website author.

    When I publish my site on one specific page where I've added {tag_pagecontent} I get the error:
    'Some files on the server may be missing or incorrect. Clear browser cache and try again. If the problem persists please contact website author.'
    I'm trying to get a blog module going, I've even deleted the html insert bog with the tag in and re-published which then I don't get the error but as a result no blog either. But then I add the tag in again and publish the error comes back. I've used the dev console and it says that my musicians sample.css is out of date but why is it only out of date when I add in html to my muse site?
    HELP!!!! I've searched other threads and to no avail I'm publishing so no direct ftp going on. the only thing I changed in business catalyst was the module stylesheet in order to style the blog. I've tried uploading and replacing all files nothing seems to work. the site is here:
    http://www.musicstudentsforhire.co.uk/musicians-samples.html
    It's only this page as it has the blog on. Also I've noticed when I've re-published occasionally it will show the mobile version on my desktop and not the desktop version??? no idea why that's happening so I've had to turn that off. any explanation on why that is happening would also be much appreciated.

    I haven't received an answer as of yet, I'll post t on here when I do. I de-activated the mobile site because it's my clients site so he needs it to be operational during the day. I hope someone gives me an answer soon.

Maybe you are looking for