getDevelopSettings(). Exposure2012 returns-999999

My adjustments to the plugin, I use the getDevelopSettings() to get the original values for example, Exposure2012.

A customer has a problem and dive into this I discovered that when, for example when you retrieve the exposure setting, in some cases LR returns-99999 instead of the actual values. Although, when you navigate to the image, the settings in the base Panel are correct.
This client is the LR5.

Reproduce:

  1. Run the plugin test below on a big file (> 200) with RAW files
    Sometimes, the error occurs live, sometimes after application of a framework on an undeveloped image.
  2. In the opposite case
    1. (Create a new catalog, better to experiment with a new catalogue)
    2. Import RAW 200-300 photos
    3. Select them all and apply your car to each of them (library & module grid)-> right click on the mouse-> develop settings-> auto tone.
    4. Run the code below and see what is in the log file.

On some pictures this-99999 is returned and others do not. For the most part on the unseen pictures on the screen.

When in develop mode, I scroll all photos manually, and then afterwards, it seems fine. Caching problem?

Questions:

  • Tips and tricks how to solve this problem?
  • I missed something?
  • How can I fix this behavior?

Info.LUA

local info =
{
    LrSdkVersion        = 4.0,
    LrToolkitIdentifier = 'com.LightroomStatistics.lightroom.develop.test',
    LrPluginName        = "Test",
    LrPluginInfoUrl     = 'http://www.LightroomStatistics.com/',
    LrAlsoUseBuiltInTranslations = true,
    
    VERSION = { major=0, minor=1, revision=1, build=0, },
    
    LrHelpMenuItems = {
        {
            title = "List exposure setting photos",
            file = "ShowSettings.lua",
        },
    },
}

return info

ShowSettings.lua

local LrTasks = import 'LrTasks'
local catalog = import "LrApplication".activeCatalog()
local ProgressScope = import 'LrProgressScope'
local LrDialogs = import 'LrDialogs'
local LrView = import 'LrView'
local LrPathUtils = import 'LrPathUtils'
local LrFileUtils = import 'LrFileUtils'

local logFilename = 'ExposureSettings'
local myLogger = import 'LrLogger'( logFilename )
myLogger:enable( "logfile" )

--[[--------------------------------------------------------------------------
Name        emptyLogFile
Purpose        Clears the existing log file.

From cookbook: http://cookbooks.adobe.com/post_Clearing_your_logfile_automatically-19677.html
----------------------------------------------------------------------------]]
function emptyLogFile()
    --local myLogger = import 'LrLogger'( 'Stash' )
    myLogger:disable()     
    
    logPath = LrPathUtils.child(LrPathUtils.getStandardFilePath('documents'), logFilename .. ".log")
    if LrFileUtils.exists( logPath ) then
        local success, reason = LrFileUtils.delete( logPath )
        if not success then
            logger:error("Error deleting existing logfile!" .. reason)
        end
    end
    myLogger:enable( "logfile" )
end

--[[--------------------------------------------------------------------------
Main function

Name        Select images
Purpose        This plug-in will select every second photo.
            The selected photo is the first photo to be selected and then every second
            photo will also be selected.

Version        1.0
Developer    D. Holtman
----------------------------------------------------------------------------]]
LrTasks.startAsyncTask( function()

    emptyLogFile()
    
    --    Get all the selected photos and the active photo
    local cat_photos = catalog:getTargetPhotos()
    local nCountSelected = #cat_photos

    myLogger:info('List table develop settings')
    for i, photo in ipairs(cat_photos) do
        local devSettings = photo:getDevelopSettings()
        local name = photo:getFormattedMetadata( "fileName" )
        myLogger:info('Photo', name, devSettings.Exposure2012)
    end
    
    LrDialogs.message('Listing exposure', 'Finished')
end)

When a user performs a mass updat, e for example Auto-ton

Right, that looks a lot like the synchronization settings bug I mentioned previously.

Photo: applyDevelopSettings will not work, because I do not get the initial values of the right.

Good point.  But the closure of spin and try to get the JPEG thumbnail (on hold until what he is actually recovered).

Tags: Photoshop Lightroom

