Simple File Operation Problems

Hey everyone. I have a process that needs to read a file, do some work with the contents, then move the file to either a fail or success folder. I have everything working except for the very last step where it deletes the files from the source dir. Also, the move command seems to be acting like copy (hence the reason I need a delete in the first place). I have tried inserting delays between the move and delete, and even putting the delete action in a while loop that would only break if it succeeded at deleting the file (page would time out). If you try and delete the file manually through windows explorer, it works just fine. This is a windows server 2003 box, CF is running with full permissions on this directory. Here is my code.
<cftry>
     <cfif fileexists("\\fpiserver\company\processing\fail\#name#")>
          <cffile action="delete" file="\\fpiserver\company\processing\fail\#name#">
     </cfif>
     <cfif fileexists("\\fpiserver\company\processing\#name#")>
          <cffile action="move" source = "\\fpiserver\company\processing\#name#" destination = "\\fpiserver\company\processing\Fail\#name#" >
     </cfif>
     <cfif fileexists("\\fpiserver\company\processing\#name#")>
          <cffile action="delete" file="\\fpiserver\company\processing\#name#">
     </cfif>
     <cfcatch type="any" >
Also could not delete file. #cfcatch.message#
     </cfcatch>
</cftry>
I know your first thought is going to be the UNC paths, and you may be right, but the first delete and the move/copy work fine (basically). So I'm not sure that is it. I also tried applying the latest hotfix/patch. Thanks for any help.

Figured it out. The program that was creating the files was not releasing its threadlock on them. My bad.

