Overloaded Functions : FRAC(), FLOOR(), CEIL() strange behavior...

Hello,
These ABAP commands have a different behavior in a report or in a user-exit.
For instance :
DATA: v_frac LIKE vbep-bmeng,
           v_floor LIKE vbep-bmeng,
or (same results)
DATA: v_frac type p decimals 3,
           v_floor type p decimals 3.
The code in my report ( ztest ) is :
      vbep-bmeng =  1333 / 1000.
      v_frac = FRAC( vbep-bmeng ).
      v_floor = FLOOR( vbep-bmeng ).
I see, in debug mode:
   v_frag set to 0.333 -> works fine
   v_floor set to 1.000 -> works fine
Now in my User-exit (include MV45AFZZ), I put exactly the same code.
I see, in debug mode,
   v_frag set to 0.000 -> ????
   v_floor set to 1.333 -> ???
I don't understand why the results are different ?
In the Exit, the types P or Quant seem to be considered as Integer...
any idea ?
( R/3  ECC5, ABAP 6.40)
Thank you
Ramdane

hi,
MV45AFZZ is an include of main program SAPMV45A. Whatever reason but the fixed point arithmetic is not turned on in this main program (an OSS issue?), I guess that is the reason, that the calculation fails.
hope this helps
ec

Similar Messages

  • Mathematical functions - Frac, trunc, ceil

    Hi,
    I'm trying to use Mathematical functions like ceil, trunc... in a class method
    but they don't work.
    How can I solve the problem?
    data: appo_dec type p decimals 2,
            wa_val  type p decimals 2 value '1.75'.
    appo_dec = FRAC( wa_val ).
    The variable appo_dec always is zero.
    This code work in a report but not work in a class method.

    Well, so your variable probably becomes empty somewhere before calling FRAC...
    I gave it a try, got no issue at all...
    *       CLASS lcl_test DEFINITION
    CLASS lcl_test DEFINITION.
       PUBLIC SECTION.
         CLASS-METHODS: _frac.
    ENDCLASS.                    "lcl_test DEFINITION
    *       CLASS lcl_test IMPLEMENTATION
    CLASS lcl_test IMPLEMENTATION.
       METHOD _frac.
         DATA: l_dec TYPE p DECIMALS 2,
               l_val TYPE p DECIMALS 2 VALUE '1.75'.
         l_dec = FRAC( l_val ).
         WRITE: l_dec.
       ENDMETHOD.                    "_frac
    ENDCLASS.                    "lcl_test IMPLEMENTATION
    START-OF-SELECTION.
       lcl_test=>_frac( ).
    Kr,
    Manu.

  • Strange Behavior with gMSA in Server 2012 R2

    Greetings,
    I have been doing some testing with gMSA Accounts in a Server 2012 R2 environment (two separate environments, actually), and I have noticed something very strange that occurred in both environments, which does not appear to be occurring in one of our customer's
    self-managed environments.
    We created a Group Managed Service Account using the following article:
    http://blogs.technet.com/b/askpfeplat/archive/2012/12/17/windows-server-2012-group-managed-service-accounts.aspx
    Everything went smoothly, and the account installs/tests successfully on both of the hosts that we are testing on. I am able to set my services to run under the account, and most of them appear to work fine. I am having some issues with a few of my services,
    and I believe that the strange behavior I am seeing may have something to do with this - described below: 
    As soon as I set the service's Log On Account (via the Log On Tab under the Service's Properties), the entirety of the "Log On" tab changes to "greyed out," and I am unable to change the Log On account back via the GUI (Screenshot
    attached).
    I found that I am able to successfully change the account via Command Line using sc.exe, but the Log On tab remains greyed out! So far, I have found nothing to remedy this, but confirmed that it happens for any service I set to use the gMSA as the Logon
    Account, and that it happens in 2 separate test environments, but not in a Customer's production environment - very strange.
    All servers in this environment are running Server 2012 R2, and domain Functional Level is currently Server 2012.
    I have been unable to find any information online about this behavior, so I am hoping someone has seen this before, and can explain why this is happening.
    Nick

    VIvian,
    Yes, we used the Install-AdServiceAccount gMSA command on each host using the gMSA account, and then ran Test-AdServiceAccount gMSA, which returned "True."
    However, one thing I noticed is that if I run Test-ADServiceAccount gMSA as a Local Administrator, it fails with the following:
    PS C:\Users\Administrator> Test-AdServiceAccount gMSA$
    Test-AdServiceAccount : The server has rejected the client credentials.
    At line:1 char:1
    + Test-AdServiceAccount gMSA$
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : SecurityError: (:) [Test-ADServiceAccount], AuthenticationException
        + FullyQualifiedErrorId : ActiveDirectoryCmdlet:System.Security.Authentication.AuthenticationException,Microsoft.A
       ctiveDirectory.Management.Commands.TestADServiceAccount
    If I run Test-ADServiceAccount gMSA as Domain Administrator, it returns true:
    PS C:\Users\Administrator.<domainname>> Test-AdServiceAccount gMSA$
    True
    Is this normal?
    Overall, I think the issue I am running into is at the Application Level, and not a problem with the gMSA, as it appears to be working. (Can Start/Stop services without any issues). I will be investigating my issue further with 3rd-party vendors, unless
    you think there is something wrong with my gMSA accounts based on the information I have provided.
    Nick

  • Strange Behavior from iTunes 7.2

    Running itunes - 7.2Recently had my itunes library “corrupted” or non functional.
    Spent a long, long time rebuilding the library (see below) and noticed some strange behavior that has me terrified that itunes is corrupted and I am going to loose all the hard work, etc..
    1. I have about 100 GB of music in various formats (apple protected/itunes store, mp3 (128 to 320), apple lossless, wav) and when I tried to rebuild the library by clicking on add to library it only added about 65 GB of the 100 GB. I had to go through and figure out what was missing and manually choose the specific folder when I added it.
    Major pain and very time consuming.
    So it is not adding songs correctly, but through way too much effort able to work around this.
    2. About ½ of the itunes store tunes I purchased are no longer apple protected format. Somehow they were converted to mp3 at 192kbs. Some of the songs play fine others are now not as crisp and make a poping sound or skip. How could this happen? Are these files corrupted? Will I loose them?
    3. At the top center of itunes the information bar, where the read out is for what song is playing and how much time has elapsed in the song, is not working. When I click on a song it starts playing but the elapsed time bar and counter never move, and when the next song starts playing the information never changes. It is stuck on what ever song you initiate play with by clicking on it and the information stays frozen.
    4. itunes randomly stops playing at the end of a song….If listening to an album it is usually after three or four songs and when listening to a play list it is usually after one song.
    I am afraid itunes is corrupted and will not function correctly and I am going to loose the hard work I put in trying to recover from the last crash.
    Any suggestions??
    Can’t wait for time machine. I hope it works as advertised. If so I could just go back in time to the last time iTunes worked correctly and go from there.

    First of all I hope that you have a good b/u of all your tunes - either on ext HD or on DVD. Don't forget to b/u the iTunes Library and .xml files at the same time.
    Have you tried to reinstall iTunes? Drag the app to the trash and remove the iTunesX.pkg from HD>Library>Receipts>iTunesX.pkg. Using a fresh .dmg of iTunes 7.2 reinstall.
    Have you repaired permissions with Disk Utility?
    Is your Quicktime up to date? At least version v7.1.5.
    MJ

  • Report FP_TEST_00 - Strange behavior

    Hello Gurus,
    A strange behavior with report FP_TEST_00 occurs:
    SA38 --> FP_TEST_00 --> select a device --> execute --> print preview then and error or popup is show:
    Adobe Reader
    Error initializing the font server module
    Then the SAP GUI is closed, I check the ST22 and no dump is generated and in transaction SM21 only appear:
    DP  Q0  4 Connection to user 551 (ADMIN ), terminal 86 (HUSVP-SAP-BA) lost
    DP  Q0  I Operating system call recv failed (error no. 232 )
    The #1 log entry: *
    Details Page 2 Line 28 System Log: Local Analysis of sapdev                   1
    Time     Type Nr Clt User TCode Grp N Text
    11:37:20 DP                     Q0  4 Connection to user 551 (ADMIN ), terminal 86 (HUSVP-SAP-BA) lost
    Connection to user 551 (ADMIN ), terminal 86 (HUSVP-SAP-BA) lost
    Details
    Recording at local and central time........................ 25.02.2010 11:37:20
    Task...... Process    User...... Terminal Session TCode Program Cl Problem cl         Package
    11092      Dispatcher                                           K  SAP Web AS Problem STSK
    Further details for this message type
    Module nam Line Error text..........              Caller.... Reason/cal
    dpxxdisp   1223 551  ADMIN       86  HUSVP-SAP-BA DpRTmPr    NiBufRe
    Documentation for system log message Q0 4 :
    The SAP Dispatcher (part of the application server) has lost the
    connection to a terminal process.  For example, this happens when the
    terminal program (GUI) terminates without correctly logging off the
    application server.  More detailed information about the error
    context is not available here.
    Technical details
    File Offset RecFm System log type             Grp N variable message data
       21 254340 m     Error (Function,Module,Row) Q0  4 551  ADMIN       86  HUSVP-SAP-BA     DpRTmPrNiBufRedpxxdisp1223
    The #2 Log show: *
    Details Page 2 Line 29 System Log: Local Analysis of sapdev                   1
    Time     Type Nr Clt User TCode Grp N Text
    11:37:20 DP                     Q0  I Operating system call recv failed (error no. 232 )
    Operating system call recv failed (error no. 232 )
    Details
    Recording at local and central time........................ 25.02.2010 11:37:20
    Task...... Process    User...... Terminal Session TCode Program Cl Problem cl         Package
    11092      Dispatcher                                           K  SAP Web AS Problem STSK
    Further details for this message type
    Module nam Line Error text        Caller.... Reason/cal
    nixxi.cp   4435           recv232 NiIRead    recv
    Documentation for system log message Q0 I :
    The specified operating system call was returned with an error.
    For communication calls (receive, send, etc) often the cause of errors
    are network problems.
    It could also be a configuration problem at operating system level.
    (file cannot be opened, no space in the file system etc.).
    Additional specifications for error number 232
    Name for errno number ECONNRESET
    No documentation available for error ECONNRESET
    Technical details
    File Offset RecFm System log type             Grp N variable message data
      21 254520 m     Error (Function,Module,Row) Q0  I           recv232                     NiIReadrecv   nixxi.cp4435
    Edited by: Hernando Polania Cadena on Feb 25, 2010 8:36 PM

    Hello All,
    I applied the solution in page
    http://wiki.sdn.sap.com/wiki/display/PLM/Adobe%209%20-%20SAPGUI%20crash
    Works OK
    Thanks
    Hernando

  • Strange behavior when I try to match a mpeg2 video with the menu size image

    hello all,
    got a strange behavior when I try to match a mpeg2 video with the menu size image,
    menu size is 1920 x 1080 (photoshop file)
    mpeg2 video 1920 x 1080 (1second 19 frames)
    the idea is to go from the menu link to the next sub menu with a video as transition, using the same image on the video as the menu and then zooming in (in my case through a door) to end up after the zoom in the next level menu.
    I try to achieve a smooth change from the first play menu picture to the video image into the next level menu picture,
    everything works good but when I watch it on the preview mode on the left and right side of the video it shows a black bar at least 15 to 25 pixel wide, that means the video image appears smaller and it causes a little jump what is preety disturbing and can not be sold as a professional work.
    why encore treats the video size and picture differently?
    it's gratful appreciated if somebody who got experience in a transition I mentioned obove posting any solution,
    thankl you all

    Hi all
    I'm having a very similar problem with Encore. My menu items are distorting (a minor but infuriating squashing top and bottom) when previewed.
    Using Encore,PS,AE CS4
    DVD format SD PAL DV widescreen
    I created 3 menu frameworks and 3 video transistions to link them in AE. On the final frame of each transistion in AE I saved the frame with Composition>Save Frame to> Photoshop Layers. In PS i added the button functionality and saved.
    In Encore I use Dynamic link to import AE transistions as timelines and imported each PS menu twice, once as "menu" and once as an asset.
    When I link the timeline transistions to the menu and preview at the point the menu begins the whole image is squashed. When the next transistion is activated the image returns to its original size.
    Thinking it was the use of PS that was causing the menus to distort I used the menu asset directly in the time line. Obviously no menu functionality but also no distortion. The AE transistion flowed straight into the "menu" just as I expected.
    In the properties panel the menu Aspect Ratio 16:9
    The AE transistions PAR is SD PALwidescreen 1.4587.
    I did try the Blu Ray suggestion above but the same distortion was apparent.
    Any suggestions short of squashing the video to match the menu would be welcomed.
    Thanks

  • Strange behavior with Zoom and Image control

    HELP - I have a strange behavior (bug?) with using Zoom
    effect on an Image that has been placed on a Canvas. I am using
    dynamically instantiated images which are placed on a canvas inside
    a panel. I then assign a Zoom IN and Zoom Out behavior to the
    image, triggered by ROLL_OVER and ROLL_OUT effect triggers. THE BUG
    is that the image jumps around on the Zoom OUT and lands on a
    random place on the canvas instead of coming back to the original
    spot. This is especially true if the mouse goes in and out of the
    image very quickly. HELP -- what am I doing wrong? Computer = Mac
    OS X 10.4.9 Flex 2.0.1
    Here's a simple demo of the bug -- be sure to move the mouse
    in and out rapidly:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" creationComplete="setUp();">
    <mx:Script><![CDATA[
    import mx.events.EffectEvent;
    import mx.effects.Fade;
    import mx.effects.Zoom;
    import mx.rpc.events.ResultEvent;
    import flash.display.Sprite;
    import mx.core.UIComponent;
    import mx.controls.Image;
    private var zoomIn:Zoom;
    private var zoomOut:Zoom;
    private function setUp():void {
    var image:Image = new Image();
    image.id = "album_1_1";
    image.x = 200;
    image.y = 200;
    image.width = 64;
    image.height = 64;
    image.source = "
    http://s3.amazonaws.com/davidmccallie/album-128.jpg";
    image.addEventListener(MouseEvent.ROLL_OVER, doZoom);
    image.addEventListener(MouseEvent.ROLL_OUT, doZoom);
    myCanvas.addChild(image);
    zoomIn = new Zoom();
    zoomIn.zoomHeightTo = 2.0;
    zoomIn.zoomWidthTo = 2.0;
    zoomIn.captureRollEvents = true;
    zoomIn.suspendBackgroundProcessing = true;
    zoomOut = new Zoom();
    zoomOut.zoomHeightTo = 1.0;
    zoomOut.zoomWidthTo = 1.0;
    zoomOut.captureRollEvents = true;
    zoomOut.suspendBackgroundProcessing = true;
    private function doZoom(event:MouseEvent):void {
    var image:Image = Image(event.currentTarget);
    if (event.type == MouseEvent.ROLL_OVER) {
    zoomIn.target = event.currentTarget;
    zoomIn.play();
    } else if (event.type == MouseEvent.ROLL_OUT) {
    zoomOut.target = event.currentTarget;
    zoomOut.play();
    ]]>
    </mx:Script>
    <mx:Panel width="100%" height="100%"
    layout="absolute">
    <mx:Canvas id="myCanvas" width="100%" height="100%">
    </mx:Canvas>
    </mx:Panel>
    </mx:Application>

    There must be bugs in the Zoom effect code -- I changed the
    Zoom to Resize in the above code, and it works perfectly. Of
    course, Resize is not as nice as Zoom because you can't set the
    resize to be around the center of the image, but at least it works.
    Does anyone know about bugs in the Zoom effect?

  • Strange behavior in Financial Reports (drop down feature)

    Hello Gurus,
    I have currently performed migration of Financial Reports from 11.1.1.3 environment to 11.1.2.2 environment with the help of a staging environment.
    We migrated the reports over to 11.1.2.2 using LCM from the Staging 11.1.2.2 environment.
    We are observing some strange behavior with the Financial Reports that have drop down functionality in our new environment.
    When we open a report in our current environment (113) and select a particular member (India) from the Page dimension(Page has almost 30 members in it) it returns appropriate data, however when the same report is opened in new environment (122) and when we select the same member(India), it does not return appropriate data(Page has almost 30 members in it).
    However if we design a sample report with the same member in the page (Page has only 1 member (India)) and then open the report it shows correct data.
    So the issue occurs only when we have more than 1 members in page and it works as expected when we have only 1 member in page.
    Any help would be highly appreciated.
    Thanks,
    hyperionEPM

    Hello Neeraj,
    We are trying to understand the potential reason as to why is it causing this. Is there anything similar caught in .303 patch?? I will have a look at the .303 patch readme.
    Thanks,
    hyperionEPM

  • Strange Behavior of program while using BAPI_PO_CREATE1

    Hello SAP GURUs,
    I've created an Upload Program using BAPI_PO_CREATE1 for Mass Service PO Creation.
    When I execute the program and Specify the File for uploading, It Gives me errors as
    E     BAPI     1     No instance of object type PurchaseOrder has been created. External reference:
    E     MEPO     0     Purchase order still contains faulty items
    E     6     436     In case of account assignment, please enter acc. assignment data for item
    But when I come back to Selection Screen of the Program and specify the SAME FILE AGAIN and Execute,
    The Program runs successfully and generates the PO number.
    I have never seen such strange behavior in any BAPIs before.
    Pls help..

    PERFORM refresh_tables.
      PERFORM fill_tables.
    END-OF-SELECTION.
    Display the Summary as an ALV Grid Display
      IF NOT ig_mymssg[] IS INITIAL.
        PERFORM display_basic_list . "Grid Display
      ELSE.
        MESSAGE s000 WITH 'No data exists'(051).
        STOP.
      ENDIF.
    *&      Form  refresh_tables
          text
    -->  p1        text
    <--  p2        text
    FORM refresh_tables .
      REFRESH:   ig_fieldcat,
                 ig_mymssg,
                 poitem,
                 poitemx,
                 poaccount,
                 poaccountx,
                 poservices,
                 ig_return.
                wt_itab,  record,  record2 .
    ENDFORM.                    " refresh_tables
    *&      Form  fill_tables
          text
    -->  p1        text
    <--  p2        text
    FORM fill_tables .
      record2[] = record[].
      record3[] = record[].
      DELETE ADJACENT DUPLICATES FROM record COMPARING id_no.
      DELETE ADJACENT DUPLICATES FROM record2 COMPARING id_no po_item.
      SELECT MAX( packno ) FROM esll INTO wrk_packno.
      LOOP AT record.
        CLEAR : poheader, poheaderx, wa_poitem, wa_poitemx, wa_poservices, wa_poaccount, wa_poaccountx, wa_poschedulex, wa_poschedule.
        REFRESH: poitem, poitemx, poaccount, poaccountx, poservices, ig_return,  posrvaccessvalues, poschedule, poschedulex.
        PERFORM po_header.
        LOOP AT record2 WHERE id_no = record-id_no.
          wrk_packno = wrk_packno + 1.
          PERFORM po_item.
          PERFORM po_scheudle.
          PERFORM acc_assignment.
          PERFORM po_services.
        ENDLOOP.
        PERFORM create_po.
      ENDLOOP.
    ENDFORM.                    " fill_tables
    *&      Form  display_basic_list
          text
    -->  p1        text
    <--  p2        text
    FORM display_basic_list .
      g_repid = sy-repid.
      PERFORM f2000_fieldcat_init .
      PERFORM display_alv_grid_1.
    ENDFORM.                    " display_basic_list
    *&      Form  f2000_fieldcat_init
          text
    -->  p1        text
    <--  p2        text
    FORM f2000_fieldcat_init .
      REFRESH ig_fieldcat.
      PERFORM fill_fields_of_fieldcatalog USING 'IG_MYMSSG'
                                                  'STATUS'
                                                    c_x
                                                    'Status'
                                                    '10'.
      PERFORM fill_fields_of_fieldcatalog USING 'IG_MYMSSG'
                                                'RECORD'
                                                c_x
                                                'Record'
                                                '20'.
      PERFORM fill_fields_of_fieldcatalog USING 'IG_MYMSSG'
                                                'ERRMSG'
                                                'Message'
                                                '100'.
    ENDFORM.                    " f2000_fieldcat_init
    *&      Form  display_alv_grid_1
          text
    -->  p1        text
    <--  p2        text
    FORM display_alv_grid_1 .
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program = g_repid
          i_structure_name   = 'IG_MYMSSG'
          i_grid_title       = 'LOG'
          is_layout          = wg_layout
          it_fieldcat        = ig_fieldcat[]
          i_save             = c_save
        TABLES
          t_outtab           = ig_mymssg
        EXCEPTIONS
          program_error      = 1
          OTHERS             = 2.
      IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " display_alv_grid_1
    *&      Form  fill_fields_of_fieldcatalog
          text
         -->P_0626   text
         -->P_0627   text
         -->P_C_X  text
         -->P_0629   text
         -->P_0630   text
    FORM fill_fields_of_fieldcatalog  USING    p_tabname TYPE slis_tabname
                                               p_field TYPE slis_fieldname
                                               p_key TYPE c
                                               p_name
                                               len.
    To fill in the fields of the table fieldcatalog depending on the field
      CLEAR wg_fieldcat.
      wg_fieldcat-fieldname = p_field. " The field name and the table
      wg_fieldcat-tabname = p_tabname.. " name are the two minimum req
      wg_fieldcat-key = p_key. " Specifies the column as a key
      wg_fieldcat-seltext_l = p_name. " Column Header
      wg_fieldcat-outputlen = len.
      APPEND wg_fieldcat TO ig_fieldcat.
    ENDFORM.                    " fill_fields_of_fieldcatalog
    *&      Form  create_po
          text
    -->  p1        text
    <--  p2        text
    FORM create_po .
      CLEAR : wg_return.
      REFRESH : ig_return.
      CALL FUNCTION 'BAPI_PO_CREATE1'
        EXPORTING
          poheader          = poheader
          poheaderx         = poheaderx
        IMPORTING
          exppurchaseorder  = po_no
        TABLES
          return            = ig_return
          poitem            = poitem
          poitemx           = poitemx
          poschedule        = poschedule
          poschedulex       = poschedulex
          poaccount         = poaccount
          poaccountx        = poaccountx
          poservices        = poservices
          posrvaccessvalues = posrvaccessvalues.
      SORT ig_return BY type.
      READ TABLE ig_return INTO wg_return WITH KEY type = 'S'.
      IF sy-subrc EQ 0.
        CLEAR : wg_return.
        REFRESH : ig_return.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
        CLEAR wg_errmsg.
        WRITE icon_green_light AS ICON TO wg_errmsg-status.
        CONCATENATE record-id_no po_no INTO wg_errmsg-record SEPARATED BY '/'.
       wg_errmsg-record = po_no.
        wg_errmsg-errmsg = 'PO created'.
        APPEND wg_errmsg TO ig_mymssg.
      ELSE.
        CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
        READ TABLE ig_return INTO wg_return WITH KEY type = 'E' TRANSPORTING message.
        CLEAR wg_errmsg.
        WRITE icon_red_light AS ICON TO wg_errmsg-status.
        wg_errmsg-record = record-id_no.
        wg_errmsg-errmsg = wg_return-message.
        APPEND wg_errmsg TO ig_mymssg.
      ENDIF.
    ENDFORM.                    " create_po
    *&      Form  po_header
          text
    -->  p1        text
    <--  p2        text
    FORM po_header .
      poheader-comp_code   = record-comp_code.
      poheader-doc_type    = record-doc_type.
      poheader-vendor      = record-vendor.
      poheader-purch_org   = 'SERV'.
      poheader-pur_group   = record-pur_group.
      poheader-currency    = 'INR'.
      poheaderx-comp_code   = 'X'.
      poheaderx-doc_type    = 'X'.
      poheaderx-vendor      = 'X'.
      poheaderx-purch_org   = 'X'.
      poheaderx-pur_group   = 'X'.
      poheaderx-currency    = 'X'.
    ENDFORM.                    " po_header
    *&      Form  po_item
          text
    -->  p1        text
    <--  p2        text
    FORM po_item .
    DATA : days TYPE num2.
    DATA : final_dt TYPE datum.
    DATA : is_ok TYPE boole_d.
    DATA : msg_hndlr TYPE REF TO if_hrpa_message_handler.
    days = 20.
    CALL FUNCTION 'HR_ECM_ADD_PERIOD_TO_DATE'
       EXPORTING
         orig_date       = sy-datum
         num_days        = days
         signum          = '+'
         message_handler = msg_hndlr
       IMPORTING
         result_date     = final_dt
         is_ok           = is_ok.
      CLEAR: wa_poitem,wa_poitemx.
      wa_poitem-po_item      = record2-po_item.
      wa_poitem-short_text   = record2-short_text.
      wa_poitem-plant        = record2-plant.
      wa_poitem-matl_group   = 'S001'.
      wa_poitem-tax_code     = 'LA'.
      wa_poitem-item_cat     = item_cat.
      wa_poitem-pckg_no      = wrk_packno.
      wa_poitem-acctasscat   = acctasscat.
    wa_poitem-gr_to_date   = final_dt.
      APPEND wa_poitem TO poitem.
      wa_poitemx-po_item      = record2-po_item.
      wa_poitemx-po_itemx      = 'X'.
      wa_poitemx-short_text   = 'X'.
      wa_poitemx-plant        = 'X'.
      wa_poitemx-tax_code     = 'X'.
      wa_poitemx-item_cat     = 'X'.
      wa_poitemx-acctasscat   = 'X'.
      wa_poitemx-pckg_no      = 'X'.
      wa_poitemx-matl_group   = 'X'.
      wa_poitem-gr_to_date    = 'X'.
      APPEND wa_poitemx TO poitemx.
    ENDFORM.                    " po_item
    *&      Form  PO_SERVICES
          text
    -->  p1        text
    <--  p2        text
    FORM po_services .
      CLEAR: wa_poservices, wa_posrvaccessvalues.
      wa_poservices-pckg_no = wrk_packno.
      wa_poservices-line_no  = '0000000001'.
      wa_poservices-outl_ind = 'X'.
      wa_poservices-subpckg_no = wa_poservices-pckg_no + 1.
      wa_poservices-from_line = '000001'.
      APPEND wa_poservices TO poservices.
      CLEAR wa_poservices.
      wrk_packno = wrk_packno + 1.
      wa_poservices-pckg_no = wrk_packno.
      wa_poservices-line_no  = '0000000002'.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = record2-service
        IMPORTING
          output = record2-service.
      wa_poservices-ext_line = '0000000010'.
      wa_poservices-service  = record2-service.
      wa_poservices-quantity = record2-quantity.
      wa_poservices-gr_price = record2-gr_price.
      wa_posrvaccessvalues-pckg_no = wrk_packno.
      wa_posrvaccessvalues-line_no = '0000000002'.
      wa_posrvaccessvalues-serial_no = '01'.
      wa_posrvaccessvalues-serno_line = '01'.
    wa_posrvaccessvalues-quantity = record2-quantity.
    wa_posrvaccessvalues-net_value = record2-gr_price.
      APPEND wa_poservices TO poservices.
      APPEND wa_posrvaccessvalues TO posrvaccessvalues.
    ENDFORM.                    " PO_SERVICES
    *&      Form  ACC_ASSIGNMENT
          text
    -->  p1        text
    <--  p2        text
    FORM acc_assignment .
      DATA : tmp_gl LIKE bapimepoaccount-gl_account.
      tmp_gl = '400265'.
      CLEAR : wa_poaccount, wa_poaccountx.
      wa_poaccount-po_item      =  record2-po_item.
      wa_poaccount-serial_no    = '01'.
      wa_poaccount-co_area      = '1000'.
      wa_poaccount-quantity     = record2-quantity.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = tmp_gl
        IMPORTING
          output = wa_poaccount-gl_account.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = record2-orderid
        IMPORTING
          output = wa_poaccount-orderid.
      APPEND wa_poaccount TO poaccount.
      wa_poaccountx-po_item      = record2-po_item.
      wa_poaccountx-serial_no    = '01'.
      wa_poaccountx-co_area      = 'X'.
      wa_poaccountx-quantity     = 'X'.
      wa_poaccountx-gl_account   = 'X'.
      wa_poaccountx-orderid      = 'X'.
      APPEND wa_poaccountx TO poaccountx.
    ENDFORM.                    " ACC_ASSIGNMENT
    *&      Form  PO_SCHEUDLE
          text
    -->  p1        text
    <--  p2        text
    FORM po_scheudle .
      CLEAR : wa_poschedule, wa_poschedulex.
      wa_poschedule-po_item = record2-po_item.
      wa_poschedule-sched_line = '0001'.
    wa_poschedule-del_datcat_ext = 'D'.
      wa_poschedule-delivery_date = sy-datum.
      wa_poschedule-quantity = record2-quantity.
      APPEND wa_poschedule TO poschedule.
      wa_poschedulex-po_item = record2-po_item.
      wa_poschedulex-sched_line = '0001'.
      wa_poschedulex-po_itemx = 'X'.
      wa_poschedulex-sched_linex = 'X'.
    wa_poschedulex-del_datcat_ext = 'X'
      wa_poschedulex-delivery_date = 'X'.
      wa_poschedulex-quantity = 'X'.
      APPEND wa_poschedulex TO poschedulex.
    ENDFORM.                    " PO_SCHEUDLE

  • Strange behavior of JTable..Help plz

    Hi,
    Assume i have 5 rows in my JTable. I wrote a function on right click i get a popup window with an option delete row, which deletes the row successfully,
    The problem is when i sort the data in JTable. on column click JTable is getting sorted, in which assume 2nd row got replaced with 4th row and vice versa.
    Now when i try to delete the 4th row, it is delete the 2nd row data, which was there at the place of 4th row before sorting. In this regard i am trying to print the row number before deleting. It is displaying as 4th, but deleting 2nd row.
    Hope i am clear. Please suggest me in solving this strange behavior of JTable sorting problem.
    Regards,
    Ravi

    MyTableModel tablemodel = new MyTableModel(colnames,values);
    TableSorter sorter = new TableSorter(tablemodel);
    JTable table = new JTable(sorter)
    tablemodel.removeRow(row); // last line is the code where i am deleting the row, it's deleting the wrong row.
    do i need to remove the last line code and make respective changes in TableSorter.java class.
    ore
    here itself do i need to do some changes. ?
    There is a method that will convert the view row to the model row private Row[] getViewToModel()
    my question is how TableSorter.java class comes to know that i am deleting the perticular row.

  • Strange behavior of GetStringUTFChars in Linux

    Good evening!
    I made an implementation of a native method in C++ for Windows and Linux, in windows it works fine, but in Linux I have a strange behavior of GetStringUTFChars here is the piece code :
    JNIEXPORT jint JNICALL Java_MyNativeMethod
    (JNIEnv *env, jobject obj, jstring IpAddress) {
    const char * ccpIpAddress = env->GetStringUTFChars(IpAddress, 0);
    jsize size = env->GetStringLength(ccpIpAddress);
    trace("IpAddress : %s size: %d", ccpIpAddress, size);
    Absolute normal... but when I pass as parameter a string '192.168.1.11'
    I receive from 'IpAddress : HB&#317;1 size: 0' to 'IpAddress : P9D7D6DwD&#65533;MS\H#M\H : 251'
    I made a little and simple test to print a String to verify if is Linux problem but IT WORKED FINE!
    I've notice that the differences between both programs are that the wrong one has been linked with a C lib, but the #define __cplusplus is OK also, and all the compile process use C++ code...
    This is my compilation line
    g++ -o lib{myLib}.so {myImpl}.cpp lib{C li}.so libstdc++.so -I {JAVA_HOME}/include/ -I {JAVA_HOME}/include/linux/ -shared -static -L{JAVA_HOME}/jre/lib/i386/
    (variables put for clarity) and (I tried with gcc also)
    the libstrd++.so is been used in my simple test link options too.
    I was wondering if there is some -Doption which should be defined that
    functions->GetStringChars(this,str,isCopy); implementation ask for...
    or if the link with a C code is messing the things in a different behavior
    Thanks for the help
    Pedro Ribeiro
    Sao Paulo - Brazil

    JNIEXPORT jint JNICALL Java_MyNativeMethod
    (JNIEnv *env, jobject obj, jstring IpAddress) {
    const char * ccpIpAddress = env->GetStringUTFChars(IpAddress, 0);
    jsize size = env->GetStringLength(ccpIpAddress);
    trace("IpAddress : %s size: %d", ccpIpAddress, size);
    =====================
    You tried to get the string length of C character array.
    I think you can get the length of jstring alone.
    Please advice me if I am wrong

  • STRANGE BEHAVIOR OF NVL

    Hi everybody,
    Can you please explain me this strange behavior of NVL function:
    SQL> select nvl(10000,'none') from dual;
    select nvl(10000,'none') from dual
    ERROR at line 1:
    ORA-01722: invalid number
    SQL> select nvl('none',10000) from dual;
    NVL(
    none
    Can you explain what goes on internally to make these statements different?
    I mean why is it expecting a number(as a second arg) in Case 1 and why is it not expecting a character string as a second arg in Case 2? Has it got to do with implicit type-conversion?
    Finally, does NVL need both arguments of the same type?
    Any help will be greatly appreciated.
    Thanks.
    Kishore.

    The return type of NVL is the datatype of the first argument. If the two arguments have different datatypes Oracle applies a conversion. That's why you got your results: in effect what you were running was
    select nvl(10000,to_number('none')) from dual;and
    select nvl('none',to_char(10000)) from dual;Of course, 'none' is not a valid number, hence the ORA-1722 result, whereas 10000 can be successfully rendered as a string.
    If you do not provide NVL with arguments of the same datatype it will apply an implicit conversion to the second datatype. It is always better (that is safer) to avoid implicit data conversion.
    Cheers, APC
    P.S. For bonus points, which argument determines the datatype of a DECODE function?

  • Strange behavior of db update in debugging and no debugging execution mode

    Hi Experts,
    I am finding a strange behavior of certain Z update function (to update equipment install base) : The update happens perfectly if I go into debug mode and do a F6 on the function call. But if I executed it completed without going in debug mode, that update does not happen!
    I checked the function and found that it does have COMMIT WORK AND WAIT which gets triggered every time I call this function.
    Also does compiling the code with some changes and executing in cycles have any affect on the behavior of code? Do I need to do a /nse38 every time, before I do executing? I am not sure this is in any way related to the problem.
    Will appreciate your helpful responses on this.
    Best regards,
    Vishnu T

    Withing the Z function, it is the calls to SAP standard functions that are doing the update. Here is the function body
    FUNCTION Z_B_BAPI_EQMT_INSTALLHR.
    *"*"Local interface:
    *"       IMPORTING
    *"             VALUE(EQUIPMENT) LIKE  BAPI_EQUI-EQUIPMENT
    *"             VALUE(SUPEREQUI) LIKE  BAPI_EQHR-SUPEREQUI
    *"             VALUE(POSEQUI) LIKE  BAPI_EQHR-POSEQUI OPTIONAL
    *"             VALUE(DATE) LIKE  SY-DATUM DEFAULT SY-DATUM
    *"             VALUE(TIME) LIKE  SY-UZEIT DEFAULT SY-UZEIT
    *"             VALUE(COMMIT) LIKE  VBMOD-VBMODE DEFAULT SPACE
    *"       EXPORTING
    *"             VALUE(EQUIMASTER) LIKE  BAPI_EQUI STRUCTURE  BAPI_EQUI
    *"             VALUE(EQUITIME) LIKE  BAPI_EQUZ STRUCTURE  BAPI_EQUZ
    *"             VALUE(EQUITEXT) LIKE  BAPI_EQKT STRUCTURE  BAPI_EQKT
    *"             VALUE(EQUILOCATION) LIKE  BAPI_ILOA
    *"                             STRUCTURE  BAPI_ILOA
    *"             VALUE(EQUISALES) LIKE  BAPI_EQSD STRUCTURE  BAPI_EQSD
    *"             VALUE(EQUIHIERARCHY) LIKE  BAPI_EQHR
    *"                             STRUCTURE  BAPI_EQHR
    *"             VALUE(RETURN) LIKE  BAPIRETURN STRUCTURE  BAPIRETURN
      CLEAR: EQUIMASTER, EQUITIME, EQUITEXT, EQUILOCATION.
      CLEAR: EQUISALES, EQUIHIERARCHY, RETURN.
    * Object key must not be initial.
      IF EQUIPMENT IS INITIAL.
        CALL FUNCTION 'MESSAGE_SET_AND_CONVERT'
             EXPORTING
                  MSG_CLASS  = 'IS'
                  MSG_TYPE   = 'E'
                  MSG_NUMBER = '498'
                  MSG_PARM1  = 'EQUIPMENT'
             IMPORTING
                  RETURN     = RETURN.
        EXIT.
      ENDIF.
    * Superior equipment must not be initial.
      IF SUPEREQUI IS INITIAL.
        CALL FUNCTION 'MESSAGE_SET_AND_CONVERT'
             EXPORTING
                  MSG_CLASS  = 'IS'
                  MSG_TYPE   = 'E'
                  MSG_NUMBER = '498'
                  MSG_PARM1  = 'EQUIPMENT'
             IMPORTING
                  RETURN     = RETURN.
        EXIT.
      ENDIF.
    * Specified equipment number must exist.
      PERFORM EQUIPMENT_CHECK_VEQUI                             "P9CK056992
        USING                                                   "P9CK056992
          EQUIPMENT "->equipment number                         "P9CK056992
          'X'       "->record must exist (will be read)         "P9CK056992
          'X'       "->record must be locked                    "P9CK056992
          NEW_VEQUI "<-before image read                        "P9CK056992
          I_CODE.   "<-error code                               "P9CK056992
      IF I_CODE <> 0.
        CALL FUNCTION 'MESSAGE_CONVERT'
             EXPORTING
                  SY_SUBRC = 4
             IMPORTING
                  RETURN   = RETURN
             EXCEPTIONS
                  OTHERS   = 1.
        EXIT.
      ENDIF.
    * Superior equipment must exist.
      PERFORM EQUIPMENT_CHECK_VEQUI                             "P9CK056992
        USING                                                   "P9CK056992
          SUPEREQUI "->superior technical object number         "P9CK056992
          'X'       "->object must exist (will be read)         "P9CK056992
          SPACE     "->object will not be locked                "P9CK056992
          OLD_VEQUI "<-object data read                         "P9CK056992
          I_CODE.   "<-error code                               "P9CK056992
      IF I_CODE <> 0.
        CALL FUNCTION 'MESSAGE_CONVERT'
             EXPORTING
                  SY_SUBRC = 4
             IMPORTING
                  RETURN   = RETURN
             EXCEPTIONS
                  OTHERS   = 1.
        EXIT.
      ENDIF.
    * Install equipment
      CALL FUNCTION 'EQUIPMENT_INSTALL'
           EXPORTING
                READ_SOBJ   = ' '
                READ_ROBJ   = ' '
                LOCK_SOBJ   = ' '                               "P9CK056992
                POSEQUI     = POSEQUI
                I_DATE      = DATE
                I_TIME      = TIME
                EXEC_MEAS   = 'X'                               "P9CK159924
           CHANGING
                S_EQUI      = NEW_VEQUI
                R_EQUI      = OLD_VEQUI
           EXCEPTIONS
                ERR_INSTALL = 1
                OTHERS      = 2.
      I_CODE = SY-SUBRC.
    * Fill return structure.
      CALL FUNCTION 'MESSAGE_CONVERT'
           EXPORTING
                SY_SUBRC = I_CODE
           IMPORTING
                RETURN   = RETURN
           EXCEPTIONS
                OTHERS   = 1.
      IF RETURN-TYPE <> 'S'.                                    "P9CK056992
        PERFORM EQUIPMENT_UNLOCK USING EQUIPMENT.               "P9CK056992
        EXIT.                                                   "P9CK056992
      ENDIF.                                                    "P9CK056992
    * Copy local view structure to export structures.
      PERFORM MOVE_VIEW_TO_EQUIPMENT USING NEW_VEQUI EQUIMASTER EQUITIME
                                           EQUITEXT EQUILOCATION EQUISALES
                                           EQUIHIERARCHY.
      CALL FUNCTION 'CHECK_COMMIT'
           EXPORTING
                COMMIT_MODE              = COMMIT
           EXCEPTIONS
                ERR_COMMIT_WORK_AND_WAIT = 1
                OTHERS                   = 2.
    ENDFUNCTION.
    The COMMIT parameter is passed with value 'S' which is an indication to CHECK_COMMIT to do COMMIT WORK AND WAIT. And I am always passing an S and as I said that the update in fact does happen if I do a F6 on the CALL to the above function.

  • Strange behavior with "insertTextAsContent"

    Hi,
    I've got a strange behavior with this loop :
    for (j = 0; j < myParagraph.characters.length-1; j++) {
         var myCharacter = myParagraph.characters[j];
         if (myCharacter.appliedFont.fontStyleName == "Regular") {
              alert(myCharacter.contents);
              myXmlElement.insertTextAsContent(myCharacter.contents, XMLElementPosition.ELEMENT_END);
    I loop through every characters of a paragraph, test if they are "regular", "italic", "bold"..., and store them in different xmlElement. Everything is fine except that every double characters (in french : homme, cette, elle, ville...) output in my xmlElement as one only character (home, cete, ele, vile...). I try with "aaaaaazzzzzzeeeeeerrrrrtttttyyyyy" and it give me, the same way, "azerty" ?!
    The "alert" line output the correct full sentences character by character ("h", "o", "m", "m", "e"...).
    If you have any idea to explain, you are more than welcome
    Thanks
    ** edit : don't know if it's important but I'm using CS6 **

    Hi
    Have you seen this in the object model viewer?
    XMLElement.insertTextAsContent (using:varies, position: XMLElementPosition ): Text
    Adobe InDesign CC (8.0) Object Model
    Inserts the specified text as content before, in, or after the XML element.
    using: Data Type: varies
    The text to be inserted. Can accept: String or SpecialCharacters enumerator.
    position: Data Type: XMLElementPosition
    The position at which to insert the text. Note that text inserted before or after the element does not become part of the content of the element. Instead, it becomes content of the parent of the element.
    Don't ask me why it works when there is no doubled character
    So i tried the following and it worked. I hope this will solve your problem.
    function main() {
         if (app.documents.length != 0) {
            var myDoc = app.activeDocument;
            var myParagraph = myDoc.textFrames[0].paragraphs[0];
            var myXmlElement  = myDoc.xmlElements[0];
            for (j = 0; j < myParagraph.characters.length-1; j++) {
                var myCharacter = myParagraph.characters[j];
                if (myCharacter.appliedFont.fontStyleName == "Regular") {
                    alert(myCharacter.contents);
                    myXmlElement.contents += myCharacter.contents;
                    alert(">" + myXmlElement.contents+ "<");
                }     // if
            }     //for
        }     // if
    }   // main()
    Kind regards
    Dani (from Switzerland)

  • Strange behavior after suspend.

    Hi,
    For some time I have a strange behavior of my system after I awake my computer(after suspend). This problem don't disappear after update.
    Ok, so if I suspend my computer, and awake him I can't run any program. Even if i was open some application, this application crashes. I have to restart my machine.
    Somebody had similar problem or know how help?
    I'm using Arch Linux x64, kernel 3.8, openbox. Suspend by "systemctl suspend".

    OK, maybe good idea is paste here my output journal:
    # journalctl --since=today | tac | sed -n '/-- Reboot --/{n;:r;/-- Reboot --/q;p;n;b r}' | tac
    -- Logs begin at Mon 2012-09-10 20:20:07 CEST, end at Thu 2013-03-28 10:17:18 CET. --
    Mar 28 10:10:36 localhost kernel: Freezing user space processes ... (elapsed 0.01 seconds) done.
    Mar 28 10:10:36 localhost systemd[1]: Time has been changed
    Mar 28 10:10:36 localhost systemd[1]: systemd-tmpfiles-clean.timer: time change, recalculating next elapse.
    Mar 28 10:10:36 localhost kernel: Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
    Mar 28 10:10:36 localhost dhcpcd[1435]: eth1: carrier lost
    Mar 28 10:10:36 localhost kernel: PM: Entering mem sleep
    Mar 28 10:10:36 localhost kernel: Suspending console(s) (use no_console_suspend to debug)
    Mar 28 10:10:36 localhost kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache
    Mar 28 10:10:36 localhost kernel: sd 0:0:0:0: [sda] Stopping disk
    Mar 28 10:10:36 localhost kernel: cfg80211: Calling CRDA for country: PL
    Mar 28 10:10:36 localhost kernel: <6>[fglrx] IRQ 46 Disabled
    Mar 28 10:10:36 localhost kernel: <6>[fglrx] Preparing suspend fglrx in kernel.
    Mar 28 10:10:36 localhost kernel: <6>[fglrx] Suspending fglrx in kernel completed.
    Mar 28 10:10:36 localhost kernel: <6>[fglrx] Power down the ASIC .
    Mar 28 10:10:36 localhost kernel: PM: suspend of devices complete after 1126.292 msecs
    Mar 28 10:10:36 localhost kernel: PM: late suspend of devices complete after 0.263 msecs
    Mar 28 10:10:36 localhost kernel: r8169 0000:09:00.0: System wakeup enabled by ACPI
    Mar 28 10:10:36 localhost kernel: ehci-pci 0000:00:1d.0: System wakeup enabled by ACPI
    Mar 28 10:10:36 localhost kernel: PM: noirq suspend of devices complete after 52.988 msecs
    Mar 28 10:10:36 localhost kernel: ACPI: Preparing to enter system sleep state S3
    Mar 28 10:10:36 localhost kernel: PM: Saving platform NVS memory
    Mar 28 10:10:36 localhost kernel: Disabling non-boot CPUs ...
    Mar 28 10:10:36 localhost kernel: smpboot: CPU 1 is now offline
    Mar 28 10:10:36 localhost kernel: smpboot: CPU 2 is now offline
    Mar 28 10:10:36 localhost kernel: smpboot: CPU 3 is now offline
    Mar 28 10:10:36 localhost kernel: Extended CMOS year: 2000
    Mar 28 10:10:36 localhost kernel: ACPI: Low-level resume complete
    Mar 28 10:10:36 localhost kernel: PM: Restoring platform NVS memory
    Mar 28 10:10:36 localhost kernel: Extended CMOS year: 2000
    Mar 28 10:10:36 localhost kernel: CPU0: Thermal monitoring handled by SMI
    Mar 28 10:10:36 localhost kernel: Enabling non-boot CPUs ...
    Mar 28 10:10:36 localhost kernel: smpboot: Booting Node 0 Processor 1 APIC 0x4
    Mar 28 10:10:36 localhost kernel: CPU1: Thermal monitoring handled by SMI
    Mar 28 10:10:36 localhost kernel: CPU1 is up
    Mar 28 10:10:36 localhost kernel: smpboot: Booting Node 0 Processor 2 APIC 0x1
    Mar 28 10:10:36 localhost kernel: CPU2: Thermal monitoring handled by SMI
    Mar 28 10:10:36 localhost kernel: CPU2 is up
    Mar 28 10:10:36 localhost kernel: smpboot: Booting Node 0 Processor 3 APIC 0x5
    Mar 28 10:10:36 localhost kernel: CPU3: Thermal monitoring handled by SMI
    Mar 28 10:10:36 localhost kernel: CPU3 is up
    Mar 28 10:10:36 localhost kernel: ACPI: Waking up from system sleep state S3
    Mar 28 10:10:36 localhost kernel: ehci-pci 0000:00:1d.0: System wakeup disabled by ACPI
    Mar 28 10:10:36 localhost kernel: sdhci-pci 0000:07:00.0: MMC controller base frequency changed to 50Mhz.
    Mar 28 10:10:36 localhost kernel: sdhci-pci 0000:07:00.0: proprietary Ricoh MMC controller disabled (via firewire function)
    Mar 28 10:10:36 localhost kernel: sdhci-pci 0000:07:00.0: MMC cards are now supported by standard SDHCI controller
    Mar 28 10:10:36 localhost kernel: PM: noirq resume of devices complete after 133.780 msecs
    Mar 28 10:10:36 localhost kernel: PM: early resume of devices complete after 0.127 msecs
    Mar 28 10:10:36 localhost kernel: ehci-pci 0000:00:1a.0: setting latency timer to 64
    Mar 28 10:10:36 localhost kernel: mei 0000:00:16.0: irq 43 for MSI/MSI-X
    Mar 28 10:10:36 localhost kernel: snd_hda_intel 0000:00:1b.0: irq 44 for MSI/MSI-X
    Mar 28 10:10:36 localhost kernel: pci 0000:00:1e.0: setting latency timer to 64
    Mar 28 10:10:36 localhost kernel: ehci-pci 0000:00:1d.0: setting latency timer to 64
    Mar 28 10:10:36 localhost kernel: ahci 0000:00:1f.2: setting latency timer to 64
    Mar 28 10:10:36 localhost kernel: snd_hda_intel 0000:02:00.1: irq 45 for MSI/MSI-X
    Mar 28 10:10:36 localhost kernel: r8169 0000:09:00.0: System wakeup disabled by ACPI
    Mar 28 10:10:36 localhost kernel: <6>[fglrx] Power up the ASIC
    Mar 28 10:10:36 localhost kernel: <6>[fglrx] Preparing resume fglrx in kernel.
    Mar 28 10:10:36 localhost kernel: Extended CMOS year: 2000
    Mar 28 10:10:36 localhost kernel: <6>[fglrx] Resuming fglrx in kernel completed.
    Mar 28 10:10:36 localhost kernel: <6>[fglrx] IRQ 46 Enabled
    Mar 28 10:10:36 localhost kernel: ata5: SATA link down (SStatus 0 SControl 300)
    Mar 28 10:10:36 localhost kernel: ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    Mar 28 10:10:36 localhost kernel: ata2.00: configured for UDMA/100
    Mar 28 10:10:36 localhost kernel: usb 2-1.3: reset low-speed USB device number 3 using ehci-pci
    Mar 28 10:10:36 localhost kernel: sdhci-pci 0000:07:00.0: Will use DMA mode even though HW doesn't fully claim to support it.
    Mar 28 10:10:36 localhost kernel: firewire_core 0000:07:00.3: rediscovered device fw0
    Mar 28 10:10:36 localhost kernel: usb 1-1.4: reset high-speed USB device number 3 using ehci-pci
    Mar 28 10:10:36 localhost kernel: ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    Mar 28 10:10:36 localhost kernel: ata1.00: configured for UDMA/133
    Mar 28 10:10:36 localhost kernel: sd 0:0:0:0: [sda] Starting disk
    Mar 28 10:10:36 localhost kernel: PM: resume of devices complete after 2478.795 msecs
    Mar 28 10:10:36 localhost kernel: PM: Finishing wakeup.
    Mar 28 10:10:36 localhost kernel: Restarting tasks ... done.
    Mar 28 10:10:36 localhost kernel: video LNXVIDEO:00: Restoring backlight state
    Mar 28 10:10:36 localhost slim[806]: Conky: can't open /sys/class/power_supply/BAT0/uevent: No such file or directory
    Mar 28 10:10:36 localhost slim[806]: Conky: can't open /proc/acpi/battery/BAT0/state: No such file or directory
    Mar 28 10:10:36 localhost systemd-sleep[4208]: System resumed.
    Mar 28 10:10:36 localhost dbus-daemon[800]: dbus[800]: [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service'
    Mar 28 10:10:36 localhost dbus[800]: [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service'
    Mar 28 10:10:36 localhost su[4307]: (to root) root on none
    Mar 28 10:10:36 localhost su[4307]: pam_unix(su:session): session opened for user root by (uid=0)
    Mar 28 10:10:36 localhost systemd[1]: Starting Daemon for power management...
    Mar 28 10:10:36 localhost su[4307]: pam_unix(su:session): session closed for user root
    Mar 28 10:10:36 localhost su[4328]: (to root) root on none
    Mar 28 10:10:36 localhost su[4328]: pam_unix(su:session): session opened for user root by (uid=0)
    Mar 28 10:10:36 localhost su[4328]: pam_unix(su:session): session closed for user root
    Mar 28 10:10:36 localhost systemd[1]: Started Suspend.
    Mar 28 10:10:36 localhost systemd[1]: Service sleep.target is not needed anymore. Stopping.
    Mar 28 10:10:36 localhost systemd[1]: Stopping Sleep.
    Mar 28 10:10:36 localhost systemd[1]: Stopped target Sleep.
    Mar 28 10:10:36 localhost systemd[1]: Starting Suspend.
    Mar 28 10:10:36 localhost systemd[1]: Reached target Suspend.
    Mar 28 10:10:36 localhost systemd-logind[796]: Operation finished.
    Mar 28 10:10:36 localhost laptop-mode[4441]: Laptop mode
    Mar 28 10:10:36 localhost laptop-mode[4446]: enabled, active [unchanged]
    Mar 28 10:10:36 localhost logger[4463]: ACPI action undefined: ACPI0003:00
    Mar 28 10:10:36 localhost laptop-mode[4501]: Laptop mode
    Mar 28 10:10:36 localhost laptop-mode[4509]: enabled, active [unchanged]
    Mar 28 10:10:36 localhost laptop-mode[4534]: Laptop mode
    Mar 28 10:10:36 localhost laptop-mode[4539]: enabled, active [unchanged]
    Mar 28 10:10:36 localhost laptop-mode[4554]: Laptop mode
    Mar 28 10:10:36 localhost laptop-mode[4557]: enabled, active [unchanged]
    Mar 28 10:10:36 localhost laptop-mode[4562]: Laptop mode
    Mar 28 10:10:36 localhost laptop-mode[4563]: enabled, active [unchanged]
    Mar 28 10:10:36 localhost dbus-daemon[800]: dbus[800]: [system] Successfully activated service 'org.freedesktop.UPower'
    Mar 28 10:10:36 localhost dbus[800]: [system] Successfully activated service 'org.freedesktop.UPower'
    Mar 28 10:10:36 localhost systemd[1]: Started Daemon for power management.
    Mar 28 10:10:37 localhost ntpd[1442]: Deleting interface #3 eth1, 192.168.1.6#123, interface stats: received=135, sent=135, dropped=1, active_time=4197 secs
    Mar 28 10:10:37 localhost ntpd[1442]: 149.156.70.60 interface 192.168.1.6 -> (none)
    Mar 28 10:10:37 localhost ntpd[1442]: 149.156.24.40 interface 192.168.1.6 -> (none)
    Mar 28 10:10:37 localhost ntpd[1442]: 46.250.172.2 interface 192.168.1.6 -> (none)
    Mar 28 10:10:37 localhost ntpd[1442]: peers refreshed
    Mar 28 10:10:38 localhost su[4624]: (to root) root on none
    Mar 28 10:10:38 localhost su[4624]: pam_unix(su:session): session opened for user root by (uid=0)
    Mar 28 10:10:38 localhost laptop-mode[4653]: Laptop mode
    Mar 28 10:10:38 localhost laptop-mode[4654]: enabled, active [unchanged]
    Mar 28 10:10:38 localhost dhcpcd[1435]: eth1: carrier acquired
    Mar 28 10:10:38 localhost dhcpcd[1435]: eth1: sending IPv6 Router Solicitation
    Mar 28 10:10:38 localhost dhcpcd[1435]: eth1: rebinding lease of 192.168.1.6
    Mar 28 10:10:38 localhost dhcpcd[1435]: eth1: acknowledged 192.168.1.6 from 192.168.1.1 `TP-LINK'
    Mar 28 10:10:38 localhost dhcpcd[1435]: eth1: checking for 192.168.1.6
    Mar 28 10:10:38 localhost su[4624]: pam_unix(su:session): session closed for user root
    Mar 28 10:10:38 localhost su[4660]: (to root) root on none
    Mar 28 10:10:38 localhost su[4660]: pam_unix(su:session): session opened for user root by (uid=0)
    Mar 28 10:10:38 localhost su[4660]: pam_unix(su:session): session closed for user root
    Mar 28 10:10:38 localhost kernel: EXT4-fs (sda6): re-mounted. Opts: commit=0
    Mar 28 10:10:38 localhost kernel: EXT4-fs (sda7): re-mounted. Opts: commit=0
    Mar 28 10:10:38 localhost laptop-mode[4694]: Laptop mode
    Mar 28 10:10:38 localhost laptop-mode[4695]: enabled, active [unchanged]
    Mar 28 10:10:38 localhost logger[4698]: ACPI action undefined: ACPI0003:00
    Mar 28 10:10:38 localhost slim[806]: tint2 : invalid option "task_margin",
    Mar 28 10:10:38 localhost slim[806]: upgrade tint2 or correct your config file
    Mar 28 10:10:38 localhost slim[806]: tint2 : nb monitor 1, nb monitor used 1, nb desktop 1
    Mar 28 10:10:38 localhost slim[806]: X Error of failed request: BadWindow (invalid Window parameter)
    Mar 28 10:10:38 localhost slim[806]: Major opcode of failed request: 21 (X_ListProperties)
    Mar 28 10:10:38 localhost slim[806]: Resource id in failed request: 0x18000b0
    Mar 28 10:10:38 localhost slim[806]: Serial number of failed request: 12
    Mar 28 10:10:38 localhost slim[806]: Current serial number in output stream: 12
    Mar 28 10:10:40 localhost slim[806]: you have no weather alerts
    Mar 28 10:10:40 localhost slim[806]: processing complete
    Mar 28 10:10:40 localhost slim[806]: gathering data with curl
    Mar 28 10:10:40 localhost slim[806]: % Total % Received % Xferd Average Speed Time Time Time Current
    Mar 28 10:10:40 localhost slim[806]: Dload Upload Total Spent Left Speed
    Mar 28 10:10:40 localhost slim[806]: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: (nil); Unknown error
    Mar 28 10:10:40 localhost slim[806]: not checking for alerts
    Mar 28 10:10:40 localhost slim[806]: curl attempt timed out, trying again
    Mar 28 10:10:40 localhost slim[806]: % Total % Received % Xferd Average Speed Time Time Time Current
    Mar 28 10:10:40 localhost slim[806]: Dload Upload Total Spent Left Speed
    Mar 28 10:10:40 localhost slim[806]: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: (nil); Unknown error
    Mar 28 10:10:42 localhost dhcpcd[1435]: eth1: sending IPv6 Router Solicitation
    Mar 28 10:10:43 localhost dhcpcd[1435]: eth1: leased 192.168.1.6 for 259200 seconds
    Mar 28 10:10:45 dhcppc4 ntpd[1442]: Listen normally on 6 eth1 192.168.1.6 UDP 123
    Mar 28 10:10:45 dhcppc4 ntpd[1442]: peers refreshed
    Mar 28 10:10:45 dhcppc4 ntpd[1442]: new interface(s) found: waking up resolver
    Mar 28 10:10:45 dhcppc4 slim[806]: Traceback (most recent call last):
    Mar 28 10:10:45 dhcppc4 slim[806]: File "/home/rlk120/.scripts/gmail.py", line 9, in <module>
    Mar 28 10:10:45 dhcppc4 slim[806]: msg=temp.read()
    Mar 28 10:10:45 dhcppc4 slim[806]: File "/usr/lib/python3.3/encodings/ascii.py", line 26, in decode
    Mar 28 10:10:45 dhcppc4 slim[806]: return codecs.ascii_decode(input, self.errors)[0]
    Mar 28 10:10:45 dhcppc4 slim[806]: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 375: ordinal not in range(128)
    Mar 28 10:10:45 dhcppc4 slim[806]: not checking for alerts
    Mar 28 10:10:45 dhcppc4 slim[806]: curl attempt timed out, trying again
    Mar 28 10:10:45 dhcppc4 slim[806]: % Total % Received % Xferd Average Speed Time Time Time Current
    Mar 28 10:10:45 dhcppc4 slim[806]: Dload Upload Total Spent Left Speed
    Mar 28 10:10:46 dhcppc4 slim[806]: [234B blob data]
    Mar 28 10:10:46 dhcppc4 dhcpcd[1435]: eth1: sending IPv6 Router Solicitation
    Mar 28 10:10:50 dhcppc4 dhcpcd[1435]: eth1: sending IPv6 Router Solicitation
    Mar 28 10:10:50 dhcppc4 dhcpcd[1435]: eth1: no IPv6 Routers available
    Mar 28 10:11:03 dhcppc4 slim[806]: No protocol specified
    Mar 28 10:11:03 dhcppc4 slim[806]: (chromium:4750): Gtk-WARNING **: cannot open display: :0.0
    Mar 28 10:11:31 dhcppc4 systemd-logind[796]: System is rebooting.
    Mar 28 10:11:32 dhcppc4 systemd[1]: Deactivating swap /dev/sda8...
    Mar 28 10:11:32 dhcppc4 systemd[1]: Deactivating swap /dev/sda8...
    Mar 28 10:11:32 dhcppc4 systemd[1]: Deactivating swap /dev/sda8...
    Mar 28 10:11:32 dhcppc4 systemd[1]: Stopping Sound Card.
    Mar 28 10:11:32 dhcppc4 systemd[1]: Stopped target Sound Card.
    Mar 28 10:11:32 dhcppc4 systemd[1]: Stopping Daemon for power management...
    Mar 28 10:11:32 dhcppc4 systemd[1]: Stopping Authorization Manager...
    Mar 28 10:11:32 dhcppc4 systemd[1]: Stopping Graphical Interface.
    Mar 28 10:11:32 dhcppc4 systemd[1]: Stopped target Graphical Interface.
    Mar 28 10:11:32 dhcppc4 systemd[1]: Stopping Multi-User.
    Mar 28 10:11:32 dhcppc4 systemd[1]: Stopped target Multi-User.
    Mar 28 10:11:32 dhcppc4 systemd[1]: Stopping ACPI event daemon...
    Mar 28 10:11:32 dhcppc4 ntpd[1442]: ntpd exiting on signal 15
    Mar 28 10:11:32 dhcppc4 acpid[793]: exiting
    Mar 28 10:11:32 dhcppc4 dhcpcd[4810]: sending signal 1 to pid 1435
    Mar 28 10:11:32 dhcppc4 dhcpcd[4810]: waiting for pid 1435 to exit
    Mar 28 10:11:32 dhcppc4 dhcpcd[1435]: received SIGHUP, releasing
    Mar 28 10:11:32 dhcppc4 dhcpcd[1435]: eth1: releasing lease of 192.168.1.6
    Mar 28 10:11:32 dhcppc4 dhcpcd[1435]: eth1: removing interface
    Mar 28 10:11:33 dhcppc4 slim[806]: Conky: received SIGHUP or SIGUSR1. reloading the config file.
    Mar 28 10:11:33 dhcppc4 slim[806]: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
    Mar 28 10:11:33 dhcppc4 slim[806]: after 200200 requests (200197 known processed) with 0 events remaining.
    Mar 28 10:11:33 dhcppc4 slim[806]: Conky: received SIGHUP or SIGUSR1. reloading the config file.
    Mar 28 10:11:33 dhcppc4 slim[806]: XIO: fatal IO error 4 (Interrupted system call) on X server ":0.0"
    Mar 28 10:11:33 dhcppc4 slim[806]: after 226 requests (226 known processed) with 0 events remaining.
    Mar 28 10:11:33 dhcppc4 slim[806]: real transparency off.... depth: 24
    Mar 28 10:11:33 dhcppc4 slim[806]: xRandr: Found crtc's: 4
    Mar 28 10:11:33 dhcppc4 slim[806]: xRandr: Linking output LVDS with crtc 0
    Mar 28 10:11:33 dhcppc4 slim[806]: real transparency off.... depth: 24
    Mar 28 10:11:33 dhcppc4 slim[806]: xRandr: Found crtc's: 4
    Mar 28 10:11:33 dhcppc4 slim[806]: xRandr: Linking output LVDS with crtc 0
    Mar 28 10:11:33 dhcppc4 slim[806]: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
    Mar 28 10:11:33 dhcppc4 slim[806]: after 534585 requests (534585 known processed) with 0 events remaining.
    Mar 28 10:11:33 dhcppc4 slim[806]: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
    Mar 28 10:11:33 dhcppc4 slim[806]: after 163909 requests (163909 known processed) with 0 events remaining.
    Mar 28 10:11:33 dhcppc4 slim[806]: you have no weather alerts
    Mar 28 10:11:33 dhcppc4 slim[806]: processing complete
    Mar 28 10:11:33 dhcppc4 kernel: cfg80211: Calling CRDA to update world regulatory domain
    Mar 28 10:11:33 dhcppc4 kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    Mar 28 10:11:33 dhcppc4 netcfg-daemon[4777]: :: siec_domowa down [done]
    Mar 28 10:11:33 dhcppc4 slim[806]: Server terminated successfully (0). Closing log file.
    Mar 28 10:11:33 dhcppc4 laptop-mode[4865]: Laptop mode
    Mar 28 10:11:33 dhcppc4 laptop-mode[4866]: enabled, active [unchanged]
    Mar 28 10:11:34 dhcppc4 systemd[1]: slim.service: main process exited, code=exited, status=1/FAILURE
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopped SLiM Simple Login Manager.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Unit slim.service entered failed state
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopping Permit User Sessions...
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopped Permit User Sessions.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopping Basic System.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopped target Basic System.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopping Dispatch Password Requests to Console Directory Watch.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopped Dispatch Password Requests to Console Directory Watch.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopping Forward Password Requests to Wall Directory Watch.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopped Forward Password Requests to Wall Directory Watch.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopping Daily Cleanup of Temporary Directories.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopped Daily Cleanup of Temporary Directories.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopping Sockets.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopped target Sockets.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopping LVM2 metadata daemon socket.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Closed LVM2 metadata daemon socket.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopping Device-mapper event daemon FIFOs.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Closed Device-mapper event daemon FIFOs.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopping Syslog Socket.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Closed Syslog Socket.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopping ACPID Listen Socket.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Closed ACPID Listen Socket.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopping D-Bus System Message Bus Socket.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Closed D-Bus System Message Bus Socket.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopping System Initialization.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopped target System Initialization.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopping Load Kernel Modules...
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopped Load Kernel Modules.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopping Apply Kernel Variables...
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopped Apply Kernel Variables.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopping Setup Virtual Console...
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopped Setup Virtual Console.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopping Set Up Additional Binary Formats...
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopped Set Up Additional Binary Formats.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopping Encrypted Volumes.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopped target Encrypted Volumes.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopping Swap.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopped target Swap.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopping Local File Systems.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopped target Local File Systems.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Unmounting /home...
    Mar 28 10:11:35 dhcppc4 systemd[1]: Unmounting /tmp...
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopping Remote File Systems.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopped target Remote File Systems.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Unmounted /tmp.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Unmounted /home.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Starting Unmount All Filesystems.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Reached target Unmount All Filesystems.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopping Local File Systems (Pre).
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopped target Local File Systems (Pre).
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopping Remount Root and Kernel File Systems...
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopped Remount Root and Kernel File Systems.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Starting Shutdown.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Reached target Shutdown.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Starting Save Random Seed...
    Mar 28 10:11:35 dhcppc4 systemd[1]: Starting Update UTMP about System Shutdown...
    Mar 28 10:11:35 dhcppc4 systemd[1]: Started Save Random Seed.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Started Update UTMP about System Shutdown.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Starting Final Step.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Reached target Final Step.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Starting Reboot...
    Mar 28 10:11:35 dhcppc4 systemd[1]: Shutting down.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Hardware watchdog 'iTCO_wdt', version 0
    Mar 28 10:11:35 dhcppc4 systemd[1]: Set hardware watchdog to 10min.
    Mar 28 10:11:35 dhcppc4 kernel: watchdog watchdog0: watchdog did not stop!
    Mar 28 10:11:35 dhcppc4 systemd-journal[131]: Journal stopped
    Somebody probably find interesting things in this code.
    And here is some fail slim:
    # journalctl /usr/lib/systemd/systemd --since=today
    -- Logs begin at Mon 2012-09-10 20:20:07 CEST, end at Thu 2013-03-28 10:37:18 CET. --
    Mar 28 10:10:36 localhost systemd[1]: Time has been changed
    Mar 28 10:10:36 localhost systemd[1]: systemd-tmpfiles-clean.timer: time change, recalculating next elapse.
    Mar 28 10:10:36 localhost systemd[1]: Starting Daemon for power management...
    Mar 28 10:10:36 localhost systemd[1]: Started Suspend.
    Mar 28 10:10:36 localhost systemd[1]: Service sleep.target is not needed anymore. Stopping.
    Mar 28 10:10:36 localhost systemd[1]: Stopping Sleep.
    Mar 28 10:10:36 localhost systemd[1]: Stopped target Sleep.
    Mar 28 10:10:36 localhost systemd[1]: Starting Suspend.
    Mar 28 10:10:36 localhost systemd[1]: Reached target Suspend.
    Mar 28 10:10:36 localhost systemd[1]: Started Daemon for power management.
    Mar 28 10:11:32 dhcppc4 systemd[1]: Deactivating swap /dev/sda8...
    Mar 28 10:11:32 dhcppc4 systemd[1]: Deactivating swap /dev/sda8...
    Mar 28 10:11:32 dhcppc4 systemd[1]: Deactivating swap /dev/sda8...
    Mar 28 10:11:32 dhcppc4 systemd[1]: Stopping Sound Card.
    Mar 28 10:11:32 dhcppc4 systemd[1]: Stopped target Sound Card.
    Mar 28 10:11:32 dhcppc4 systemd[1]: Stopping Daemon for power management...
    Mar 28 10:11:32 dhcppc4 systemd[1]: Stopping Authorization Manager...
    Mar 28 10:11:32 dhcppc4 systemd[1]: Stopping Graphical Interface.
    Mar 28 10:11:32 dhcppc4 systemd[1]: Stopped target Graphical Interface.
    Mar 28 10:11:32 dhcppc4 systemd[1]: Stopping Multi-User.
    Mar 28 10:11:32 dhcppc4 systemd[1]: Stopped target Multi-User.
    Mar 28 10:11:32 dhcppc4 systemd[1]: Stopping ACPI event daemon...
    Mar 28 10:11:34 dhcppc4 systemd[1]: slim.service: main process exited, code=exited, status=1/FAILURE
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopped SLiM Simple Login Manager.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Unit slim.service entered failed state
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopping Permit User Sessions...
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopped Permit User Sessions.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopping Basic System.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopped target Basic System.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopping Dispatch Password Requests to Console Directory Watch.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopped Dispatch Password Requests to Console Directory Watch.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopping Forward Password Requests to Wall Directory Watch.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopped Forward Password Requests to Wall Directory Watch.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopping Daily Cleanup of Temporary Directories.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopped Daily Cleanup of Temporary Directories.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopping Sockets.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopped target Sockets.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopping LVM2 metadata daemon socket.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Closed LVM2 metadata daemon socket.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopping Device-mapper event daemon FIFOs.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Closed Device-mapper event daemon FIFOs.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopping Syslog Socket.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Closed Syslog Socket.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopping ACPID Listen Socket.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Closed ACPID Listen Socket.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopping D-Bus System Message Bus Socket.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Closed D-Bus System Message Bus Socket.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopping System Initialization.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopped target System Initialization.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopping Load Kernel Modules...
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopped Load Kernel Modules.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopping Apply Kernel Variables...
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopped Apply Kernel Variables.
    Mar 28 10:11:34 dhcppc4 systemd[1]: Stopping Setup Virtual Console...
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopped Setup Virtual Console.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopping Set Up Additional Binary Formats...
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopped Set Up Additional Binary Formats.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopping Encrypted Volumes.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopped target Encrypted Volumes.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopping Swap.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopped target Swap.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopping Local File Systems.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopped target Local File Systems.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Unmounting /home...
    Mar 28 10:11:35 dhcppc4 systemd[1]: Unmounting /tmp...
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopping Remote File Systems.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopped target Remote File Systems.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Unmounted /tmp.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Unmounted /home.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Starting Unmount All Filesystems.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Reached target Unmount All Filesystems.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopping Local File Systems (Pre).
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopped target Local File Systems (Pre).
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopping Remount Root and Kernel File Systems...
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopped Remount Root and Kernel File Systems.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Starting Shutdown.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Reached target Shutdown.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Starting Save Random Seed...
    Mar 28 10:11:35 dhcppc4 systemd[1]: Starting Update UTMP about System Shutdown...
    Mar 28 10:11:35 dhcppc4 systemd[1]: Started Save Random Seed.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Started Update UTMP about System Shutdown.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Starting Final Step.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Reached target Final Step.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Starting Reboot...
    Mar 28 10:11:35 dhcppc4 systemd[1]: Shutting down.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Hardware watchdog 'iTCO_wdt', version 0
    Mar 28 10:11:35 dhcppc4 systemd[1]: Reached target Unmount All Filesystems.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopping Local File Systems (Pre).
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopped target Local File Systems (Pre).
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopping Remount Root and Kernel File Systems...
    Mar 28 10:11:35 dhcppc4 systemd[1]: Stopped Remount Root and Kernel File Systems.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Starting Shutdown.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Reached target Shutdown.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Starting Save Random Seed...
    Mar 28 10:11:35 dhcppc4 systemd[1]: Starting Update UTMP about System Shutdown...
    Mar 28 10:11:35 dhcppc4 systemd[1]: Started Save Random Seed.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Started Update UTMP about System Shutdown.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Starting Final Step.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Reached target Final Step.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Starting Reboot...
    Mar 28 10:11:35 dhcppc4 systemd[1]: Shutting down.
    Mar 28 10:11:35 dhcppc4 systemd[1]: Hardware watchdog 'iTCO_wdt', version 0
    Mar 28 10:11:35 dhcppc4 systemd[1]: Set hardware watchdog to 10min.
    Last edited by xorgx3 (2013-03-28 10:52:08)

Maybe you are looking for

  • Scroll Bars in iTunes broken

    Hi guys ok, strange one this. The Scroll bars on the side of the window in itunes, for the playlists, the fields for selecting artists, genre and album have all disappeared. They've just been replaced with White. It still plays music and allows scrol

  • OSX 10.6.3 arrives - some hints on avoiding heartache

    The latest update to OSX Snow Leopard is now available through "Software update", and , as a larger "Combo" version (incorporating all the changes made in 10.6.1 and 10.6.2) at http://support.apple.com/kb/DL1017 It is a large update, and people shoul

  • Solved :How to do this Query ??

    Hello Everyone, I have a table structure like this.... Courses -- which contain the list of courses...with course_id being primary key Tasks -- which contains the list of courses...with task_id being the primary key Course History -- contains list of

  • Unable to adjust clip length by dragging

    Please help me.. I am no longer able to drag the still photo clips in iMovie 5.0.2 to length, they just move up and down the time line. I have been able to adjust them willy-nilly in the recent past but no longer. Did i wear it out? What's the simple

  • How to see full conent when using jdb

    I am using jdb to debug some corruptted char array. When I dump one buffer object that contains char array, I can not view full content since it is too long. Is there a way I can save to this content to a file? Or is there another way to look at full