Vim "No tags file" error with python

I'm trying to get vim set up for python IDE stuff, but when I ctrl+] on a method or anything else, I get a "No tags file" error. I have the TagList plugin installed. Is there anything else I need to do to set this up?

You need the "tag file" before you to use "ctrl +]".
To get the tag file run this command "ctags -R *"  in your source files' directory.

Similar Messages

  • Sign on problems within Elements 10; plus cannot backup writing files error with file catalog.pse10db.  No indication what the problem is.  How do I get adobe help with these problems?

    Sign on problems within Elements 10; plus cannot backup, writing files error with file catalog.pse10db.  No indication what the problem is.  How do I get adobe help with these problems?

    Sign on problems within Elements 10; plus cannot backup, writing files error with file catalog.pse10db.  No indication what the problem is.  How do I get adobe help with these problems?

  • Am trying to download itunes as it has previously deleted during an update, and it comes up during the installation that there is a file error with my resources

    Am trying to download itunes as it has previously deleted during an update, and it comes up during the installation that there is a file error with my resources

    That's perfect, thanks.
    error writing to file: C:\Program
    files\ i tunes\ i tunes.Resources\ja.lproj\AppleTVStream
    itxib. Verify that you have access to that directory
    That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Vista instructions in the following document: Check your hard disk for errors
    Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • Tomcat 6.0.9 and jsf 1.2 and jstl 1.2 using *.tag file error

    I using :tomcat 6.0.9 and jsf 1.2 and jstl 1.2
    My web.xml is at version 2.5 and I am using a custom tag (with the .tag extension). I am trying to use the http://java.sun.com/jsf/html library and values from my attribute. I'm new to this so I figure I must just me missing something.
    I am run http://192.168.1.1/test.jsf laster,view:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP:
    Stacktrace:
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
         org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
         org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWrapper.java:212)
         org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProcessor.java:576)
         org.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcessor.java:50)
         org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:627)
         org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
         org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:631)
         org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2392)
         org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
         org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProcessor.java:645)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:190)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:308)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:414)
         com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:455)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:139)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:108)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:266)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:159)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
    note The full stack trace of the root cause is available in the Apache Tomcat/6.0.9 logs.
    if go to /WEB-INF/tags/test.tag ,delete line: <h:outputText id="test" value="hello!" />
    run http://192.168.1.1/test.jsf is OK!(no error),So I guess error for "<h:outputText id="test" value="hello!" />" line ,why in test.tag file do can't use the "http://java.sun.com/jsf/html " library,please help me.......
    Here is file WEB-INF/web.xml content:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!--
    Licensed to the Apache Software Foundation (ASF) under one or more
    contributor license agreements. See the NOTICE file distributed with
    this work for additional information regarding copyright ownership.
    The ASF licenses this file to You under the Apache License, Version 2.0
    (the "License"); you may not use this file except in compliance with
    the License. You may obtain a copy of the License at
    http://www.apache.org/licenses/LICENSE-2.0
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    -->
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd"
    version="2.5">
    <display-name>Welcome to Tomcat</display-name>
    <description>
    Welcome to Tomcat
    </description>
    <!-- Faces Servlet -->
    <servlet>
         <servlet-name>Faces Servlet</servlet-name>
         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
         <load-on-startup> 1 </load-on-startup>
    </servlet>
    <!-- Faces Servlet Mapping -->
    <servlet-mapping>
         <servlet-name>Faces Servlet</servlet-name>
         <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
    </web-app>
    Here is file /test.jsp code:
    <%@ page contentType="text/html;charset=UTF-8" %>
    <%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <f:view>
    <html>
    <head>
    <title>test</title>
    </head>
    <body>
    <!-- body start -->
    <h:outputText id="myinfo" value="test success" />
    <tags:test/>
    <!-- body end -->
    </body>
    </html>
    </f:view>
    Here is file /WEB-INF/tags/test.tag code:
    <%@tag pageEncoding="UTF-8"%>
    <%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
    <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <h:outputText id="test" value="hello!" />
    Thanks for any help.

    Don't know if it's important, but there is no schema avaiable at: http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd
    I found the right one at: http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd
    /perty
    Message was edited by:
    perajonsson

  • Fail2ban error with python 2.6

    hi there,
    I get funny error messages when trying to start fail2ban. after some playing around I found out that it works fine with python-2.5.2-5-x86_64.pkg.tar.gz but not with any python 2.6 version.
    here is the relevant part of the log file:
    http://paste.geekosphere.org/1061929
    is there a possibility to get it working with python 2.6 or do I have to stay with 2.5 if I want to use fail2ban?

    this problem seems a little specific to be asked here - I'd suggest you try the mailing list of fail2ban users which can be found here:
    https://lists.sourceforge.net/lists/lis … 2ban-users

  • Illustrator CC 2014 "Exception in file" error with linked images

    It appears some images are showing "Exception in file" error dialog boxes.
    If I resave the image in Photoshop or link it to a different image the error disappears.
    Happened with:
    - old design files linked to old images
    - image that was dragged from Mac Mail
    - linked to JPG provided from other users
    Does not happen with:
    - images created recently with Photoshop CC or CC 2014
    Here is the error:
    Has anyone else seen this and/or found a solution?
    This is an error on a new Mac Pro with brand new install of all software. No older versions of cc installed. Just CC 2014.

    That's a good idea. Unfortunately, same problem if I move the image to desktop or same folder as file.
    If I resave the file (JPG in this case) the error disappears.
    I understand this can be the solution, but given this issue had not happened before, it's interesting it is happening with CC 2014.
    Attached is the image in question. Note that this is not the only image. It has happened with older design files that were made from older versions of cc or before cc.
    I'm not sure if the uploader will recreate the JPG so I'll compress the file and is available here if anyone would like to test.
    Dropbox - photo 2.JPG.zip

  • Is tagging files necessary with Spotlight?

    I'm an attorney, so I save a lot of case law on my computer. They are usally PDFs. I've thought about adding tags to the files so that I can search certain legal terms. However, the legal terms (the tags I would use) are all words and phrases that are used within the files. With Spotlight I can just type the word or phrase and the files using them show up in the search result without the file ever having been tagged. If all that I'm ever searching are these words or phrases that are already used within the file, would there be any benefit to tagging these files with the words or phrases?

    X423424X wrote:
    On the subject of spotlight tags
    (1) Let's get one thing straight. (I thought I had done that when I wrote "edit a PDF in Acrobat".) We're not talking Spotlight tags (even if they exist). We're talking PDF tags. These are read and understood by any app which understands the PDF document information dictionary (see PDF Reference, 6th edition, §10.2.1), which is the most basic level (we'll ignore metadata streams). These stay with the document, and get carried over with the document; which means not only that they'll be understood by any properly designed PDF manager, but that they will be used also on Windows, Linux, and so on. IOW, the investment of work on tagging these files is not only not tied to Spotlight, it is not even tied to Mac OS X. Hence, definitely worth doing, AFAIC.
    Personally I don't waste my time remembering various properties spotlight can use
    (2) À chacun son goût, maître. (I find that it's not remembering that takes time -- faster hard drive, maybe?) The point of the little trick was answering the OP's question, ie, using Spotlight to search for PDF tags only. As to remembering, well, there are such things as saved searches and 'smart folders'. Moreover, anyone who can handle the spelling and pronunciation of sundry Anglo-Norman juicy bits like "avowtry", "postremogeniture", "nuncupative will", or "writ of oyer & terminer" will hardly have a coughing fit over two measly kMDItem keywords, now will he?
    I use spotlight for basic filename
    (3) IMHO, that's exactly where SL falls very short; but, to each his own. As anyone who's read my posts knows, I can hardly be described as a fan of SL. In my case, 99% of my searches are of filenames, and, unfortunately, there's no replacement for SL that fits my needs. None of the three apps I use on a regular basis (John R Chang's Find File, Thomas Tempelmann's FindAnyFile, and Christian Grünenberg's EasyFind) are a complete replacement for the Find utility in Panther. As to my PDFs, I manage those with EndNote. I don't recommend it (it's really not a PDF manager at all), but I have a lot of data in it and haven't found yet something worth converting to. But I'm not a lawyer; if I were, I'd certainly take a very close look at DevonThink.
    On the subject of spotlight tags, although I never use them, there's even a utility for them as well.  It's called TagIt.
    (4) I would urge some degree of caution when considering TagIt. It's not a "spotlight tags" utility (in fact, are there any "spotlight tags", other than comments?); it's really part of OpenMeta; the developer, Ironic Software, lately seems missing in action, and Yep, their foremost product, hasn't been updated in quite some time. Unlike PDF metadata, OpenMeta is not cross-platform and it is not transferable.

  • 'Unknown File' error with H.264 clips from Kodak zi6

    Hi everyone
    I'm trying to import some clips taken with a Kodak zi6 into Final Cut Pro, and I'm getting an 'Unknown File' error. The clips are H.264 quicktimes, 720p60 (well, actually 59.94fps). They open & playback in Quicktime Pro without any problems whatsoever, so I can't figure out why FCP doesn't like them. I've just now tried transcoding one to a ProRes422 as well and FCP rejects that as well. Does it have something to do with framerate?
    As an aside, I'm not terribly thrilled with the ProRes transcode either, there's a HUGE difference in colourspace for the worse. The H.264 actually looks better and more accurate.
    Any thoughts welcome!

    I experienced the exact same problem. However iMovie 08, which has radically reduced functionality imports the files fine. Something that I noticed that might be an issue is that in Quicktime Pro if you "Show Movie Inspector" you will see that the codec of the Zi6 files is listed as "Ambarella AVC encoder." They are NOT listed as H.264. This may be significant. It may be a flavor of H.264 but seems kind of "windows low budget" to me.
    Also as a point of clarity, in my experience Final Cut Pro WILL edit H.264 files with no problem. It is not ideal for quality reasons but it works fine.

  • Using a lookup from one CSV file to another CSV file errors with a name clash

    Hi
    I have a master CSV file created by querying the AD. I need to populate the "Team" attribute by doing a lookup using Name against  the Name Column any of 6 CSVs,  someone has prepared for me .  The problem is the data is inconsistent
    in the 6 CSV files so Name can hold either the Name or Username i.e. SAmAccountName or LoginName
    Now my ps script works when the data is good. but I have around 30 exception cases whereby there is a mismatch .  To explain:
    is in this line ( see the big code block below) 
    $userObject = $nameAndTeamCsvData | Where-Object {$_.Name -eq $masterUserName}
    The $_.Name is using the top level masterCSVData Name but I was hoping that it was using the
    $nameAndTeamCSVData.Name  as in only within the scope of the Where-Object {} ..I guess I have misunderstood the syntax of what I had written.
    . A quick a dirty fix would be rename this column in all of the 4 spreadsheets or trying to fix the code.....
    # now update the empty team value for user object
    $csvMasterData | ForEach-Object `
    $masterName = $_.Name
    $masterUserName = $_.Username # to deal with exception cases
    #force scope to as the properties in the outer with the same name should be out of scope
    # lookup the Name to see if we can extract the user's Team
    $userObject = $nameAndTeamCsvData | Where-Object {$_.Name -eq $masterName }
    # deal with the situation where the name in the businesses spreadsheets is actually the Username (login name) in the master csv
    if ( $userObject -eq $null )
    # lookup the username (loginname) to see if we can extract the user's Team # !!!!error occurs here with the $_.Name !!!!!
    $userObject = $nameAndTeamCsvData | Where-Object {$_.Name -eq $masterUserName}
    if ( $userObject -eq $null )
    $_.Team = "UNKNOWN"
    else
    # replace the mastercsv.Team with the one we have looked up
    $_.Team = $userObject.Team
    else
    # Name matches so replace the mastercsv.Team with the one we have looked up
    $_.Team = $userObject.Team
    Daniel

    I see your challenge.  How about collecting the column names in an array and looking for the potential names?  Following my example before, try this:
    $dataColumns = $I | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name
    Now, you can loop through the names and collect the appropriate data.
    if ($dataColumns.Contains('Column1'))
        #add ForEach-Object { $_.Column1... }
    HTH
    ~fr3dd
    Hi I had to wait until Friday as I have someone  ( my boss) checking the business & team csv files against valid usernames and names. 
    # now update the empty team value for user object
    $nameAndTeamCsvData | ForEach-Object `
    $nt_name = $_.Name
    # $masterUserName = $_.Username # to deal with exception cases
    # lookup the Name to see if we can extract the username and mobile from the masterCSV
    $userObject = $null # Replace my original code: $csvMasterData | Where-Object {$_.SName -eq $nt_name } # with foreach code below
    $uo = $null
    foreach ($uo in $csvMasterData)
    if ($uo.SName -eq $nt_name)
    $userObject = $uo
    # ouch can't break out of this even though I found it so have to move on to the next
    }if ( $userObject -ne $null ){ #  Name matches so   replace the few propeerties in  mastercsv.Team with the ones we have looked up
             $_.Username =$userObject.SamAccountName
             $_.Mobile =$userObject.Mobile
    This does work but is clearly not very efficient since I don't think I can
    break or exit out of the foreach loop.  I am thinking I could quickly modify and add your code - my import is delayed as I am having a new property added to user class...  Let me know what you think.

  • Windows bad image in Vista playing wmv file error with Acro8professional

    I have created a multimedia file with movieclips and audio. The file plays perfectly on XP2 and XP3 machines. However I have one Vista machine which reports a bad image error when clicking the play button for the movie. This error will display after three attempts after which the file will play without problem. The file embedded in Acrobat 8 is a WMV file.
    The error message is as follows: Exception processing image
    0xc000007b parameters 0x75AD023C 0x75AD023C 0x75AD023C 0x75AD023C
    The vista laptop is the one we use to demo files so it would be great to establish what the problem is. Do not have access to another vista machine to compare.
    Many thanks

    i had a similar issue. don't know what was the reason but the latest update fixed it.

  • "empty file" error with CS5, linux server and mavericks

    hello to the community,
    i'm the owner of a small online marketing agency.
    we have been using different macs here since 10.6. until mavericks with adobe CS 5 and a linux server for years.
    today i got a new MBP retina with mavericks and since now i have the following problem:
    - when i try to open a photoshop file on the server i get a "file is empty" error, when i open an illustrator file on the server illustrator crashes und when i open a pdf on the server with acrobat pro there comes a message that the file is corrupt. with acrobat reader i can open it.
    - i can open the exact files with all apps when they are on a local storage not an the server
    - i can open all files on the server with another mac with os x 10.6.
    so there must be a problem with the combination cs5-files, server and os 10.9. it's weird because with my old MBP i with also using mavericks and there was no problem.
    can anyone help me? it's really a problem!

    i found a workaround that seems to work!
    instead of connecting to the server with "smb" i connect with "cifs". so i force mavericks to connect using the old smb 1 instead of the buggy smb 2.

  • XSD's file error with impot

    Hi, I'm getting this error in set_user_details_request.xsd
    How can I impotr this file with best way?
    I'm not sure about http://www.test.com
    user_details.xsd :
    ==============
    <?xml version="1.0" encoding="utf-8"?>
    <!-- Created with Liquid XML Studio 1.0.8.0 (http://www.liquid-technologies.com) -->
    <xs:schema xmlns:tns="http://www.test.com/User/user_details" targetNamespace="http://www.test.com/User/user_details" xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:complexType name="details">
        <xs:sequence>
          <xs:element name="id" type="xs:int">
            <xs:annotation>
              <xs:documentation> The user id. </xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="first_name" type="xs:string">
            <xs:annotation>
              <xs:documentation> The user first name. </xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="last_name" type="xs:string">
            <xs:annotation>
              <xs:documentation> The user last name. </xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="birthday" type="xs:dateTime">
            <xs:annotation>
              <xs:documentation> The user birthday. </xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:complexType>
    </xs:schema> set_user_details_request.xsd :
    ========================
    <?xml version="1.0" encoding="utf-8" ?>
    <!-- Created with Liquid XML Studio 1.0.8.0 (http://www.liquid-technologies.com) -->
    <xs:schema xmlns:dtls="http://www.test.com/User/user_details" xmlns="http://www.test.com/User/set_user_details_request&...
    targetNamespace="http://www.test.com/User/set_user_details_request&... xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:import schemaLocation="./user_details.xsd" namespace="http://www.test.com/User/user_details" />
      <xs:element name="set_user_details_request">
        <xs:complexType>
          <xs:sequence>
            <xs:element minOccurs="0" maxOccurs="unbounded" name="user_details" type="dtls:user_details" />
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:schema> Error:
    ====
    the <element> [user_details], is of type [http://www.test.com/User/user_details:user_details...
    However [http://www.test.com/User/user_details:user_details... is not defined as a root item
    (either a <complexType>, <simpleType> or <element>, within this schema or eny included or imported schemas. My files in:
    D:\TestWorkspace\testAARs\User
    Thank's,
    Yael.

    Well, let me first say that I'm not much good at schemas. But to me it looks like that message is saying that you have a <user_details> element, and your schema doesn't describe any such element. And I don't see why you think it does, either. I don't see where your schema describes a <user_details> element.

  • File error with Calibrated Software import

    I am using Calibrated Software to import EX .mov files from Apple OS drives into a Dell M6600 laptop. It worked just fine the first two times in demo mode but then started giving me an error that said "Unsupported format or damaged file". PP is seeing the drive and its contents just fine through the browser tab. Have I missed something? I purchased and installed the licenses and it says they are fine. I am not having any trouble with these same files going into my MacBook Pro and using them in Final Cut Pro.
    I also, can't import any file such as JPEG stills from this drive.

    Try simply transferring the content from the Apple drive to an NTFS formatted drive before import.

  • Cannot open files - errors with  "unrecognized selector sent to instance"

    I installed 10.5 on MBP and noticed that there is a problem with the file dialog box. Everytime I try to 'Open a file' from any app (Firefox, Word etc...) it does not bring up the file dialog. Instead it throws this error in the console:
    10/27/07 12:36:29 PM Microsoft Word[373] * -[NSNavSegmentSwitchControl initWithFrame:pullsDown:]: unrecognized selector sent to instance 0x1b9c5dd0
    10/27/07 12:36:29 PM Microsoft Word[373] Exception raised!: * -[NSNavSegmentSwitchControl initWithFrame:pullsDown:]: unrecognized selector sent to instance 0x1b9c5dd0
    10/27/07 12:44:17 PM firefox-bin[398] * -[NSNavSegmentSwitchControl initWithFrame:pullsDown:]: unrecognized selector sent to instance 0x17dcf430
    10/27/07 12:44:17 PM firefox-bin[398] Exception raised!: * -[NSNavSegmentSwitchControl initWithFrame:pullsDown:]: unrecognized selector sent to instance 0x17dcf430
    To test this, just launch Firefox and go to File->Open File... and if you don't see the File dialog then you have the problem. I have reinstalled from CD but same problem. I installed 10.5 on an iMac G5 and do not see this problem.
    Any thoughts on what can be done. Its a little difficult to use the computer if I can't open or save files
    Thanks,
    -- John Mac.

    RayNewbie wrote:
    I think the recommendation was to make sure the object you got from your nib was an instance of the class you expected. This sounds like an especially good idea given the difference in behavior on the two platforms. For example:
    if (cell2 == nil)
    NSArray *nib = [[NSBundle mainBundle] loadNibNamed:@"CustomCell" owner:self options:nil];
    cell2 = [nib objectAtIndex:0];
    // debug code aka introspection
    if ([cell2 isMemberOfClass:[CustomCell class]])
    NSLog(@"%@ is CustomCell", cell2);
    else {
    NSLog (@"%@ is not CustomCell", cell2);
    That is fairly limiting and isn't good practice. You see that approach more in C++, which isn't as strong an object-oriented language as Objective-C. Even in C++ though, there are better ways to handle it.
    In Objective-C, it is pretty easy. Look at it from the perspective of what you want to do. Then, you ask the object if it can do what you want via "respondsToSelector:"

  • Load from file error with Tomcat

    I'm trying to load a set of users from a CSV and whenever the file is more then a couple kb, I get an error which says:
    javax.servlet.ServletException:
    ==> java.io.IOException: No such file or directory
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:471)
         at org.apache.jsp.loadFromFile$jsp._jspService(loadFromFile$jsp.java:1017)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    etc.
    I get the same error when attempting to upload a file for bulk resource actions. I've tried playing with the Tomcat disableUploadTimeout parameter with no luck. Are there any other Tomcat parameters that could affect the upload of these files? When I use the same files with a limited number of lines, the uploads of the csv files work fine. I'm using the following setup:
    Solaris 10 118833_17
    Sun System Identity Manager 7.1 (20070523)
    Tomcat Servlet/JSP Container 4.0.5
    MySQL 5.0.60

    Your error will be the same as this posting
    Jobs Credentials Problem
    What it needs is the Windows User and it needs to have the Local Security privilege 'Log on as a batch job' . This will be probably already assigned to the ORA_DBA group. So enure that the user you use to logon to Windows is in the ORA_DBA group.

Maybe you are looking for