Conditional execution of main DataTemplate

Hi All,
I am working on a Report in BI Publisher where the Data Model consists of three data sets of type-data template which are as below:
1) Before Trigger
2) Main DataTemplate
3) After Trigger
Now, I need to conditionally execute the main DataTemplate, depending on the return value of a function called in "Before Trigger". So, when function returns true, "Main DataTemplate" code is to be included in execution, and when it returns false we need only the code in "After Trigger" to be executed.
Please guide me in achieving the above.
Thanks
Actual Problem- Elaborated:-
In a report, first we need to check if the table used in code exists. In case it does, actual report is to be generated, and in case the table does not exist an error message is to be displayed as pdf output.
To achieve this we have a function in "Before Trigger" that returns true/false based on table's existence. Now we need to execute the report code depending on the outcome of this function.
For value = true, normal execution of report is to take place
For value = false, code of main datatemplate needs to be bypassed, and flow to "After Trigger" so as to avoid BI Publisher error "table or view does not exist".
The display of report/customised error message as output can be handled at the rtf level using sub-templates and if-else statements.
Please let me know in case you need some other details from my end.

Hi,
I am not sure what kind of "Conditional Execution" you are looking for.
Syndication Server is based on the "Port" concept and we can associate an already saved Syndicator Map that also includes your Search criteria. So, the syndication server simply executes this map at a defined interval and places the file in the appropriate folder of the "Port". But, Syndication server cannot determine the map to be executed based on a condition and it also cannot determine search criteria within a map based on a condition.
If your requirement is to execute a map based on a condition, I suggest you to use "Syndicator Batch" commands and use a program that triggers appropriate map based on this condition.
Hope this helps,
Regards,
Rajani