Similar Questions

  • To the help of functions - PLS-00103 encountered the symbol "="

    Hi all

    I am trying to create a simple function (or stored procedure) in Oracle. But when I compile, I get the PLS-00103 met the error of symbol '='. I knew that my procedure contains errors, but can someone he report? My procedure is shown below.


    Line 1: CREATE OR REPLACE FUNCTION FNAME)
    Line 2: FLOAT, INIVAL
    Line 3: FINVAL FLOAT
    Line 4 :)
    Line 5: RETURN FLOAT
    Line 6: AS
    Line 7: START
    Line 8: DECLARE VL_LEN: = LENGTH (TO_CHAR (ROUND (INIVAL))); <-error
    Line 9: IF FINVAL > INIVAL THEN RETURN FINVAL - INIVAL.
    Line 10: OTHER
    Line 11: IF VL_LEN = 4 THEN BACK 9999 - INIVAL + FINVAL;
    Line 12: ELSEIF VL_LEN = 99999 5 THEN RETURN - INIVAL + FINVAL;
    Line 13: ELSEIF VL_LEN = 6 THEN RETURN 999999 - INIVAL + FINVAL;
    Line 14: ELSEIF VL_LEN = 7 THEN RETURN 9999999 - INIVAL + FINVAL;
    Line 15: ELSEIF VL_LEN = 8 THEN RETURN 99999999 - INIVAL + FINVAL;
    Line 16: ELSE RETURN 999999999 - INIVAL + FINVAL;
    Line 17: ENDIF;
    Line 18: END IF;
    Line 19:
    Line 20: END FNAME;
    Line 21: /.

    Thank you

    DEAR

    Try this u don't declare the VL_LEN and use ELSIF condition

    CREATE OR REPLACE FUNCTION FNAME (INIVAL FLOAT, FINVAL FLOAT)
       RETURN FLOAT
    AS
       VL_LEN   NUMBER := LENGTH (TO_CHAR (ROUND (INIVAL)));
    BEGIN
       IF FINVAL > INIVAL
       THEN
          RETURN FINVAL - INIVAL;
       ELSIF VL_LEN = 4
       THEN
          RETURN 9999 - INIVAL + FINVAL;
       ELSIF VL_LEN = 5
       THEN
          RETURN 99999 - INIVAL + FINVAL;
       ELSIF VL_LEN = 6
       THEN
          RETURN 999999 - INIVAL + FINVAL;
       ELSIF VL_LEN = 7
       THEN
          RETURN 9999999 - INIVAL + FINVAL;
       ELSIF VL_LEN = 8
       THEN
          RETURN 99999999 - INIVAL + FINVAL;
       ELSE
          RETURN 999999999 - INIVAL + FINVAL;
       END IF;
    END FNAME;
    

    concerning
    Hitesh Nirkhey

  • With the help of getDevelopSettings()

    Hello!

    My name is Roman. I try to do a simple LR plugin with the following functions:

    1 plug-in must send commands via the PC's COM port.

    2. the plug-in must provide a list presets to apply it to all photos in the catalog,

    3. the plug-in must provide the agricultural function of batch.

    Now, I work with presets and something works very well (with the kind help of johnrellis). For example, the following code changes really all selected photos:

    LrTasks.startAsyncTask (function)

    Catalog: withWriteAccessDo ("PresetTry", function()

    local cat_photos = catalog.targetPhotos

    because me, photo by ipairs (cat_photos) will be

    local preset = LrApplication.addDevelopPresetForPlugin (_PLUGIN, "TestPreset", {Shadows2012. = 4, Exposure2012 =. 3})

    Photo: applyDevelopPreset (preset, _PLUGIN)

    end

    end)

    end)

    But there are a few problems:

    1. when I try to get information from the loaded image of the methods work, some do not.

    For example, photo: getFormattedMetadata("fileSize") and photo: getFormattedMetadata("fileType") works fine, but

    locale = photo: getDevelopSettings()

    LrDialogs.message (string.format ("%d", ["Exposure2012"] settings))

    Returns the value 0. In the same time, I see that exposure is equal to 0.3 (after running the previous code) in the tab to.

    Perhaps, the original image has not been changed with photo: (preset, _PLUGIN) applyDevelopPresetso original exposure has not been changed. 

    2. I created presets with names, for example, FirstPreset, SecondPreset etc. How can I apply it to images in my plug-in? I searched through the forum but found nothing on this subject.

    3. I use the following code to get all the photos in the catalog:

    local cat_photos = catalog.targetPhotos

    because me, photo by ipairs (cat_photos) will be

    _some_code_here_

    end

    It works fine when I select all photos in the catalog manually (when they have all highlighted), but this isn't when a photo is selected - then I manage this and only this picture. What could be the problem?


    Thank you in advance.

    Best regards

    Roman

    3. I use the following code to get all the photos in the catalog:

    local cat_photos = catalog.targetPhotos

    because me, photo by ipairs (cat_photos) will be

    _some_code_here_

    end

    It works fine when I select all photos in the catalog manually (when they have all highlighted), but this isn't when a photo is selected - then I manage this and only this picture. What could be the problem?

    I don't know exactly what you are observed here.  You say that when there is only one photo selected, catalog.targetPhotos is an array containing a single photo?  It is as it should be.  catalog.targetPhotos returns the same value as catalog:getTargetPhotos (), which the SDK defines as:

    Retrieves objects photo for photos that would be affected by any order of processing photos. If there is a selection, it is the list of the selected photos. Otherwise, it's the complete list of the photos in the camera roll.

    What is the behavior that you want?

  • Copy develop settings from one photo to another: problems! Photo: getDevelopSettings LrDevelopController.setValue

    I've also attached the full code at the bottom of this message in case this is useful, but the summary

    I have a plugin of lua (rsjaffe MIDI2LR) who receives an application via a LrSocket MIDI messages. Everything works, but I tried to add copy/paste develop settings without success.

    In the following code, copy settings is:

    function copySettings()

    local photo = LrApplication.activeCatalog (:getTargetPhoto())

    parameters = photo: getDevelopSettings()

    end

    and paste the settings:

    function pasteSettings()

    applySettings (settings)

    end


    function applySettings (set) - still experimental

    If LrApplicationView.getCurrentModuleName () ~ = 'develop' then

    LrApplicationView.switchToModule ('develop')

    end

    for x, v to peers (set)

    -SERVER: send (string.format ("%s % d\n", x, develop_lerp_to_midi (v) "))

    -PARAM_OBSERVER [x] = v

    LrDevelopController.setValue (x, v)

    end

    end


    Functions called, but nothing happens to the picture of the target. I was also unable to attach a debugger (tried ZeroBrane studio as described in debugging Adobe Lightroom plugins with ZeroBrane Studio - ZeroBrane , but can not get Lightroom to load mobdebug.lrmodule.)


    Can someone point out where I'm wrong?

    Thank you.


    require "strict.lua" - catch some incorrect variable names

    require "Develop_Params.lua" - global table to develop params, we must observe

    local LrApplication = import "LrApplication".

    local LrApplicationView = import "LrApplicationView".

    local LrDevelopController = import "LrDevelopController".

    local LrFunctionContext = import "LrFunctionContext".

    local LrSelection = import "LrSelection".

    local LrShell = import "LrShell".

    local LrSocket = import "LrSocket".

    local LrTasks = import "LrTasks".

    local LrUndo = import "LrUndo".

    -File-local Consts

    local RECEIVE_PORT = 58763

    local SEND_PORT = 58764

    local PICKUP_THRESHOLD = 4

    -File-local vars

    Local CopyUUID

    local settings

    local LAST_PARAM = "

    local PARAM_OBSERVER = {}

    local PICKUP_ENABLED = true

    Local SERVER = {}

    -File-local work statements, advance declared to allow him to be in the scope of all calls.

    -When you define previously stated function, DO NOT USE local KEYWORD once again, it will define another local function.

    -These statement are intended to overcome certain Lua gotcha.

    local applySettings

    local copySettings

    local develop_lerp_to_midi

    local midi_lerp_to_develop

    local pasteSettings

    local processMessage

    local sendChangedParams

    local startServer

    local updateParam

    LOCAL = {}

    ['DecrementLastDevelopParameter'] is function () LrDevelopController.decrement (LAST_PARAM) end.

    ["VirtualCopy"] = function () LrApplication.activeCatalog ():createVirtualCopies() end,

    ['ToggleScreenTwo'] = LrApplicationView.toggleSecondaryDisplay,

    ['CopySettings'] = copySettings,

    ['PasteSettings'] = pasteSettings,

    }

    local TOOL_ALIASES = {}

    ["Magnifying glass"] = "magnifying glass."

    ["CropOverlay"] = "crop."

    ["SpotRemoval"] = "dust."

    ["Red eye"] = "red eye."

    ["GraduatedFilter"] = "degraded."

    ["RadialFilter"] = "circularGradient."

    ["AdjustmentBrush"] = "localized,"

    }

    local SETTINGS = {}

    ["Pick-up"] = function (enabled) PICKUP_ENABLED = (activated == 1) end.

    }

    function copySettings()

    local photo = LrApplication.activeCatalog (:getTargetPhoto())

    parameters = photo: getDevelopSettings()

    end

    function pasteSettings()

    applySettings (settings)

    end

    function midi_lerp_to_develop (param, midi_value)

    -map range from midday to develop the range of parameter

    local min, max = LrDevelopController.getRange (param)

    -If (param == 'Température') then

    -min = 3000

    -max = 9000

    -end

    local result = midi_value/127 * (max - min) + min

    Returns the result

    end

    function develop_lerp_to_midi (param)

    -map develop parameter range range midi

    local min, max = LrDevelopController.getRange (param)

    -If (param == 'Température') then

    -min = 3000

    -max = 9000

    -end

    local result = (LrDevelopController.getValue (param) - min) /(max-min) * 127

    Returns the result

    end

    function updateParam (param, midi_value)

    -This function performs a "Pick-up" check type

    -in other words, it will ensure the setting is close to develop

    -in what order entered value is before updating

    If LrApplicationView.getCurrentModuleName () ~ = 'develop' then

    LrApplicationView.switchToModule ('develop')

    end

    If ((not PICKUP_ENABLED) or (math.abs (midi_value - develop_lerp_to_midi (param)) < = PICKUP_THRESHOLD)) then

    PARAM_OBSERVER [param] = midi_lerp_to_develop (param, midi_value)

    LrDevelopController.setValue (param, midi_lerp_to_develop (param, midi_value))

    LAST_PARAM = param

    end

    end

    function applySettings (set) - still experimental

    If LrApplicationView.getCurrentModuleName () ~ = 'develop' then

    LrApplicationView.switchToModule ('develop')

    end

    for x, v to peers (set)

    -SERVER: send (string.format ("%s % d\n", x, develop_lerp_to_midi (v) "))

    -PARAM_OBSERVER [x] = v

    LrDevelopController.setValue (x, v)

    end

    end

    -message processor

    function processMessage (message)

    If (message) type == 'string' then

    -messages are in the format 'param value '.

    local _ param, value = string.find (message, '(%S+) %s(%d+)')

    If (ACTIONS [param] ~ = nil)-perform an action time

    If (ToNumber (value) == 127) then ACTIONS [param] (end)

    Else if (param:Find('Reset') == 1) then - reset other than those explicitly encoded in the ACTION items table

    If (ToNumber (value) == 127) then LrDevelopController.resetToDefault (param end:sub(6))

    Else if (param:Find('SwToM') == 1) then - perform a switch to the module

    If (ToNumber (value) == 127) then LrApplicationView.switchToModule (param end:sub(6))

    Else if (param:Find('ShoVw') == 1) then - change the display mode of the application

    If (ToNumber (value) == 127) then LrApplicationView.showView (param end:sub(6))

    Else if (param:Find('ShoScndVw') == 1) then - change the display mode of the application

    If (ToNumber (value) == 127) then LrApplicationView.showSecondaryView (param end:sub(10))

    ElseIf (TOOL_ALIASES [param] ~ = nil) then - switch to the desired tool

    If (ToNumber (value) == 127) then

    If (LrDevelopController.getSelectedTool () == TOOL_ALIASES [param]) then - switch between the tool/Magnifier

    LrDevelopController.selectTool ('magnifying glass')

    on the other

    LrDevelopController.selectTool (TOOL_ALIASES [param])

    end

    end

    ElseIf (PARAMETERS [param] ~ = nil) then

    Settings [param] (ToNumber (value))

    else - otherwise update a development parameter

    updateParam (param, tonumber (value))

    end

    end

    end

    -Send settings changed to MIDI2LR

    function sendChangedParams (Observer)

    for param in ipairs (DEVELOP_PARAMS), __________

    If (Observer [param] ~ = LrDevelopController.getValue (param)) then

    SERVER: send (string.format ("%s % d\n", param, develop_lerp_to_midi (param) "))

    Observer [param] = LrDevelopController.getValue (param)

    LAST_PARAM = param

    end

    end

    end

    function startServer (context)

    SERVER = {LrSocket.bind}

    functionContext = context,

    plugin = _PLUGIN,

    port = SEND_PORT,

    mode = "send."

    onClosed = function (socket) - this callback seems never called...

    -MIDI2LR closed the connection, allow reconnection

    -socket: reconnect()

    end,

    onError = function (socket, err)

    Socket: reconnect()

    end,

    }

    end

    -Main task

    LrTasks.startAsyncTask (function()

    LrFunctionContext.callWithContext ("socket_remote", function (context)

    LrDevelopController.revealAdjustedControls (true) - parameter reveal touched in the process of Panel

    -Add an observer to develop changes to the param

    LrDevelopController.addAdjustmentChangeObserver (context, PARAM_OBSERVER, sendChangedParams)

    local client = {LrSocket.bind}

    functionContext = context,

    plugin = _PLUGIN,

    port = RECEIVE_PORT,

    mode = "receive."

    onMessage = function (socket, message)

    processMessage (message)

    end,

    onClosed = function (socket)

    -MIDI2LR closed the connection, allow reconnection

    Socket: reconnect()

    -call SERVER: reconnect causes LR to hang for some reason any...

    SERVER: close()

    startServer (context)

    end,

    onError = function (socket, err)

    If err is 'timeout' then - reconnect if expired

    Socket: reconnect()

    end

    end

    }

    startServer (context)

    While true

    LrTasks.sleep (1/2)

    end

    client: close()

    SERVER: close()

    end)

    end)

    LrTasks.startAsyncTask (function()

    If (WIN_ENV) then

    LrShell.openFilesInApp ({_PLUGIN.path..' / Info.lua'},.. _PLUGIN.path' / MIDI2LR.exe')

    on the other

    LrShell.openFilesInApp ({_PLUGIN.path..' / Info.lua'},.. _PLUGIN.path' / MIDI2LR.app')-on Mac, it seems that the argument of files must include an existing file

    end

    end)

    This may be a correct way, it seems to work

    local settings

    function copySettings()

    LrTasks.startAsyncTask (function)

    local photo = LrApplication.activeCatalog (:getTargetPhoto())

    parameters = photo: getDevelopSettings()

    end)

    end

    function pasteSettings()

    If the parameters ~ = nil then

    LrTasks.startAsyncTask (function)

    Catalog = LrApplication.activeCatalog)

    Catalog: withWriteAccessDo ('pasteSettings', function()

    local photo = catalogue: getTargetPhoto()

    Photo: applyDevelopSettings (Settings)

    end)

    end)

    end

    end

  • 2 queries must return the same result (but they are not...)

    Hello
    I have a query:
    select col1,extract(year from datum) yr, COUNT(*)
    from tableA@dblink where
    DATUM between '1-jan-1985' and '31-dec-2012'
    and col2 > 100 and col2 not in ('999999')
    and TRIM(TO_CHAR(col1)) in ('0','1')
    group by col1,extract(year from DATUM);
    the query above returns the number: 143 982 for the year 1991
    However, when I put the filter directly in this year the request returns a different number: 143 917
    select col1,extract(year from datum) yr, COUNT(*)
    from tableA@dblink  where
    DATUM between '1-jan-1991' and '31-dec-1991'
    and col2 > 100 and col2 not in ('999999')
    and TRIM(TO_CHAR(col1)) in ('0','1')
    group by col1,extract(year from DATUM);
    Please can you help me understand why what is happening and why these 2 heads are different?
    ID appreciate any advice
    Thank you very much
    Rgds

    Try these...

    select col1,extract(year from datum) yr, COUNT(*)
    from tableA@dblink where
    trunc(DATUM) between to_date('1-jan-1985','dd-mon-yyyy') and to_date('31-dec-2012','dd-mon-yyyy')
    and col2 > 100 and col2 not in ('999999')
    and TRIM(TO_CHAR(col1)) in ('0','1')
    group by col1,extract(year from DATUM);
    
    select col1,extract(year from datum) yr, COUNT(*)
    from tableA@dblink  where
    trunc(DATUM) between to_date('1-jan-1991','dd-mon-yyyy') and to_date('31-dec-1991','dd-mon-yyyy')
    and col2 > 100 and col2 not in ('999999')
    and TRIM(TO_CHAR(col1)) in ('0','1')
    group by col1,extract(year from DATUM);
    
  • Query Union returns the correct data x 2

    I have a union query that returns 2 identical lists of data. The data are correct, but I can't work on why it is duplicated. Can anyone help? Thank you.

    John
    ****************************
    set linesize 400
    set pagesize 9999
    NewPage Set 1
    wrap off Set
    break off Set
    Set of feedback on

    set the file name = CATS_TURBO_all_LiveT

    coil & filename

    Noprint today new_value DATEVAR COLUMN
    COLUMN case_id FORM 999999 TITLE 'fault '.
    COLUMN product_name FORMAT a10 HEADING 'node '.
    COLUMN priority_type_name format a4 POSITION "PRI."
    Report_date FORMAT of the COLUMN entitled date 'Date of Recvd'
    Restore_date FORMAT of the COLUMN date TOPIC "restored".
    Close_date FORMAT of the COLUMN date POSITION "closed".
    COLUMN assigned_tech_id FORMAT a10 TITLE "GENIUS".
    COLUMN status_type_name FORMAT a3 DIRECTION "FS".
    Header of COLUMN name format a4 'Type '.
    Header of COLUMN Champ_1 format a20 'Exchange '.
    COLUMN sla_name format a12 direction "platform".
    Format COLUMN header generic a4 "Gen."
    COLUMN question_text format a90 titled "Error Description".
    COLUMN note_text a90 format called 'progress '.

    TTITLE left 'report ' -.
    Center ' TURBO all flaws (& filename... SQL) "-"
    Jump STRAIGHT DATEVAR-
    Left ' wait > > ' jump 1

    Select distinct
    a.case_id "Fault."
    c.product_name
    , decode (f.priority_type_name, 'Low', '4', 'Medium', '3', 'High', '2', 'Urgent', '1') Pri
    , to_char (a.report_date, ' DD/MM/YYYY HH24') "received".
    , to_char (' a.restore_date, ' DD/MM/YYYY HH24 ")"restored ".
    , to_char (a.close_date, ' DD/MM/YYYY HH24') 'closed '.
    , decode (d.name, 'Software', from ", 'Hardware', 'H', 'Firmware', 'F', 'Unknown', 'U', 'General', 'Gen', 'Doc', 'Doc', 'n' and"No. Fault"") 'Type '.
    , decode (b.status_type_name, ' closed - resolved ', '02', 'Pending', '40', 'On Hold - waiting for approval', '41 ', 'pending', '41', 'Wait-Service restored', ' 41', 'lack of training', '44', 'Telesys survey fault', '44') FS
    g.field_1
    e.sla_name
    , decode (a.assigned_tech_id, '10', 'JSMITH', '09', 'MBROWN', '07', 'SCHATTER', '08', 'RSMEED' ', '12', ' SCHOYM') 'B '.
    , to_char (sysdate, 'DD-MON-YYYY HH24') today
    , to_char (translate (dbms_lob.substr(a.question_text,100), CHR (13) |)) CHR (10), CHR)
    question_text 32)))
    , null "Note".
    of oracledb.incident one
    oracledb.status_type b
    c oracledb.item_type
    oracledb.problem_type d
    e oracledb.sla
    oracledb.priority_type f
    oracledb.item g
    oracledb.incident_note h
    where (a.status_type_id = b.status_type_id)
    and (a.product_id = c.product_id)
    and (a.problem_type_id = d.problem_type_id)
    and (a.sla_id = e.sla_id)
    and (a.priority_type_id = f.priority_type_id)
    and (a.product_id = g.product_id)
    and e.sla_name = "TURBO PÉI"
    and g.field_1 not in the (' SysCntl-1', ' SysCntl-2', "TURBO PÉI" "")
    and a.case_id = h.case_id (+)
    and not exists (select case_id from k oracledb.incident_note where k.case_id = a.case_id)
    and a.deleted <>' 1'
    Union
    Select distinct
    a.case_id "Fault."
    c.product_name
    , decode (f.priority_type_name, 'Low', '4', 'Medium', '3', 'High', '2', 'Urgent', '1') Pri
    , to_char (a.report_date, ' DD/MM/YYYY HH24') "received".
    , to_char (' a.restore_date, ' DD/MM/YYYY HH24 ")"restored ".
    , to_char (a.close_date, ' DD/MM/YYYY HH24') 'closed '.
    , decode (d.name, 'Software', from ", 'Hardware', 'H', 'Firmware', 'F', 'Unknown', 'U', 'General', 'Gen', 'Doc', 'Doc', 'n' and"No. Fault"") 'Type '.
    , decode (b.status_type_name, ' closed - resolved ', '02', 'Pending', '40', 'On Hold - waiting for approval', '41 ', 'pending', '41', 'Wait-Service restored', ' 41', 'lack of training', '44', 'Telesys survey fault', '44') FS
    g.field_1
    e.sla_name
    , decode (a.assigned_tech_id, '10', 'JSMITH', '09', 'MBROWN', '07', 'SCHATTER', '08', 'RSMEED' ', '12', ' SCHOYM') 'B '.
    , to_char (sysdate, 'DD-MON-YYYY HH24') today
    , to_char (translate (dbms_lob.substr(a.question_text,100), CHR (13) |)) Chr (10), Chr (32))) question_text
    , to_char (translate (dbms_lob.substr(h.note_text,100), CHR (13) |)) Chr (10), Chr (32))) note_text
    of oracledb.incident one
    oracledb.status_type b
    c oracledb.item_type
    oracledb.problem_type d
    e oracledb.sla
    oracledb.priority_type f
    oracledb.item g
    oracledb.incident_note h
    where (a.status_type_id = b.status_type_id)
    and (a.product_id = c.product_id)
    and (a.problem_type_id = d.problem_type_id)
    and (a.sla_id = e.sla_id)
    and (a.priority_type_id = f.priority_type_id)
    and (a.product_id = g.product_id)
    and e.sla_name = "TURBO PÉI"
    and g.field_1 not in the (' SysCntl-1', ' SysCntl-2', "TURBO PÉI" "")
    and a.case_id = h.case_id
    and h.note_id = (select max (i.note_id)
    oracledb.incident_note I have
    where a.case_id = i.case_id)
    and a.deleted <>' 1'
    order by 1;
    /
    SPOOL OFF
    Clear jump
    output

    Published by: user13388553 on 11/24/2010 14:59

    If your code is that you run in the production data splits because you're runnign queries twice.

    from oracledb.incident_note i
    where a.case_id = i.case_id)
    and a.deleted '1'
    order by 1;
    /
    SPOOL OFF
    

    The semicolon after that command by 1 causes the statement to be executed, the slash on the next line causes the reexecute being. Delete one of them.

    John

  • Sierra is a bomb, need help to return to El Capitan

    Could someone more at Apple just try it once to make sure that the "new and improved" operating systems actually work before releasing? With all the money goes to Cupertino, there is no money to hire testers rather than rely on Mac users? Talk about Stockholm syndrome. I'll cut to the Chase, now my computer has been upgraded to Sierra without my knowledge, and several apps are now, not to mention that I can't access my company's server today. How to return to El Capitan - can I save all my work from today and use Time Machine to restore my machine? If this isn't the case, should I really erase everything and start from scratch? Someone please stop me to jump on a ledge, I have work I need to pass on to customers. Any suggestions, help, you can give would be appreciated. Carl

    Restore your backup, and if you do not upgrade your Mac, who did? Maybe you should tell them not to do the without you knowledge or approval.

  • How can I uninstall Sierra &amp; return to El Capitan without an external hard drive or equivalent required by the instructions online?

    How can I uninstall Sierra & return to El Capitan without an external hard drive or equivalent required by the instructions online? I find too many misadventures and not happy.

    Hello

    Check out this useful tutorial: https://www.igeeksblog.com/how-to-downgrade-macos-sierra-to-mac-os-x-el-capitan/

  • Deleted Notes records returned

    I have a folder in my Notes (Mac, iOS and iCloud.com) application that returns no matter how many times I delete it.

    Here's how I got here: I imported a batch of notes (all in .txt format) and created a new 'imported statement' as expected. I then moved all those notes to my regular 'Notes' folder that is synchronized to my iCloud account. Now that the newly created folder is empty, I'm deleting it. After maybe 40 seconds, he returned. I tried rename and delete then, put a note in it there and delete... it always comes back.

    All this experience or have a fix? I can't simply sign on and in, or restart my camera, because it happens everywhere that I can access my notes (iPad, iPhone, iMac, Safari). Thank you.

    See if this thread on the similar theme helps.

  • How to display invisible characters (space, return, etc.)

    How do you do the Numbers (4.0) app shows invisible characters such as space and return transport?

    I'm not aware of a direct way to display invisible characters in numbers - regardless of the version.

  • Sierra WiFi downloaded to restart ElCapitan OK on Sierra Message can not find material Wi - Fi, that it still works if I returned to ElCapitan?

    Sierra Wireless downloaded ElCapitan OK. Restart on the Sierra.  Message received! Computer can not find the Wi - Fi equipment? It still works if I returned to ElCapitan! Wi - Fi is not compatible, it is possible to access the internet if I use a cable a very long cable that extends the House and stairway access.

    What model Mac Pro?

    Wifi originally came with the Mac Pro?

  • C error: ld: library not found for - introduction collect2: error: ld returned 1 exit status

    I'm trying to compile the "Hello World" code C base with gcc, but the following error message:

    LD: library not found for - introduction

    collect2: error: ld returned 1 exit status

    The code itself is nice, he ran into another computer with no problems.

    First gcc had manually, the problem, installed and then uninstalled and installed with homebrew and still have the problem. How can I fix?

    (Have the 5.1.0 version of gcc)

    Okay, so nobody has responded, but I found a solution. This is the version of gcc, apparently more recent versions have this bug, one that works and compiles the codes is the 4.9 version, in case it would be useful to someone.

  • Returns

    Hello! I ordered a 7 sillicone iPhone a few days previously in Miami (it is supposed to arrive tomorrow) and yesterday, I decided to send it back. I live in the Venezuela and I would return when I get to get to US, so I don't have to worry about my friend (the one who gets the phone at his home) for this task, but apple sent saying me that I send the rear element by October 9.

    I would like to know if I'll have any problem if I return the item by myself in November in the apple store.

    Thank you very much!

    Hello

    The reporting period under Apple's Standard to the United States return policy is 14 days of purchase.

    I'm afraid that no one here can tell you that Apple will make an exception in your case - it is a community based on the user.

    You have to ask Apple.

  • I'm recently back from Berlin where I accidentally left my iPhone 6. My friend tried to send it to me; However, he was returned by customs. Need advice on getting my iPhone 6 sent from Berlin to California.

    I'm recently back from Berlin where I accidentally left my iPhone 6. My friend tried to send it to me; However, he was returned by customs. Need advice on getting my iPhone of Berlin has been sent to California.

    You'll have to talk to the German customs and find out what their requirements are to send an iPhone.

  • Need a formula which uses the VLOOKUP and HLOOKUP function to return a single value

    I'm creating a worksheet price with multiple values. In the table below if I select size 16 in blue the result must return 19.5

    Red Yellow Blue Green
    size
    10 5 6.25 7.5 8.75
    12 13 14.25 15.5 16.75
    14 15 16.25 17.5 18.75
    16 17 18.25 19.5 20.75
    20 19 20.25 21.5 22.75

    Hi Eric,.

    More large table is Table 1.

    Formula is C2 of table 2.

    C2: = INDEX (1::A1:E7, GAME table (Table a, 1::A, 0), GAME (B2, 1::1:1, 0),-l' surface index)

    Kind regards

    Barry

Maybe you are looking for

  • HDP Agent Device emulator and Bluetooth Stack for Win

    Hi all We have successfully installed the battery Bluetooth for Windows (Toshiba v7.10.01)We would like to know the steps on how to test the examples in the SDK from Toshiba with HDP Agent Device emulator?

  • Satellite L640 - does not recognize USB and does not start webcam

    Hello I regularly get the pop up usb malfunction when built in webcam fails to launch, I booked service, but now it works again. Any ideas what causes this and how can I prevent in the future? My family is abroad, and its function that I use more. Th

  • Word documents not opening not emails, Vista Home Premium.

    I use Windows Vista Home Premium and Yahoo mail. When I try to download a Yahoo document file, I get an error message saying not supported. I tried a few fixes on the Web site, and an error message came that I have not installed 'word'. I installed a

  • Smartphone blackBerry curve 8330 4.5 update for 4.7 or 5.0

    Well, I run on 4.5OS, but some new applications I require at least 4.7.  Can't find anywhere.  Also, when I try to download 5.0OS from my mobile phone, or via the internet and the desktop software I don't get a message saying there are no downloads a

  • Print spooler is disabled, how to turn on?

    Original title - print spooler I received a message stating that my print spooler is disabled after that I had to reformat my new machine, Windows 8. How do I turn this thing? Sorry to be a Luddite.