"Error in TTCmd::Prepare() while allocating statement handle")

"Error in TTCmd::Prepare() while allocating statement handle")
How does this kind of error come out? What is the reason? The posibilities are what?
Hoping to receive your answers/
Thanks!
Edited by: user10789526 on 2009-8-20 上午12:13

Privileges acquired via ROLE do NOT apply within named PL/SQL procedures.
Explicit GRANT is required to resolve this issue.

Similar Messages

  • Oracle Error - statement handle not executed state

    Hello,
    A BCA scheduled job has failed and returned with the following error. Does anyone have an idea to fix this error.
    Connection or SQL sentence error: (DA0005): [Exception: DBD, ORA-24338: statement handle not executed State: N/A] The following data providers have not been successfully refreshed
    Thanks
    -Gopi

    Please provide more information on what Crystal Reports or Business Objects product you are using. The more details you can provide, the quicker the resolution...
    Ludek

  • ORA-24338: statement handle not executed

    Hi,
    My front end programming platform is .NET. Oracle DataBase is 10g.
    I have written this package:
    CREATE OR REPLACE package body USER_NAME.PACKAGE_TEST1 as
    procedure getname(id1 number,tb_cursor out md_cursor)
    as
    begin
    open tb_cursor for select name from testtable1 where id1=id;
    close tb_cursor;
    end getname;
    end package_test1;In the front end i am using DataReader to fetch data.
    But while Executing reader an error occurs that is "ORA-24338: statement handle not executed".
    But when i remove "close tb_cursor" programm runs successfully.
    What is the reason for that error ?

    user12222356 wrote:
    Tubby wrote:
    A ref cursor is nothing more than a pointer to a statement (query).
    So no, you do not want to make 1000 procedure calls. You want your ref cursor to be opened for a query that contains 1000 rows. The client calls your procedure ONE TIME and processes the entirety of the ref cursor (1000 rows), then closes the cursor that your procedure so graciously opened for them.But according to .NET(my front end platform) documentation DataReader fetches data from database row by row .each row at a time.That means when the procedure was first called REF CURSOR was opened and was open till all data are fetched.Means at the begining itself query was executed and all data was fetched and stored temporarily in the database, and then DataReader fetched those data row by row..i.e., after first call to procedure only fetching of data is done. NO opening,NO closing ,NO select query execution (that was referenced by REf CURSOR). And when all rows are fetched that open cursor is closed . Is my concept right here ?YOU opened the cursor (in your procedure).
    The select query execution IS the ref cursor being processed by your DataReader.
    The data is not temporarily stored in the database ... it persists there (unless someone deletes it) ... so that statement wasn't really correct. DataReader would just be reading the rows from the database (via the ref cursor)
    I would assume DataReader will close the cursor for you, but i really don't know ... you'd have to ask a .not person about that.

  • A buffer failed while allocating bytes.

    What is the Exact fix for the following error message in SSIS 
    Error: A buffer failed while allocating 3640 bytes.
    Error: The system reports 89 percent memory load. There are 8544776192 bytes of physical memory with 886386688 bytes free. There are 4294836224 bytes of virtual memory with 113836032 bytes free. The paging file has 24271511552 bytes with 14344065024 bytes free.
    Thanks in Advance

    Adding more memory probably won't help with your problem. It had free memory available at the time this error happened, not to mention the paging file.
    This error happens when your data flow needs to create too many logical copies of data, combined with too many blocking/semi-blocking operations. Even a relatively large number of merge joins could cause this.
    I haven't figured out a way to solve this yet, but this isn't related to lack of server memory, at least not directly. I once managed to reproduce this error on a server which had more than 60% free memory.
    You should post your data flow design so we can take a look. Someone may have more information on this, but this isn't a simple issue.
    Just because there are clouds in the sky it doesn't mean it isn't blue. But someone will come and argue that in addition to clouds, birds, airplanes, pollution, sunsets, daltonism and nuclear bombs, all adding different colours to the sky, this
    is an undocumented behavior and should not be relied upon.

  • Err 62007: SQL Error: 99999 ORA-24338: Statement Handle not Executed

    Hi,
    I am facing a problem while adding a new parameter n my JSP Report JDBC query based on a ref-cursor from a stored procedure define in a package in database.
    No problem at database level, I have added the new parameter in package specification and Package body for that procedure and compile my package, it complies without any error and warning.
    but when I open the report and add parameter in the report JDBC query window, then it is generating a error message,
    "Err 62007: SQL Error: 99999 ORA-24338: Statement Handle not Executed "
    and I am unable to add the new parameter in report.
    e.g.
    Actual which was working is:
    My-package.My-procedure(:P1,:P2,:P3 ,:P4,:P5,:P6,:P7)
    I want to do this:
    My-package.My-procedure(:P1,:P2,:P3 ,:P4,:P5,:P6,:P7,:P8)
    but unable to do due to this error message:
    ("Err 62007: SQL Error: 99999 ORA-24338: Statement Handle not Executed ")
    Reports Builder 10g:
    Database 10g:
    Operating system windows XP:
    using JDBC Query base on ref-cursor coming from the stored procedure define in the Package.
    Regards,
    Khan

    and compile my package, it complies without any error and warning.That doesn't mean anything in this case. You are getting a runtime error, not a compilation error. The error is coming when you execute your procedure.
    Did you test your modified procedure in sqlplus or SQL Developer?

  • ORA-24338: statement handle not executed   -- error in returning refcursor

    My packaged procedure has Ref cursor as out variable.
    Calling the packaged procedure from Cognos 8. while trying to access the packaged procedure , getting the below error.
    ORA-24338: statement handle not executed
    Please provide a solution...

    Welcome to the forum!
    Whenever you post provide your 4 digit Oracle version (result of SELECT * FROM V$VERSION).
    Confirm that the procedure works properly when called from sql*plus.
    For example here is some code that tests a package procedure I have in the SCOTT schema
    SET SERVEROUTPUT ON SIZE 1000000
    DECLARE
      l_cursor  test_refcursor_pkg.my_ref_cursor;
      l_ename   emp.ename%TYPE;
      l_empno   emp.empno%TYPE;
    BEGIN
      test_refcursor_pkg.test_proc (l_cursor);
      LOOP
        FETCH l_cursor
        INTO  l_empno, l_ename;
        EXIT WHEN l_cursor%NOTFOUND;
        DBMS_OUTPUT.PUT_LINE(l_ename || ' | ' || l_empno);
      END LOOP;
      CLOSE l_cursor;
    END;
    /

  • Error while saving state in 'client' , in ADF faces application

    Thank you for reading my post
    I have an ADF faces application and i get this error and my application does not function correctly , does any one has an idea ?
    thanks
    06/10/17 17:34:38.15 10.1.3.1.0 Started
    06/10/17 17:34:55.546 web2: 10.1.3.1.0 Started
    06/10/17 17:45:49.531 web2: Servlet error
    java.lang.NullPointerException
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    06/10/17 17:46:02.703 web2: Servlet error
    javax.servlet.jsp.JspException: Error while saving state in 'client': 'An established connection was aborted by the software in your host machine'.
         at com.sun.faces.taglib.jsf_core.ViewTag.doAfterBody(ViewTag.java:206)
         at _index._jspService(_index.java:473)
         at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.1.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:287)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:50)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:167)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)

    StateManagerImpl.saveSerializedView tries to let UIViewRoot be a session
    attribute and the error message says it should be serializable; certainly it' not.
    I think HttpSession.setAttribute does not claim the object should be serializable.
    I don't know why apache's StandardSession.setAttribute claims so.

  • View not copied or enhanced with wizard Error while creating Event Handler method in Z Component

    Hello Friends,
    In one Z Component (Custom Component), in one of the views, while creating event handler, it gave me error message that view not copied or enhanced with wizard.
    I am aware that in Standard Component, if we want to create the event handler method then we need to first Enhance the Component and then we need to enhance the view.
    But, in the Z Component (Custom Component), how to create event handler method in one of the views as while creating event handler method i am getting view not copied or enhanced with wizard error.

    Hi,
    Add a method in views impl class with naming convention eh_on__* with htmt and html_ex parameters.  I dont have have the system right now. Please check any existing event import export parameters.
    Check out do handle event method in the same class.
    Redefine that method.  Call that event method in this handle method. See existing code for reference.
    Attach that event to the button on click event in .htm page.
    Regards,
    Bhushan

  • Statement handle not executed error

    Hi,
    I have a package which have a statement as follows.
    OPEN p_out_provider_w_POSAccess FOR
                   SELECT DISTINCT claim.cert_no, claim.rec_code,
                                   prov.ghi_prov_num, prov.irs_number tax_id,
                                   prov.full_name, prov.lastname, prov.firstname
                              FROM hmo.hmo_medical_claim claim,
                                   ipd2.i_provider prov,
                                   ipd2.i_provider_top pt,
                                   ops_arw.phr_top top,
                                   ops_arw.provider_pin pin
                             WHERE claim.cert_no =hmo_conv_num_to_letter (p_in_cert_no)
                               AND claim.rec_code = p_in_rec_code
                               AND claim.ghi_prov_num = prov.ghi_prov_num
                               AND claim.ghi_prov_num = pt.ghi_prov_num
                               AND claim.ghi_prov_num = pin.ghi_prov_num
                               AND pt.top_code = top.top_code
                          ORDER BY prov.lastname, prov.firstname;                                
                                    when I execute the package ,I get
    dweb1:ops_arw> PRINT p_out_provider_w_POSAccess
    ERROR:
    ORA-24338: statement handle not executed
    SP2-0625: Error printing variable "p_out_provider_w_POSAccess"Thanks

    user11253970 wrote:
    No I am not closing it.Just now I noticed that when I input values which are in Database it returns the result without any failure.But when I try to input values which are not in database ,Instead of returning zero rows it gives the error message.Then your SP logic branches in such way that values which are not in the database bypass open cursor statement:
    SQL> create or replace
      2    procedure p1(p_cur in out sys_refcursor,p_ind number)
      3    is
      4    begin
      5        if p_ind = 1
      6          then
      7            open p_cur for select ename from emp where deptno = 10;
      8        end if;
      9  end;
    10  /
    Procedure created.
    SQL> exec p1(:p_cur,1)
    PL/SQL procedure successfully completed.
    SQL> print p_cur
    ENAME
    CLARK
    KING
    MILLER
    SQL> exec p1(:p_cur,0)
    PL/SQL procedure successfully completed.
    SQL> print p_cur
    ERROR:
    ORA-24338: statement handle not executed
    SP2-0625: Error printing variable "p_cur"
    SQL> SY.

  • Error BCOS088 "Error in local message system: Error while allocation..."

    Hello,
    I getting an error while creating a support message with "help->create support message".
    The message number is BCOS088 "Error in local message system: Error while allocation: Overwrite a protected Message xxx not create."
    I read a lot of threads about errors while creation of support message, but nothing helps.
    Here are the facts:
    - The error occurs on SolMan 4.0 system (sap basis rel. 7.0, SP15).
    - BCOS_CUST: OSS_MSG | W | NONE | CUST620 | 1.0
    - authorization trace without error
    - DNO_CUST04: NO_USER_CHECK = X
    So there is no authorization error, because of no RFC destination and successfully authorization trace.
    What could be the reason of this error?
    Thank you for answers, Tina

    Hi Tina,
    internal number range used for ABA Messages/Basis Notifications should match the external number range used for service desk messages.
    For ABA messages:
    Goto tx: DNO_CUST01 -> SLF1 -> Details
    Should show number range 01
    Number ranges for this object are defined via tx: DNO_NOTIF
    For Service Desk Messages (Support Message SLFN):
    Goto tx: SPRO -> "Check number range for Service Desk Message" -> SLFN -> Details
    Should show number range 01 internal, 02 external
    Number ranges for this object are defined via tx: CRMC_NR_RA_SERVICE
    Number range 01 (internal) of ABA message should match number range 02 (external) of Support Message.
    You may use other ranges but you should make sure they match.
    Hope this helps.

  • A buffer failed while allocating 10485088 bytes. - Error

    Have you seen this error?
    A buffer failed while allocating 10485088 bytes.  I understand it's a memory problem with many lookups in full cache mode.
    Is there a setting in SQL 2008r2 which could help eliminate this issue?
    Thanks
    gs

    It's not a SQL Server problem - it's a package architecture problem.  You're asking SSIS to retain too much in memory.  SSIS can't reduce the amount of memory you've asked it to use - you have to ask it to use less.  You can use some of the
    techniques that are in the thread BIRocks mentioned. 
    Mucking with buffer sizes won't help you at all.
    You're probably better off attempting to not use full caches on all those lookups.  Cascading lookups might help you out, where you first try to hit a pregenerated cache (using the Cache Transformation) of "most used" cache values, then send no matches
    to an uncached lookup.  (See the
    SSIS Team Blog series on Lookups.)
    Talk to me now on

  • Another exception has been detected while we were handling last error

    I run a heavily multithreaded Java comm server on
    this configuration:
    uname -a
    Linux xxx.yyy.com 2.4.18 #1 SMP Wed Apr 3 06:10:13 EST 2002 i686 unknown
    java -version
    java version "1.3.1_01"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
    Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)
    From time to time I get on stderr (redirected to a
    file) this:
    Another exception has been detected while we were handling last error.
    Dumping information about last error:
    ERROR REPORT FILE = (N/A)
    and server crashes:( This seems to only happen if
    Linux kernel is 2.4 because same server never did
    this to me on 2.2.18 kernel...
    Grep tells me that this message comes from
    libjvm.so. Sources of JDK 1.3 though do not contain
    such text at all. Maybe because sources do not
    include Linux specific parts of VM.Does anybode have
    a clue as to what this error message actually means?
    Regards
    Nikolay

    Thnak you, Chris. I should have thought of this.
    The log file does clarify somewhat the situation:
    Unexpected Signal : 11 occurred at PC=0x401514fe
    Function name=remove_current__20JvmdiWalkableThreads
    Library=/usr/local/jdk1.3.1_03/jre/lib/i386/client/libjvm.so
    Current Java thread:
    at java.lang.Object.wait(Native Method)
    - waiting on <4366c928> (a com.thestoremaker.java.io.BufferExchange)
    at com.thestoremaker.java.io.BufferExchange.receiveMessage(BufferExchange.java:154)
    - locked <4366c928> (a com.thestoremaker.java.io.BufferExchange)
    at com.thestoremaker.java.io.BufferExchange.receiveMessage(BufferExchange.java:120)
    at com.thestoremaker.java.io.Log.run(Log.java:240)
    at java.lang.Thread.run(Thread.java:479)
    Local Time = Thu Jul 11 11:56:27 2002
    Elapsed Time = 46
    # HotSpot Virtual Machine Error : 11
    # Error ID : 4F530E43505002BD
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Java VM: Java HotSpot(TM) Client VM (1.3.1_03-b03 interpreted mode)
    Apparently it is Sun's bug but it is also my problem ;)
    and I will have to dig deeper than I would like to
    in order to work out a solution :(( ....
    Regards
    Nikolay

  • Session pooling and statement handles

    Hi there,
    I have a large multi-threaded application (perhaps >100 threads). Each thread is continuously processing events (very high volumes) which involves some manipulation and some database operations (from a fixed set of possible operations).
    I am using session pooling but what I want to know is, Should I:
    (a) Prepare my fixed set of statement handles up front at program start-up when I'm creating the session pool and then reuse the statement handles in each event processing thread (also, is this thread safe ? even if it is, all threads would be contending on the same statement handles)
    or
    (b) Prepare the statement handle for each event which presumably will exploit the statement cache on the session pool. This would also mean not having statement handles shared between threads thus removing any thread contention issues.
    I think (b) is the option for me, but does anyone have any thoughts ?

    With a), one would think it's OK, but I would hate to find out that it's not thread safe by accident.
    But anyway, with b) the cost of allocating private statement handles in each thread seems very low. The memory required for the statement handle plus its bind and define handles could very well be below 8k per statement. If you've got say, 5 statements * 100 threads, you're only looking at around 4MB overall.
    Finally, you might want to make sure that the session pool statement cache is working by checking the values for 'executions' and 'parse_calls' in V$SQL for your statements.

  • Error: failed to prepare transaction (could not satisfy dependencies)

    Hi,
    I was going to install a winff package (a GUI front end to ffmpeg for converting between video formats), but when I ran yaourt -S winff and tried to install it refused because it isn't for the x86_64 architecture. So I decided to edit the PKGBUILD and perhaps try to force it anyway, but then I saw that the PKGBUILD is actually getting the precompiled RPM package and as I checked, while there was no precompiled 64bit version of the RPM there was one for a deb version that is offered on winff site.
    Since deb's are just archives I ended up, after a few tries, with this PKGBUILD which uses ar and tar commands to get to the binaries inside of the amd64 deb:
    # Contributor: yugrotavele <[email protected]>
    # Modified by libervisco for x86_64
    pkgname=winff-amd64
    pkgver=0.42
    pkgrel=1
    pkgdesc="GUI for ffmpeg"
    url="http://www.winff.org"
    license=('GPL')
    depends=('ffmpeg gtk gdk-pixbuf')
    makedepends=('')
    source=('http://winff.googlecode.com/files/winff-0.42-amd64.deb')
    arch=('x86_64')
    md5sums=('1febf5fd19fa76bdc1da06d3e6c4d3b8')
    build() {
    ar vx winff-0.42-amd64.deb
    tar xvzf data.tar.gz
    install -Dm755 $startdir/src/usr/bin/winff $startdir/pkg/usr/bin/winff
    install -Dm755 $startdir/src/usr/share/winff/presets.xml $startdir/pkg/usr/share/winff/presets.xml
    install -Dm755 $startdir/src/usr/share/winff/winff.png $startdir/pkg/usr/share/winff/winff.png
    So what I basically do is run yaourt -S winff and when it asks whether I want to edit it, I edit it and replace the original PKGBUILD content with above.
    It successfully runs the build() commands, finds and installs the dependencies, but when it's time to install the actual new winff package is throws up this:
    loading package data...
    checking dependencies...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: winff: requires ffmpeg gtk gdk-pixbuf
    I don't get it. It installed all the dependencies (and I even checked whether winff works in one of the earlier tries when I manually installed gdk-pixbuf when the binary asked for it). What does it want now?
    Here is the whole process:
    [daniel@memeport ~]$ yaourt -S winff
    ==> Downloading winff PKGBUILD from AUR...
    Comment by: yugrotavele on 20080518 [04:36:56]
    A nice GUI frontend for ffmpeg.
    First Submitted: Sun, 18 May 2008 04:28:31 +0000
    Last Updated: Mon, 30 Jun 2008 04:23:08 +0000
    winff 0.42-1 (Unsupported): GUI for ffmpeg
    ==> winff dependencies:
    - ffmpeg (already installed)
    - rpmextract (already installed)
    ==> Edit the PKGBUILD (recommended) ? [Y/n] ("A" to abort)
    ==> ----------------------------------------------
    ==>y
    Please add $EDITOR to your environment variables
    for example:
    ==> Edit PKGBUILD with: (replace gvim with your favorite editor)
    ==> Edit ./PKGBUILD with: gedit
    ==> winff dependencies:
    - ffmpeg (already installed)
    - gtk (already installed)
    - gdk-pixbuf (package found)
    ==> Continue the building of 'winff'? [Y/n]
    ==> ----------------------------------------------
    ==>y
    ==> Building and installing package
    ==> Making package: winff 0.42-1 (Tue Jul 1 21:34:12 CEST 2008)
    ==> Checking Runtime Dependencies...
    ==> Installing missing dependencies...
    resolving dependencies...
    looking for inter-conflicts...
    Targets: gdk-pixbuf-0.22.0-4
    Total Download Size: 0.00 MB
    Total Installed Size: 0.70 MB
    Proceed with installation? [Y/n]
    checking package integrity...
    (1/1) checking for file conflicts [############################################################] 100%
    (1/1) installing gdk-pixbuf [############################################################] 100%
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    -> Downloading winff-0.42-amd64.deb...
    --2008-07-01 21:34:13-- http://winff.googlecode.com/files/winff-0.42-amd64.deb
    Resolving winff.googlecode.com... 64.233.187.82
    Connecting to winff.googlecode.com|64.233.187.82|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1383594 (1.3M) [application/x-archive application/x-debian-package]
    Saving to: `winff-0.42-amd64.deb'
    100%[=============================================================================>] 1,383,594 191K/s in 7.4s
    2008-07-01 21:34:21 (183 KB/s) - `winff-0.42-amd64.deb' saved [1383594/1383594]
    ==> Validating source files with md5sums...
    winff-0.42-amd64.deb ... Passed
    ==> Extracting Sources...
    ==> Entering fakeroot environment...
    ==> Starting build()...
    x - debian-binary
    x - control.tar.gz
    x - data.tar.gz
    ./usr/
    ./usr/bin/
    ./usr/bin/winff
    ./usr/share/
    ./usr/share/doc/
    ./usr/share/doc/winff/
    ./usr/share/doc/winff/copyright
    ./usr/share/doc/winff/winff.pdf
    ./usr/share/doc/winff/README.txt
    ./usr/share/doc/winff/README-Icons.txt
    ./usr/share/doc/winff/README-Presets.txt
    ./usr/share/doc/winff/changelog
    ./usr/share/applications/
    ./usr/share/applications/winff.desktop
    ./usr/share/winff/
    ./usr/share/winff/winff.png
    ./usr/share/winff/presets.xml
    ./usr/share/winff/languages/
    ./usr/share/winff/languages/winff.es.po
    ./usr/share/winff/languages/winff.nl.po
    ./usr/share/winff/languages/winff.fr.po
    ./usr/share/winff/languages/winff.pb.po
    ./usr/share/winff/languages/winff.tr.po
    ./usr/share/winff/languages/winff.de.po
    ./usr/share/winff/languages/winff.zh.po
    ./usr/share/winff/languages/winff.it.po
    ./usr/share/winff/languages/winff.pt.po
    ./usr/share/winff/languages/winff.pl.po
    ./usr/share/winff/languages/winff.bg.po
    ./usr/share/winff/languages/winff.po
    ==> Tidying install...
    -> Removing info/doc files...
    -> Compressing man pages...
    -> Stripping debugging symbols from binaries and libraries...
    ==> Creating package...
    -> Generating .PKGINFO file...
    -> Compressing package...
    ==> Leaving fakeroot environment.
    ==> Finished making: winff (Tue Jul 1 21:34:22 CEST 2008)
    ==> Continue installing 'winff'? [Y/n]
    ==> [v]iew package contents [c]heck package with namcap
    ==> ----------------------------------------------
    ==>y
    loading package data...
    checking dependencies...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: winff: requires ffmpeg gtk gdk-pixbuf
    ==> WARNING: Your package is saved in /tmp/winff-0.42-1-x86_64.pkg.tar.gz
    I tried doing it without changing the package name to winff-amd64, but same thing happens. What's going on?

    Ahh man, and that's it! It works.
    I'm just wondering now how can I contribute this PKGBUILD to AUR, but I can read that in the wiki too.
    Thanks!

  • Java.sql.SQLException: statement handle not executed

    hello,
    i am calling a stored procedure and its returns a REF CURSOR and i am getting intermittent exceptions below,
    org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not execute query; uncategorized SQLException for SQL [{call
    xxxx_pkg(?,?)}]; SQL state [99999]; error code [17144]; statement handle not executed; nested exception is java.sql.SQLException: statement handle not executed
    and
    org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not execute query; uncategorized SQLException for SQL [{call
    xxxx_pkg(?,?,?)}]; SQL state [99999]; error code [17009]; Closed Statement; nested exception is java.sql.SQLException: Closed Statement
    any clue what could be the issue,
    Regards
    GG

    its pretty simple have a java class calling hibernateTemplate's findByNamedQueryAndNamedParam method by passing the procedure name and binding parameters/values, and here is the stack
    org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not execute query; uncategorized SQLException for SQL [{call
    xxx_pkg(?,?)}]; SQL state [99999]; error code [17144]; statement handle not executed; nested exception is java.sql.SQLException: statement handle not executed
    at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:83)
    at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
    at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
    at org.springframework.orm.hibernate3.HibernateAccessor.convertJdbcAccessException(HibernateAccessor.java:424)
    at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:410)
    at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:411)
    at org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374)
    at org.springframework.orm.hibernate3.HibernateTemplate.findByNamedQueryAndNamedParam(HibernateTemplate.java:1006)
    Caused by: java.sql.SQLException: statement handle not executed
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:229)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:403)
    at oracle.jdbc.driver.T4CStatement.doDescribe(T4CStatement.java:701)
    at oracle.jdbc.driver.OracleStatement.getColumnIndex(OracleStatement.java:3355)
    at oracle.jdbc.driver.OracleResultSetImpl.findColumn(OracleResultSetImpl.java:2009)
    at oracle.jdbc.driver.OracleResultSet.getString(OracleResultSet.java:494)
    at org.hibernate.type.StringType.get(StringType.java:18)
    at org.hibernate.type.NullableType.nullSafeGet(NullableType.java:163)
    at org.hibernate.type.NullableType.nullSafeGet(NullableType.java:154)
    at org.hibernate.type.AbstractType.hydrate(AbstractType.java:81)
    at org.hibernate.persister.entity.AbstractEntityPersister.hydrate(AbstractEntityPersister.java:2091)
    at org.hibernate.loader.Loader.loadFromResultSet(Loader.java:1380)
    at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1308)
    at org.hibernate.loader.Loader.getRow(Loader.java:1206)
    at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:580)
    at org.hibernate.loader.Loader.doQuery(Loader.java:701)
    at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
    at org.hibernate.loader.Loader.doList(Loader.java:2217)
    at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2108)
    at org.hibernate.loader.Loader.list(Loader.java:2103)
    at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:289)
    at org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1696)
    at org.hibernate.impl.AbstractSessionImpl.list(AbstractSessionImpl.java:142)
    at org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:152)
    at org.springframework.orm.hibernate3.HibernateTemplate$34.doInHibernate(HibernateTemplate.java:1015)
    at org.springframework.orm.hibernate3.HibernateTemplate$34.doInHibernate(HibernateTemplate.java:1)
    at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:406)