Similar Messages

  • Apply MRU conditional execution

    Hi!
    I am using a tabular form and would like to update the rows (using ApplyMRU) only if two values in items P2_SUM_PLN and P2_FIKSNI_BR are equal.
    I have tried by adding a condition to the process but it seems that the process does not fetch the values of the items.
               e.g.  Value of Item / Column in Exp 1 = Exp 2   
    Exp 1 = P2_FIKSNI_BR
    Exp 2 = &P2_SUM_PLN.
    The same condition works as a Dynamic Action.
    The value of the number in P2_FIKSNI_BR is calculated via a SQL command, and the value of P2_SUM_PLN via a JavaScript.
    Can anyone help me with this?
    Thanks in advance!

    Hi,
    I am not sure what kind of "Conditional Execution" you are looking for.
    Syndication Server is based on the "Port" concept and we can associate an already saved Syndicator Map that also includes your Search criteria. So, the syndication server simply executes this map at a defined interval and places the file in the appropriate folder of the "Port". But, Syndication server cannot determine the map to be executed based on a condition and it also cannot determine search criteria within a map based on a condition.
    If your requirement is to execute a map based on a condition, I suggest you to use "Syndicator Batch" commands and use a program that triggers appropriate map based on this condition.
    Hope this helps,
    Regards,
    Rajani

  • Conditional Execution of Validation Rule defined in EO

    Hi All
    I'm developing a web application using jdeveloper 11.1.0.3
    I have a drop down list with some values. There is a compare validation rule defined in EO object for an attribute. But I dont want to fire this validation only when a certain value from the drop down list is selected.
    When we go to edit option of this validation rule there is a tsb called validation execution. I want to know how to fill conditional execution area to full fill my problem

    You can create a Groovy expression in the 'Validation Execution' tab to return true based on which the validation rule will be applied. The new value of the attribute can be accessed via the attribute context validation variable 'newValue'
    Check this blog for more details on validation rules:
    http://blogs.oracle.com/workingwithadf/2010/11/adf-bc_business_rulesvalidation_eovo.html
    hope this helps.
    Regards,
    ~K

  • Conditional execution of syndication server

    I have a requirement for conditional execution of syndication server.  Is it possible to automate syndication server to run based on a predefined search and Map. I know we can do using syndication client but can we do the same using syndication server.  Thank you in advance.
    Regards
    Bala Pochareddy

    Hi,
    I am not sure what kind of "Conditional Execution" you are looking for.
    Syndication Server is based on the "Port" concept and we can associate an already saved Syndicator Map that also includes your Search criteria. So, the syndication server simply executes this map at a defined interval and places the file in the appropriate folder of the "Port". But, Syndication server cannot determine the map to be executed based on a condition and it also cannot determine search criteria within a map based on a condition.
    If your requirement is to execute a map based on a condition, I suggest you to use "Syndicator Batch" commands and use a program that triggers appropriate map based on this condition.
    Hope this helps,
    Regards,
    Rajani

  • De-allocate memory after execution of main application

    Hi All,
    My application (Exe) takes 5MB on system RAM when it is just launched (will be in idle loop). It executes test cases that are available in an Excel file, upon a button press, and goes into idle after completing the execution. During test execution it collects lot of data from instruments and processes it. Everything looks fine till now.
    The problem is, after the execution it holds around 250 MB of RAM because of the data handled during the test. So I am trying to figureout a way to deallocate all unused memory related to the application.
    Note: I know about "Request Deallocation" LabVIEW primitive. To make use of it I have to place it on all subVIs to deallocate memory at the end of execution. Even then memory allocated in my main statemachine will remain allocated.
    I need to deallocate those memory and bring it to the state of '5MB initial condition' as mentioned above.
    Please share your ideas.
    Anandelamaran Duraisamy,
    Senior Project Engineer,
    Soliton Technologies (P) Ltd,
    www.solitontech.com

    LV attempts to help out by managing your memory in your behalf. As already noted above, allocating is something that should be avoided so LV will allocate and keep memory. It will not give it up until all chances of reusing that memory are gone i.e. when the app exits.
    You could implement you "test" as a VI that is dynamically called executed and then closed. When the dynamic VI is clsoed its resources will be released and the memory freed up.
    But that is a last ditch approach that I call on only when I can't "do it right". By doing it "right" I am refering to constructing your code such that it re-uses memory buffers by working in-place with all large data strucutres. DVR's can help you "work inplace" as well as Action Engines.
    If you are intersted in reading more about performance issue in LV I suggest you look over the threads linked in this Tag Cloud where I have collected links for a lot of very good threads discussing performance. If you give those thread a good study and take the time to understand the issues you will be well on your way to becoming a LV Performance master.
    Have fun!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Subquery conditional execution using cbo

    hellou
    how i do for execute a subquery conditionally, using the cbo??
    i got an example:
    create table table1 AS
    SELECT * FROM (
        SELECT 1 id, 'a' boss FROM dual
       union all
        SELECT 3 id, 'b' boss FROM dual
       union all
        SELECT 5 id, 'a' boss FROM dual
       union all
        SELECT 7 id, 'b' boss FROM dual
       union all
        SELECT 9 id, 'a' boss FROM dual
    create index idx_table1 on table1(boss, id)
    create table table2 AS
    SELECT * FROM (
        SELECT 2 id, 'b' boss FROM dual
       union all
        SELECT 4 id, 'a' boss FROM dual
       union all
        SELECT 6 id, 'b' boss FROM dual
       union all
        SELECT 8 id, 'a' boss FROM dual
       union all
        SELECT 10 id, 'b' boss FROM dual
    create index idx_table2 on table2(boss, id)
    CREATE OR REPLACE FUNCTION print_hi
        isb in varchar2
    return number
    IS
    BEGIN
        dbms_output.put_Line(isb);
        return 0;
    END;
    -- the query !!!!!!!
    with data AS
        SELECT
        FROM (
            -- subquery #1
            SELECT
                1 query_name,
                id pibot,
                boss
            FROM table1
            WHERE print_hi(id) = 0
           union all
            -- subquery #2
            SELECT
                2 query_name,
                id pibot,
                boss
            FROM table2
    SELECT
        pibot + query_name / 10 pibot
    FROM data
    WHERE 1 = 1
        AND boss = :boss
        AND (
            query_name = :q
            AND pibot > :p
           OR query_name > :q )
        AND rownum <= 3i want than only the query #2 be executed.
    the query #1 print data in the screen when is executed (for the function print_hi).
    now i execute the query with the variables data as:
    boss = 'a'
    q = 2
    p = 0
    when i execute the query using rules, then not print anything in the screen.
    when i execute the query using costs, then print 1 5 9 in the screen. this means than the query #1 is being executed when this should not
    help .. tx
    SELECT * FROM v$version
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - Prod
    PL/SQL Release 10.2.0.5.0 - Production
    CORE10.2.0.5.0Production
    TNS for Linux: Version 10.2.0.5.0 - Production
    NLSRTL Version 10.2.0.5.0 - Production

    As often is, the predicates section of the execution plan is quite revealing on this one.
    Take your original query
    explain plan for
    with data AS
    (SELECT *
    FROM (-- subquery #1
           SELECT 1 query_name,id pibot,boss
           FROM table1
           WHERE print_hi(id) = 0
           union all
            -- subquery #2
           SELECT 2 query_name,id pibot,boss
            FROM table2))
    SELECT pibot + query_name / 10 pibot
    FROM   data
    WHERE  1 = 1
    AND    boss = :boss
    AND   (query_name = :q
    AND    pibot > :p
    OR     query_name > :q )
    AND    rownum <= 3;
    select * from table(dbms_xplan.display);gives
    | Id  | Operation           | Name       | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT    |            |     2 |    38 |     2   (0)| 00:00:01 |
    |*  1 |  COUNT STOPKEY      |            |       |       |            |          |
    |   2 |   VIEW              |            |     2 |    38 |     2   (0)| 00:00:01 |
    |   3 |    UNION-ALL        |            |       |       |            |          |
    |*  4 |     INDEX RANGE SCAN| IDX_TABLE1 |     1 |    16 |     1   (0)| 00:00:01 |
    |*  5 |     INDEX RANGE SCAN| IDX_TABLE2 |     1 |    16 |     1   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter(ROWNUM<=3)
       4 - access("BOSS"=:BOSS)
           filter("PRINT_HI"(TO_CHAR("ID"))=0 AND (1>TO_NUMBER(:Q) OR
                  1=TO_NUMBER(:Q) AND "ID">TO_NUMBER(:P)))
       5 - access("BOSS"=:BOSS)
           filter(2>TO_NUMBER(:Q) OR 2=TO_NUMBER(:Q) AND "ID">TO_NUMBER(:P))Assuming that the FILTER logic in STEP 4 is followed to order, it's not then possible with this query as is to short-circuit the evaluation of PRINT_HI as it is evaluated first.
    When you make a change (just to q not necessarily to boss as well)
    from
    query_name = :qto
    query_name = 2You'll hopefully notice the difference in predicate evaluation with the extra filter step:
    | Id  | Operation             | Name       | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT      |            |     2 |    38 |     2   (0)| 00:00:01 |
    |*  1 |  COUNT STOPKEY        |            |       |       |            |          |
    |   2 |   VIEW                |            |     2 |    38 |     2   (0)| 00:00:01 |
    |   3 |    VIEW               |            |     2 |    38 |     2   (0)| 00:00:01 |
    |   4 |     UNION-ALL         |            |       |       |            |          |
    |*  5 |      FILTER           |            |       |       |            |          |
    |*  6 |       INDEX RANGE SCAN| IDX_TABLE1 |     1 |    16 |     1   (0)| 00:00:01 |
    |*  7 |      INDEX RANGE SCAN | IDX_TABLE2 |     1 |    16 |     1   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter(ROWNUM<=3)
       5 - filter(1>TO_NUMBER(:Q))
       6 - access("BOSS"=:BOSS)
           filter("PRINT_HI"(TO_CHAR("ID"))=0)
       7 - access("BOSS"=:BOSS)
           filter("ID">TO_NUMBER(:P) OR 2>TO_NUMBER(:Q))

  • Stop the execution of main for 2 more seconds

    hi,
    I would like to stop the execution of the main program for few seconds and resume again.
    i tried
    try
                        this.wait(90000000);
                   catch(Exception e)
    but did not work
    could some give any other suggestions
    thanks
    jag

    Also, it's better to catch the specific Exception that the Thread.sleep method throws.
    (InterruptedException)
    And it's usually good to output any exception messages, so you can see what's going on.
    Instead of empty catch brackets, it's better to write e.printStackTrace();
    (where e is the name of your caught Exception...)
    cheers!
    lutha

  • Execution in main thread...???

    I am running out of ideas.....
    I have the following code. Basically, the user is asked whether he/she wants to save the work when the Back button in the app is tapped.:
    -(IBAction) backAction:(id) sender {
    [self askToSave];
    [self cleanup]; *<------ Deletes work*
    -(void) askToSave {
    UIAlertView *alert;
    alert = [[UIAlertView alloc] initWithTitle:@"" message:@"Save status?"
    delegate:self cancelButtonTitle:@"No"
    otherButtonTitles:@"Yes", nil];
    [alert show];
    [alert release];
    // When the user taps the Yes button, the control jumps here...
    - (void)alertView:(UIAlertView *)alertView didDismissWithButtonIndex:(NSInteger)buttonIndex {
    if (buttonIndex == 0) { // == 0 = Cancel option is selected
    else if (buttonIndex == 1) { // == 1 = Save Work
    NSLog(@"YES pressed......");
    [self saveWork]; *<------ Saves work*
    During the execution, the UI presents the Alert dialog with No, Yes buttons. At this point, I thought that the execution will pause momentarily to let the user tap one of the buttons.
    In my testing, when I am waiting to tap the Yes button, I see that the cleanup method is already executed.
    1. Is this normal behavior? All this is happening on the main thread!!
    2. If (by any reason) this is normal behavior, how can this be tackled?
    Thanks in advance.....
    Sam

    Hi,
    1) Yes, this is normal behavior.
    2) The default way to handle this is:
    - Present AlertView and do nothing right after it.
    - In the AlertView delegate method didDismissWithButtonIndex call the apropriate method depending on which button was pressed.
    In Your case i guess you just need to move
    [self cleanup];
    to
    - (void)alertView:(UIAlertView *)alertView didDismissWithButtonIndex:(NSInteger)buttonIndex {
    if (buttonIndex == 0) { // == 0 = Cancel option is selected
    [self cleanup];
    else if (buttonIndex == 1) { // == 1 = Save Work
    NSLog(@"YES pressed......");
    [self saveWork];
    Dirk

  • Sqlplus and conditional execution

    I would like to write a sql script in which:
    if there is a table TAB1
    then compile a PROCEDURE
    else exit without errors.
    The script must be executed using SQL*Plus.
    Can I do that?

    Hi,
    Yes, you can do that. It's not very elegant, however.
    See this thread:
    Re: Conditional Exit from the script

  • Project-wide Debug flags and conditional execution

    I've programmed in literally dozens of languages, and an still relatively new to Objective-C and even some C programming techniques. In Perl, for example, I often create a module-wide or project wide debug flag which may be a single boolean true or false or may be a binary flag word with each bit designated for a particular section or protocol I'm working on.
    Then I only need to set the debug variable or flag once to enable a slew of debugging code or messages, and can easily turn them all on or just selected ones depending on the project.
    In the code I would use some combination of:
    $debug = -1;
    print "some text" if $debug;
    if ( $debug ) {
    print "some text";
    $debug_state = 1;
    $debug_files = 2;
    $debug_images = 4;
    $debug_all = 127;
    $debug = $debug_state & $debug_images;
    print "status: ", $status, " flags: ", flags, "
    " if ( $debug & $debug_state );
    Yes, this is all runtime based, and I can see where it may slow down a production program if the debugging code were inside code which was executed many many times in a short period, but I often will leave this kind of code in production versions for things that should not happen, so that if somehow it does happen due to data or hardware fault, a nice audit trail exists to follow.
    Yes, I know about NSLog and printf. The point here is whether to have to endlessly modify code with comment lines into active and dormant lines of code, or to build it once, and forget it except when it needs to be enabled, but it can be enabled without MODIFYING any code.
    How many times does// some code here
    other code
    become
    some code here
    / other code
    instead of
    some code here
    // other codewhen editing?
    My question is, is there some facility in Objective-C which already does this, either by library or framework? Also, I'd like to know how those of you who consider yourselves experienced in these kinds of things do the same in Objective-C or regular C, gcc, etc.

    reststop wrote:
    My question is, is there some facility in Objective-C which already does this, either by library or framework?
    The typical way to do this is via a macro that is defined only if a compile-time debug flag is defined. You don't have to change any code, but then the debug statements do not exist in release mode.
    You can keep the debug messages in your release code if you want to. The principle is the same. Instead of macros, use a global debug variable and a function. If the debug variable isn't set, the function just returns. If you are stickler about such things, you can create a singleton object.
    Another option is to use syslog functions and use LOG_DEBUG.

  • Material exchane ,copy pricing and conditions from main item to sub item.

    Hi All,
    We are using parts exchange/interchangeability in the transaction ME22N,
    While using ME22N we are exchanging  main item with interchangeable part and while doing so we want to copy pricing and conditions from main item to sub item.
    But its not happening.
    As per sap help its possible, details describe below.
    http://help.sap.com/erp2005_ehp_04/helpdata/en/c2/0a5288b77d11d3bcce00105ab03aee/content.htm
    Price Determination by Copying from Main Item
    In the case of price determination by copying from the main item, the net price of the originally ordered part is still used for the superseding part in a part exchange.
    The system copies all conditions from the main item to all sub-items and takes into account the order quantity for the main item when calculating scale prices. It does not take into account the conditions and scale prices that exist for the interchangeable part.
    You cannot change the conditions, which have been copied from the main item, at sub-item level. It is possible, however, to define additional conditions for each sub-item.
    Prerequisites
    A calculation schema, which can be altered on an individual basis in Customizing, has been supplied for the price determination.
    In the vendor master record, you have set the schema group 09 (interchangeable material).
    But in customizing I didnu2019t find value 09 for schema group .
    Can any buddy through some light on missing pieces which need to be set?
    Thanks
    Regards
    Ritesh

    Hi,
    Can you check few more things and tell me?
    - In this exit, does XVBPA and XVBAP contains all the line items. ( main and sub items ).
    - In Sales order creation time, do these table have VBELN populated when this exit triggers.
    - If you modify XVBPA or XVBAP in this exit, do they get overwritten after that.
    Try this code. See if it works.  Let me know if you still have a problem.
    DATA: wa_hvbpa LIKE vbpa,
          wa_xvbpa like vbpa.
    CLEAR: wa_hvbpa, wa_xvbpa.
    * check if HVBAP and VBAP line items are not same
    IF vbap-posnr <> hvbap-posnr.
    * read the ****-to partner from main-item
      READ TABLE xvbpa INTO wa_hvbpa WITH KEY posnr = hvbap-posnr
                                              parvw = 'WE'.
      IF sy-subrc = 0.
    *   read the line item data for sub-item based on main item
        READ TABLE xvbap WITH KEY posnr = vbap-posnr
                                  uepos = hvbap-posnr.
    * See if current line is the child of that BoM parent
        IF sy-subrc = 0.
          MOVE wa_xvbpa-kunnr TO xvbpa-kunnr.
          MOVE xvbap-vbeln TO wa_xvbpa-vbeln.
          MOVE xvbap-posnr TO wa_xvbpa-posnr.
          MOVE 'WE' TO wa_xvbpa-parvw.
          MODIFY vbpa FROM wa_xvbpa.
        ENDIF.
      ENDIF.
    ENDIF.
    Regards,
    RS

  • Filter condition not working when Navigating from Main report to detail

    Hello,
    I have one report in OBIEE 10.3.4. Below is the filter condition used in Main report:-
    (Customer Secondary Organization is equal to / is in BMS OTHER C
    AND Customer Tertiary Organization is equal to / is in S&FO )
    OR Customer Secondary Organization is equal to / is in MKTG
    Also in my detail report I am using the same filter conditions:-
    (Customer Secondary Organization is equal to / is in BMS OTHER C
    AND Customer Tertiary Organization is equal to / is in S&FO)
    OR Customer Secondary Organization is equal to / is in MKTG
    Now when I am navigating from Main report to Detail report, then this filter condition is getting overridden by below condition:-
    Customer Secondary Organization is equal to MKTG
    and Customer Tertiary Organization is equal to S&FO
    or Customer Secondary Organization is equal to MKTG
    What I noticed is If I rearrange the filters and make it as below:-
    (Customer Secondary Organization is equal to / is in MKTG
    AND Customer Tertiary Organization is equal to / is in S&FO)
    OR Customer Secondary Organization is equal to / is in BMS OTHER C
    Then I am getting the filter in detail report as:-
    Customer Secondary Organization is equal to BMS OTHER C
    and Customer Tertiary Organization is equal to S&FO
    or Customer Secondary Organization is equal to BMS OTHER C
    It is taking Secondary Organization which is 2nd one in the main report.
    Can anyone please help me on this.
    Thank You,
    Shivam Saxena

    Hi,
    What you can try is refer the filte condition in the main report to the detailed report with the option--> Filter based on another request.
    Or you try creating another intermediate report which will refer the main report filters and pass the filters to the detailed report.
    Hope this helps.
    Regards
    MuRam

  • Run External application without Exiting main application

    Hi,
    I am trying to implement a function that executes the external program from within my java application. I am using windows xp. I had googled for this and found some code but so far I am able to run the application in a condition if my main application exits. Instead I want to run the application without exiting my main application. How can I do that:
    Code I am using is:
    ========================
    try{
    Runtime.getRuntime().exec("external program");
    System.exit(0);
    catch (Exception err){
    err.printStackTrace();
    System.exit(-1);
    =========================
    my problem is I cannot run the external program without the line "System.exit(0)". If I remove that line, the external program only starts after I exit my main java application. Is there a way to run the external application without leaving the main application?
    By the way I am using the latest version of JDK 6 update 2 and Netbeans 5.5.1
    Thanks

    I tried and I tried and I couldn't make the same problem occur unless I specfically had a long task execute BEFORE calling the runtime command. See the code below:
    I tried a bunch of things, including having a GUI run before the Runtime call, after the runtime call. Neither affected the movie from being played.
    I tried with different versions of the runtime command, none of it made a problem.
    I tried running the application with a long task that would keep the main thread busy for a while AFTER I launched mplayer - no problem.
    The only thing that made the app work the way you describe was when I built the long task that keeps the main thread active for a while BEFORE I launched mplayer (which is the state of the code as I pasted it below).
    So my guess is that you have a single threaded application and you add the call to mplayer at the very end of your program's execution - thus it doesn't get called until the last thing. My suggestions:
    1) Move the call to the Start of your code, not the end
    2) Move your other work to a new thread so that it can be kicked off without holding the main thread in check.
    package movies;
    import inheritance.BaseWindow;
    import java.util.*;
    import java.io.*;
    class StreamGobbler extends Thread
        InputStream is;
        String type;
        OutputStream os;
        StreamGobbler(InputStream is, String type)
            this(is, type, null);
        StreamGobbler(InputStream is, String type, OutputStream redirect)
            this.is = is;
            this.type = type;
            this.os = redirect;
        public void run()
            try
                PrintWriter pw = null;
                if (os != null)
                    pw = new PrintWriter(os);
                InputStreamReader isr = new InputStreamReader(is);
                BufferedReader br = new BufferedReader(isr);
                String line=null;
                while ( (line = br.readLine()) != null)
                    if (pw != null)
                        pw.println(line);
                    System.out.println(type + ">" + line);   
                if (pw != null)
                    pw.flush();
            } catch (IOException ioe)
                ioe.printStackTrace(); 
    public class MyMainClass
        public static void main(String args[]) throws InterruptedException
             //This is just a GUI as a test
            BaseWindow bw = new BaseWindow();
            bw.show();
            //Keep App Running for a while
            int count = 0;
            while (count < 200) {
                 Thread.sleep(20);
                 count++;
                 System.err.println(count);
            if (args.length != 1)
                System.out.println("USAGE java movies.MyMainClass \"<movie to play>\"");
                System.exit(1);
            try
                Runtime rt = Runtime.getRuntime();
                //String[] cmds = new String[] { "cmd", "/c", "C:\\Mplayer\\mplayer.exe", args[0]};
                //String[] cmds = new String[] { "C:\\Mplayer\\mplayer.exe", args[0]};
                //Process proc = rt.exec(cmds);
                Process proc = rt.exec("C:\\Mplayer\\mplayer.exe "+args[0]);
                // any error message?
                StreamGobbler errorGobbler = new
                    StreamGobbler(proc.getErrorStream(), "ERROR");           
                // any output?
                StreamGobbler outputGobbler = new
                    StreamGobbler(proc.getInputStream(), "OUTPUT");
                // kick them off
                errorGobbler.start();
                outputGobbler.start();
                //Keep App Running for a while
    //            int count = 0;
    //          while (count < 2000000) {
    //                 Thread.sleep(200);
    //                 count++;
    //                 System.err.println(count);
                // any error???
                int exitVal = proc.waitFor();
                System.out.println("ExitValue: " + exitVal);
            } catch (Throwable t)
                t.printStackTrace();
    }I will restate myself:
    "I was not able to repeat the problem, except as described, as long as I took the hints mentioned in the article I posted into account and actually put them into action."
    Of course, as soon as I ignored those hints, I was able to reproduce the error described above quite easily in all the different tests I made... But I guess the OP implemented those fixes, right? He did say he read the article...
    Message was edited by:
    stevejluke

  • GNOME Fails to start - Polkit? Main.js? - Receive 'Oops' message.

    Been using Arch for years but this is my first problem surprisingly so posting it in this Newbies section.
    I have MATE, KDE, and FLUXBOX working fine as desktop environments for years. Thought I would give GNOME a try and no matter what I've tried I cannot get it working. All I get is a sad face with an 'OOPS' message on screen. Although I am prompted to enter my WiFi password presumably from NetworkManager. None of the errors listed below turn up much on Google so I thought I'd turn to the community. Any help getting GNOME working correctly would be very much appreciated.
    -- Logs begin at Mon 2014-06-09 18:04:18 BST. --
    Jan 19 14:26:50 glow lightdm[1574]: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
    Jan 19 14:26:50 glow systemd-logind[432]: New session c4 of user lightdm.
    Jan 19 14:26:50 glow org.a11y.Bus[1582]: Activating service name='org.a11y.atspi.Registry'
    Jan 19 14:26:50 glow org.a11y.Bus[1582]: Successfully activated service 'org.a11y.atspi.Registry'
    Jan 19 14:26:50 glow org.a11y.atspi.Registry[1588]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
    Jan 19 14:26:50 glow systemd-logind[432]: Removed session c1.
    Jan 19 14:26:51 glow NetworkManager[422]: <warn> Could not get scan request result: Scan request rejected
    Jan 19 14:26:59 glow login[1524]: pam_unix(login:session): session opened for user cellardoor by LOGIN(uid=0)
    Jan 19 14:26:59 glow systemd-logind[432]: New session c5 of user cellardoor.
    Jan 19 14:26:59 glow login[1524]: LOGIN ON tty3 BY cellardoor
    Jan 19 14:27:16 glow org.a11y.Bus[1718]: Activating service name='org.a11y.atspi.Registry'
    Jan 19 14:27:16 glow org.a11y.Bus[1718]: Successfully activated service 'org.a11y.atspi.Registry'
    Jan 19 14:27:16 glow org.a11y.atspi.Registry[1725]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
    Jan 19 14:27:16 glow gnome-keyring-daemon[1735]: couldn't access control socket: /run/user/1000/keyring/control: No such file or directory
    Jan 19 14:27:16 glow gnome-session[1714]: ** Message: couldn't access control socket: /run/user/1000/keyring/control: No such file or directory
    Jan 19 14:27:16 glow gnome-session[1714]: SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
    Jan 19 14:27:16 glow gnome-session[1714]: GPG_AGENT_INFO=/run/user/1000/keyring/gpg:0:1
    Jan 19 14:27:16 glow gnome-session[1714]: SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
    Jan 19 14:27:16 glow rtkit-daemon[833]: Successfully made thread 1753 of process 1753 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level -11.
    Jan 19 14:27:16 glow rtkit-daemon[833]: Supervising 2 threads of 2 processes of 1 users.
    Jan 19 14:27:16 glow pulseaudio[1753]: Daemon already running.
    Jan 19 14:27:16 glow dbus[425]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service'
    Jan 19 14:27:16 glow dbus[425]: [system] Successfully activated service 'org.freedesktop.hostname1'
    Jan 19 14:27:16 glow dbus[425]: [system] Activating via systemd: service name='org.freedesktop.locale1' unit='dbus-org.freedesktop.locale1.service'
    Jan 19 14:27:16 glow dbus[425]: [system] Successfully activated service 'org.freedesktop.locale1'
    Jan 19 14:27:16 glow gnome-session[1714]: (gnome-shell:1773): Gjs-WARNING **: JS ERROR: Error: Requiring Polkit, version none: Typelib file for namespace 'Polkit' (any version) not found
    Jan 19 14:27:16 glow gnome-session[1714]: @resource:///org/gnome/shell/ui/endSessionDialog.js:28
    Jan 19 14:27:16 glow gnome-session[1714]: @resource:///org/gnome/shell/ui/main.js:15
    Jan 19 14:27:16 glow gnome-session[1714]: @<main>:1
    Jan 19 14:27:16 glow gnome-session[1714]: ** Message: Execution of main.js threw exception: JS_EvaluateScript() failed
    Jan 19 14:27:16 glow gnome-session[1714]: gnome-session[1714]: WARNING: App 'gnome-shell.desktop' exited with code 1
    Jan 19 14:27:16 glow gnome-session[1714]: WARNING: App 'gnome-shell.desktop' exited with code 1
    Jan 19 14:27:17 glow gnome-session[1714]: (gnome-shell:1790): Gjs-WARNING **: JS ERROR: Error: Requiring Polkit, version none: Typelib file for namespace 'Polkit' (any version) not found
    Jan 19 14:27:17 glow gnome-session[1714]: @resource:///org/gnome/shell/ui/endSessionDialog.js:28
    Jan 19 14:27:17 glow gnome-session[1714]: @resource:///org/gnome/shell/ui/main.js:15
    Jan 19 14:27:17 glow gnome-session[1714]: @<main>:1
    Jan 19 14:27:17 glow gnome-session[1714]: ** Message: Execution of main.js threw exception: JS_EvaluateScript() failed
    Jan 19 14:27:17 glow gnome-session[1714]: WARNING: App 'gnome-shell.desktop' exited with code 1
    Jan 19 14:27:17 glow gnome-session[1714]: WARNING: App 'gnome-shell.desktop' respawning too quickly
    Jan 19 14:27:17 glow gnome-session[1714]: gnome-session[1714]: WARNING: App 'gnome-shell.desktop' exited with code 1
    Jan 19 14:27:17 glow gnome-session[1714]: gnome-session[1714]: WARNING: App 'gnome-shell.desktop' respawning too quickly
    Jan 19 14:27:17 glow gnome-session[1714]: Unrecoverable failure in required component gnome-shell.desktop
    Jan 19 14:27:17 glow fingerprint-polkit-agent[1806]: Got "debug" argument.
    Jan 19 14:27:17 glow fingerprint-polkit-agent[1806]: started.
    Jan 19 14:27:17 glow gnome-session[1714]: (uint32 1,)
    Jan 19 14:27:17 glow gnome-session[1714]: Entering running state
    Jan 19 14:27:17 glow gnome-session[1714]: Failed to play sound: File or data not found
    Jan 19 14:27:17 glow gnome-session[1714]: New PolkitAgentListener 0xb637a0
    Jan 19 14:27:17 glow gnome-session[1714]: Adding new listener PolkitQt1::Agent::Listener(0x7fff29d587e0) for 0xb637a0
    Jan 19 14:27:17 glow org.gnome.zeitgeist.Engine[1718]: ** (zeitgeist-datahub:1857): WARNING **: zeitgeist-datahub.vala:226: Unable to get name "org.gnome.zeitgeist.datahub" on the bus!
    Jan 19 14:27:17 glow polkitd[433]: Registered Authentication Agent for unix-session:c5 (system bus name :1.90 [/usr/lib/fingerprint-gui/fingerprint-polkit-agent -d], object path /fingerprintgui/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8)
    Jan 19 14:27:17 glow fingerprint-polkit-agent[1806]: Listener "/fingerprintgui/PolicyKit1/AuthenticationAgent" registered.
    Jan 19 14:27:17 glow NetworkManager[422]: <info> Auto-activating connection 'The Promised LAN'.
    Jan 19 14:27:17 glow NetworkManager[422]: <info> Activation (wlp3s0) starting connection 'The Promised LAN'
    Jan 19 14:27:17 glow NetworkManager[422]: <info> Activation (wlp3s0) Stage 1 of 5 (Device Prepare) scheduled...
    Jan 19 14:27:17 glow NetworkManager[422]: <info> Activation (wlp3s0) Stage 1 of 5 (Device Prepare) started...
    Jan 19 14:27:17 glow NetworkManager[422]: <info> (wlp3s0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
    Jan 19 14:27:17 glow NetworkManager[422]: <info> Activation (wlp3s0) Stage 2 of 5 (Device Configure) scheduled...
    Jan 19 14:27:17 glow NetworkManager[422]: <info> Activation (wlp3s0) Stage 1 of 5 (Device Prepare) complete.
    Jan 19 14:27:17 glow NetworkManager[422]: <info> Activation (wlp3s0) Stage 2 of 5 (Device Configure) starting...
    Jan 19 14:27:17 glow NetworkManager[422]: <info> (wlp3s0): device state change: prepare -> config (reason 'none') [40 50 0]
    Jan 19 14:27:17 glow NetworkManager[422]: <info> Activation (wlp3s0/wireless): access point 'The Promised LAN' has security, but secrets are required.
    Jan 19 14:27:17 glow NetworkManager[422]: <info> (wlp3s0): device state change: config -> need-auth (reason 'none') [50 60 0]
    Jan 19 14:27:17 glow NetworkManager[422]: <info> Activation (wlp3s0) Stage 2 of 5 (Device Configure) complete.
    Jan 19 14:27:17 glow org.freedesktop.thumbnails.Cache1[1718]: (tumblerd:1887): tumbler-WARNING **: Failed to load plugin "tumbler-raw-thumbnailer.so": libopenrawgnome.so.1: cannot open shared object file: No such file or directory
    Jan 19 14:27:17 glow org.freedesktop.thumbnails.Cache1[1718]: (tumblerd:1887): tumbler-WARNING **: Failed to load plugin "tumbler-ffmpeg-thumbnailer.so": libffmpegthumbnailer.so.4: cannot open shared object file: No such file or directory
    Jan 19 14:27:17 glow gnome-session[1714]: Traceback (most recent call last):
    Jan 19 14:27:17 glow gnome-session[1714]: File "<frozen importlib._bootstrap>", line 2158, in _find_spec
    Jan 19 14:27:17 glow gnome-session[1714]: AttributeError: 'DynamicImporter' object has no attribute 'find_spec'
    Jan 19 14:27:17 glow gnome-session[1714]: During handling of the above exception, another exception occurred:
    Jan 19 14:27:17 glow gnome-session[1714]: Traceback (most recent call last):
    Jan 19 14:27:17 glow gnome-session[1714]: File "/usr/share/system-config-printer/applet.py", line 45, in <module>
    Jan 19 14:27:17 glow gnome-session[1714]: from gi.repository import Notify
    Jan 19 14:27:17 glow gnome-session[1714]: File "/usr/lib/python3.4/site-packages/gi/importer.py", line 53, in find_module
    Jan 19 14:27:17 glow gnome-session[1714]: 'introspection typelib not found' % namespace)
    Jan 19 14:27:17 glow gnome-session[1714]: ImportError: cannot import name Notify, introspection typelib not found
    Jan 19 14:27:17 glow gnome-session[1714]: (nm-applet:1810): libnm-glib-CRITICAL **: nm_secret_agent_register: assertion 'priv->registered == FALSE' failed
    Jan 19 14:27:17 glow gnome-session[1714]: nm-applet-Message: No keyring secrets found for The Promised LAN/802-11-wireless-security; asking user.
    Jan 19 14:27:17 glow gnome-session[1714]: (gnome-settings-daemon:1742): GLib-GIO-CRITICAL **: g_dbus_proxy_call_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed
    Jan 19 14:27:17 glow gnome-session[1714]: (gnome-settings-daemon:1742): GLib-GIO-CRITICAL **: g_dbus_proxy_call_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed
    Jan 19 14:27:17 glow gnome-session[1714]: (tracker-extract:1813): Tracker-WARNING **: Call to gst_discoverer_discover_uri() failed: GStreamer encountered a general stream error.
    Jan 19 14:27:17 glow gnome-session[1714]: (tracker-extract:1813): Tracker-WARNING **: Task for 'file:///home/cellardoor/test.webm' finished with error: Could not get any metadata for uri:'file:///home/cellardoor/test.webm' and mime:'video/webm'
    Jan 19 14:27:17 glow gnome-session[1714]: (tracker-extract:1813): Tracker-WARNING **: Failed to open file: No OLE2 signature
    Jan 19 14:27:17 glow gnome-session[1714]: (tracker-extract:1813): Tracker-WARNING **: Task for 'file:///home/cellardoor/samsungkeyforserver.pub' finished with error: Could not get any metadata for uri:'file:///home/cellardoor/samsungkeyforserver.pub' and mime:'application/vnd.ms-publisher'
    Jan 19 14:27:18 glow org.gnome.OnlineAccounts[1718]: goa-daemon-Message: goa-daemon version 3.14.2 starting
    Jan 19 14:27:18 glow org.freedesktop.thumbnails.Thumbnailer1[1718]: (tumblerd:1909): tumbler-WARNING **: Failed to load plugin "tumbler-raw-thumbnailer.so": libopenrawgnome.so.1: cannot open shared object file: No such file or directory
    Jan 19 14:27:18 glow org.freedesktop.thumbnails.Thumbnailer1[1718]: (tumblerd:1909): tumbler-WARNING **: Failed to load plugin "tumbler-ffmpeg-thumbnailer.so": libffmpegthumbnailer.so.4: cannot open shared object file: No such file or directory
    Jan 19 14:27:18 glow gnome-session[1714]: (tracker-extract:1813): Tracker-WARNING **: Couldn't create PopplerDocument from uri:'file:///home/cellardoor/Documents/Holiday/certificate_flight_plus_2_a.pdf', PDF document is damaged
    Jan 19 14:27:18 glow gnome-session[1714]: (tracker-extract:1813): Tracker-WARNING **: Task for 'file:///home/cellardoor/Documents/Holiday/certificate_flight_plus_2_a.pdf' finished with error: Could not get any metadata for uri:'file:///home/cellardoor/Documents/Holiday/certificate_flight_plus_2_a.pdf' and mime:'application/pdf'
    Jan 19 14:27:18 glow gnome-session[1714]: (tracker-extract:1813): Tracker-WARNING **: Call to gst_discoverer_discover_uri() failed: Your GStreamer installation is missing a plug-in.
    Jan 19 14:27:18 glow gnome-session[1714]: (tracker-extract:1813): Tracker-WARNING **: Task for 'file:///home/cellardoor/Documents/Java/Assignment3/evidence%20of%20testing%20and%20results%20not%20as%20expected.xcf' finished with error: Could not get any metadata for uri:'file:///home/cellardoor/Documents/Java/Assignment3/evidence%20of%20testing%20and%20results%20not%20as%20expected.xcf' and mime:'image/x-xcf'
    Jan 19 14:27:18 glow gnome-session[1714]: Destroying listener
    Jan 19 14:27:18 glow gnome-session[1714]: Removing listener PolkitQt1::Agent::Listener(0x7fff29d587e0)
    Jan 19 14:27:18 glow polkitd[433]: Unregistered Authentication Agent for unix-session:c5 (system bus name :1.90, object path /fingerprintgui/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8)
    Jan 19 14:27:18 glow gnome-session[1714]: Received signal:1->'Hangup'
    Jan 19 14:27:18 glow gnome-session[1714]: Received signal:1->'Hangup'
    Jan 19 14:27:18 glow gnome-session[1714]: Received signal:1->'Hangup'
    Jan 19 14:27:18 glow NetworkManager[422]: <warn> No agents were available for this request.
    Jan 19 14:27:18 glow NetworkManager[422]: <info> (wlp3s0): device state change: need-auth -> failed (reason 'no-secrets') [60 120 7]
    Jan 19 14:27:18 glow NetworkManager[422]: <warn> Activation (wlp3s0) failed for connection 'The Promised LAN'
    Jan 19 14:27:18 glow NetworkManager[422]: <info> (wlp3s0): device state change: failed -> disconnected (reason 'none') [120 30 0]
    Jan 19 14:27:18 glow NetworkManager[422]: <info> (wlp3s0): deactivating device (reason 'none') [0]
    Jan 19 14:27:18 glow NetworkManager[422]: <info> Auto-activating connection 'Security'.
    Jan 19 14:27:18 glow NetworkManager[422]: <info> Activation (wlp3s0) starting connection 'Security'
    Jan 19 14:27:18 glow NetworkManager[422]: <info> Activation (wlp3s0) Stage 1 of 5 (Device Prepare) scheduled...
    Jan 19 14:27:18 glow NetworkManager[422]: <info> Activation (wlp3s0) Stage 1 of 5 (Device Prepare) started...
    Jan 19 14:27:18 glow NetworkManager[422]: <info> (wlp3s0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
    Jan 19 14:27:18 glow NetworkManager[422]: <info> Activation (wlp3s0) Stage 2 of 5 (Device Configure) scheduled...
    Jan 19 14:27:18 glow gnome-session[1714]: Received signal:1->'Hangup'
    Jan 19 14:27:18 glow NetworkManager[422]: <info> Activation (wlp3s0) Stage 1 of 5 (Device Prepare) complete.
    Jan 19 14:27:18 glow NetworkManager[422]: <info> Activation (wlp3s0) Stage 2 of 5 (Device Configure) starting...
    Jan 19 14:27:18 glow NetworkManager[422]: <info> (wlp3s0): device state change: prepare -> config (reason 'none') [40 50 0]
    Jan 19 14:27:18 glow NetworkManager[422]: <info> Activation (wlp3s0/wireless): access point 'Security' has security, but secrets are required.
    Jan 19 14:27:18 glow NetworkManager[422]: <info> (wlp3s0): device state change: config -> need-auth (reason 'none') [50 60 0]
    Jan 19 14:27:18 glow NetworkManager[422]: <info> Activation (wlp3s0) Stage 2 of 5 (Device Configure) complete.
    Jan 19 14:27:18 glow NetworkManager[422]: <warn> No agents were available for this request.
    Jan 19 14:27:18 glow NetworkManager[422]: <info> (wlp3s0): device state change: need-auth -> failed (reason 'no-secrets') [60 120 7]
    Jan 19 14:27:18 glow NetworkManager[422]: <warn> Activation (wlp3s0) failed for connection 'Security'
    Jan 19 14:27:18 glow NetworkManager[422]: <info> (wlp3s0): device state change: failed -> disconnected (reason 'none') [120 30 0]
    Jan 19 14:27:18 glow NetworkManager[422]: <info> (wlp3s0): deactivating device (reason 'none') [0]
    Jan 19 14:27:18 glow kernel: tracker-miner-f[1827]: segfault at 130000017a ip 00007f14f57cbdbe sp 00007ffff6a89330 error 4 in libgio-2.0.so.0.4200.1[7f14f5779000+16f000]
    Jan 19 14:27:18 glow org.freedesktop.thumbnails.Cache1[1718]: (tumblerd:1887): GVFS-RemoteVolumeMonitor-WARNING **: Owner of volume monitor org.gtk.Private.UDisks2VolumeMonitor disconnected from the bus; removing drives/volumes/mounts
    Jan 19 14:27:18 glow org.freedesktop.thumbnails.Cache1[1718]: (tumblerd:1887): GVFS-RemoteVolumeMonitor-WARNING **: Owner of volume monitor org.gtk.Private.MTPVolumeMonitor disconnected from the bus; removing drives/volumes/mounts
    Jan 19 14:27:18 glow NetworkManager[422]: <warn> Could not get scan request result: Scan request rejected
    Jan 19 14:27:18 glow org.a11y.Bus[1718]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
    Jan 19 14:27:18 glow gnome-session[1714]: g_dbus_connection_real_closed: Remote peer vanished with error: Error receiving message: Connection reset by peer (g-io-error-quark, 0). Exiting.
    Jan 19 14:27:18 glow gnome-session[1714]: Received signal:15->'Terminated'
    Jan 19 14:27:18 glow org.gtk.vfs.Daemon[1718]: A connection to the bus can't be made
    Jan 19 14:27:18 glow org.gtk.vfs.Daemon[1718]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
    Jan 19 14:27:18 glow org.freedesktop.Tracker1[1718]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
    Jan 19 14:27:18 glow org.gtk.vfs.Daemon[1718]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
    Jan 19 14:27:18 glow org.gnome.OnlineAccounts[1718]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
    Jan 19 14:27:18 glow org.gtk.Private.UDisks2VolumeMonitor[1718]: g_dbus_connection_real_closed: Remote peer vanished with error: Error receiving message: Connection reset by peer (g-io-error-quark, 0). Exiting.
    Jan 19 14:27:18 glow org.gtk.Private.MTPVolumeMonitor[1718]: g_dbus_connection_real_closed: Remote peer vanished with error: Error receiving message: Connection reset by peer (g-io-error-quark, 0). Exiting.
    Jan 19 14:27:18 glow org.gnome.evolution.dataserver.Sources3[1718]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
    Jan 19 14:27:18 glow org.gnome.zeitgeist.Engine[1718]: g_dbus_connection_real_closed: Remote peer vanished with error: Error receiving message: Connection reset by peer (g-io-error-quark, 0). Exiting.
    Jan 19 14:27:18 glow org.freedesktop.Tracker1[1718]: Received signal:15->'Terminated'
    Jan 19 14:27:18 glow org.freedesktop.Tracker1[1718]: OK
    Jan 19 14:27:18 glow ca.desrt.dconf[1718]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
    Jan 19 14:27:18 glow gnome-session[1714]: g_dbus_connection_real_closed: Remote peer vanished with error: Error receiving message: Connection reset by peer (g-io-error-quark, 0). Exiting.
    Jan 19 14:27:18 glow org.gnome.zeitgeist.Engine[1718]: [14:27:18.337568 WARNING] zeitgeist-daemon.vala:449: The connection is closed
    Jan 19 14:27:18 glow gnome-session[1714]: Received signal:15->'Terminated'
    Jan 19 14:27:18 glow gnome-session[1714]: OK
    Jan 19 14:27:18 glow org.freedesktop.Telepathy.AccountManager[1718]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
    Jan 19 14:27:18 glow org.gnome.evolution.dataserver.Calendar4[1718]: Could not connect: Connection refused
    Jan 19 14:27:18 glow org.freedesktop.thumbnails.Thumbnailer1[1718]: Error creating proxy: The connection is closed (g-io-error-quark, 18)
    Jan 19 14:27:18 glow org.freedesktop.thumbnails.Thumbnailer1[1718]: (tumblerd:1909): GLib-GIO-CRITICAL **: Error while sending AddMatch() message: The connection is closed
    Jan 19 14:27:18 glow org.freedesktop.thumbnails.Thumbnailer1[1718]: Error creating proxy: Error calling StartServiceByName for org.gtk.Private.MTPVolumeMonitor: The connection is closed (g-io-error-quark, 18)
    Jan 19 14:27:18 glow org.freedesktop.thumbnails.Thumbnailer1[1718]: (tumblerd:1909): GLib-GIO-CRITICAL **: Error while sending AddMatch() message: The connection is closed
    Jan 19 14:27:18 glow org.freedesktop.thumbnails.Thumbnailer1[1718]: (tumblerd:1909): GLib-GIO-CRITICAL **: Error while sending AddMatch() message: The connection is closed
    Jan 19 14:27:18 glow org.freedesktop.thumbnails.Thumbnailer1[1718]: Error creating proxy: Error calling StartServiceByName for org.gtk.vfs.Daemon: The connection is closed (g-io-error-quark, 18)
    Jan 19 14:27:18 glow gnome-session[1714]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
    Jan 19 14:27:18 glow gnome-session[1714]: Received signal:15->'Terminated'
    Jan 19 14:27:18 glow org.freedesktop.thumbnails.Thumbnailer1[1718]: (tumblerd:1909): tumblerd-WARNING **: Failed to start the thumbnail cache service: Another thumbnail cache service is already running
    Jan 19 14:27:18 glow gnome-session[1714]: OK
    Jan 19 14:27:18 glow systemd-coredump[1943]: Process 1827 (tracker-miner-f) of user 1000 dumped core.
    Thank you!
    Moderator edit:  Added code tags
    Last edited by ewaller (2015-01-19 15:57:10)

    Please use code tags when posting logs. From
    Jan 19 14:27:16 glow gnome-session[1714]: ** Message: couldn't access control socket: /run/user/1000/keyring/control: No such file or directory
    Jan 19 14:27:16 glow gnome-session[1714]: (gnome-shell:1773): Gjs-WARNING **: JS ERROR: Error: Requiring Polkit, version none: Typelib file for namespace 'Polkit' (any version) not found
    it seems you're missing dependencies, or they're not started for some reason. Try running GNOME via GDM, installing latter should pull in the full kitchen sink. If you want more hints, google for "gjs polkit not found".
    Last edited by Alad (2015-01-19 15:38:09)

  • Display real time data on a plot in a sub VI and main VI

    I am building a program to measure and plot real time data. Program has several steps so I build few Sub VIs to make it simple. My problem is I am plotting real time data in my SUB VI(it works fine), but in my main program when I try to get the same plot its not real time data plot. Plots appear at the end of the program.  All tips and help would be greatly appreciated. Thanks
    I have attached my main VI and Sub VI
    Solved!
    Go to Solution.
    Attachments:
    main VI.jpg ‏116 KB
    Sub VI.jpg ‏242 KB

    LabVIEW program is based on DATA FLOW, now, until the subVI will finish execution (while loop will be stopped), the execution in Main VI will not proceed any further.
    If you can pass the reference of 'XY Graph' inside the subVI, you'll be able to update the plot (placed on MAIN VI) from within subVI.
    Find attached example for your reference.
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.
    Attachments:
    Example [LV 90].zip ‏26 KB

Maybe you are looking for

  • 2007B Dunning Letter print from wizard only? Can print by cust aging?

    Hi Sir/ Madam, Is there anyway to print dunning letter without using the dunning wizard? If the current dunning wizard run has been setup to printout letters for 100 BP, how can the user reprint the letter for one of the 100 BP only?

  • Online Tutorials?

    I'm familiar with motion but would like to get better. Has anyone tried any of the online training courses or purchased DVD packages that are project based. Any recommendations would be appreciated. Thank U, Tim iMac   Mac OS X (10.4.7)  

  • Using Query to fetch data from xml file

    Hi guys , Just want to know , how to fetch data from an XML file in adobe flex? i have a database generated xml file.

  • Nokia E71 OBEX PC Suite Services

    Hello Everyone. Please understand my environment first before posting any solutions. I have installed E-Blue Mini Nova Bluetooth USB Dongle in my Toshiba notebook and it has been successfully installed all of its Windows Vista drivers. I than connect

  • Server 2012 r2 only boots to command prompt

    Hello All, I have been trying to get SharePoint 2013 Foundation on a fresh server. (This is not a SharePoint question) Server 2012 R2 was working fine. However problems getting all the prerequisites installed and configured properly. When I was makin