Leica RAW conversion strangeness...

the Leica RAW (.raw) format is NOT on the list of supported cameras...BUT, I am able to convert .raw files to .dng using Adobe's DNG Converter, and the finder displays the images (in a finder nested folder display), just fine. And, when I import these into Aperture, they appear for a moment and then disappear to the screaming red screen "Unsupported Image Format". I'm not sure what's going on, and in the past I've been able to display the .raw images in other applications with OSX (iView Media Pro)....so I'm perplexed. Any ideas? the actual format IS the same as for a supported camera (Panasonic), and I'm told I could hack the .plist file and make it work...but I'd really like a supported approach. Any suggestions?
cheers,
david

the "appear for a moment" is probably Aperture showing the preview image in the .raw file, before deciding that it can't handle the raw image data.
(If it is this, then odds are Finder will show the images but Preview.app will also fail to.)
Clearly MacOS understands the .raw file format, but thinks that it doesn't have support for however your camera identifies itself in the EXIF data. Modifying the Raw.plist is the way to try, for now.

Similar Messages

  • Leica Raw conversion in Aperture

    Hi all. Is there a plug-in available to view Leica Raw images in Aperture?
    Thanks, David

    I also use a Leica M8. Importing the RAW files into Aperture gave me small thumbnails which are actually 8KB Jpegs. These, I suppose, are files Leica uses for previews. Obviously Aperture does not support and convert DNG files, which are championed as a universal RAW format by Adobe. I think it is narrow minded and short sighted by Apple not to support that format. Consequently I downloaded the latest beta version of Adobe LightRoom and started working with this fierce competitor of Aperture. It works beautifully with my Leica files and a wide variety of other RAW files as well. Of course, Photoshop CS2 and CS3 (Beta) use the same converter. It can't be in Apple's interest to drive professional photographers who use Leicas into the arms of Photoshop Lightroom. It sure worked in my case - I now use Lightroom more and more and I'm charmed by many of its elegant features. Since Adobe has opened DNG to everyone I see no reason why Apple cannot support it. It is high time that the industry adopts a universal RAW standard rather than constantly updating software to a rapidly growing number of proprietary formats.

  • Weird histogram and RAW conversion

    Sorry in advance if this quesion is already out there.
    I've just rebuilt my machine and noticed some really weird stuff with aperture once I re-installed the program. I'm accessing the same library with the same settings but now I get some really weird conversions of my low light photos (new and old). The really strange thing is that if I just touch a slider (levels, exp, etc) not even adjust, the image previews fine. If I check the levels and then uncheck and restart aperture the photo looks fine. When I restart again...bang back to weird photo! During this weirdness the histogram gets choppy as well. Check the examples out at this site http://homepage.mac.com/dpolly/weird/index.html the grabs are in order. By the way the export of the photo always looks fine. I hadn't seen this issue unitl re-installing the app. This leaves me with the "can I trust this program" kinda feeling. Please help.
    Thanks,
    Dan
    G5   Mac OS X (10.4.6)  
    G5   Mac OS X (10.4.6)  

    Thanks.
    I just wanted to make sure I wasn't losing my mind!
    When I originally installed aperture it was on a version earlier than 10.4.6. After the rebuild it went on 10.4.6 so that makes sense. I was really concerned that it was changing the master file during the RAW conversion.
    I think I'll hold out for 1.1 and hope all goes well.
    Thanks for such a quick response. This forum is great and I hope I can return the favor soon.
    Thanks,
    Dan
    G5   Mac OS X (10.4.6)  

  • Aperture 3 Raw conversion from Nikon D700 - Bad results - Anyone?

    I recently upgraded to a Nikon D700 and have noticed I am getting some really bad conversion results from my raw files which involve my having to do a lot of work to get decent images. Most images are too dark and with strong orange cast... Any ideas? I thought it might be the camera, so I tried another computer with photoshop raw converter and images are fine. I have noticed the original import settings are strange on Aperture but cannot seem to change them, they always revert back to maximum hue boost and max boost ect... Any help would be great! thanx!

    I have a Nikon D700 and have just tried the Aperture demo- same results as you guys, disappointing RAW conversion. Contrast and sharpness quite poor and blues are 'off'
    I currently use Capture NX and was looking for something a little less 'clunky'. Though it may not be as slick as Aperture, its RAW conversion is spot on (as you would expect from a Nikon sponsored app)
    It's easy to compare the differences- open an unedited RAW file in Capture NX and save as an uncompressed, 16 bit TIFF. Import this and the original RAW file into Aperture. Prepare for disappointment :-/

  • Moved from 30D to 7D but still magenta problem in RAW conversion / decoding

    Hi,
    I had a lot of problems with the RAW conversion in A3 with my 30D: high iso shots made red became magenta. Now I own a 7D but the problem remains. I can not believe this ! A good performing RAW decoding is essential for a 'almost' pro application like A3, isn't it?

    Hey, thanks !
    Please follow this link, I just shared an example on Flickr: http://www.flickr.com/photos/drongo92/5316989245/in/set-72157625731242448/
    Her dress is really red, just like the first pic.
    I've noticed on this forum and another forum some other people also suffer this problem. There might be a temporary 'solution': putting vignetting on and then set both sliders to zero ...and the red becomes red in preview (instead of magenta)... very strange ... but I really don't like it this way
    greetings
    Wouter

  • I have an A77 and see that DxO RAW conversions look different

    Several RAW conversion comparisons on the web amongst A77 users are pointing to markedly better conversions and noise handling currently within new DxO 7 eg. http://forums.dpreview.com/forums/readflat.asp?forum=1037&thread=39970661
    I know that Sony's RAW have historically taken a while to arrive at optimal conversions from previous experinece with my A350. When Lightroom 3 came along it was like getting new cameras for most Sony Alpha users with from RAW performance at last matching Nikon from effectively the same sensors.
    Can you let me know the likely time lag till ACR and Lightroom will have an update to this initial default to really match the DxO performance. Otherwise, to be honest, despite being a Lightroom user since the original Beta stages and a passionate supporter and advocate, I may have to consider jumping ship. Working exclusively in RAW I do need to be using the very best conversions possible to make the best out of my investment in my camera equipment.
    I don't know if this lag with ARW conversions is because Sony don't co-operate with Adobe early enough or whether because Sony is only number three in DSLR share it gets less priority within Adobe than Canon and Nikon, but some timeline on a revised version of Lightroom to address this for the new Sony Alphas would be great.
    Many thanks from a long time advocate who really hopes I can stick with Lightroom,
    Cheers,
    Paul

    Hi Hal,
    Many thanks...I’ll give it a try. Not trying to cause trouble as I genuinely am a fan of LR, but if they always lag on getting to grips with Sony RAWs it’s a major drawback for Sony users.
    Cheers,
    Paul

  • Lightroom vs. Photoshop Raw conversion

    I have noticed that the Lightroom RAW conversion looks about 1/3 to 1/2 stop brighter compared to Photoshop on the same image with the same settings (I'm using LR 2.4 and Photoshop CS4).  Anybody else notice this or have any thoughts?  I'm assuming they use the same RAW conversion engine.

    Thanks for the response.  Well, when I export from LR to a JPEG and do the same from Photoshop (viewing them in photoshop), I get two slightly different toned images (I mistakenly said the LR images are brighter...they're actually darker).  Viewing them this way should remove any monitor discrepencies (I'm working on a calibrated Lacie 724 monitor with 120% Adobe 1998 gamut so that should not be an issue).

  • Panasonic Lumex DMC-LX1 raw conversion for Aperture doesn't work.

    I've seen many people having raw conversion problems. Direct import of Lumex raw files to Aperture does not work.
    Adobe DNG conversion of raw to dng does not work.
    I'm running on Photoshop CS.
    Perhaps my DNG conversion settings aren't right? Tell me what they should be.
    Do I have to go as far as changing the raw.plist or whatever it's called.
    Would CS2 with the Raw conversion Plug-in work instead?
    Remember that..."If all the woman lived across the sea, what a great swimmer Yellowman would be"!
    2.0 Duelly G5 4gigs ram. 23" Flat Cinema   Mac OS X (10.4.6)  

    Joe,
    good to see that you are reading these posts. I am sure that many users whose cameras' raw files are currently not supported by Aperture would love to help out in any way they can.
    However, as we are living in a converging world, why doesn't Apple talk with Adobe and share some of the information used for RAW conversion? I'm thinking dcraw which (according to a note in its source code*) is using data provided by Adobe... and that same data is also contained in the Raw.plist.
    Thus, if Adobe knows something and shares it with dcraw, and Apple uses some of the dcraw code (at least the m2 matrices found in Raw.plist are equal to the dcraw ones), why can't you guys all share the same information, and thus speed up RAW support for all cameras?
    Just a thought.
    Kindest regards,
    Karl
    * This is the bit:
    Thanks to Adobe for providing these excellent CAM -> XYZ matrices!
    void CLASS adobe_coeff (char *make, char *model)
    powerbook G4 17 1.33 GHz   Mac OS X (10.4.6)  

  • "Unable to save the raw conversion settings. There was a write permission error."

    I just built a new workstation for processing photos using PS CS5. I use external drives to store my images as I find it easier for backing up as well as for when I want use my laptop for sorting, etc.. I copied over all my old "Collection" files, and of course, had to "fix" them once on the new machine. Once pointed in the right direction, the collections all fill out correctly.
    When I go to process a collection though, I encounter an odd problem I can't seem to sort out. I can delete files, rename files, copy/paste to the external drives, etc.. What I can't seem to do is add Labels, Ratings, or modify RAW settings. I mean, I can use ACR to make adjustments, I just can't seem to save them.
    The system just ignores label, rating commands completely. When I try to save an ACR adjustment I get this error. "Unable to save the raw conversion settings. There was a write permission error."
    The files are NOT write protected. I'm set up as the owner of my workstation, with complete control of the system. I can't seem to find any useful information about this error because the "write permission error" seems to only be happening on installs, so that's all I can find help for.
    My system:
    Intel Core i7 970@ 3.20GHZ
    24.0 GB RAM
    64-bit OS - Windows 7 Pro
    DX58S02 Motherboard
    NVIDIA GeForce GTX 580

    Thanks for replying. I've been going crazy trying to fix this.
    To answer your first question; I use sidecar XMP files. If everything from my archive was shot in RAW I'd try converting to DNG and see if embedding the changes directly in a file worked. Unfortunately, a lot of my old stuff was shot in JPG, so sidecars seems to be the best choice.
    When I add labels, ratings, as well as change RAW settings on files I place on my workstations HD everything works. It's only when I try to do these things with the same files on removable drives that I run into trouble. The drives I use are Transcend 640GB StoreJet 25ms connected via USB.
    I don't think it's a UAC problem. At least, to my understanding, doesn't that control how your machine alerts you to program changes? I looked into how to change ownership, and did so, but that didn't work. Here's a link to what I mean: http://www.addictivetips.com/windows-tips/windows-7-access-denied-permission-ownership/
    I'm stumped. I also hate the idea that I'll have to go through various folders to find images from already created collections, copy them to a new folder on my HD and then work on them. Then I'll have to put them all back... ugghhhh

  • Exported Raw Conversion Image Resolution and Assigning a Color Profile, etc

    In Aperture 1.1, although I set the exported Raw conversion image resolution to 300 dpi in the preferences, it continues to come out at 72 dpi which is something of an inconvenience. Also, is it possible to assign a color profile to the "exported version" so that it is congruent to my PS CS2 color workspace (if that is what its called). Is this program capable of carrying out a conversion as a background operation? Finally, can the layout windows be configured so that they remember how they have been used in the past? Thanks.

    Iatrogenic huh! Cool!
    Anyway, I'm not real clear on what it is you are trying to accomplish. Despite your obvious vocabulary skills, there seems to be some disconnect relative to what you are trying to accomplish. You are right that "exporting a version" in Aperture is roughly equivalent to what happens in ACR when you "Open" a RAW image into Photoshop. In both cases you have, hopefully, already done the adjusting of parameters you want prior to "exporting", or "opening". When you "open" or "export" you wind up with an "image" composed of pixels, whereas in the RAW adjustment phase you are just working with a temporary thumbnail and a set of mathematical instructions. Big difference, I suppose is that when you "open" and image from ACR into CS2, the resulting image is truly just pixels and has not had a "file type" applied to the file yet, until you "save" it, while in Aperture, if you "export" a file to CS2, or to the desktop, you end up with the file type already applied. Presuming you "export" a 16 bit TIFF or PSD, there is no operational difference.
    I could be wrong, but with the new Bayer Demosaicing algorithms in Aperture 1.1, and the Camera RAW adjustments, you should be able to come up with an adjusted image that is VERY close if not identical to one done in ACR, with the possible exception of lens abberation adjustment. I was very critical of the RAW adjustments in 1.0.1, but I am very happy with the capabilites in 1.1. That said, I think there is still some room for improvement in user friendliness of some of the adjustments such as Levels.

  • Leica .raw won't open in CS5

    Cannot open Leica .raw documents in Photoshop CS5, but CS2 would open them fine. Does anyone have any ideas? I don't want to have to open everything as .jpg!

    Jeff Schewe wrote:
    The default install of CS5 would include ACR 6.0…
    Just as a matter of interest, I got my copy of the CS5 Mac Upgrade DVD in the box direct from Adobe via FedEx today, Friday, April 6.  It's labeled just plain ADOBE PHOTOSHOP CS5, and it installed Ps 12.1 with ACR 6.0.3 right off the DVD. 
    Just needed to update ACR to 6.6 through the Adobe Auto Updater.
    I had never bought a Ps release so late in the release cycle, and my previous experience had always been as Jeff Schewe indicates above.  The recent offer to get CS6 for free motivated me to get CS5 this week, a version I had otherwise fully intended to skip.

  • Numeric or value error: hex to raw conversion error , pls help

    I am having problem with a sproc which accepts a Raw parameter.
    I have a table called Profile:
    CREATE TABLE PROFILES
    PROFILEID INTEGER NOT NULL,
    USERID INTEGER NOT NULL,
    PROFILE RAW(255)
    and a sproc named addprofile
    CREATE OR REPLACE PROCEDURE addprofile
    profile IN RAW,
    userName IN VARCHAR2
    AS
    userId INT;
    BEGIN
    GetUserIdByName( userName, userId);
    INSERT INTO Profiles
    ( ProfileID,userId , profile )
    VALUES ( Profiles_ProfileID_SEQ.NEXTVAL,AddProfile.userId ,
    AddProfile.profile );
    END;
    I am calling the Ent Library's Insert profile method which is part of DbProfileProvider.cs (Security App block). It is trying to persist a serialized profile object into the database.
    private void InsertProfile(string userName, byte[] serializedProfile,
    Data.Database securityDb, IDbTransaction transaction)
    DBCommandWrapper cmd = securityDb.GetStoredProcCommandWrapper
    (SPAddProfile);
    cmd.AddInParameter("userName", DbType.String, userName);
    cmd.AddInParameter("profile", DbType.Binary, serializedProfile);
    securityDb.ExecuteNonQuery(cmd, transaction);
    I get the following error:
    Any suggestion on what needs to be changed to get this working? thanks!
    Exception Details: Oracle.DataAccess.Client.OracleException: ORA-06502: PL/SQL: numeric or value error: hex to raw conversion error ORA-06512: at line 1
    Stack trace:
    [OracleException: ORA-06502: PL/SQL: numeric or value error: hex to raw conversion error
    ORA-06512: at line 1]
    Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure)
    Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, String procedure, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src)
    Oracle.DataAccess.Client.OracleCommand.ExecuteNonQuery()
    Microsoft.Practices.EnterpriseLibrary.Data.Database.DoExecuteNonQuery(DBCommandWrapper command)
    Microsoft.Practices.EnterpriseLibrary.Data.Database.ExecuteNonQuery(DBCommandWrapper command, IDbTransaction transaction)
    Microsoft.Practices.EnterpriseLibrary.Security.Database.DbProfileProvider.InsertProfile(String userName, Byte[] serializedProfile, Database securityDb, IDbTransaction transaction)
    Microsoft.Practices.EnterpriseLibrary.Security.Database.DbProfileProvider.SetProfile(IIdentity identity, Object profile)
    [InvalidOperationException: Error saving the profile for the following user 'test'.]
    Microsoft.Practices.EnterpriseLibrary.Security.Database.DbProfileProvider.SetProfile(IIdentity identity, Object profile)
    EntLibSecuritySample.DFO.Security.SecurityHelper.SetUserProfile(IIdentity identity, Object Profile) in C:\DFO\Sample\Security\EntLibSecuritySample\SecurityHelper.vb:285
    [ApplicationException: An error has occurred saving profile object to Datastore. See stack trace for further information]
    EntLibSecuritySample.DFO.Security.SecurityHelper.SetUserProfile(IIdentity identity, Object Profile) in C:\DFO\Sample\Security\EntLibSecuritySample\SecurityHelper.vb:287
    EntLibSecuritySample.ProfilePage.cmdSaveProfile_Click(Object sender, EventArgs e) in C:\DFO\Sample\Security\EntLibSecuritySample\profile.aspx.vb:59
    System.Web.UI.WebControls.Button.OnClick(EventArgs e)
    System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
    System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
    System.Web.UI.Page.ProcessRequestMain() +1292

    Harsh,
    I am not a user of the Enterprise Library so I can not speak to the specifics of that. However, here is a short sample that is based on the information you've provided. Perhaps it will be useful.
    Database:
    create table profiles
      profileid integer not null,
      userid    integer not null,
      profile   raw(255)
    create or replace procedure addprofile
      p_profileid in integer,
      p_userid    in integer,
      p_profile   in raw
    as
    begin
      insert into
        profiles (profileid, userid, profile)
        values (p_profileid, p_userid, p_profile);
    end;
    /C# code:
    using System;
    using System.Data;
    using System.Text;
    using Oracle.DataAccess.Client;
    using Oracle.DataAccess.Types;
    namespace HarshTest
      /// <summary>
      /// Summary description for Class1.
      /// </summary>
      class Class1
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main(string[] args)
          // connect to local db using o/s authentication
          OracleConnection con = new OracleConnection("User ID=/; Pooling=False");
          con.Open();
          // create command object and set properties
          OracleCommand cmd = new OracleCommand();
          cmd.Connection = con;
          cmd.CommandText = "ADDPROFILE";
          cmd.CommandType = CommandType.StoredProcedure;
          // parameter object for profileid
          OracleParameter p_profileid = new OracleParameter();
          p_profileid.OracleDbType = OracleDbType.Int32;
          p_profileid.Value = 1;
          p_profileid.Direction = ParameterDirection.Input;
          // parameter object for userid
          OracleParameter p_userid = new OracleParameter();
          p_userid.OracleDbType = OracleDbType.Int32;
          p_userid.Value = 1;
          p_userid.Direction = ParameterDirection.Input;
          // create a byte array for the raw value
          ASCIIEncoding encoder = new ASCIIEncoding();
          byte[] byteArray = encoder.GetBytes("TestProfile");
          // parameter object for profile
          OracleParameter p_profile = new OracleParameter();
          p_profile.OracleDbType = OracleDbType.Raw;
          p_profile.Value = byteArray;
          p_profile.Direction = ParameterDirection.Input;
          // add parameters to collection
          cmd.Parameters.Add(p_profileid);
          cmd.Parameters.Add(p_userid);
          cmd.Parameters.Add(p_profile);
          // execute the stored procedure
          try
            cmd.ExecuteNonQuery();
          catch (OracleException ex)
            Console.WriteLine(ex.Message);
          // clean up objects
          p_profile.Dispose();
          p_userid.Dispose();
          p_profileid.Dispose();
          cmd.Dispose();
          con.Dispose();
    }Maybe the part about creating the byte array is what you are missing...
    - Mark

  • 10.4.9 - Finder no longer previews Leica RAW files

    I know that there have been a billion requests for someone, anyone, to get Aperture to read Leica RAW files (I have given up on this one), but there is a more fundamental issue that has been created with 10.4.9
    We can no no longer even see the image in the Finder preview. This is all we get...
    http://www.andybarton.com/preview.jpg>
    How on earth is anyone supposed to find their images without being able to see them?
    If there is anyone here with a bright idea, I'd be grateful to receive it.
    Failing that, how can I revert to 10.4.8?
    Thanks in advance.

    Sorry, the original post has been upset by me trying to link to an image
    http://andybarton.com/preview.jpg
    How on earth is anyone supposed to find their images without being able to see them?
    If there is anyone here with a bright idea, I'd be grateful to receive it.
    Failing that, how can I revert to 10.4.8?
    Thanks in advance.

  • Raw Conversion: Colors not accurate. Correction with profile?

    Hi,
    When I create JPGs from my Raw files, the results don't look natural. Some colors have more saturation, some less. For example, the colors of the KoMi A series look somehow dirty; the reds of the Maxxum 5D seem to be oversaturated (dark reds are to bright, brown faces look rather pinkish).
    This is in comparison to the orignal objects, to the JPGs generated from the KoMi Raw converter and to the in-camera JPGs.
    Since Lightroom has tremendous color tuning options (under HSL and Color), I wonder whether a camera-specific profile can make the colors more natural. Has anybody tried for the KoMi cameras? Can anybody share a profile?
    I don't have a color checker, so this would be a tough one for me. I tried a bit, but whenever one color seemed right, another color had become worse.
    Here is my equipment:
    Cameras: Konica Minolta A2, Minolta A1, Konica Minolta Maxxum 5D.
    Other: My room has fluorescent tubes of type 950 (5000K, highest quality, Philips Graphica Pro) or of course daylight from outside. My screen is calibrated using ColorPlus hardware. I used a grey card for most of my photos. JPGs viewed with IMatch (color-profile aware).
    Regards,
    Martin

    Hallo Uli,
    there are two aspects of the color deviation:
    1. Displaying colors in LR
    This is what you are addressing in the other thread. I can confirm this behavior, but let's not touch this matter here.
    2. Raw conversion
    This is what I am talking about in this post. The effect is actually larger than the display deviation.
    Regards,
    Martin

  • ORA-22835: Buffer too small for CLOB to CHAR or BLOB to RAW conversion

    Hi all,
    the following query select to_char(nvl(round(pc.target_cost*xx_primavera.geteurtolvrate,2),amount),'FM999G999G999G999G990D00') detail_amount,
    nvl(ct.cost_type, description) detail_description,
    tm_desc.memo_id,
    primavera_prj_name detail_prj_name,
    hp.party_number detail_party_number,
    xpid.interface_line_attribute1,
    utl_i18n.unescape_reference(replace(regexp_replace(utl_raw.cast_to_varchar2(tm_desc.task_memo), '<[^>]*>'), chr(13)||chr(10))) document_description,
    REPLACE(regexp_replace(utl_raw.cast_to_varchar2(tm_id.task_memo), '<[^>]*>'), chr(13)||chr(10)) prim_memo_client_id
    from XX_PRIMAVERA_INVOICES_DETAIL xpid
    join admuser.xx_ar_hz_parties xahp on xahp.orig_system_bill_customer_id = xpid.orig_system_bill_customer_id
    join hz_parties hp on hp.party_id = xahp.party_id
    left join admuser.projcost pc on pc.proj_id = xpid.primavera_prj_id and pc.cost_type_id != 29 and xpid.service_code = 8 and pc.task_id = xx_primavera.getTaskId(xpid.primavera_prj_id,'A1020', 'Изготвяне на оферта') and delete_session_id is null
    left join admuser.costtype ct on ct.cost_type_id = pc.cost_type_id
    left join admuser.taskmemo tm_id on tm_id.proj_id = xpid.primavera_prj_id and tm_id.memo_type_id = 53 and tm_id.task_id = xx_primavera.getTaskId(xpid.primavera_prj_id,'A1020', 'Изготвяне на оферта')
    left join admuser.taskmemo tm_desc on tm_desc.proj_id = xpid.primavera_prj_id and tm_desc.memo_type_id = 55 and tm_desc.task_id = xx_primavera.getTaskId(xpid.primavera_prj_id,'A1020', 'Изготвяне на оферта')
    where amount != 0
      and xpid.interface_line_attribute1 = :ra_ctp_attribute1
    ORDER BY xpid.primavera_prj_name, xpid.description;returns error:
    ORA-22835: Buffer too small for CLOB to CHAR or BLOB to RAW conversion (actual: 2371, maximum: 2000) I found that the error occurs in the row : utl_i18n.unescape_reference(replace(regexp_replace(utl_raw.cast_to_varchar2(tm_desc.task_memo), '<[^>]*>'), chr(13)||chr(10))) document_description,and tried to change it to: utl_i18n.unescape_reference(replace(regexp_replace(utl_raw.cast_to_varchar2(dbms_lob.substr(tm_desc.task_memo,1,2000)), '<[^>]*>'), chr(13)||chr(10))) document_description,....but it returns not value for that field... am i using dbms_lob.substr at the wrong place? The column 'tm_desc.task_memo' is BLOB type.
    Any ideas how to cheat it ?
    Version: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    PL/SQL Release 11.1.0.7.0 - Production
    "CORE     11.1.0.7.0     Production"
    TNS for Linux: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - ProductionThanks in advance,
    Bahchevanov.

    Your second example has the parameters reversed. The amount (length) comes first and then the offset:
    DBMS_LOB.SUBSTR (
       lob_loc     IN    BLOB,
       amount      IN    INTEGER := 32767,
       offset      IN    INTEGER := 1)
      RETURN RAW;
    DBMS_LOB.SUBSTR (
       lob_loc     IN    CLOB   CHARACTER SET ANY_CS,
       amount      IN    INTEGER := 32767,
       offset      IN    INTEGER := 1)
      RETURN VARCHAR2 CHARACTER SET lob_loc%CHARSET;
    DBMS_LOB.SUBSTR (
       file_loc     IN    BFILE,
       amount      IN    INTEGER := 32767,
       offset      IN    INTEGER := 1)
      RETURN RAW;Also, remember that # of bytes is not necessarily the same as the # of characters depending on your character set. So 2000 bytes might become 4000 characters. And you have to make sure the BLOB is actually character data and not arbitrary binary data.
    Post the results of reversing the parameters and using a smaller chunk size.