Maybe you are looking for

  • What happens (or can happen) when connecting to a website from a pdf file?

    (Part of this post was copied from a question I posted earlier, to which I received two correct answers) I'm working with WIndows 7 Home Edition. I downloaded a pattern in pdf. One of the first times I had the document open, I saw a little message, a

  • Get VLC to do fullscreen float in Xmonad

    Hi, Short background: I have started to use XBMC for watching and organizing videos. Everything works great except playing the videos. I have a constant stutter about every 3-4 seconds and from time to time the picture freeze but the movie running in

  • Ultiboard 9 won't export separate Gerber layers

    I just modified a circuit that I had built earlier (this is revision 2) and when I tried to export it, each layer gave me the same file "xxx.gbr".  I tried all kinds of things, but always the same.  I finally changed the ending of each layer file to

  • AWM 10g Questions

    Hi, I am running AWM 10g (10.2.0.1.2A) on a 10.1.0.4 database. Here're couple of questions I have, 1. How do I create Sub - Measure folders in AWM? Earlier, I could use CWM2 procedure to create a catalog and a sub-catalog under that, which would then

  • Cannot add items to HierarchicalCollectionView when parent is a leaf

    Hi, I cannot use the addChild function on a hierarchicalCollectionView object, when the parent element is a leaf node. When the selected node already has children, it works, but if the new node would be the first child, addChild returns false. How ca