Similar Messages

  • Simple File Reading problem

    hi guys,
    i have a GUI that executes a certain program based on user inputs. In order to execute the program, the GUI has to edit a text file with a single line in it. the line is provided by user thru GUI. the executable program uses this text file as input, call it input.txt. When I run the program once, everything works fine. But if i use the same GUI to run the program again (without closing the GUI window) with different user input, the program does not run. I check input.txt and I find that the GUI was succesfully able to make the changes the user wanted. I use the simple readline method to read the file as follows:
    BufferedReader reader = new BufferedReader(new FileReader("input.txt"));
    String curStr = null;
    while ((curStr = reader.readLine()) != null) {
      String url = curStr.trim();
      if (addPage(url))
        blah
      else
        blah             
    }addPage(url) complains that the string url is null! Does anyone know what could be the problem.

    You aren't executing that code.
    It is impossible to enter the while-loop if curStr is
    null, because the loop condition says not to. And
    since curStr is not null, then curStr.trim() cannot be
    null either.hmmmm .... the problem is that the print statements indicate that addPage is executed for sure!!! the addPage function does this:
    if (url != null)
      do something
      return true;
    return false;as far as adding more print statements is concerned I can't do that cuz I do not have access to certain source files needed for compiling this one. (I already have the pre-compiled version of this file).

  • Simple File Arrange problem

    Just installed the new OS X Leopard and am trying to get it back to what I am used to. Here is the problem. Every single time I open a folder in finder, the files are all scrambled all over the place. Is there any way I can change a single setting that will change the view to sort by "name" or "type" automatically on all folders; even on external drives. Had it set-up that way on my old mac. It was located in the view options but every time I change that it only changes the folder that is open.
    Please help.

    This is more faulty than just "not always reliable." Leopard is not applying icon changes to ANY other folders, only the one I am in. In every folder I need to adjust the view. And this process is more convoluted considering there are numerous options:
    1. The 'Arrange By' menu on right click.
    2. The 'Show View Options' selection on right click.
    3. The 'Arrange by:' drop-down on the 'View Options' window. Which lets you click on 'Name/Date/Size/Kind/Label' OR 'Snap to Grid'. But you can't sort by BOTH at the same time. So I choose 'Name', then 'Snap to Grid' but if I move anything then they won't stay in name order, because that has unselected. So am I supposed to go back and forth clicking? I thought Steve hated thousands of unnecessary clicks!
    4. 'Always open in ____ view"--Which seems to govern THIS window only. Good.
    5. 'Use as Defaults"--Which despite implying "for other windows", doesn't do anything. ANYTHING. But even if it did, what if I wanted to set BOTH 'Snap to Grid' AND 'Arrange by Name' for folders?
    And why in some windows do icons flow-fill to follow shape of window as i resize but in most windows not?
    Don't worry, I have plenty of folders filled with scattered icons to experiment here, and in every one it looks like 'Snap to Grid' is checked. Ha ha.
    I am such a fanboy, and Leopard has a healthy balance of pro/con issues for a .0 release, but this viewing problem is the biggest glaring incumbrance I have found. It would be ideal if I could set one default, then alter a few windows with 'Always open with __.' If that is how Apple intended this to work, it doesn't.

  • Simple File Coversion problem

    Hi,
    My flat fille has 3 fields. Mentined fixed lengths as 10,10,5.
    And my flat file has below content.
    ==========================
    Smarty     Sweet      85014
    Smartya    Sweetya    85014
    ==========================
    In my output file i am getting first two fields correct. ZIP code i am getting only 850 instead 85014.
    File has content like (10 characters including blanks) space (10 characters including blanks) blankspace (5 characters).
    Thanks
    Narayana

    Hi Ahmad,
    I got below problem after deleting fixedLength.
    ====================================
    Sender Adapter v2307 for Party '', Service 'BS_KIRKLAND':
    Configured at 2007-04-30 01:53:54 EDT
    History:
    - 2007-04-30 01:53:54 EDT: Error: Conversion initialization failed: Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found:
    Parameter 'Address.fieldFixedLengths' or 'Address.fieldSeparator' is missing
    Consistency check: no. of arguments in 'Address.fieldFixedLength' does not match 'Address.fieldNames' (0 <> 3)
    ============================
    Looks like Fixed length attribute is mandatory.
    Thanks
    Narayana

  • Dynamic html file generation problem

    I have a HTML file(abc.html) which is used when user clicks on a particular link in my web application. Web application has been developed in java. Now due to certain law changes , user wants to add some notices to existing HTML file(abc.html). So when he clicks on the old link, he gets abc.html with those notices appended to it. All the notices are different HTML files.
    So it looks like simple file append problem. But if it will modify my original file permanently, then it is not helping my purpose.
    So my doubt is , how I can append different notices html files to abc.html file and still keep my abc.html file as it is because the changes are based on user conditions. So if X is affected with new laws, he will see abc.html along with notices , if Y is not affected, then he will see abc.html only.

    The best solution would depend on the implementation details of your current web app, but, likely, the easiest way is to convert your html files to jsps. The jsp can then conditionally include relevant disclaimer fragments.

  • Problem in Simple file to file scenario

    Hello,
    I am new to SAP PI 7.3. I am doing a simple file to file scenario. The source file contains key,name,id,gender,role & location field. I have done a simple mapping to create the same file in the target side. I have done all the configuration in ESR & ID.
    But the problem is that in the target file ( Destination File ) i am getting only key field and the other fields are missing.
    Note: In communication channel monitoring, the communication channel is functioning properly and in message monitor also, the status is 'delivered'.
    The source payload also contains all the fields correctly. In message mapping (in ESR) also, the target payload is also generating correctly. But in the destination file I am getting the key field only and the rest fields are missing.
    Can you please suggest me what to do and where is the problem?
    Thanks & Regards,
    Moumita

    Hello,
    Do u have any MT name above Record node? If yes, then u have to change ur structre little bit. Check my reply in the thread pasted below.
    problems with MessageTransformBean SimpleXML2Plain
    BTW, if i am not wrong Iñaki has also suggested the same.
    Thanks
    Amit Srivastava

  • -- A file association problem exists, which prevents the file you're trying to download from being associated with the correct application by the operating system using window 7  IE 11

    A file association problem exists, which prevents the file you're trying to download from being associated with the correct application by the operating system
    USING WINDOW 7  IE 11  HOW CAN I FIX???

    Try downloading the offline installers:
    Adobe Reader
    Flash Player for Internet Exporer - ActiveX
    Flash Player for Firefox - NPAPI

  • How to create a simple File structure for a large project?

    Hi to all,
    I've own and operated my own website design/development (a 1 woman office, plus many sub-contractors) over the period of 8 years. I started hand-coding HTML sites in 1997, before the creation DW (though I think the first ver was for Mac in '97). Over the recent years I've udated my skills to include CSS and enough Java/PHP to customize and/or troubleshoot current projects (learn as I go).
    The majority of my clients have been other 1-10 person entrepreneur companies. I've recently won a bid to redesign a government site which consist of 30 departments, including their main site.
    The purpose of this thread is to get some ideas on creating a file management/structure. Creating file management setup for smaller companies was a piece of cake, using a simple file mgmt structure within DW. Their current file structure is all over the place. I've read about a very good, simple file struture in a DW CS4 manual and wanted to get feedback on different methods that have worked, and have not worked, or your client:
    Here's my thinking:
    1. within the root dir place home.htm and perhaps a few .htm related only to home
        2. create the following folders off the root, "docs, imgs/global, CSS, FLA, Departments"
                - sub folders within docs for each dept
                - site wide css's placed into CSS
                - site wide FLAs into the FLA
                - sub-folders created within 'imgs' for each dept, including a 'global folder' for sitewide images and menu imgs (if needed)
    - OR -
    1. create same file structure for each dept folder, such as 'imgs/CSS/FLA/Docs'
    Open for suggestions....
    Ciao

    It is a problem I have thought over at length and still feel what I use could be better. You are doing it the right way around researching before you start, as moving files once things are underway can course real problems. One issue is the use of similar assets across site(s), and version control if you have multiple versions of the same asset.
    Can not say I have built a site(s) of that size but would recommend putting together a flow chart to help visualise the structure and find out better ways organising (works for me). Good luck, post back with your solution.

  • New to MacBook - slow LAN file transfer problem

    My new MacBook is painfully slow when wifi-ing to my house LAN.
    I turned in my old G4 iBook for a MacBook (2GHz C2D, 2GB, 10.4.9, all updates). I have a LAN that consists of a wired 1G Ethernet backbone (a Mini and a Powermac G5 are wired in) and a Snow AEB that provides 802.11g wifi access to the LAN. The wired LAN connects to a D-Link GB Ethernet switch so the wired systems can exchange files fast. The switch connects to a D-Link EBR2310 router that connects to a cable modem to ComCast. The router has the latest firmware (1.05, it's an 'A' version router).
    The Mini, G5, and MB are static IPs on the LAN. The D-Link router passes out DHCP addresses >100, with addresses <101 reserved for static LAN IPs. I use static IPs for network reliability when recovering from power outages and other unforeseen glitches. The LAN has worked very well in this configuration, with fast file transfers among machines and good stability.
    With my old 802.11g G4 iBook, I was able to watch DVDs that are stored on an external FW drive connected to the Mini. No stalls, no pauses, no dropouts - MenuMeters showed an average throughput of about 700KBytes/sec on the iBook when viewing a DVD. I used both VLC and DVD Player with good results.
    With my new MacBook, I can't view my DVD files. 802.11g network transfer rates to the MB (indicated by MenuMeters and by Activity Monitor) vary rapidly from a high of about 1.1 MBytes/sec to 20 KBytes/sec. Movies stall, skip, etc.
    Simple file copies from one system to another are also much slower with the MacBook - an average of ~100KBytes/sec vs. ~ 1.5 MBytes/sec with my old iBook. In short, the MacBook is dog-slow in file transfers from the other machines compared with my old iBook when using the wifi connection, with no change to the network infrastructure in going from the old laptop to the new. I would like to fix this.
    My AEB is set up in bridge mode (simple access point) with WPA2 security. All three Macs are completely current with latest updates, as is the Snow AEB. The MB has 4 bars of signal strength. Slow file transfer problem does not change when moving the MB to or from the AEB.
    Curiously, when I download a large file (like the Intel 10.4.9 combo update), the MB shows a steady ~800KBytes/sec download speed, with none of the speed variation it shows with file transfers from either the Mini or the G5. File transfers to/from the MB to either of the other Macs are very slow.
    Both the Mini and the G5 have Airport cards: when I switch them from wired Ethernet LAN to wifi LAN, they transfer files between each other at ~ 2MBytes/sec - about what you'd expect from an 802.11g protocol. So the slow file transfer doesn't seem to be due to the AEB, it seems to be specific to the MacBook. When I connect the MB using its hardware Ethernet port, files transfer just as fast as the other systems.
    I have tried these measures, without effect on the problem:
    - power off/restart of every component in the system;
    - changing the AEB to an open network mode;
    - changing the MB from static IP to DHCP;
    - toggling IPv6 on/off;
    - running no applications other than Finder on all systems;
    Activity Monitor on the MB doesn't show anything sucking up CPU cycles during file transfers. I have plenty of RAM. The only thing I've changed in the network is the swap of the iBook for the MacBook.
    Can anyone suggest what else I can try to make acquisition of this nice shiny MacBook a step forward, rather than a step back? Thank you!
    G5 DP 1.8, Mini CD1.83 GHz, MacBook C2D,2GHz   Mac OS X (10.4.9)  
    G5 DP 1.8, Mini 1.83 GHz, G4 iBook   Mac OS X (10.4.8)  
    G5 DP 1.8, Mini 1.83 GHz, G4 iBook   Mac OS X (10.4.8)  

    Hi,
    Did you want to use the Live Migrations for that?
    We recommend that you configure separate dedicated networks with gigabit or faster speed for live migration traffic and cluster communication, and these networks should be separate from the network used by the management operating system, and from the network
    used by the virtual machines.
    For more and detail information, please refer to:
    http://technet.microsoft.com/en-us/library/ff428137(WS.10).aspx
    Regards.
    Vivian Wang

  • Invoke a FTP "Get File" operation throws java.lang.ClassCastException:

    Hi there,
    I am working on a very simple sample project that will pull the file from a ftp site. I create a partner link with FTP adpater with "Get File" operation.
    When I deploy and run the SIMPLE project, it throws the following exception.
    I am wondering if any of you experienced the same problem and how to resolve the issue. Your help will be greatly appreciated.
    Here is the error message:
    <messages><input><Invoke_1_Get_InputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Root-Element"><Root-Element xmlns="http://TargetNamespace.com/ftp_service"/>
    </part></Invoke_1_Get_InputVariable></input><fault><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>file:/C:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_FTPProcess2_1.0_709914d835a81c407ed668866e080b9e.tmp/ftp_service.wsdl [ Get_ptt::Get(Root-Element) ] - WSIF JCA Execute of operation 'Get' failed due to: Could not instantiate InteractionSpec oracle.tip.adapter.ftp.inbound.FTPActivationSpec due to: oracle.tip.adapter.ftp.inbound.FTPActivationSpec; nested exception is:
         java.lang.ClassCastException: oracle.tip.adapter.ftp.inbound.FTPActivationSpec; nested exception is:
         org.collaxa.thirdparty.apache.wsif.WSIFException: Could not instantiate InteractionSpec oracle.tip.adapter.ftp.inbound.FTPActivationSpec due to: oracle.tip.adapter.ftp.inbound.FTPActivationSpec; nested exception is:
         java.lang.ClassCastException: oracle.tip.adapter.ftp.inbound.FTPActivationSpec</summary>
    </part><part name="detail"><detail>org.collaxa.thirdparty.apache.wsif.WSIFException: Could not instantiate InteractionSpec oracle.tip.adapter.ftp.inbound.FTPActivationSpec due to: oracle.tip.adapter.ftp.inbound.FTPActivationSpec; nested exception is:
         java.lang.ClassCastException: oracle.tip.adapter.ftp.inbound.FTPActivationSpec</detail>
    </part></bindingFault></fault></messages>

    Take a look at the stack trace, it shows you exactly where the error is coming from:
    java.lang.ClassCastException: org.theclass.candidate.view.SearchForm
    org.theclass.candidate.view.CandidateListAction.execute(CandidateListAction.java:41)Line 41 in your CandidateListAction.
    Probably it is failing on a cast of your action form.
    Taking a closer look at your struts-config, you are "chaining" actions.
    Your AddCandidateAction uses the candidateForm, and forwards to CandidateListAction.do
    Your CandidateListAction uses the searchForm.
    That will be the cause of your class cast exception.
    <action path="/Add"
      name="candidateForm"
      type="org.theclass.candidate.view.AddCandidateAction"
      validate ="true"
      input="/jsp/addcandidate.jsp">
      <forward name="success" path="/CandidateList.do"/>
    </action>
    <action path="/CandidateList"
    type="org.theclass.candidate.view.CandidateListAction"
    name="searchForm"
    scope="request" >
    <forward name="failure" path="/jsp/list.jsp"/>
    <forward name="success" path="/jsp/candidatelist.jsp"/>
    </action>Check out: http://struts.apache.org/1.x/faqs/newbie.html#chaining
    Solutions?
    - don't chain actions ;-)
    - use the same action form for both actions (possible?)
    - make the actionForward a "redirect" one. That means a new request, and losing any request parameters/attributes but should prevent this class cast exception.
    Hope this helps,
    evnafets

  • Does simple file and folder sharing on an iMac work with OSX Server?

    Hi There
    I wonder if I should install OSX Server on an iMac wher several users work on the same files and folders.
    My question - before I do something I might regret:
    Does simple file and folder sharing on an iMac within several users really work with the help of OSX Server?
    All I want to be able to do:
    Admin creates a new folder1 and gives it read- and write access for user1 and user2.
    User1 creates a subfolder1 in folder1, and a document1 in subfolder1.
    User2 edits document1. Later Admin edits document1.
    All these simple editing of files and folders (and subfolders) within a main folder should be possible. This is not possible now.
    Is everything clear? I'm not a network specialist or something, I just want to give some co-workers access to some data on my computer without problems.

    So what you need are recursive permissions.
    I suggest you create a group and add user1 and user2 to that group. You can name that group whatever you want, but for now i will call it FSUsers
    Execute this in terminal. Replace FSUsers with your new group
    sudo chmod -R +a "FSUsers allow list,add_file,search,add_subdirectory,delete_child,readattr,writeattr,readextat tr,writeextattr,readsecurity,file_inherit,directory_inherit" /Users/Shared/*
    Replace /Users/Shared with the location of your shared folder. Make sure you keep the /* at the end (this allows all subfolders and files to get the same permissions.
    If you need to add people to the share just add them to the FSUsers group, the FSUsers group should should also be allowed in the sharing preferences.

  • ACS v5.2 - Unable to update User integer attributes through File Operations

    Hi,
         I have created some internal users on ACS v5.2 and added some Unsigned Integer attributes for each user. I am trying to do a bulk update of these integer attributes using the File Operation facility. However no matter what number I put on the import template it doesn't get updated and displays a "0" in the user config.
    The import template is validated successfully with no errors and also the string attributes are updated correctly.
    There is a sort of work around of deleting the users and adding them back in with the updated values. But this is not feasible as it would reset their passwords. I have also tried saving the csv file in Open Ofifce instead of Excel
    Has any one else come across this problem?
    (I am unable to see this issue in the Release notes or Bug tool kit although there is a similar issue when updating devices in CSCth68051)

    Hi,
         Thanks for the reply. I have managed to recreate the problem to show you but it is a bit more complicated than I first thought. The problem only occurs when the integer attributes are added after the user is created.
    I created a dummy user. The MTL and TLS attributes were present before the user was added. I then added the XXX and ZZZ attributes afterwards and assigned them default values. The default values show up in the GUI config.
    However when I export the database to a csv file only the values of the MTL and TLS attributes show up in the export file:
    I then downloaded an import template and updated the integer values for TLS,MTL, XXX and ZZZ for the dummy user:
    The file imports successfully with no errors. However, when I display the user config only the MTL and TLS attributes have changed. The XXX and ZZZ attributes have stayed the same.
    I thought it might be because I was assigning a default value of 0 to the new attributes but I assigned ZZZ a default value of 1 and the same thing occurred.

  • File path problem

    I have looked an read through almost all the file path problem post possible and I am still having issues maybe one of you guys can help me, here are my files
    I am doing this as an example so that I can apply it to all of my file problems....
    Harold Timmis
    [email protected]
    Orlando,Fl
    *Kudos always welcome
    Attachments:
    pathexample.zip ‏122 KB

    First of all, to troubleshoot the problem it would help to put some filepath indicators at each point so that you can see what is going on. Also, in your exe having an error dialog "Simple Error Handler.vi" to let you know what LabVIEW didn't like in the exe.
    Now, when you run a top level ("Main.vi") and use the "Current VI's Path " in the development mode it returns <Filepath>\"Current path"\Main.vi. So stripping once will get you to  <Filepath>\"Current path" .    Now if you make it into an exe the "Current VI's Path" returns <Filepath>\"Current path"\"Name.exe"\Main.vi so you are "nested" one deeper.
    I use the following construct to determine whether the vi is being used as in the development environment or as an exe, the parse the path accordingly, although in this instance it is used to supply different directory names to a little more complex file system.
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • Error in simple(File-XI-File)scenario

    Hi,
    Using this blog i was doing simple(File-XI-File)scenario.
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    But i am getting the error
    Runtime error
    com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_MM_FILE_TO_FILE_CC_: Fatal Error: com.sap.engine.lib.xml.parser.
    What could be the problem ?
    Thanks.

    Hi,
      Check ur Mapping objects and do test it in the test tab of MM or IM before activating.Once it is done do activate it.
    Refer to below links as well:
        /people/srinivas.vanamala2/blog/2007/02/05/step-by-step-guide-xml-file-2-xml-file-scenario-part-i
        /people/srinivas.vanamala2/blog/2007/02/05/step-by-step-guide-xml-file-2-xml-file-scenario-part-ii
    Cheers,
    Prasanthi.

  • Unable to run a Batch File Operating System Command

    Using XI 3.0, I am unable to run a Batch File Operating System Command After Message Processing.
    My Batch file:
    gpg -se -r BOA3RSKY --armor --passphrase-fd 0 %1 < C:\Progra~1\GNU\GnuPG\gpgin
    My Command Line (ID scenario)
    exec "cmd.exe /c C:\Progra~1\GNU\GnuPG\boagpg.bat %F"
    If I execute
    exec "cmd.exe /c type C:\Progra~1\GNU\GnuPG\boagpg.bat >xis.txt"
    It displays the contents of boagpg.bat file in xis.txt.
    I just don't understand why when I run the batch file, I would expect an %F.asc encrypted file in the same directory as the %F unencrypted file.
    Any ideas?
    or will I need Basis to create commands that will allow me to run GPG from XI Command Line?

    Check this links if its helpful
    http://help.sap.com/saphelp_nw04/helpdata/en/bb/c7423347dc488097ab705f7185c88f/frameset.htm
    /people/sap.user72/blog/2004/01/30/command-line-help-utility
    Check this thread a similar problem
    Process Integration (PI) & SOA Middleware
    Note 841704 - XI File & JDBC Adapter: Operating system command
    http://service.sap.com/sap/support/notes/841704
    Try to see the below links
    /people/michal.krawczyk2/blog/2005/08/17/xi-operation-system-command--error-catching
    OS Command on FTP
    OS command line script - Need help
    FTP - Run OS Command before file processing
    Note: reward points if solution found helpfull
    Regards
    Chandrakanth.k

Maybe you are looking for

  • I can't get rid of Cinema Plus malware.

    It's infected Firefox (37.0.1) and Safari (8.0.5) I'm running a Mac Mini w/ 10.10.3; 3ghz i7; 16megs of ram; Intel Iris 1536 MB graphics card. Help. Thanks.

  • ADF web select one choice list return value

    hi how can i make a choice list that displays a value but return another value and then use it as a parameter in a method for a button my problem is how to return another value to the button thanks

  • Client blocks after a crash while registering for change notification

    Hi, I just moved this message from the Jdbc forum as being of more general interest, not limited to any Java client. I got a client crash since the JVM was short of heap space (the involved application was inserting data). Then I run the application

  • Red Screen in Object Browser (HTMLDB 2.0) with IE

    I have tried all of the suggestions listed in the forum and post installation instructions - added the files on the server, cleared every cache option for IE and the red screen is still showing. Does anyone have anything else I should try? I am at th

  • Timeout for HR Saved For Later

    Hi Is there any way to set timeout for workflow item "Saved For Later"? It seems that we have numerous records with status "Open" under item type "HRSFL". System is keeping records age more than 1 year. I'm looking for the correct way to remove these