[1.1.1.25.14] Refiltering packages discards existing package decomposition

I am having problems with the package decomposition for already decomposed packages being discarded when refiltering the packages. Filtering out the previously decomposed package and then filtering it back in doesn't fix it and neither does disconnecting and reconnecting. The only thing that seems to fix it is a SQL Developer restart.
This makes it very frustrating to work through code called by a procedure in a set of tightly integrated packages (I am on an Oracle Apps site).

you were talking about refreshing and I was getting the problem when refilteringYou're right, the problem is more extensive than I initially experienced. Thanks for pointing that out.
the thread went off on a tangentHehe, I did got buried there, but resurfaced near the end ;-)
Let's hope we've done a better job in catching the attention this time.
Thanks,
K.

Similar Messages

  • Package Decomposition context menu

    I am on v1215 and I love the package decomposition (especially jumping to the selected item on double-click), but I have just noticed the context menu on the procedures and functions in the decomposition.
    The only item that appears in the context menu on procedures and functions is "New ..." which is the same as the New button on the main toolbar. Variables displayed in the decomposition do not get a context menu.
    However, if I have a stored procedure or function open in the Connection pane, select it (opens the procedure/function) display the context menu for it (Open, Compile, Compile for Debug, Run, Debug, Execution Profile, Grant, Revoke, Drop, Compile Dependents) and then, without selecting the function/procedure in the Package decomposition, I right-click on it, the context menu is now New ..., Compile, Compile for Debug.
    If I reselect the stored procedure and then right click on a variable in the Package decomposition, I get Compile and Compile for Debug and the menu options.
    The same appears to happen for any object type - including views, tables, indexes, etc.
    If I then select the procedure in the Package decomposition, the context menu reverts to "New ..." and the Compile and Compile for Debug option disappear from the context menu for the stored procedure (so long as I don't select it before right-clicking on it).
    Two issues here:
    1) Shouldn't the package decomposition context menu for public procedures and functions allow the Run option (what I was hoping to find when I first tried)?
    2) The Compile and Compile for Debug options are not available consistently - they should always be available for objects that can be compiled (stored procedure, function, package, trigger, etc) and never available for objects that cannot be compiled (tables, views, indexes, items in the decomposition of packages, etc).

    Please take a look at this article by Carlos:
    HOWTO: Getting information about Visual Studio windows from an add-in
    It talks about how to get the window information, including a tool window's information. But as I tested, we can't access to the Modules window's object, it's always null:
    So I think the Visual Studio doesn't expose the ability for us to customize the Modules window.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • 1.1.0.21.97: Package Decomposition improvements/issues/bugs

    I believe there are a number of improvements that could be made with the package decomposition in the Navigator pane.
    It is good that cursors are now sort of being included in the decomposition, but the cursor name doesn't get included.
    Can we please have different icons for the different types of objects in the decomposition? In 1.0 we have different icons for variables, etc vs procedures and functions. As an ideal it would be great to have different icons for the different types of variables (ie one for varchar2, one for number, one for date, ... - even with a slightly different icon for constants of each type), but at least having different icons for procedures/functions, cursors, records, types and variables/constants. Especially on the body decomposition for large packages, this would make it significantly easier to find a specific type of object.
    Something else that has disappeared from 1.0 is the ability to decompose a procedure/function within a package body. In the 1.0 package body decomposition, a node is created for each of the procedures and functions which can then be expanded to see the variables, sub-procedures/sub-functions in the procedure/function.
    It would be good to have a Run right-click context menu for the specification's procedures and functions, like there is for the stored procedures and functions.
    Not a big issue, but I preferred the 1.0 way of having the Specification as a separate node on the decomposition, rather than having the specification decomposition as part of the first level.

    Cursor name: bug is logged
    Request for different icons logged
    Sub -procedure issue: Yes this a regression and it's logged.
    Menu suggestion: Nice idea - have logged an ER
    New structure in 1.1: I'll raise this with the team.
    Thanks!
    Sue

  • 1.5.1 Package Decomposition issues

    There are still some things that appear to confuse the parsing for the package decomposition in the navigator pane:
    --. Forward declarations in package bodies "override" the actual procedure/function, so you can only jump to the forward declaration from the decomposition--
    . Defining a constant or variable with a type of form <schema>.<object>.<column>%TYPE displays as "." in the decomposition
    . Defining a constant with a type of form <object>.<column>%TYPE displays as "constant" in the decomposition
    . Constants or variables based on a custom type or subtype are not displayed in the decomposition
    . The tooltip for a parameterless procedure or function in the package body displays the source for that procedure or function up until the first ; (instead of the "is") - ie the end of the first declaration, which can get very long if that is a cursor.
    theFurryOne
    Edited by: thefurryone on Oct 3, 2008 1:40 PM

    Expect all the issues except #1 fixed in 2.0. For #1 i tried the code below and see no problem. Can you please provide a test case?
    FUNCTION my_func2 RETURN NUMBER; -- forward declaration
    FUNCTION my_func
    RETURN NUMBER
    IS
    BEGIN
    RETURN my_func2; -- Legal call
    END my_func;
    FUNCTION my_func2
    RETURN NUMBER
    IS
    BEGIN
    RETURN 0;
    END my_func2;

  • EA1 - Package Decomposition

    The package decomposition appears to have taken a bit step backwards with 1.5 EA1. We now only get names of procedures and functions. With 1.2.1.31.12 we also got types, cursors, variables/constants, parameters for procedures/functions and result types for functions.

    I had seen your thread about resource usage issues, but this is not about trying to edit package bodies - just the package decomposition in the connection pane.
    This is happening for simple package specifications with just a constant and a simple procedure and function, both with parameters. The constant is not displayed in the decomposition, the function return type is not displayed and the parameters are not displayed for either the procedure or the function.

  • EA3 - Package Decomposition changes

    The changes package decomposition from EA2 are definitely heading in the right direction, but a few issues/gripes:
    1) It lists the CONSTANT keyword from constant definitions instead of the constant's name ( var_name CONSTANT varchar2(30); )
    2) It lists the IN keyword from cursor input variables (ie cursor my_cursor ( p_id IN number ) is ... )
    3) Cursor input variables are listed in the package decomposition, so long as they do not have the IN keyword (ie cursor my_other_cursor ( p_id number ) is ... )
    4) It lists the IS keyword from subtype definitions (based on a direct data type) and not the sub type name (ie subtype my_type IS varchar2(10); )
    5) Subtypes based on %TYPE or %ROWTYPE declarations are not listed
    6) It lists the OF keyword from table type definitions and not the type name (ie type my_tab_type is table OF varchar2(80); )
    7) Boolean package variables are not displayed at all in the decomposition.
    8) Ordering by name is a bit disconcerting to start with - I am used to finding my package body level variables, types, cursors, constants, etc at the top of the package body decomposition, as that is where I declare them.
    9) If we get a different icon for date variables, is there a reason why both number and character variables have the 123 icon?
    10) I would have thought that a p(..) icon for procedures would have been more distinguishable from functions than the f(..) without the little arrow at the bottom
    11) We still cannot tell the return type of functions from the package decomposition
    12) Variable declarations based on user defined types (as compared to direct data types) are not displayed
    This seems to point to the decomposition being based on finding references to expected data types in the text rather than truely understanding the content of the source code.
    theFurryOne

    Vadim,
    I don't think I am a strong vote either way on the ordering - it is certainly disconcerting having changed, but if it had always been ordered, I don't know whether I would have disliked it.
    As to the faster navigation - that depends on what you know about the package and where you are trying to navigate to. If I am looking at a package I know nothing much about and I am trying to navigate to a specific named procedure/function, then alphabetically is better. If I am looking at a package that I know a lot about or I am trying to navigate to the first procedure (for example), then order of declaration is better.
    The alternative of opening for editing and collapsing procedure/function definitions isn't really that nice. I have a reasonably sized package which takes up 3/4 of the page on the navigator in the decomposition, but takes nine pages when collapsed in the edit window, due to comments etc.
    theFurryOne

  • Enhancement: PL/SQL Package decomposition

    Can I put in a plea for raptor to use the jdeveloper style of decomposition for PL/SQL objects at least.
    The structure of the object which is being edited in the main window (or selected in the connections tree) is displayed in a separate structure pane below the Connections tree.
    This means that a package with many procedures doesn't make the the connections tree too long. You can be looking at table structure in the connections tree while still seeing the package structure in the structure pane.
    Clicking on a variable or procedure in the structure pane moves the editor focus to the correct place.
    Errors detected by the editor are displayed in the structure pane too.
    Here is an example.
    http://homepages.nildram.co.uk/~ponders/jdeveloper.png

    SQL Loader is tailor-made for importing data from flat-files.
    There's way less code to write and it is usually faster than coded approach so this may be better solution for you, depending on details of your situation.
    See docs: http://otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/server.817/a76955/ch03.htm#2436

  • Bug report : Navigator display wrong messages in package body

    Just run some code , you can see the Navigator display wrong messages in the package body,but the package work fine in sqlplus / toad or other tools.
    create or replace package SIMPLE AS
    Procedure simple_proc ;
    END;
    create or replace package body SIMPLE AS
    Procedure simple_proc
    IS
    v_tname varchar2(100);
    begin
    SELECT PERCENTILE_disc(0.5) WITHIN GROUP (ORDER BY tabtype DESC)
              INTO v_tname
              FROM tab;
    END simple_proc;
    END;
    Then open the package body in the Navigator (Connection Pane==> Connection Name ==> Packages ==> Simple Body ) , and show the error message:
    Unexpected token
    Missing Expression
    But if I just create the procedure out of the package , it work fine.
    CREATE OR REPLACE
    Procedure simple_proc
    IS
    v_tname varchar2(100);
    begin
    SELECT PERCENTILE_disc(0.5) WITHIN GROUP (ORDER BY tabtype DESC)
              INTO v_tname
              FROM tab;
    END simple_proc;
    /

    This has already been discussed a number of times (see http://forums.oracle.com/forums/search.jspa?objID=f260&q=Unexpected+token).
    As I understand it, it is related to the parser that SQL Developer is using to display the package decomposition in the navigator not coping with the full PL/SQL and SQL syntax (largely analytical functions from memory).

  • Catalog publish issue in SRM

    We are running into errors when publishing catalog. Pls help !!
    06/12/2009 10:02:46: updating search index of locale EN 
      Error in search index update; Discard existing changes
      Error when deleting an index for catalog P_SYMBOL, locale EN-
      Index for catalog P_SYMBOL and locale EN- does not exist
      Index for catalog P_SYMBOL and locale EN- does not exist
      Error when deleting TREX metadata for catalog P_SYMBOL, locale EN-
      Error when creating the index for catalog P_SYMBOL and locale EN-
      Error in search index update; Discard existing changes
      Catalog update was terminated
      *The exception occurred (program: /CCM/CL_PE_REQUEST_SERVICE====CP, include /CCM/CL_PE_REQUEST_SERVICE====CM00F, line: 89)*    06/12/2009 10:02:21: Waiting for response messages 
      06/15/2009 15:46:36: >>> Start: Processing of confirmation message for package 0001 
      Package 0001 was updated locally 
      06/15/2009 15:46:36: >>> End: Processing of confirmation message for package 0001 
      06/15/2009 15:46:36: >>> Start: Processing of confirmation message for catalog 
      Local publication of catalog P_SYMBOL has failed 
      Index for catalog P_SYMBOL and locale EN- does not exist 
      Error when deleting TREX metadata for catalog P_SYMBOL, locale EN- 
      Error when creating the index for catalog P_SYMBOL and locale EN- 
      Error in search index update; Discard existing changes 
      Catalog update was terminated 
      06/15/2009 15:46:36: >>> End: Processing of confirmation message for catalog 
      06/15/2009 15:46:36: End of catalog publication 
    Total runtime of catalog publication: 05:44:15 ***

    Hi ,
      COuld you please run this report and check for any error messages.
    /CCM/check_trex
    1) First DEPUBLISH the catalog.
    2) Publish again now.
    Hope this helps.

  • Posting to b2b/transportServlet fails with HTTP503

    Hi All,
    I am trying to post EDI X12 from Sender Oracle B2B to Receiver Oracle B2B (http://rws60074rems.us.oracle.com:7779/b2b/transportServlet). I am getting HTTP 503 error.
    B2B.log:
    2009.09.17 at 02:23:47:983: Thread-9: B2B - (DEBUG) DBContext commit: Transaction.commit()
    2009.09.17 at 02:23:47:983: Thread-9: B2B - (DEBUG) DBContext commit: Leave
    2009.09.17 at 02:23:47:983: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:requestRetry Calling send() to transmit the message out
    2009.09.17 at 02:23:47:983: Thread-9: B2B - (DEBUG) Protocol Name: HTTP
    2009.09.17 at 02:23:47:984: Thread-9: B2B - (DEBUG) Version Name: 1.1
    2009.09.17 at 02:23:47:984: Thread-9: B2B - (DEBUG) Endpoint: http://139.185.21.214:7779/b2b/transportServlet
    2009.09.17 at 02:23:47:984: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send proxy www-proxy.us.oracle.com
    2009.09.17 at 02:23:47:985: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send proxy port80
    2009.09.17 at 02:23:47:985: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send URL: HTTP://139.185.21.214:7779/B2B/TRANSPORTSERVLET
    2009.09.17 at 02:23:47:985: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send TO Endpoint: 501 http://139.185.21.214:7779/b2b/transportServlet
    2009.09.17 at 02:23:47:985: Thread-9: B2B - (DEBUG)
    Protocol = HTTP
    Version = 1.1
    Transport Header
    Message-ID:<39343433343430393637393836363736@Acme>
    Content-Transfer-Encoding:binary
    MIME-version:1.0
    ACTION_NAME:Process_850
    From:Acme
    AS2-To:GlobalChips
    User-Agent:AS2 Server
    Date:Thu, 17 Sep 2009 07:22:54 GMT
    DOCTYPE_NAME:850
    FROM_PARTY:Acme
    DOCTYPE_REVISION:4010
    TO_PARTY:GlobalChips
    AS2-From:Acme
    AS2-Version:1.1
    Content-Disposition:attachment; filename=4010
    Content-Type:application/EDI-X12; name=4010
    Connection:close
    Parameters
    -- listing properties --
    http.sender.timeout=0
    2009.09.17 at 02:23:47:988: Thread-9: B2B - (DEBUG) scheme null userName null realm null
    2009.09.17 at 02:23:48:015: Thread-9: B2B - (WARNING)
    Message Transmission Transport Exception
    Transport Error Code is OTA-HTTP-SEND-503
    StackTrace oracle.tip.transport.TransportException: [IPT_HttpSendError] HTTP encounters send error :503
    at oracle.tip.transport.TransportException.create(TransportException.java:91)
    at oracle.tip.transport.basic.HTTPSender.createTransportResponse(HTTPSender.java:793)
    at oracle.tip.transport.basic.HTTPSender.send(HTTPSender.java:598)
    at oracle.tip.transport.b2b.B2BTransport.send(B2BTransport.java:311)
    at oracle.tip.adapter.b2b.transport.TransportInterface.send(TransportInterface.java:1034)
    at oracle.tip.adapter.b2b.msgproc.Request.requestRetry(Request.java:2951)
    at oracle.tip.adapter.b2b.engine.Engine.messageRetry(Engine.java:2768)
    at oracle.tip.adapter.b2b.engine.Engine.handleTimeoutEvent(Engine.java:2649)
    at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2404)
    at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
    at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
    at java.lang.Thread.run(Thread.java:534)
    2009.09.17 at 02:23:48:016: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send Error in sending message
    2009.09.17 at 02:23:48:016: Thread-9: B2B - (INFORMATION) oracle.tip.adapter.b2b.msgproc.Request:requestRetry Request Message Re-Transmission failed
    2009.09.17 at 02:23:48:016: Thread-9: B2B - (DEBUG) DBContext beginTransaction: Enter
    2009.09.17 at 02:23:48:017: Thread-9: Repository - (DEBUG) CatalogDriver manager == oracle.tip.model.metadata.CatalogMetaManager@9d6065
    2009.09.17 at 02:23:48:017: Thread-9: Repository - (DEBUG) CatalogMetaManager getDriverjava.lang.InheritableThreadLocal@17f409c oracle.tip.repos.core.driver.CatalogDriver@147358f
    2009.09.17 at 02:23:48:017: Thread-9: Repository - (DEBUG) begin() :
    2009.09.17 at 02:23:48:017: Thread-9: Repository - (DEBUG) STARTING TRANSACTION
    2009.09.17 at 02:23:48:017: Thread-9: Repository - (DEBUG) TRANSACTION STARTED
    2009.09.17 at 02:23:48:018: Thread-9: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
    2009.09.17 at 02:23:48:018: Thread-9: B2B - (DEBUG) DBContext beginTransaction: Leave
    2009.09.17 at 02:23:48:018: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:requestRetry [IPT_HttpSendError] HTTP encounters send error :503
    b2b_dc_transport.log:
    2009.09.17 at 01:47:44:879: B2BStarter thread: (DEBUG) TransportProperties.TransportProperties():http.receiver.registry_port=5110;smtp.receiver.protocol=imap;PROTOCOL_ENDPOINT=null;file.receiver.polling_interval=60;polling_interval=60;http.receiver.instance_name=IP;
    2009.09.17 at 01:47:44:929: B2BStarter thread: (DEBUG) initialize TransportReceiver: [Acme Transport Server < file > < Acme >]
    2009.09.17 at 01:47:44:930: B2BStarter thread: (DEBUG) FileReceiver.init() started ....
    2009.09.17 at 01:47:44:981: B2BStarter thread: (DEBUG) FileReceiver.init() completed.
    2009.09.17 at 01:49:11:715: Thread-9: (DEBUG) TransportProperties.TransportProperties():http.sender.proxy_host=www-proxy.us.oracle.com;http.sender.proxy_port=80;
    2009.09.17 at 01:49:11:715: Thread-9: (DEBUG) TransportProperties.TransportProperties():http.sender.proxy_host=www-proxy.us.oracle.com;http.sender.port=7779;http.sender.proto=http;http.sender.host=139.185.21.214;http.sender.path=/b2b/transportServlet;http.sender.proxy_port=80;
    2009.09.17 at 01:49:11:907: Thread-9: (DEBUG) Discard Existing Cookies for CurrentThreadContext = Thread[Thread-9,5,main]
    2009.09.17 at 01:49:11:908: Thread-9: (DEBUG) Timeout = 60000
    2009.09.17 at 01:49:11:909: Thread-9: (DEBUG) Proxy host = www-proxy.us.oracle.com Proxy port= 80
    2009.09.17 at 01:49:11:910: Thread-9: (DEBUG) Basic authentication is not used due to one of security parameters not set. Make sure username, password, and realm are set in delivery channel.
    2009.09.17 at 01:49:11:910: Thread-9: (DEBUG) http.sync = null
    2009.09.17 at 01:49:11:911: Thread-9: (DEBUG) Number of headers to be added is 17
    2009.09.17 at 01:49:12:267: Thread-9: (DEBUG) [IPT_HttpSendResponseStatusCode] HTTP Response status code: 503
    2009.09.17 at 01:49:12:268: Thread-9: (DEBUG) [IPT_HttpSendResponseMessage] HTTP Response message: .
    2009.09.17 at 02:23:47:985: Thread-9: (DEBUG) TransportProperties.TransportProperties():http.sender.proxy_host=www-proxy.us.oracle.com;http.sender.proxy_port=80;
    2009.09.17 at 02:23:47:988: Thread-9: (DEBUG) Discard Existing Cookies for CurrentThreadContext = Thread[Thread-9,5,main]
    2009.09.17 at 02:23:47:988: Thread-9: (DEBUG) Timeout = 60000
    2009.09.17 at 02:23:47:988: Thread-9: (DEBUG) Proxy host = www-proxy.us.oracle.com Proxy port= 80
    2009.09.17 at 02:23:47:988: Thread-9: (DEBUG) Basic authentication is not used due to one of security parameters not set. Make sure username, password, and realm are set in delivery channel.
    2009.09.17 at 02:23:47:989: Thread-9: (DEBUG) http.sync = null
    2009.09.17 at 02:23:47:989: Thread-9: (DEBUG) Number of headers to be added is 17
    2009.09.17 at 02:23:48:014: Thread-9: (DEBUG) [IPT_HttpSendResponseStatusCode] HTTP Response status code: 503
    2009.09.17 at 02:23:48:015: Thread-9: (DEBUG) [IPT_HttpSendResponseMessage] HTTP Response message: .
    Please let me know what is wrong.
    This url http://rws60074rems.us.oracle.com:7779/b2b/transportServlet is up and running
    B2B Server
    B2B Servlet is ready to accept messages from the Trading Partner
    RMI Configuration
    (Please make sure these values match the server properties available through EM)
    rmiHost      localhost
    rmiPort      5110
    rmiHostList      null
    rmiPortList      null
    instanceName      IP
    logging      off
    log level      debug
    log file      null
    139.185.21.214 is the IP address of rws60074rems.us.oracle.com
    Regards,
    Praveen

    Hi Praveen,
    Make sure your RMI port in tip.proerty and EM page are same for both B2Bs. Follow Re: Globalchips to Acme Communication Error
    Regards,
    Anuj
    Edited by: Anuj Dwivedi, Infosys on Sep 17, 2009 5:10 PM

  • How do you remove hyperlinks?

    has "Numbers" received an update recently? maybe I missed it. but i can no longer remove hyperlinks from a cell.
    I still want the URL there -- but in plain text format -- but i don't want a working hyperlink. I used to be able to left-click on the cell and a little box came up, where you could amend the text, and remove the link -- nice and easy.
    But when you click on the link now, all it does is open up Safari and takes you straight to the page
    I've highlighted the cell, the text, and searched through all the menus, but there doesn't seem to be any way to remove the hyperlink. All you can do is type the whole thing out again, which can take ages when you've got a long URL
    anyone got any ideas?

    Hello
    If you wish, you may also try a script given at the end of the following thread.
    How to convert hyperlinks to url
    https://discussions.apple.com/thread/4544519?tstart=0
    https://discussions.apple.com/message/20522031
    Regards,
    H
    PS. Under OS X 10.9, you need to change the ruby interpreter at the beginning of main.rb from:
    #!/usr/bin/ruby
    to:
    #!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
    For convenience, here I post the entire revised codes, which can be used under OSX 10.5 through 10.9.
    hyperlink to url.applescript
        convert hyperlink to url in selection in Numbers
        save this as script bundle or application bundle and
        put ruby script in its Contents/Resources with the name used in this script, e.g., main.rb
    _main()
    on _main()
        script o
            property _prompt : "Hyperlink to URL - options:"
            property _options : {"0 : kill links", "1 : kill links but keep styles", "2 : keep links alive"}
            property _default : 0
            -- (1) copy the current selection to clipboard
            tell application "System Events"
                tell process "Numbers"
                    set frontmost to true
                    keystroke "c" using {command down}
                end tell
            end tell
            delay 0.1 -- may need to adjust
            -- (2) convent links to urls by modifying rtf data in clipboard
            -- -- (2.0) accept conversion option
            tell application "Numbers"
                set r to choose from list _options with prompt _prompt default items {_options's item (1 + _default)}
            end tell
            if r is false then error number -128
            set _option to r's item 1's character 1 as integer
                0 = replace links with urls and kill the links discarding links text colour and underline style
                1 = replace links with urls and kill the links preserving links text attributes
                2 = replace links with urls and keep the links alive
            -- -- (2.1) invoke Contents/Resources/main.rb with _option argument
            set rbf to (path to resource "main.rb")'s POSIX path
            do shell script rbf's quoted form & " " & _option
            -- (3) paste the edited rtf to the current selection
            tell application "System Events"
                tell process "Numbers"
                    set frontmost to true
                    keystroke "v" using {command down}
                end tell
            end tell
        end script
        tell o to run
    end _main
    main.rb
    #!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
    # file
    #    main.rb
    # function
    #    convert hyperlinks to urls in rtf data in clipboard
    require 'osx/cocoa'
    include OSX
    def hyperlink_to_url_pboard(option=0)
        #    int option :
        #        0 = replace links with urls and kill the links discarding links text colour and underline style
        #        1 = replace links with urls and kill the links preserving links text attributes
        #        2 = replace links with urls and keep the links alive
        raise ArgumentError, "invalid option: #{option}" unless [0,1,2].include? option
        # get rtf data from clipboard
        pb = NSPasteboard.generalPasteboard
        data = pb.dataForType('public.rtf')
        # make mutable attributed string from rtf data
        docattr = OCObject.new
        mas = NSMutableAttributedString.alloc.objc_send(
            :initWithRTF, data,
            :documentAttributes, docattr)   
        # replace hyperlinks with url strings, optionally preserving or discarding existing attributes
        tr = NSMakeRange(0, mas.length)
        while tr.length > 0
            er = NSRange.new
            url = mas.objc_send(
                :attribute, NSLinkAttributeName,
                :atIndex, tr.location,
                :longestEffectiveRange, er,
                :inRange, tr)
            if url != nil
                if option <= 1
                    # kill the link
                    mas.objc_send(
                        :removeAttribute, NSLinkAttributeName,
                        :range, er)
                end
                if option == 0
                    # remove foreground colour from link
                    mas.objc_send(
                        :removeAttribute, NSForegroundColorAttributeName,
                        :range, er)
                    # remove underline style from link
                    mas.objc_send(
                        :removeAttribute, NSUnderlineStyleAttributeName,
                        :range, er)
                end
                # replace anchor text with url string
                href = url.absoluteString
                mas.objc_send(
                    :replaceCharactersInRange, er,
                    :withString, href)
                # adjust ranges in case href and anchor have different length
                delta = href.length - er.length
                er.length += delta
                tr.length += delta
            end
            tr = NSMakeRange(NSMaxRange(er), tr.length - er.length)
        end
        # clean up modified attributed string
        r = NSMakeRange(0, mas.length)
        mas.fixAttributesInRange(r)
        # make rtf data from mutable attributed string
        data = mas.objc_send(
            :RTFFromRange, r,
            :documentAttributes, docattr)
        # copy rtf data to the clipboard
        pb.objc_send(
            :declareTypes, ['public.rtf'],
            :owner, nil)
        pb.objc_send(
            :setData, data,
            :forType, 'public.rtf')
    end
    # main
    option = ARGV[0].to_i
    hyperlink_to_url_pboard(option)

  • View Column info not displaying in Columns Tab

    Running XP SP2 and SQL Developer 1.5.1 5440
    When looking at views that are using tables from another schema. I don't see any of the columns information. I have DBA role
    In rel 1.1.2.25 2579 I see them just fine. (Both loaded on machine right now)
    Is this a bug or do I have a setting problem?

    Barry,
    As a "disclaimer", the points below are based on my usage of SQL Developer and things that bug me about how it works or doesn't work - I know that there are more important things to fix than a number of these.
    On to the basics ... and the most basic of the basics for a tool like SQL Developer:
    1) Problems with data dictionary queries in navigator or object tabs:
    - Triggers not listed in Table tab if trigger owned by different schema to table owner
    - Index columns not listed in Table tab if index owned by different schema to table owner
    - View columns not listed in View tab if view owned by different schema to current user
    - Dependencies not listed in Table/View tab if other object owned by different schema to object owner
    - Performance of Table Node (outer join added in 1.5.1)
    - there are a lot of other posts about the supplied data dictionary queries not producing the right results and I often find that I am querying the data dictionary directly in a SQL Worksheet for information that should be correct in the navigator/object tabs
    Basic things that I expect to work in a tool like SQL Developer (or to work given that they have been included):
    1) Popup Describe problems
    - schema name is case sensitive, so doesn't find owner.object
    - synonym overrides schema name (OWNER.OBJECT will describe local OBJECT synonym instead of OWNER's object)
    - position based object name selection includes punctuation
    2) Bind variables that work properly in PL/SQL (both Execute Statement and Run Script)
    3) Package decomposition in object navigator doesn't report variables or constants of custom types and lists object.column%type constants as "constant"
    4) Exporting query results re-executes query to display Export dialog - this presents as SQL Developer freezing after selecting the Export menu option for queries that take a long time for first record to appear
    I would use SQL Developer more (or more of SQL Developer) if:
    1) More integrated file based development - I still do the bulk of my object creation (largely PL/SQL and views) editing in Wordpad and running via SQL*Plus largely because I get better error reporting.
    - display the compile message tab when using the compile button for a file
    - show errors doesn't work for views
    2) Running Reports hang SQL Developer - I still have my SQL scripts for my common queries, which I can run through SQL Worksheet in a much friendlier fashion (I can cancel them and they don't hang SQL Dev) than I can run reports
    Problems that detract from the "polish" of SQL Developer, but don't really have a big impact on usage but discourage me from trying to "convert" non-techie TOAD using colleagues:
    1) Multiple TNSNAMES files read - generates multiple entries
    2) Export of long string literals causes ORA-972 error
    3) "Statement Processed" feedback is extremely sensitive to spaces ("create Statement Processed" where two spaces between the create and view keywords) and assumes simple statements ("create unique Statement Processed" or "create or replace force Statement Processed" as examples)
    I think that makes 10 basics to fix (although some as just issues that make the tool look unpolished), however, it does seem as though testing in the following areas could be significantly better:
    1) Regression testing - a number of bugs seem to crop up again after being fixed in earlier versions
    2) Navigator/object tab queries - especially with multi-schema applications (ie Oracle eBusiness Suite) and just generally objects owned by other schemas
    3) Performance with large DBs in terms of object count (ie Oracle eBusiness Suite)
    As a final note, it is my impression that SQL Developer development has been unbalanced in focusing too much on including new functionality (which is good) and not enough on getting existing functionality right (which is better).
    I hope this helps (and wasn't too long) ...
    theFurryOne

  • Problems publishing catalog CCM 2.0

    Hi All,
    I'm trying to publish a procurement catalog in CCM 2.0 I'm receiving the following errors:
    - Error in search index update; discarding existing changes 
    - Index for catalog <catalogid> and locale EN- does not exist
    - Error when deleting TREX metadata for catalog CCM2.0, locale EN-
    I have run TREX_RFC_CREATE_INDEX and everything was ok. Can anyone provide any suggestions?
    Thanks,
    Paula.

    Hi
    do you obtain any other information in report /CCM/CHECK_TREX
    Have you tried SAP Note  923213
    Other possibility, execute report /CCM/CLEANUP_TREX. First with test activate in order to get moer information.
    I hope that helps you.
    Good luck
    Jorge

  • The Configuration Area could not be created (HANA Studio)

    This message is posted in case some else comes across this issue. After installing the SAP Hana Studion, I was continually receiving the following message:
    "The Configuration Area at 'c:\Users\U\.eclipse\org.eclipse.platform_3.5.0_1152700900\configuration' could not be created. Please choose a writable location using the '-configuration' command line option'.
    After trying to mess around with the command line option, I found that I needed to run the Hana Studio as an Administrator. ie, right click on the HANA Studio icon and select 'Run as Administrator' from the context menu.

    If this is a new setup discard existing web application along with site and content database. Recreate the same web application and try provisioning PWA with new databases
    Hrishi Deshpande – Senior Consultant DeltaBahn
    Blog | < |
    LinkedIn
    Please click Mark As Answer; if a post solves your problem or Vote As Helpful if a post has been useful to you.This can be beneficial to other community members reading the thread.

  • Message Retry Count Zero error

    Hi,
    I am sending a Message from one Trading partner to another over ebMS protocol .
    The trading partners are using Weblogic JMS queues as the internal delivery channels.
    when one trading partner is sending message to another, the mesage comes to the receving trading partner with error as "Max retry count for Message is zero".
    I have reffered to one of the thread (Re: FTP retry issue) which says "Can you please update the Retry count and time to acknowledge in the<br />Delivery channel page and update the polling interval in the transport<br />server page as empty? I think the Polling interval value overrides the<br />retry count."
    I have followed this and I am getting a Transport Error.
    Please Help!
    With Thanks & Regards,
    Suhas.

    Hi,
    This is the idc log:
    2008.11.04 at 10:14:52:614: B2BStarter thread: (DEBUG) TransportProperties.TransportProperties():transport_callout_waittime=30;http.receiver.registry_port=5110;port=60700;smtp.receiver.protocol=imap;PROTOCOL_ENDPOINT=null;http.receiver.instance_name=IP;
    2008.11.04 at 10:14:52:615: B2BStarter thread: (DEBUG) initialize TransportReceiver: [BTGS_ebMS_Transport_Server < http > < BTGS >]
    2008.11.04 at 10:14:52:617: B2BStarter thread: (STATUS) [IPT_HttpRecRegisterBegin] HTTPReceiver.init(): Registering HTTP Receiver ...
    2008.11.04 at 10:14:52:618: B2BStarter thread: (STATUS) RMIResponsePort = null
    2008.11.04 at 10:14:53:020: B2BStarter thread: (STATUS) low port = 5110
    2008.11.04 at 10:14:53:022: B2BStarter thread: (STATUS) high port = 5110
    2008.11.04 at 10:14:53:023: B2BStarter thread: (STATUS) [IPT_HttpRecRegisterCompleted] HTTPReceiver.init(): Completed registering HTTP Receiver.
    2008.11.04 at 10:14:55:987: RMI TCP Connection(13)-147.149.200.108: (STATUS) [IPT_HttpRecSendMessageViaCallback] A request is routed by HTTP Receiver to registered listener.
    2008.11.04 at 10:14:58:018: Thread-14: (DEBUG) TransportProperties.TransportProperties():ACTION_NAME=ACTION:rqRequestTroubleReportAmendment;FROMROLE:Consumer;TOROLE:Provider;SERVICE:bcRequestTroubleReportConsumerAmendment_BT_V1;SERVICETYPE:string;;jms.sender.jndi_destination_provider_properties=java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory;java.naming.provider.url=t3://147.149.200.111:53482,147.149.200.111:53484;MSG_TYPE=1;MSG_ID=9395C86B11D66FF77B500000E555D000-1;TO_PARTY_IDENTIFIER=urn:oasis:names:tc:ebXML-cppa:partyid-type:duns#123456789;FROM_PARTY_IDENTIFIER=urn:oasis:names:tc:ebXML-cppa:partyid-type:duns#987654321;jms.sender.jndi_connection_factory_location=weblogic.jws.jms.QueueConnectionFactory;jms.sender.destination_password=******;jms.sender.factory_provider_properties=java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory;java.naming.provider.url=t3://147.149.200.111:53482,147.149.200.111:53484;jms.sender.jndi_destination_location=btgsb2b.distjms.WLI_to_CI_BPS_Cluster_1;jms.sender.is_topic=false;jms.sender.type=bytes;DOCTYPE_NAME=rqRequestTroubleReportAmendment_DocType;FROM_PARTY=BTW;DOCTYPE_REVISION=1.0;TO_PARTY=BTGS;jms.sender.destination_username=weblogic;
    2008.11.04 at 10:14:58:020: Thread-14: (DEBUG) Establishing JMS Connection.
    2008.11.04 at 10:14:58:431: Thread-14: (DEBUG) TransportProperties.TransportProperties():
    2008.11.04 at 10:14:58:433: Thread-14: (DEBUG) TransportProperties.TransportProperties():http.sender.port=80;http.sender.proto=http;http.sender.host=punin1879164268.sid.bt.com;http.sender.path=/b2b/transportServlet;
    2008.11.04 at 10:14:58:434: Thread-14: (DEBUG) Discard Existing Cookies for CurrentThreadContext = Thread[Thread-14,5,main]
    2008.11.04 at 10:14:58:435: Thread-14: (DEBUG) Timeout = 60000
    2008.11.04 at 10:14:58:436: Thread-14: (DEBUG) Basic authentication is not used due to one of security parameters not set. Make sure username, password, and realm are set in delivery channel.
    2008.11.04 at 10:14:58:437: Thread-14: (DEBUG) http.sync = null
    2008.11.04 at 10:14:58:438: Thread-14: (DEBUG) Number of headers to be added is 7
    2008.11.04 at 10:14:58:932: Thread-14: (DEBUG) [IPT_HttpSendResponseStatusCode] HTTP Response status code: 204
    2008.11.04 at 10:14:58:934: Thread-14: (DEBUG) [IPT_HttpSendResponseMessage] HTTP Response message: .
    Regards,
    Suhas.

Maybe you are looking for

  • Final cut WONT quit!

    I haven't come across this before... FCP had been doing weird things, the Log and Capture window won't close etc, and now I can't quit FCP. "Quit" is grayed out in the drop down menu. Applekey Q does nothing, and control clicking in the dock WONT bri

  • Hide components in the PLD for BOM

    Hi I have created a sales BOM and on the print layout i do not want to have the individual components displayed. I just need only the parent item to be displayed with the price In doing this in the bill of material screen i have checked the box "hide

  • Web Dynpro ALV grid column colour

    Hi, I have tried to set the colour of a column for my web dynpro alv with the below code but it the colour for this column has not changed - it seems to remain the standard colour.  Is there something else i need to do?   DATA: lt_columns TYPE salv_w

  • System command Correspondence to HTBASIC

    I am creating Labview programs  corresponding to HTBASIC  programs. I cannot find some system level commands such as ABORT 7. Does there exist a correspondence list?

  • What's wrong with cursor, can't make changes

    I cannot find information as to why the cursor is flashing on one line and making changes on the line above. Standard text tool used.