DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: EInvalidOp Error!  (Read 11,469 times)

blithen

  • Participant
  • Joined in 2013
  • *
  • Posts: 7
EInvalidOp Error!
« on: December 22, 2013, 07:57 AM »
An explanation of what's going on:
Alright I have FARR on a second harddrive and I installed it using the portable install and I'm trying to add the folder F:\Scripts folder to the searchable folders.
The locations of everything are:
Find and run robot, exe and config files are in F:\Programs\FARR\
The searchable folder is of course F:\Scripts
whenver I type in p it gives me that error. Removing the F:\Scripts folder from the searchable folders database makes the error go away. Any ideas?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: EInvalidOp Error!
« Reply #1 on: December 22, 2013, 03:35 PM »
I'm guessing there is a file in that directory that has a p in its name, that is somehow "evil" :)

Can you check the files in that folder, and look for one that might have a messed up date stamp, or messed up icon, or something else in it?

If there are a lot of files, you might try moving half of them out of their until you find the offending file (assuming i'm right that it has to do with a file that is somehow odd).

blithen

  • Participant
  • Joined in 2013
  • *
  • Posts: 7
Re: EInvalidOp Error!
« Reply #2 on: December 23, 2013, 01:54 AM »
so I found the offending file, luckily there's only 5 scripts in the folder so it was really easy. :P  But it doesn't appear to have any strange attributes.
here's a picture of the properties: http://i.imgur.com/CH9qQ7j.png

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: EInvalidOp Error!
« Reply #3 on: December 23, 2013, 01:58 AM »
how strange!!

can you zip and send me the batch file, assuming it's nothing sensitive?
(mouser@donationcoder.com)

blithen

  • Participant
  • Joined in 2013
  • *
  • Posts: 7
Re: EInvalidOp Error!
« Reply #4 on: December 23, 2013, 02:04 AM »
Gmail wouldn't let me send the zip file so...here it is as an attachment.
It's nothing special so I don't care if people see it. :P

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: EInvalidOp Error!
« Reply #5 on: December 23, 2013, 02:29 AM »
how strange, no error here when searching for it.. i wonder what it could be.. i've never seen this kind of problem before..
i might have to send you a debug version of FARR to help us pinpoint the place in code that it's dying.

blithen

  • Participant
  • Joined in 2013
  • *
  • Posts: 7
Re: EInvalidOp Error!
« Reply #6 on: December 23, 2013, 02:33 AM »
...wow that's bizarre.
LOL, I just changed the name to headphones2 and it didn't error...
Woah, so I changed it back and error again....I have no idea man haha. Well I have a work around at the moment. It's currently named headphones! and no error haha.

IainB

  • @Slartibartfarst
  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 7,544
Re: EInvalidOp Error!
« Reply #7 on: December 24, 2013, 11:35 AM »
I'm guessing there is a file in that directory that has a p in its name, that is somehow "evil" :)
Can you check the files in that folder, and look for one that might have a messed up date stamp, or messed up icon, or something else in it?
If there are a lot of files, you might try moving half of them out of their until you find the offending file (assuming i'm right that it has to do with a file that is somehow odd).
Just a couple of thoughts:
  • 1. NTFS ADS (Alternate Data Stream):
    Is it possible that there is NTFS ADS (Alternate Data Stream) content peculiar to/attached to the file named F:\Scripts\headphones.bat , and that there is something wrong/corrupt with the data in the data stream?
    Any ADS content is lost if a file is transferred to a non-NTFS medium - e.g., it would not necessarily copy into a .zip file unless you had specifically bundled it with something like xplorer² "Bundle to go" function.
  • 2. Start the file afresh:
    Have you tried deleting or (better) expunging the file F:\Scripts\headphones.bat, and recreating it afresh, and then seeing if the error repeats?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: EInvalidOp Error!
« Reply #8 on: December 24, 2013, 02:38 PM »
Quote
Have you tried deleting or (better) expunging the file F:\Scripts\headphones.bat, and recreating it afresh, and then seeing if the error repeats?

that is a good idea.  :up:

blithen

  • Participant
  • Joined in 2013
  • *
  • Posts: 7
Re: EInvalidOp Error!
« Reply #9 on: December 25, 2013, 11:07 AM »
I'm guessing there is a file in that directory that has a p in its name, that is somehow "evil" :)
Can you check the files in that folder, and look for one that might have a messed up date stamp, or messed up icon, or something else in it?
If there are a lot of files, you might try moving half of them out of their until you find the offending file (assuming i'm right that it has to do with a file that is somehow odd).
Just a couple of thoughts:
  • 1. NTFS ADS (Alternate Data Stream):
    Is it possible that there is NTFS ADS (Alternate Data Stream) content peculiar to/attached to the file named F:\Scripts\headphones.bat , and that there is something wrong/corrupt with the data in the data stream?
    Any ADS content is lost if a file is transferred to a non-NTFS medium - e.g., it would not necessarily copy into a .zip file unless you had specifically bundled it with something like xplorer² "Bundle to go" function.
  • 2. Start the file afresh:
    Have you tried deleting or (better) expunging the file F:\Scripts\headphones.bat, and recreating it afresh, and then seeing if the error repeats?
I have actually and still the error persists. D:

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: EInvalidOp Error!
« Reply #10 on: December 25, 2013, 04:31 PM »
Fascinating.
Ok i'll be sending you a debug version -- i'm dying to learn what causes this..

Original address: https://www.donationcoder.com/forum/index.php?topic=36848.0