Occasional invalid modified date on a file - looks like a bug

In the Bridge script I'm working on, I need to compare the last modified dates of files. I've found that when I iterate through the app.document.visibleThumbnails array that in nearly every directory I test on, there are one or two files that return an "undefined" value for app.document.visibleThumbnail[i].spec.modified. It is not the same two files each run, but it's always at least one that has a missing value. It's a pretty simple test app to illustrate the problem:
var thumbs = app.document.visibleThumbnails;
for (var j in thumbs)
var modDateSpec = thumbs[j].spec.modified;
if (modDateSpec == undefined)
Window.alert("modification date is undefined");
Unless this value is not intended to be reliable, this appears to be a bug which is why I am reporting it. I have worked around the problem for now by getting the fsName from the same thumbnail, creating a new File object with that fsName and getting the modified date from that temp object.
I've verified that purging and rebuilding the cache does not make the problem go away. I see this problem on many different directories.
Is this the right place to report this type of bug or is there a different procedure I should follow?
--John

pessex wrote: Anybody know?  Or know of a different way that I COULD do it in Terminal?
Don't know about Terminal, but, because you are using 10.9.x and iMovie, try the iMovie method:

Similar Messages

  • IS BT CLOUD ALTERING THE "MODIFIED DATE" ON MY FIL...

    Hi
    I have BT Cloud 2GB Free running as both the downloaded "auto sync" software and also using the Chrome Browser Interface. I am on Windows XP.
    I only use Cloud to backup word / excel documents and family photos - basic things I just dont want to risk losing.
    I recently noticed something odd, when I sorted my BT Cloud View by "Date Modified" about twenty very 'old' files suddenly appeared at the top of the view - files I hadnt used in about 5 or 6 years.
    I definitely had not accessed these files yet when I went to look at them in "My Computer" and clicked on "Properties" I could see that the "Modified Date" had changed. In fact it seems that about a dozen or so files had been "modified" over night while my PC was left on in the next room. No other dates had changed on the files - it did not look like they had been "Re-Saved" I dont think since the original author had not changed.
    I started to monitor this and noticed about half a dozen files having their "modified dates" changed every day for the last three or four days. Its only Documents (Word Powerpoint Excel Text etc) that are being modified.
    And heres the thing - I ran a search on my computer of files modified in the last week and the only ones where I could not explain the change were files that are being backed up by "BT CLOUD" so its slightly possible there is a link. Of course this could be coincidence but I thought this might be a good initial avenue to explore since without BT Cloud's interface view of my files I would never have even noticed the problem in the first place.
    I'm pretty sure its not a Virus - I run my own Scanner every few days, its always up to date and I have Real Time Scanning enabled. I also ran a couple of online scans last night (Norton etc) and they found nothing.
    Its a recent development because I use Cloud every week and would have noticed before if things were changing.
    So a couple of questions really:
    Firstly has anyone else experienced this problem - I read somewhere that Some Virus Scanners can alter the Modified Date on your files unintentionally but the MS hotfix says this only happens in Vista/Win 7 I think and I am on XP. Could it be that when BT Cloud Scans the file it affects its modified date on your PC ?
    Secondly Could anyone else access my files in BT Cloud and modify them, and if so would that change to the 'online file' be represented back on my own PC when I "Synced" my backup
    Many thanks in advance for any help anyone can offer.

    I assume your raws are in DNG format? If xmp is in sidecar, it won't change raw file date.
    Anyway, saving xmp does not change any dates in Lightroom, so you should still be able to sort by edit time or capture time...
    But if you want control, you have to save manually instead of automatically.
    Two things that might help:
    1. Filter based on metadata status.
    2. robcole.com - DNGPreviewUpdater
    Rob

  • How to accessed,created and modified date of particular file in java

    Hi,
    I am facing one problem.
    I know how to get the modified date/time of file in java.
    but i don't know how to find created and accessed date/time of file in java.
    Thanks,
    Tejas

    I guess thats not possible in in Windows.
    But if u r trying it on a unix machine.
    You can use Runtime class to call exec on the command
    ls -l filename
    and then store the result in a file . And then take out the last modified time. But you cant get created time.
    Thats a clumpsy way i believe.

  • I have a question about extracting pages.  When I do the function, adobe saves the individual files as " file name space page number ", so the files look like this "filename 1.pdf", "filename 2.pdf", "filename 3.pdf".  Without too many gory details, I a

    I have a question about extracting pages.  When I do the function, adobe saves the individual files as "<file name><space><page number>", so the files look like this "filename 1.pdf", "filename 2.pdf", "filename 3.pdf".  Without too many gory details, I am using excel to concatenate some data to dynamically build a hyperlink to these extraced files.  It casues me problems, however, for the space to be the the file name.  Is there any way to change the default behavoir of this function to perhaps use a dash or underscore instead of a space?

    No, you can't change the default naming scheme. You can do it yourself if you extract the pages using a script instead of using the built-in command.

  • How can I preserve the modify date of the files I transfer from my local computer to the remote webserver?

    How can I make sure the the modify date of files are not updated to the date the file was uploaded or downloaded.
    There are multiple people working on my sites and I am the only one that uses Dreamweaver.  The problem this presents is when  one of my colleagues works on an image and I want to update my local computer it changes the date of the image to the date that I downloaded it and now when I compare what I have on my local computer to what is on the server they are different modify dates.

    Dont think you can find out the date of purchase!
    Where should know this without a payment bills or sales checks.
    What you can do is to find out when the notebook was registered on the Toshiba page.
    [Toshiba Warranty Lookup |http://computers2.toshiba.co.uk/toshiba/formsv3.nsf/WarrantyEntitlementLookup?OpenForm]

  • Get modified date inside the File content of CM

    hi,
    In CM I have uploaded a file and have set the permission to modify the file to a group of users.Now when each and every time any user modifies the file content I want to have the modified date inside the updated file.
    How can i achieve this?.....
    Please help.....
    Thanks in advance,
    shami.

    Hi All,
    @Parvathy:There is no such property on your files, you should create one in your filter and depending on this custom property your filter should decide if a document update is required or not.
    As already said follow this:
    You have a content filter which can do updates to these files:
    -- Content filter sets a custom property new_modifieddate on each resource after updating resource. (new_modifieddate==cm_modified of resource)
    -- It compares new_modifieddate with cm_modified of resource to determine if it should update the resource with cm_modified.
    @Shami: Use some logging in your Filter code, so that you can make sure your code is being executed. One more way is to dubug you code by setting break points in NWDS (Ofcourse the server should be in debug mode for this option).
    logging :
    http://help.sap.com/saphelp_nw2004s/helpdata/en/a0/58db515b95b64181ef0552dc1f5c50/frameset.htm
    debug:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/5d/31e540b1278631e10000000a1550b0/frameset.htm
    Greetings,
    Praveen Gudapati

  • Looks like a bug in Date class

    Hi guys,
    I just logged in to highlight what I encountered when I was
    trying to convert milliseconds of a time stamp to a date/time
    string.
    Just see the following codes.
    public function
    convertTimeStampToDateAndTime(timeStampInMilliseconds:Number):String
    var stampReadableFormate:String = null;
    if(!isNaN(timeStampInMilliseconds))
    var stampDate:Date = new Date(timeStampInMilliseconds);
    var stampHour:Number = stampDate.getHours();
    var stampMin:Number = stampDate.getMinutes();
    var stampSec:Number = stampDate.getSeconds();
    var stampYear:Number = stampDate.getFullYear();
    var stampMonth:Number = stampDate.getMonth() + 1;
    var stampDate:Number = stampDate.getDate();
    stampReadableFormate = "" + stampDate + "/" + stampMonth +
    "/" + stampYear + " " + stampHour + ":" + stampMin + ":" +
    stampSec;
    trace("Date/Time=" + stampReadableFormate);
    return stampReadableFormate;
    Then I call this method from somewhere by using,
    var reportTime:String =
    this.convertTimeStampToDateAndTime(new Date().getTime());
    You can see trace method in convertTimeStampToDateAndTime()
    is giving you a correct output.
    But just change the convertTimeStampToDateAndTime() method in
    a way that you get time information after you got date, month and
    Year. To explain what I am taking about I have pasted changed code
    as following.
    public function
    convertTimeStampToDateAndTime(timeStampInMilliseconds:Number):String
    var stampReadableFormate:String = null;
    if(!isNaN(timeStampInMilliseconds))
    var stampDate:Date = new Date(timeStampInMilliseconds);
    var stampYear:Number = stampDate.getFullYear();
    var stampMonth:Number = stampDate.getMonth() + 1;
    var stampDate:Number = stampDate.getDate();
    var stampHour:Number = stampDate.getHours();
    var stampMin:Number = stampDate.getMinutes();
    var stampSec:Number = stampDate.getSeconds();
    stampReadableFormate = "" + stampDate + "/" + stampMonth +
    "/" + stampYear + " " + stampHour + ":" + stampMin + ":" +
    stampSec;
    trace("Date/Time=" + stampReadableFormate);
    return stampReadableFormate;
    now call
    var reportTime:String =
    this.convertTimeStampToDateAndTime(new Date().getTime());
    Now see the trace out put, what has happened, your timing
    informations are undefined.
    Looks like it is a bug to me.
    If this issue has already been discussed before I am very
    sorry by duplicating it.
    Chears
    Naleen

    Thanks for all the responses.
    I am not redefining stampDate inside your function/method.
    Please look at it again.
    I call convertTimeStampToDateAndTime() from out side and in
    my original post I have written it as following....
    var reportTime:String =
    this.convertTimeStampToDateAndTime(new Date().getTime());
    That is just an example for you to udnerstand it,
    But what we are doing in our actual application is we read an
    XML file which has time stamps on each elements as attributes. For
    an example, if following is the XML line....
    <element timeStamp='1195770453174'
    >blaaa</element>
    In Actionscript we call this method,
    var reportTime:String =
    this.convertTimeStampToDateAndTime(1195770453174);
    So I am not redefining at all.
    Just do a simple test by user self.
    My second point is.... If I am redefining a date again with
    same number of Milliseconds Date class constructor shouldn't care
    it.
    For an instance
    Var myMilliSEC1:Number = new Date().getTime(); // this is
    constructing today's date and converts to milliseconds
    var myDate1:Date = new Date(myMilliSEC1); //so this should
    give me the todays date again...
    Var myMilliSEC2:Number = myDate1.getTime();
    Now myMilliSEC1 should equal to myMilliSEC2
    But that is a different issue.... I am just answering for
    your comment on "REDEFINING DATE":
    Anyway thanks for your time and concern.

  • Why are my RAW files looking like infrared?

    Hi All,
    I use Aperture frequently for my editing - just recently had a ridiculous problem that results in my RAW files looking infrared.
    Have I enabled only a red channel or something?? Please help!  See pic!

    Wow, what a silly oversight - I knew I had had an update to do, but hadnt bothered with it yet. Thanks a bunch Ernie, I should have thought of us.
    Much appreciated.

  • Why the exported JPG file looks like completely black?

    I've already exported a PDF file by Indesign, but when I exported it to JPG file (by Acrobat), the JPG looks like almost compeletely black. But When I exported it to PNG, or Open this JPG by PS, and save it again, the image looks like normal (no black). This is PDF creating problem ( by indesign) or JPG creating problem (by Acrobat)?

    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    Use a compressed image type like PNG or JPG to save the screenshot and make sure that you do not exceed the maximum file size (1 MB).
    You can try to search for a theme that looks better for you or maybe a solid persona with a suitable color.
    *Themes: https://addons.mozilla.org/firefox/themes/
    *Personas for Firefox | Gallery: http://www.getpersonas.com/en-US/gallery/Solid

  • Image files look like a garbled mess of fragments of other files

    Ever since I updated to the latest version of Photoshop, images have occasionally opened looking like this:
    The garbled mosaic here is composed of previously opened images. Any idea what's going on?
    This is on a Mac running Yosemite and Photoshop CC 2014.

    I think Chris Cox (part of Adobe staff) mentioned this was something to do with a video driver bug on Yosemite.

  • Get the modified date of the files uploaded

    What data dictionary do i query at the backend to find the date of modification of the files uploaded in all the folers created by all the users and all the mount points.
    And to find out what users are currenty loged in?
    Plz help me with this query

    try having a look in the ifssys schema or whatever schmea name you specified during files installation to contain ifs.

  • Publishing .index Vs .swf  How to make my file look like the .swf Question

    Hi, I currenly have a site published where the domain is reading
    www.mysite.com/index.html  (example)
    When I view this site the image is not centered and when I expand it in different browers it does not look good.
    When I view the site by looking at it through the exact location of where I have the flash, for example www.mysite.com/index.swf  It's exactly how I want it to look.
    Is there a code I can put into the html where I can have the same look as the .swf but view it with the .index.html
    For example when I am testing the .swf extension and change the size of the browers or expand it, the flash movie is always centered and looks great in every brower.
    I was thinking of changing the domains link to the .swf file to solve the issue, but is by having the .html extension provide greater serach information.   What is it nessary?

    You seem to be confusing the .swf file with the Web page that the .swf file goes on. For Internet delivery you want the index.html web page.
    You can "Publish" the page directly from Flash. Under the "File" menu, look for Publish Settings and review ALL the options before "Publishing" the swf.
    If you don't understand them, Google for that specific option.
    Also review "Flash scaling"
    Here are examples of different scaling parameters available in the Publish settings. You can also add these parameters directly in the html (<param name="scale" value="noscale"). All the examples replace the actual Flash dimensions with 100% for both width and height (width="100%" height="100%"). These examples use the old <object> and <embed> to illustrate the different ways to scale Flash. Once you understand how it works I’d recommend that you use swfobject to place the Flash in your final project.
    View the source code for each page to see the full code.
    http://www.cidigitalmedia.com/tutorials/scale/exact_fit.html
    "exactFit" scales the file to fit exactly within the confines of the screen, irregardless if the movie becomes consequently distorted. The original aspect ratio is not maintained. So round things are not round and squares are not square.
    http://www.cidigitalmedia.com/tutorials/scale/noScale.html
    "noScale" is the default setting, and causes the movie to be displayed at the originally designed dimensions.
    http://www.cidigitalmedia.com/tutorials/scale/no_border.html
    "noBorder" causes the movie to be scaled to what ever dimensions are needed to have no border surrounding the movie within the player, which consequently could result in some of the movie being cut off from view. In other words, the movie will maintain the original aspect ratio and will fill the screen completely. But if the movie has to be streched wider to fill both sides of the screen, it will also stretch taller, but then some of the top and the bottom of the movie may be cut off from view.
    http://www.cidigitalmedia.com/tutorials/scale/show_all.html
    "showAll" scales the movie to the size of the screen (which could cause pixelation if the file contains raster information), the difference between showAll and exactFit is that showAll mantains initial movie size proportions. Because it maintains the original aspect ratio, there can be space to the sides or the top and bottom. But everything always shows and they are not distorted. But notice the photo in the center, it becomes pixilated at larger screen resolutions.
    The trickiest part of trying to go full screen is that it’s difficult to make the Flash wider without making it taller also, that is, to maintain the correct proportions or aspect ratio of everything on the stage. These methods are just simple scaling accomplished with html. There are also methods to dynamically scale the stage and it’s elements using Actionscript… but that’s a much more complex undertaking.
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com
    Adninjastrator

  • Looks like a bug in DB, Getting a invalid number with a group by

    Hi All,
    This is very strange problem that I am encountering. Would like to hear from you, if you have also witnessed something similar:
    What I am doing:
    basically I am doing something like:
    Select x,y,z,count(distinct a) from
    taba,tabb,(select col1,col2 from tabc) tc,
    tabd left outer join tabe on tabd.col=tabe.col,
    viewf
    where (joins between the tabs)
    group by x,y,z
    All the join columns are number(10,0) in all the tables/views.
    If I run this query I get an invalid number 01722. If I comment the count(distinct a) column, the query runs fine.
    Or if I put the to_number for all the joined columns in the where clause, the query runs fine.
    I have never seen such behaviour of Oracle database. May be I am doing something really wrong?
    Looking for help.
    Thanks in advance.

    Well, I do not think it is related to GROUP BY or to DISTINCT. Most likely you have some column X that holds both numeric and non-numeric strings and some other column that indicates if column X value is numeric. If this is the case, you can get ORA-01722 simply becuase Oracle does not apply where clause predicates in the order they are listed. Assume column c1 holds numeric strings when column c2 is set to some specific value. Even if you use:
    WHERE c2 = 'some-value'
    AND TO_NUMBER(c1) = 5
    it is not guaranteed Oracle will first check c2 and only then c1. And if Oracle decides to check c1 first, TO_NUMBER will fail on the first non-numeric c1. Especially it can happen in not very recent Oracle versions. In recent versions most of the time optimizer is smart enough to realize that checking c2 costs less that converting c1 to number and then checking it, so it will check c2 first. Anyway, you need to use ORDERED_PREDICATES hint to let optimizer know to follow predicate sequence. For example, in 9i:
    SQL> create table tbx(flag varchar2(6),value varchar2(10))
      2  /
    Table created.
    SQL> insert into tbx values('alpha','abc');
    1 row created.
    SQL> insert into tbx values('number','123');
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> select * from tbx
      2  where flag = 'number' and value = 123
      3  /
    where flag = 'number' and value = 123
    ERROR at line 2:
    ORA-01722: invalid number
    SQL> select /*+ ORDERED_PREDICATES */ * from tbx
      2  where flag = 'number' and value = 123
      3  /
    FLAG   VALUE
    number 123
    SQL>SY.

  • Firefox 5 is not able to download and open PDF files as Firefox 3.6 was able to. This looks like a bug to me. When will it be fixed?

    There are many web sites that I visit to download statements that are in PDF format. In Firefox 3.6, when I selected a statement to download, Firefox opened a new window that indicated that the PDF is being downloaded. When the download is complete Firefox either opens the document or the document is opened outside of Firefox by Adobe Reader. In both Firefox 4 and 5, the PDF file download never occurs. This functionality has always worked in Internet Explorer and Google Chrome. I currently use Adobe Reader X 10.1.0. I tried going back to Adobe Reader 9.4.5, but this did not make a difference. So I think the problem is in Firefox.

    it is not your ISP BT Retail that owns/repairs the lines it is openreach which although part of the BT Group has no more direct contact then any other ISP
    you can check your exchange here  http://usertools.plus.net/exchanges/mso.php
    http://usertools.plus.net/exchanges/?
    http://btbusiness.custhelp.com/app/service_status
    http://bt.custhelp.com/app/answers/detail/a_id/15036
    http://community.plus.net/exchange-information/
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • I have a digital performer file created on os9 that wont open in OSX the file looks like a unix file.

    Is there a way to convert old os9 files so OSX can use them? The only apps that will open it is Text edit and Terminal.
    jimi

    Many document types created in OS 9 apps are openeable in OS X, depending on the OS X version.
    For example, AppleWorks 6 documents are usable directly in OS X by using the OS X version of AppleWorks 6 (runs in all versions of OS X except Lion). In addition, AW6 text docs and spreadsheet docs can be opened in Pages and Numbers, respectively, in all versions of OS X.
    Image files from OS 9 (jpeg, tiff, etc.) are openable by most image-capable apps in OS X.
    As for a Digital Performer file, its format is probably proprietary; if that's the case, you'll need to acquire the OS X version of that app in order to open/use it in OS X.
    If it's the program itself you talking about, rather than a document created by it -
    No OS 9 app can be used directly in OS X, and such an app will often be reported by OS X as being a Unix executable.
    In some versions of OS X (OS X 10.4 and earlier) OS 9 (9.1 minimum, 9.2.x is best) can be used as Classic in order to provide an environment in which many (but not all) OS 9 programs can be used. OS X 10.5 and later do not support Classic.

Maybe you are looking for