ORA-01422 when I load blob file

Hi,
I've this table TAB_BLOB;
IMMOBILE..................FILE_NAME................FILE_FISICO
001236....................my_file.xls.......................(HugeBlob)
127890....................my_file2.xls.......................(HugeBlob)
127890....................my_file3.xls.......................(HugeBlob)
127222....................my_file4.xls.......................(HugeBlob)
127222....................my_file5.xls.......................(HugeBlob)
127222....................my_file6.xls.......................(HugeBlob)
555590....................my_file7.xls.......................(HugeBlob)
555590....................my_file8.xls.......................(HugeBlob)
1777890....................my_file9.xls.......................(HugeBlob)
2222222....................my_file11.xls.......................(HugeBlob)
2222222....................my_file13.xls.......................(HugeBlob)
2222222....................my_file14.xls.......................(HugeBlob)
2222222....................my_file15.xls.......................(HugeBlob)
I created this stored procedure to load blob file:
CREATE OR REPLACE PROCEDURE LOAD_FILE_BLOB
IS
SRC_FILE BFILE;
DST_FILE BLOB;
LGH_FILE BINARY_INTEGER;
FILE_NAME VARCHAR2(30);
ERR_NUM NUMBER;
ERR_MSG VARCHAR2(300);
CURSOR MY_CUR IS
SELECT IMMOBILE, FILE_NAME
FROM TAB_BLOB;
BEGIN
FOR REC_CUR IN MY_CUR LOOP
SRC_FILE := BFILENAME('DIR_NAME', REC_CUR.FILE_NAME);
IF DBMS_LOB.FILEEXISTS(SRC_FILE) = 1 THEN
UPDATE TAB_BLOB
SET FILE_FISICO = EMPTY_BLOB()
WHERE IMMOBILE = REC_CUR.IMMOBILE;
SELECT FILE_FISICO
INTO DST_FILE
FROM TAB_BLOB
WHERE IMMOBILE = REC_CUR.IMMOBILE
FOR UPDATE;
DBMS_LOB.FILEOPEN(SRC_FILE);
LGH_FILE := DBMS_LOB.GETLENGTH(SRC_FILE);
DBMS_LOB.LOADFROMFILE(DST_FILE, SRC_FILE, LGH_FILE);
UPDATE TAB_BLOB
SET FILE_FISICO = DST_FILE
WHERE IMMOBILE = REC_CUR.IMMOBILE;
DBMS_LOB.FILECLOSE(SRC_FILE);
COMMIT;
ELSE
DBMS_OUTPUT.PUT_LINE('File not present on folder');
COMMIT;
END IF;
END LOOP;
EXCEPTION
WHEN OTHERS THEN
ERR_MSG := SUBSTR(SQLERRM, 1,300);
ERR_NUM := SQLCODE;
INSERT INTO CIET_ERRORS (PROC_NAME, ERR_CODE, ERR_MSG)
VALUES('carica_file_blob', ERR_NUM, ERR_MSG);
COMMIT;
END LOAD_FILE_BLOB;
but when I run:
execute LOAD_FILE_BLOB;
I get this error:
ORA-01422: exact fetch returns more than requested number of rows
I think that the error is on:
UPDATE TAB_BLOB
SET FILE_FISICO = DST_FILE
WHERE IMMOBILE = REC_CUR.IMMOBILE;
How can I change my stored procedure to load files blob?
Thanks in advance!