Maybe you are looking for

  • 9i to 10g Migration, RBO to CBO conversion

    Hi All, We used to have 9.2.0.4.0 DB and our applications are tuned to RBO using 'rule' hints. Recently we migrated to 10gR2 (setting optimizer_hint = 'FIRST_ROWS_1') and we expected that the applications that are using 'rule' hint will be ignored or

  • Several Vendor VAT registration numebr with some Country KEY

    Dear SAP guru, is it possible to insert several VAT REgistration Numebr for the ssame vendor with same Country KEY? For ex for vendor 1000 1 - IT04673400729 2 - IT06534340721 When I tried to input the second vat registration numebr in the field "OTHE

  • I loathe Mail in Mountain Lion

    Is it just me, or is anyone else fed up of having to click on Show/Hide, then use the drop down list, then open folder after folder to read an email in the 'GMail' folder, (whatever that is) that turns out to be 'Spam'? It's such a palaver now just g

  • Planning Areas - No initialized Planning Version(s) exists

    Hi, Recently our SCM system was upgraded from SCM 4.0 system to SCM 5.0. After the upgrade I find in /sapapo/msdp_admin the planning areas in status red with message "No initialized Planning Version(s) exists". If I check the planning area it says "N

  • Do I still need the MobileSync folder now that my backups are in iCloud?

    Now that my iPad and iPhone back up to iCloud and not iTunes do I still need the very large device backups that live in the MobileSync folder? My folder is about 10GB and on my 256GB MacBook Air I'd like to reclaim that space if possible. Any experti