I changed so:
CREATE OR REPLACE PROCEDURE LOAD_FILE_BLOB
IS
SRC_FILE BFILE;
DST_FILE BLOB;
LGH_FILE BINARY_INTEGER;
FILE_NAME VARCHAR2(30);
ERR_NUM NUMBER;
ERR_MSG VARCHAR2(300);
CURSOR MY_CUR IS
SELECT IMMOBILE, FILE_NAME
FROM TAB_BLOB;
BEGIN
FOR REC_CUR IN MY_CUR LOOP
SRC_FILE := BFILENAME('DIR_NAME', REC_CUR.FILE_NAME);
IF DBMS_LOB.FILEEXISTS(SRC_FILE) = 1 THEN
UPDATE TAB_BLOB
SET FILE_FISICO = EMPTY_BLOB()
WHERE IMMOBILE = REC_CUR.IMMOBILE;
SELECT FILE_FISICO
INTO DST_FILE
FROM TAB_BLOB
WHERE IMMOBILE = REC_CUR.IMMOBILE
and FILE_NAME = REC_CUR.FILE_NAME;
FOR UPDATE;
DBMS_LOB.FILEOPEN(SRC_FILE);
LGH_FILE := DBMS_LOB.GETLENGTH(SRC_FILE);
DBMS_LOB.LOADFROMFILE(DST_FILE, SRC_FILE, LGH_FILE);
UPDATE TAB_BLOB
SET FILE_FISICO = DST_FILE
WHERE IMMOBILE = REC_CUR.IMMOBILE
and FILE_NAME = REC_CUR.FILE_NAME;;
DBMS_LOB.FILECLOSE(SRC_FILE);
COMMIT;
ELSE
DBMS_OUTPUT.PUT_LINE('File not present on folder');
COMMIT;
END IF;
END LOOP;
EXCEPTION
WHEN OTHERS THEN
ERR_MSG := SUBSTR(SQLERRM, 1,300);
ERR_NUM := SQLCODE;
INSERT INTO CIET_ERRORS (PROC_NAME, ERR_CODE, ERR_MSG)
VALUES('carica_file_blob', ERR_NUM, ERR_MSG);
COMMIT;
END LOAD_FILE_BLOB;
but in table TAB_BLOB I have this situation:
IMMOBILE..................FILE_NAME................FILE_FISICO
001236....................my_file.xls.......................(HugeBlob) --load correctly
127890....................my_file2.xls.......................(HugeBlob)-- not loaded
127890....................my_file3.xls.......................(HugeBlob) --load correctly
127222....................my_file4.xls.......................(HugeBlob)-- not loaded
127222....................my_file5.xls.......................(HugeBlob)-- not loaded
127222....................my_file6.xls.......................(HugeBlob) --load correctly
555590....................my_file7.xls.......................(HugeBlob)-- not loaded
555590....................my_file8.xls.......................(HugeBlob) --load correctly
1777890....................my_file9.xls.......................(HugeBlob) --load correctly
2222222....................my_file11.xls.......................(HugeBlob)-- not loaded
2222222....................my_file13.xls.......................(HugeBlob)-- not loaded
2222222....................my_file14.xls.......................(HugeBlob)-- not loaded
2222222....................my_file15.xls.......................(HugeBlob) --load correctly
Why I load just one file by IMMOBILE?

Similar Messages

  • Error exists when Admin2 loads same file in BW but loads ok for Admin1. Why

    Hi,
    Why does this error exists when Admin2 loads same file but loads ok for Admin1?
    A u201CCalendaru201D column in a flat file has value 200810  i.e. October of 2008.
    BW Admin 1:
    When Admin1 loads this file, it comes out ok as Calendar Year/Month as 200810 in PSA and the load completes without any error.
    BW Admin 2:
    Now, for the same file, when Admin 2 loads (on his laptop), the load fails and gets the message that, "....  00810 is not plausible..."
    Somehow, it drops the initial 2 from 200810 during the load for Admin 2.
    The suspicion was that Admin 1 had as Default in SU3,
    Date format:  YYYY/MM/DD.
    Admin 2 therefore switched his to the same Date format:  YYYY/MM/DD.
    Yet, the described load problem still exists.
    Any suggestions?
    Thanks

    Hi,
    Yes, it is the same infopackage for the same cube, Admin 1 used to do this load, and is now moving on to a different project, so the only difference is that Admin 2 is now doing the same job from his workstation but everything on the Data Flow is the same.
    In fact, Admin 2 went to Admin 1, after forwarding the .csv file and on Admin 2's workstation, the same file was tested by Admin 2, using the same infopackage, and it loaded without the above problem for Admin 2.
    Thanks

  • I am getting an error ORA-39143 when importing a dump file

    I get ORA-39143: dump file "c:\oraload\expdat.dmp" may be an original export dump file
    when importing a dump file created by 9.2 exp into 10.2 database using impdp
    I need to use the impdp utility with the table_exists_action option which doesn't appear to exist in imp
    What is the proper mix of versions/flags/options to export from a 9.2 database and import into an existing 10.2 database while replacing existing data?
    thanks

    well its on the link i provided
    "When tables are manually created before data is imported, the CREATE TABLE statement in the export dump file will fail because the table already exists. To avoid this failure and continue loading data into the table, set the import parameter IGNORE=y. Otherwise, no data will be loaded into the table because of the table creation error."
    original import tries to append (insert)
    there is no parameter here like table_exists_action=truncate/replace
    1. drop all the tables (dynamic sql), so there will be no errors because of already existent tables
    or
    2. truncate all the tables (dynamic sql) + use IGNORE=Y
    (or
    3. drop the whole schema in target database, recreate it, then do the import)

  • AUD-00706 and ORA-29400 when inserting an MP3 file

    I can't seem to be able to load any MP3 files. I keep getting the following errors:
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "ORDSYS.ORDAUDIO", line 1100
    ORA-29400: data cartridge error
    AUD-00706: unsupported or corrupted input format
    ORA-06512: at "ORDSYS.ORDAUDIO", line 1058
    ORA-06512: at line 11
    I read somewhere that Oracle did confirm this as a problem and that it was fixed on Oracle9i Release 2, however I'm running 9.2.0.6.0. I'm using PL/SQL to load the file. WAV files work just fine.
    Has anyone run into this problem? If so I would really appreciate your help.
    Thanks!
    -Alan

    This should work.
    Can you send me a MP3 that causes this exception? (Lawrence.Guros at oracle.com)
    Larry

  • ORA-28500 when accessing an Excel file

    Hello,
    I'm getting the dreaded ORA-28500 "Optional feature not implemented" when trying to access an Excel file through HS ODBC. This is a known bug in 11.1.0.6 (6701400), however my flavor is 11.1.0.7 fully patched. Since I'm trying to use the OLAP option on Windows XP 32, I installed version 11.1.0.6 and applied patches 6890831 and 7682184, as advised on [this page|http://www.oracle.com/technology/products/bi/olap/collateral/olap_certification.html], with no error as far as I can tell. This should have fixed the problem with dg4odbc according to the bug page, however when now I try to access an Excel sheet I get the exact same message :
    SQL> select * from "International$"@refdata;
    select * from "International$"@refdata
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Microsoft][ODBC Excel Driver]Optional feature not implemented
    ORA-02063: preceding 2 lines from REFDATAIs it possible that the patch did not go as intended ? Or that the second patch did reintroduce the old behavior ? I'm really lost at what to do now.
    Thanks for your help,
    Chris

    Hi gronau,
    thanks for the prompt answer. In fact I have only one Oracle Home on this machine so this should not be the problem. Below is a log of the call that gives the error message, can you spot the error from that ?
    Thanks a lot for your help,
    Chris
    Oracle Corporation --- TUESDAY   MAR 31 2009 17:28:17.858
    Heterogeneous Agent Release
    11.1.0.7.0
    Oracle Corporation --- TUESDAY   MAR 31 2009 17:28:17.858
        Version 11.1.0.7.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of "HS_TRANSACTION_LOG"
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "UCS2"
    setting HS_FDS_TIMESTAMP_AS_DATE to default of "TRUE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    setting HS_FDS_SUPPORT_STATISTICS to default of "TRUE"
    Parameter HS_FDS_QUOTE_IDENTIFIER is not set
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics"
    Exiting hgosdip, rc=0
    ORACLE_SID is "refdata"
    Product-Info:
      Port Rls/Upd:7/0 PrdStat:0
      Agent:Oracle Database Gateway for ODBC
      Facility:hsa
      Class:ODBC, ClassVsn:11.1.0.7.0_0006, Instance:refdata
    Exiting hgogprd, rc=0
    hostmstr: 2068393984:      HOA After hoagprd
    hostmstr: 2068393984:      HOA Before hoainit
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=178
    HOCXU_DRV_NCHAR=1000
    HOCXU_DB_CSET=873
    HOCXU_SEM_VER=110000
    Entered hgolofn at 2009/03/31-17:28:19
    Exiting hgolofn, rc=0 at 2009/03/31-17:28:19
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    Exiting hgoinit, rc=0 at 2009/03/31-17:28:19
    hostmstr: 2068393984:      HOA After hoainit
    hostmstr: 2068393984:      HOA Before hoalgon
    Entered hgolgon at 2009/03/31-17:28:19
    reco:0, name:DWO, tflag:0
    Entered hgosuec at 2009/03/31-17:28:19
    Exiting hgosuec, rc=0 at 2009/03/31-17:28:19
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
    HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
    HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using DWO as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2009/03/31-17:28:20
    HS_FDS_CONNECT_INFO = "refdata"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2009/03/31-17:28:20
    dsn:refdata, name:DWO
    optn:
    ##>Connect Parameters (len=27)<##
    ## DSN=refdata;
    #! UID=DWO;
    #! PWD=*
    Exiting hgogenconstr, rc=0 at 2009/03/31-17:28:20
    DriverName:odbcjt32.dll, DriverVer:04.00.6304
    DBMS Name:EXCEL, DBMS Version:08.00.0000
    Exiting hgocont, rc=0 at 2009/03/31-17:28:21
    SQLGetInfo returns Y for SQL_CATALOG_NAME
    SQLGetInfo returns 260 for SQL_MAX_CATALOG_NAME_LEN
    Exiting hgolgon, rc=0 at 2009/03/31-17:28:21
    hostmstr: 1969635328:      HOA After hoalgon
    hostmstr: 1969635328: RPC Before Upload Caps
    hostmstr: 1969635328:      HOA Before hoaulcp
    Entered hgoulcp at 2009/03/31-17:28:21
    Entered hgowlst at 2009/03/31-17:28:21
    Exiting hgowlst, rc=0 at 2009/03/31-17:28:21
    SQLGetInfo returns ` for SQL_IDENTIFIER_QUOTE_CHAR
    SQLGetInfo returns Y for SQL_COLUMN_ALIAS
    5 instance capabilities will be uploaded
      capno:1991, context:0x0001ffff, add-info:        0
      capno:1992, context:0x0001ffff, add-info:        1, translation:"`"
      capno:3007, context:0x00000000, add-info:       -3, translation:"36"
      capno:3027, context:0x00000000, add-info:       -1, translation:"0"
      capno:3036, context:0x00000000, add-info:       -4, translation:"7"
    Exiting hgoulcp, rc=0 at 2009/03/31-17:28:23
    hostmstr: 1969635328:      HOA After hoaulcp
    hostmstr: 1969635328: RPC After Upload Caps
    hostmstr: 1969635328: RPC Before Upload DDTR
    hostmstr: 1969635328:      HOA Before hoauldt
    Entered hgouldt at 2009/03/31-17:28:24
    0 instance DD translations were uploaded
    Exiting hgouldt, rc=0 at 2009/03/31-17:28:24
    hostmstr: 1969635328:      HOA After hoauldt
    hostmstr: 1969635328: RPC After Upload DDTR
    hostmstr: 1969635328: RPC Before Begin Trans
    hostmstr: 1969635328:      HOA Before hoabegn
    Entered hgobegn at 2009/03/31-17:28:24
    tflag:0 , initial:1
    hoi:0x12f074, ttid (len 28) is ...
      00: 4C4F4341 4C2E4E53 4E2E6465 36313030  [LOCAL.NSN.de6100]
      10: 65322E35 2E31302E 31353434           [e2.5.10.1544]
                     tbid (len 25) is ...
      00: 4C4F4341 4C2E4E53 4E5B352E 31302E31  [LOCAL.NSN[5.10.1]
      10: 3534345D 5B312E34 5D                 [544][1.4]]
    TXN Capable:0, Isolation Option:0x0
    Exiting hgobegn, rc=0 at 2009/03/31-17:28:24
    hostmstr: 1969635328:      HOA After hoabegn
    hostmstr: 1969635328: RPC After Begin Trans
    hostmstr: 1969635328: RPC Before Describe Table
    hostmstr: 1969635328:      HOA Before hoadtab
    Entered hgodtab at 2009/03/31-17:28:25
    count:1
      table: International$
    Entered hgopdsc at 2009/03/31-17:28:25
    Describing procedure DWO.International$
    Output hoada
    hgopdsc, line 1298: NO hoada to print
    Exiting hgopdsc, rc=942 at 2009/03/31-17:28:25
    The hoada for table International$ follows...
    hgodtab, line 651: NO hoada to print
    Exiting hgodtab, rc=0 at 2009/03/31-17:28:25
    hostmstr: 1969635328:      HOA After hoadtab
    hostmstr: 1969635328: RPC After Describe Table
    hostmstr: 1969635328: RPC Before SQL Bundling
    hostmstr: 1969635328:      HOA Before hoxpars
    Entered hgopars, cursor id 1 at 2009/03/31-17:28:26
    type:0
    SQL text from hgopars, id=1, len=30 ...
         00: 53454C45 4354202A 2046524F 4D206049  [SELECT * FROM `I]
         10: 6E746572 6E617469 6F6E616C 2460      [nternational$`]
    Exiting hgopars, rc=0 at 2009/03/31-17:28:26
    hostmstr: 1968062464:      HOA After hoxpars
    hostmstr: 1968062464: RPC After SQL Bundling
    hostmstr: 1968062464: RPC Before SQL Bundling
    hostmstr: 1968062464:      HOA Before hoxopen
    Entered hgoopen, cursor id 1 at 2009/03/31-17:28:26
    hgoopen, line 83: NO hoada to print
    Exiting hgoopen, rc=0 at 2009/03/31-17:28:26
    hostmstr: 1966489600:      HOA After hoxopen
    hostmstr: 1966489600:      HOA Before hoxdscr
    Entered hgodscr, cursor id 1 at 2009/03/31-17:28:26
    Entered hgopcda at 2009/03/31-17:28:26
    Column:1(Intl Code): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:510, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/03/31-17:28:26
    Entered hgopcda at 2009/03/31-17:28:26
    Column:2(Country Full Name): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:510, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/03/31-17:28:26
    Entered hgopcda at 2009/03/31-17:28:27
    Column:3(Country Short Name): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:510, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/03/31-17:28:27
    Entered hgopcda at 2009/03/31-17:28:27
    Column:4(ISO Code): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:510, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/03/31-17:28:27
    Entered hgopcda at 2009/03/31-17:28:27
    Column:5(Type): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:510, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/03/31-17:28:27
    hgodscr, line 506: Printing hoada @ 01E01CA0
    MAX:5, ACTUAL:5, BRC:100, WHT=5 (SELECT_LIST)
    DTY         NULL-OK  LEN  MAXBUFLEN   PR/SC  CST IND MOD NAME
    12 VARCHAR Y        510        510   0/  0    0   0   0 Intl Code
    12 VARCHAR Y        510        510   0/  0    0   0   0 Country Full Name
    12 VARCHAR Y        510        510   0/  0    0   0   0 Country Short Name
    12 VARCHAR Y        510        510   0/  0    0   0   0 ISO Code
    12 VARCHAR Y        510        510   0/  0    0   0   0 Type
    Exiting hgodscr, rc=0 at 2009/03/31-17:28:27
    hostmstr: 1966489600:      HOA After hoxdscr
    hostmstr: 1966489600: RPC After SQL Bundling
    hostmstr: 1966489600: RPC Before Get Statistics
    hostmstr: 1966489600:      HOA Before hoxtcis
    Entered hgotcis at 2009/03/31-17:28:27
    Calling SQLStatistics for International$
    Entered hgopoer at 2009/03/31-17:28:28
    hgopoer, line 159: got native error 106 and sqlstate HYC00; message follows...
    [Microsoft][ODBC Excel Driver]Optional feature not implemented
    Exiting hgopoer, rc=0 at 2009/03/31-17:28:28
    hgotcis, line 367: calling SQLStatistics got sqlstate HYC00
    Exiting hgotcis, rc=28500 at 2009/03/31-17:28:28 with error ptr FILE:hgotcis.c LINE:367 ID:SQLStatistics
    hostmstr: 1966489600:      HOA After hoxtcis
    hostmstr: 1966489600: RPC After Get Statistics

  • Problem when loading pdf files from Shared Content

    When I load pdf files from Shared Content, I got the following problem: "The selected document could not be retrieved, please try uploading the document again."
    Anyone knows this?
    Thank you very much in advanced.

    I don't migrated the program, but installed it from the original installer,
    i. e. I first installed Indesign from backup, and then uninstalled it and
    reinstall  clean from Adobe.
    What a plug-in or utility converts page from InDesign to PDF?
    2014-08-10 22:51 GMT+04:00 Peter Spier <[email protected]>:
        problem with exporting PDF files from InDesign CS5  created by Peter
    Spier <https://forums.adobe.com/people/P+Spier> in InDesign - View the
    full discussion <https://forums.adobe.com/message/6627440#6627440>

  • Can I close all layers? or even better, stop illustrator from opening all layers when I open a file?

    I just installed cs6, and when I open files in Illustrator, it opens all of the layers which contain sublayers.  It does this even if all the top-level layers were closed during the previous save.  The files I work with have a large layer-structure, so re-closing the top-level layers every time I open a file wastes a lot of my time.  Can I close all layers at once, or better yet, can I stop Illustrator from opening all of the layers automatically when I load a file?
    If not, then WHY on earth not?  I can't be the only one who opens and closes large files with lots of layers and sub-layers...
    Thanks for your help.
    Edit: I also am noticing this problem is even worse in cs6, because openning and closing individual layers plays a little animation of rotating the triangular arrow before the layer which, cute as it may be, just makes the task of individually closing up all my layers that much more tedious.  Can I turn off that little animation of the triangular arrow when opening and closing layers?

    You can save it as a pdf and when you open that in AI the layers will not be opened even if they have sublayers.
    Not true. Does the same nonsense an .AI file does. Saved as a .PDF, closed Layers/subgroups get opened.
    And no one cares!
    I do. Every other Adobe program with a layering sceme seems to be able to remember that you saved a file with all layers and subs closed. But not this one.
    Maybe someone from the AI development team should ask someone from the Photoshop team how they've managed it.....for decades.

  • Loading AVI file. into Elements 8

    I am using Primier Elements 8 on a PC running Vista.  I am trying to load and edit  a 1.9 G AVI file that contains video and audio in Elements 8.  When I load the file into Elements I get a video track that has the video but the  audio track that does not have any audio. Any idea as to what is causing the problem and what I need to do to fix it?
    Thanks

    Read Bill Hunt on a file type as WRAPPER
    http://forums.adobe.com/thread/440037?tstart=0
    What is a CODEC... a Primer http://forums.adobe.com/thread/546811?tstart=0
    What CODEC is INSIDE that file? http://forums.adobe.com/thread/440037?tstart=0
    Report back with the codec details of your file, use the programs below
    For PC http://www.headbands.com/gspot/ or http://mediainfo.sourceforge.net/en

  • Loading big files (more than 30MBs)  as byte arrays

    Hello everybody,
    I have an application in which I need to load files as byte arrays, but when I load a file with a size of 30MBs (aprox) or more I get this exception:
    Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
    The code I'm using to load the files is this:
                   byte[] bb = null;
                   Security.addProvider(new BouncyCastleProvider());
                   try{
                        FileInputStream fis =
                        new FileInputStream(file);
                        bb = new byte[fis.available()];
                        fis.read(bb);
                        fis.close();
                   }catch(IOException e){
                        e.printStackTrace();
         any ideas on this issue?'
    thanks,
    johnny

    You really think you need to load the whole shebang
    in one chunk of memory? And even if you get 30MB to
    fit in, what if your file is 10 times that big - what
    then? You need to redesign it so that it scales well.The reason is that I have to digitally sign the file, and the libraries I'm using (BouncyCastle) receive the file as a byte array, so I need to load the file as that to pass it to the libraries :-(
    What do you think?

  • Load Excel file to infocube

    Hi,
    when I load Excel file to infoCube, I got the following error
    "Value 'All ' (hex. '41006C006C00 ') of characteristic ZATYPE contains invalid character"
    I check in the Excel file I didn't find string 'All',
    What should else I have to check ?
    Thx

    Hi,
    Flat file load
    1) The file shld be in correct format , which you are specifying in Infopackage.
    2) All Number /qty / amount etc shld not contain comma, i mean you need to format excel values as number by rght click select number.
    3) Your data source and file structure shld map.
    4) All the characteristics value which have no" lower case check ed in properties"  shld get only capital letters data.
    5) Special characters some time throw error ( which will be maintained in RSKC t-code)
    Hopefully these are the thing to follow,
    /message/8269057#8269057 [original link is broken]
    Edited by: SKDDON on Oct 15, 2009 3:16 PM

  • FRM-40735 - unhandled exception ora-01422

    Hi ALL,
    I have stated getting the following error from one of our applicaiton:
    FRM-40735 KEY-F6 trigger raised unhandled exception ora-01422
    When I start this app using different user account other then the main user who own each and every table for the application I get the above error.
    But there is no problem with the user account who owns the app. Even I have given DBA privilages to the other user but they still having the above error.
    Any Idea?
    Cheers!

    There is an implicit cursor some where in your application that returns more than one row for a given condition.
    For example,
    Declare
    v_ename varchar2(30);
    Begin
    select ename into
    v_ename
    from emp;
    End;
    In this case, there could be more than one row in the table 'emp'.Solution for your case:
    Fix your select statement such that it retrieves only one row for the given condition or use a 'too_many_rows' exception handler.

  • Cannot load project files

    Hi,
    I'm experiencing a problem loading after effects CS5 project files;
    when I'm done with my composition, I save it as .aep file. but when I load this file, all I get is a folder named after my project that has all the elements but when I drag it to the timeline I only see the elements stacked without retaining the placement in the timeline, order, replications (if found), keyframes, effects, etc.....
    oddly though, when I play the timeline, the animations and effects appear but I cannot edit them
    there was only once that a project was loading all the elements correctly, but after a couple of times it said something like "cannot find log file for the project" then when I opnened it it was the same as above though I didn't move or delete anything.
    any help?
    thanks

    jakyhot wrote:
    when I'm done with my composition, I save it as .aep file. but when I load this file, all I get is a folder named after my project that has all the elements...
    That doesn't make a lot of sense.
    Where are you saving the project file?  Is the file path different from that of your footage?
    Then, in AE, you don't "load" a project file.  You OPEN a project file.  When it opens, you see the footage you've IMPORTED into the project, along with the AE comps you've made,  prior to saving it.
    jakyhot wrote:
    when I drag it to the timeline I only see the elements stacked without retaining the placement in the timeline, order, replications (if found), keyframes, effects, etc.....
    By "it", do you mean the project file, or something else?  I can't grasp what you're actually doing.
    Something tells me you may have had some Photoshop experience previously, and you expect AE to work the way Photoshop does.  I also get the feeling you're trying to use AE intuitively, based on that photoshop experience. 
    That's a recipe for disaster, plain and simple.  You'll end up baffled and frustrated, missing all the features AE provides, and that's a shame.  You really need to begin at the beginning:
    http://blogs.adobe.com/toddkopriva/2010/01/getting-started-with-after-eff.html
    ...and if you happen to have a little extra cash, about as much as the purchase price of a video game, here's something much, much better:
    http://www.peachpit.com/store/product.aspx?isbn=0321734866
    If this assumption about your experience is wrong, you should sing out.  The problem then becomes one of not knowing the proper AE Lingo, and you're simply speaking Swahili to a bunch of Indonesians; confusion reigns in such a situation.

  • Error in date format when  I load a CSV file

    I am using Oracle G10 XE and I am trying to load data into my database from comma separated files.
    When I load the data from a CSV file which has the date with the following format "DD/MM/YYYY", I received the following error "ORA-01843: not a valid month".
    I have the NSL_LANG set to AMERICAN. I have tried the following command: "ALTER SESSION SET NLS DATE FORMAT="DD/MM/YYYY" and this does nothing. When I try to run "SELECT SYSDATE "NOW" FROM DUAL;" I get the date in this format "10-NOV-06".
    I will appreciate any help about migrating my data with date fields in format DD//MM/YYYY.
    Sincerely,
    Polonio

    See Re: Get error in date when I load a CSV file

  • ORA-22275 :invalid LOB locator specified error while loading BLOBs/CLOBS.

    Hello All,
    I am trying to load BLOB/CLOB data from a client oracle DB to the oracle db on our side,we are using ODI version 10.1.3.5.6,which reportedly has the issue of loading BLOB/CLOBS solved.I am using
    The extraction fails in the loading stage when inserting data into the C$ table with the following error.
    "22275:99999 :java.sql.BatchUpdateException:ORA-22275:Invalid LOB locator specified".
    Kindly let me know how I can resolve this issue as the requirement to load this data is very urgent.
    Thanks,
    John

    One alternate way can be done out of ODI as ODI is still not able to resolve this issue. You can trim these fields (CLOB/BLOB) and push this data as separate fields into ODI and at the reporting end you can again concatenate them.
    May be this may solve your problem ....it solved mine.
    --XAT                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Get error in date when I load a CSV file

    I am using Oracle G10 XE and I am trying to load data into my database from comma separated files.
    When I load the data from a CSV file which has the date with the following format "DD/MM/YYYY", I received the following error "ORA-01843: not a valid month".
    I have the NSL_LANG set to AMERICAN. I have tried the following command: "ALTER SESSION SET NLS DATE FORMAT="DD/MM/YYYY" and this does nothing. When I try to run "SELECT SYSDATE "NOW" FROM DUAL;" I get the date in this format "10-NOV-06".
    I will appreciate any help about migrating my data with date fields in format DD//MM/YYYY.
    Sincerely,
    Polonio

    See this example :
    [oracle work XE]$ cat test.dat
    1,11/10/2006
    2,01/11/2006
    3,06/11/2006
    [oracle work XE]$ cat test.ctl
    load data
    infile 'test.dat'
    replace
    into table test
    fields terminated by ','
    trailing nullcols
    a integer external,
    b "to_date(:b,'dd/mm/yyyy')"
    [oracle work XE]$ sqlldr test/test control=test.ctl
    SQL*Loader: Release 10.2.0.1.0 - Production on Fri Nov 10 21:38:19 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Commit point reached - logical record count 3
    [oracle work XE]$ sqlplus test/test
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Nov 10 21:38:25 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    TEST@XE SQL> desc test
    Name                                                  Null?    Type
    A                                                              NUMBER
    B                                                              DATE
    TEST@XE SQL> select * from test;
                  A B
                  1 11-OCT-06
                  2 01-NOV-06
                  3 06-NOV-06
    TEST@XE SQL>                                                    

Maybe you are looking for