Computer to sleep when it should not.

I used the following command:

sleep of sudo pmset - a displaysleep 15 disksleep 0 0

The intention was to make sure my computer would never sleep and would be able to continue long downloads like my dropbox synchronization.

Always when I go home, the computer is asleep and interrupted downloads.

How can I diagnose this? Is there a tool to monitor what the computer is doing and why when I'm missing?

Thank you!

Why not go to system preferences/Energy Saver and define sleep ever?

Tags: Mac OS & System Software

Similar Questions

  • How can I configure my computer to sleep when left inactive Aero

    My computer has just been repaired and it the technician has not set a time for the computer to sleep when idle for several minutes

    Hi Phill,

    What version of Windows is installed on the computer?

    You can check these items to create a power plan or choose one.

    If you have Windows Vista.

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-create-or-delete-a-power-plan-scheme

    http://Windows.Microsoft.com/en-us/Windows-Vista/power-plans-frequently-asked-questions

    If you have Windows 7.

    http://Windows.Microsoft.com/en-us/Windows7/change-create-or-delete-a-power-plan-scheme

    http://Windows.Microsoft.com/en-us/Windows7/power-plans-frequently-asked-questions

    I hope this helps.

  • EXECUTE IMMEDIATE throws exception NO_DATA_FOUND when it should not

    Hi all

    I wrote an anonymous PL/SQL block that, on paper, should be OK, but one of its commands EXECUTE IMMEDIATE is runnning slowing prematurely and throw an exception NO_DATA_FOUND, when it should not because I know that there is data in the table.

    Here is the line that I suspect is out of steam after 8 attempts:


    ---
    immediately execute "INSERT INTO ple101.circular35 (ID, SLAVETABLEID, SLAVEITEMID, MASTERTABLEID, MASTERITEMID, PRO) (SELECT * FROM SLAVETASKS where mastertableid =' |)" subTableID | "and masteritemid =' |" subitemID |' and subtableid =' | mastTableID | "and SLAVEITEMID =' |" mastItemId |') ' ;
    ------

    It is supposed to search the entire SLAVETASKS table for documents that match the WHERE clause, but gives up after 8 cycles.
    Table SLAVETASKS got 10228 records.

    The above statement (and the whole of the PLSQL block) is good in that it gets records if they are wthin the first 8 records in the SLAVETASKS table, but like I said after 8 records, to throw an exception NO_DATA_FOUND.

    Published by: user10390960 on April 28, 2012 03:21

    Published by: user10390960 on April 28, 2012 03:22

    Published by: user10390960 on April 28, 2012 03:23

    Published by: user10390960 on April 28, 2012 05:08

    Hi Goofy,

    The above script is for PLSQL and if you want to display the data in circular 35 follow like that

    # Save the code below in the sqlscript for example. circular_process_display. SQL and run as

    sqlplus /@ @circular_process_display.sql

    -- CREATE TABLE circular 35
    CREATE TABLE circular35
    ....
    ..
    /
    
    -- Execute PLSQL Block as given in my earlier post
    DECLARE
    ...
    BEGIN
    ...
    EXCEPTION
    ...
    END;
    /
    
    -- Run SQL to display output on screen.
    SET SERVEROUTPUT ON SIZE 100000 FEEDBACK ON LINESIZE 200;
    
    SELECT *
    FROM circular35
    /
    
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
    
  • MX920 printed in italics when it should not

    I have a MX920. My computer using Windows 7. Occassioally, and apparently at random, a document will print with a wide range in italic, when it is not italicized in the program (Microsoft Word, for example). Small arrived in Word and pdf files. Strange, the italic is just for a full line; the front line and the after is normal. And even stranger is that sometimes it prints with italics tilted to the left (not right). Has anyone seen this? I susepct that is a printer problem, since it occurs in Word and Acrobat Reader.

    Hi DestinLeB,

    Although the problem seems to occur sporadically, an alignment of printhead on the printer may resolve the problem.  To do this, please follow the steps on the below link:

    Series MX920 PIXMA Algnment print head

    I hope this helps!

    It has not responded to your question or problem? Find more help contact us.

  • computer not automatically standby (formerly titled "impossible computer automatically sleep when it is connected to the internet with modem cable")

    Hi, I noticed recently that my computer (Windows XP Media Center Edition 2005) is unable to sleep automatically when it is connected to the internet with a cable modem. Change the settings for my current power mode and try a different feeding regime (diagrams of Windows XP default power and power management, I created) only solves the problem for 2 days at most. I also tried to change the settings for the other power plans mentioned, and yet once again, the problem was only set for two days at the most. I also tried turning off my computer, restarting my computer, recording Powercfg /Restore Default policies in Run, saving sfc/scannow in Run, and again, I got the same result. Reset and power cycling the modem cable is not helped either. To help you better understand the problem, for example, if I had the date set for the screensaver set to 1 minute, the time for the monitor to turn off set to 2 minutes and time for your computer set to 3 minutes, the screen saver activate after 1 minute, the monitor turns off after 2 minutes, but the computer would not sleep mode after 3 minutes , even after an hour or more. I tried to check the Task Manager, and I have not noticed any process that would be interrupting the day before. However, I noticed that when I turned on the monitor by moving the mouse, even when the computer was unable to sleep and unplugged the ethernet cable from the cable modem and waited, the computer has entered standby as it should have.  I tried to find a solution for more than a week, contributions for this issue would be greatly appreciated. Thank you for taking the time to read my post. (Update: it seems that the problem is something else then my cable modem.)

    Hello

    Thank you for the update.

    This behavior can occur because of possible conflicts of third-party software, which includes the third-party security software.

    You can also temporarily disable third-party security software and firewalls installed on the system and check the issue.

    If disabling the antivirus software solves the problem, you may need to configure the settings of the antivirus as a result program. Please contact the software vendor for assistance in this regard.

    Note: be sure to enable the security software on the computer after checking the issue.

    Note: When you perform a clean boot, you can activate services for the modem, network card and disable third-party services to check the issue.

    Hope the helps of information. Let us know if you need help with Windows related issues. We will be happy to help you.

  • When I put my computer into sleep mode, it does not restart

    It will not start until I press the button on the front until the Green led turns off, then press it again until it starts.

    http://www.Vistax64.com/tutorials/63567-power-options-sleep-mode-problems.HTML?filter [11] = power % 20Management

    How to solve a problem of Mode for Vista and find a Solution

    Read the info above and 'related links' here '.

    http://www.Vistax64.com/tutorials/198047-power-plan-restore-default-settings.html

    See you soon... Mick Murphy - Microsoft partner

  • HP Pavilion G6 computer computer laptop - the problem is that it overheats when it should not

    So basically, what's wrong with my laptop overheated quickly for some reason any and I don't know why!

    Natalie

    The most common reason for overheating is an accumulation of dust inside the unit.  It may be visible through the ventilation openings, but it could build up on the internal components.

    It is overheating at the point of turn him off?

    Have you tried the steps in cleaning as shown here?

  • Why the computer turns off when it should ' t

    I have the computer and look at things and then all of a sudden he stops he can resume, but then he comes only to request password and stops I have to wait a few minutes and restart it, it works for a while and then starts all over again did a number of things to clean the disk and defrag and norton viruselp but still have some prob please h

    Hello

    Could be heat related - try using a small fan to blow into the air intakes to see if that helps.
    It is just like it loses power or stop it in the normal way?

    Remove ALL power and reinstall all the memory cards and cables (both ends where possible).
    in fact, remove and replace - don't do not just tight. Remove the dust bunnies and clean the
    air vents. Check that fans are working (before and after opening the case). When your laptop on all the
    You can do is to reinstall the memory and clean the vents (still may try to add a small fan as a
    test).

    This sounds like material so if the above does not help you then probably need help
    a real computer store (not the leeks and the glances at a Best Buy or other stores) or the
    Support of system Maker.

    ===========================================================

    Check with these utilities to see if information may be collected: run BlueScreenView
    to see if there were any BlueScreens and verify in MyEventViewer at shutdown
    (or a few seconds before) See the event log contains useful information.

    It is an excellent tool for displaying the blue screen error information

    -Free - BlueScreenView scans all your minidump files created during "blue screen of death," collisions
    and displays information about all accidents of a table.
    http://www.NirSoft.NET/utils/blue_screen_view.html

    -------------

    MyEventViewer can be verified at the time of the blue screen (BSOD) or event within a second
    or time of the BSOD or event to provide more information about the possible cause - see TIP.

    MyEventViewer - free - a simple alternative in the standard Windows Event Viewer.
    TIP - Options - Advanced filter allows you to see a period of time instead of the whole of the record-
    Set it a bit before and after the time of the event or BSOD.
    http://www.NirSoft.NET/utils/my_event_viewer.html

    ------------

    AppCrashView - free - a small utility for Windows Vista and Windows 7 which shows details
    application of all accidents occurred in your system. The information breaks down is extracted from the
    .WER files created by the Windows Error Reporting (WER) of the operating system component of each
    time that an accident has occurred. AppCrashView also allows you to easily record the list of accidents to
    text/html/csv/xml file.
    http://www.NirSoft.NET/utils/app_crash_view.html

    ------------------------------

    Also do this so you can see the probable bluescreens. (You may or may not be able to see
    them if they occur even after doing this according to the cause.)

    Windows Vista restarts automatically if your computer encounters an error that requires him to plant.
    (also Windows 7)
    http://www.winvistatips.com/disable-automatic-restart-T84.html

    ===========================================================

    Troubleshooting methods:

    What antivirus/antispyware/security products do you have on the machine? Be one you have NEVER
    on this machine, including those you have uninstalled (they leave leftovers behind which can cause
    strange problems).

    ----------------------------------------------------

    Follow these steps:

    Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN

    Enter this at the command prompt - sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Also run CheckDisk, so we cannot exclude as much as possible of the corruption.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    ==========================================

    After the foregoing:

    How to troubleshoot a problem by performing a clean boot in Windows Vista
    http://support.Microsoft.com/kb/929135
    How to troubleshoot performance issues in Windows Vista
    http://support.Microsoft.com/kb/950685

    Optimize the performance of Microsoft Windows Vista
    http://support.Microsoft.com/kb/959062
    To see everything that is in charge of startup - wait a few minutes with nothing to do - then right-click
    Taskbar - the Task Manager process - take a look at stored by - Services - this is a quick way
    reference (if you have a small box at the bottom left - show for all users, then check that).

    How to check and change Vista startup programs
    http://www.Vistax64.com/tutorials/79612-startup-programs-enable-disable.html

    A quick check to see that load method 2 is - using MSCONFIG then put a list of
    those here.
    --------------------------------------------------------------------

    Tools that should help you:

    Process Explorer - free - find out which files, key of registry and other objects processes have opened.
    What DLLs they have loaded and more. This exceptionally effective utility will show you even who has
    each process.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896653.aspx

    Autoruns - free - see what programs are configured to start automatically when you start your system
    and you log in. Autoruns also shows you the full list of registry and file locations where applications can
    Configure auto-start settings.
    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx
    Process Monitor - Free - monitor the system files, registry, process, thread and DLL real-time activity.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896645.aspx

    There are many excellent free tools from Sysinternals
    http://TechNet.Microsoft.com/en-us/Sysinternals/default.aspx

    -Free - WhatsInStartUP this utility displays the list of all applications that are loaded automatically
    When Windows starts. For each request, the following information is displayed: Type of startup (registry/Startup folder), Command - Line String, the product name, Version of the file, the name of the company;
    Location in the registry or the file system and more. It allows you to easily disable or remove unwanted
    a program that runs in your Windows startup.
    http://www.NirSoft.NET/utils/what_run_in_startup.html

    There are many excellent free tools to NirSoft
    http://www.NirSoft.NET/utils/index.html

    Window Watcher - free - do you know what is running on your computer? Maybe not. The window
    Watcher says it all, reporting of any window created by running programs, if the window
    is visible or not.
    http://www.KarenWare.com/PowerTools/ptwinwatch.asp

    Many excellent free tools and an excellent newsletter at Karenware
    http://www.KarenWare.com/

    ===========================================

    Vista and Windows 7 updated drivers love then here's how update the most important.

    This is my generic how updates of appropriate driver:

    This utility, it is easy see which versions are loaded:

    -Free - DriverView utility displays the list of all device drivers currently loaded on your system.
    For each driver in the list, additional useful information is displayed: load address of the driver,
    Description, version, product name, company that created the driver and more.
    http://www.NirSoft.NET/utils/DriverView.html

    For drivers, visit manufacturer of emergency system and of the manufacturer of the device that are the most common.
    Control Panel - device - Graphics Manager - note the brand and complete model
    your video card - double - tab of the driver - write version information. Now, click on update
    Driver (this can do nothing as MS is far behind the certification of drivers) - then right-click.
    Uninstall - REBOOT it will refresh the driver stack.

    Repeat this for network - card (NIC), Wifi network, sound, mouse, and keyboard if 3rd party
    with their own software and drivers and all other main drivers that you have.

    Now in the system manufacturer (Dell, HP, Toshiba as examples) site (in a restaurant), peripheral
    Site of the manufacturer (Realtek, Intel, Nvidia, ATI, for example) and get their latest versions. (Look for
    BIOS, Chipset and software updates on the site of the manufacturer of the system here.)

    Download - SAVE - go to where you put them - right click - RUN AD ADMIN - REBOOT after
    each installation.

    Always check in the Device Manager - drivers tab to be sure the version you actually install
    presents itself. This is because some restore drivers before the most recent is installed (sound card drivers
    in particular that) so to install a driver - reboot - check that it is installed and repeat as
    necessary.

    Repeat to the manufacturers - BTW in the DO NOT RUN THEIR SCANNER device - check
    manually by model.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    How to install a device driver in Vista Device Manager
    http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.html

    If you update the drivers manually, then it's a good idea to disable the facilities of driver under Windows
    Updates, that leaves about Windows updates but it will not install the drivers that will be generally
    older and cause problems. If updates offers a new driver and then HIDE it (right click on it), then
    get new manually if you wish.

    How to disable automatic driver Installation in Windows Vista - drivers
    http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
    http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx

    ===========================================

    Refer to these discussions because many more excellent advice however don't forget to check your antivirus
    programs, the main drivers and BIOS update and also solve the problems with the cleanboot method
    first.

    Problems with the overall speed of the system and performance
    http://support.Microsoft.com/GP/slow_windows_performance/en-us

    Performance and Maintenance Tips
    http://social.answers.Microsoft.com/forums/en-us/w7performance/thread/19e5d6c3-BF07-49ac-a2fa-6718c988f125

    Explorer Windows stopped working
    http://social.answers.Microsoft.com/forums/en-us/w7performance/thread/6ab02526-5071-4DCC-895F-d90202bad8b3

    Hope these helps.

    Rob Brown - Microsoft MVP - Windows Expert - consumer: bike - Mark Twain said it right.

  • My guard computer shut down when I'm not working on any topic. It also stops when I start by putting.

    I can work on e-mail or anything either, then all of a sudden it stops. Then he comes after the message comes on saying it closes unexpectively.

    When she stops when I start by putting it on the same thing happens.

    Hello

    Did you change your computer?

    Method 1:

    Step 1:

    I suggest you check in SafeMode with network.

    Advanced, including safe mode startup options

    http://Windows.Microsoft.com/en-us/Windows-Vista/advanced-startup-options-including-safe-mode

    Step 2:

    I also suggest you perform the clean boot and check.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Note: After a repair, be sure to set the computer to start as usual as mentioned in step 7 in the above article.

    Method 2:

    I also suggest you to find error messages in the event and after feedback from the observer.

    Open event viewer

    http://Windows.Microsoft.com/en-us/Windows7/open-Event-Viewer

    What are the information contained in the logs of the event (Event Viewer)?

    http://Windows.Microsoft.com/en-us/Windows7/what-information-appears-in-event-logs-Event-Viewer

  • Regulator PID very slow to reach the value Point and zeros process Variable when it should not

    Hello

    I am using a PID controller to regulate the emission of a filament current in an ion gauge, but I'm running into several problems.

    The first and less important, are the controller of PID VI takes at least 5 minutes to get the current where it needs to be.  Is it possible to speed this up?

    The second and more important, are that the PID controller tends to zero the process variable before you start the process of getting the close process of the target value variable.  This can be seen in the attached VI: I write 5.8 volts voltage filament - something I did at the beginning to try to get the controller PID for the process close to the target faster - value variable but when the PID controller starts to do his thing, he kills the tension before anything, rather than rise of 5.8 V.

    The attached VI is a single which has these problems.  VI actual ion gauge controller I've written has the same problems, but in a form even more frustrating.  I have a while loop set up for the filament voltage to where it should be (using a PID controller) first and foremost, then a loop of data acquisition, which also includes a feedback loop in the form of a PID regulator to maintain the filament voltage.  When the second PID controller starts to run, it concentrates the tension that the earlier had set, taking another 5 + minutes to reach the point where we can take data and giving us 5 minutes of false data in the process!

    Does anyone know why PID controllers are behaving like this, and what can I do to fix/work with this behavior?

    Hello

    It seems that PID VI will always be 0 for the first iteration. You can, however, use the advanced PID VI and set up the first iteration in manual mode. After subsequent iterations, you could then define this automatic mode and there will be a transition smoothly. I think this will give you the desired behavior.

    -Zach

  • Audio extending randomly when it should not

    Hello

    I am currently working on an Adobe Captivate 7 project in which I am importing audio slide by slide. Each blade has a bit of audio that plays when you enter it and then stops. Random on about 5 screens for some reason any audio plays and then audio plays the next slide as well. I can't find something in the settings or actions that happens and I double checked the audio files several times to make sure this isn't a problem here. When I preview the slide using F3, it plays only the audio slide show as it should, but when I do a real preview or publish it plays next audio slide as well. Help, please!

    -Taylor

    Make sure that there is at least a small space between the beginning and the end of the audio on the timeline of each slide.  Captivate sometimes concatenates audio clips, if they are hard against the beginning or end of the timeline for the slide.

  • get ORA-01403: when it should not

    Hello, I apologize in advance for my spelling, name (takes 6 hours to change) and the headaches you migth get, however,.
    I bring you the following code and test results:
    -----------------------------------------------------------
    -The procedure that throws the error.
    -----------------------------------------------------------
    create or replace
    procedure P_COLEGAS(x in number) as
    ctipo varchar2(20);
    asd varchar2(20);
    
    cursor curnombre is
    select nombre from unidad,elemento where (elemento.id_elem=unidad.id_elem and unidad.tipo=ctipo and elemento.ciudad=asd);
    
    begin
    select unidad.tipo, elemento.ciudad into ctipo,asd from unidad,elemento where unidad.id_elem=x and elemento.id_elem=x;
    for blah in curnombre loop
    DBMS_OUTPUT.PUT_LINE('nombre unidad: '||blah.nombre||' ');
    end loop;
    end;
    -what i get when executing the procedure-
    Error que empieza en la línea 1 del comando:
    exec p_colegas(19)
    Informe de error:
    ORA-01403: no data found
    ORA-06512: at "BD00.P_COLEGAS", line 9
    ORA-06512: at line 1
    01403. 00000 - "no data found"
    *Cause:
    *Action:
    -----------------------------------------------------------
    -the real problem-
    -----------------------------------------------------------
    in the case of this procedure I had to write
    (1)
    select unidad.tipo into ctipo from unidad where unidad.id_elem=x;
    (2)
    select elemento.ciudad into asd from elemento where elemento.id_elem=x;
    Instead the single query I wrote, we get the following:
    (1) wonderful works, gets only error when there is no match for x.
    (2) throws the error that I was before.

    However when I do the following query in the spreadsheet and run it:
    (3)
    select elemento.ciudad from elemento where elemento.id_elem=x;
    I get what I expect to get 1 row 1 column. (Yes it has data)
    Note: (3) the only difference is that I remove the clause, and x is the same number that I used when I run the procedure.

    -----------------------------------------------------------
    --------------------the question------------------------
    -----------------------------------------------------------
    Why in the procedure, the failure of the (2) query to retrieve the data, the same which data the query (3) doesn't fail to pick up?
    I get ORA-01403, when I shouldn't?
    is there a work around for this problem?

    -----------------------------------------------------------
    --------------------what i try------------------------------
    -----------------------------------------------------------
    Nestled the request with its own handle exception error, get the same results, a few screenshots of the error with a different treatment.

    used tool: sql developer

    ----------
    -Example of data-
    ----------
    tested the procedure with the following sample data in a new workspace, make the same mistake.
    --------------------------------------------------------
    --  DDL for Table ELEMENTO
    --------------------------------------------------------
    
      CREATE TABLE "ELEMENTO" 
       (     "ID_ELEM" NUMBER, 
         "CIUDAD" VARCHAR2(20), 
         "TIPO" CHAR(1), 
         "X" NUMBER, 
         "Y" NUMBER, 
         "FECHAHORA_CREACION" TIMESTAMP (6)
       ) ;
    /
    --------------------------------------------------------
    --  DDL for Table UNIDAD
    --------------------------------------------------------
    
      CREATE TABLE "UNIDAD" 
       (     "ID_ELEM" NUMBER, 
         "PORCENTAJE_SALUD" NUMBER, 
         "NOMBRE" VARCHAR2(20), 
         "TIPO" VARCHAR2(20)
       ) ;
    /
    REM INSERTING into ELEMENTO
    SET DEFINE OFF;
    Insert into ELEMENTO (ID_ELEM,CIUDAD,TIPO,X,Y,FECHAHORA_CREACION) values (12,'Infernalia','U',10,10,to_timestamp('12-NOV-20 12.00.00.000000000 PM','DD-MON-RR HH.MI.SS.FF AM'));
    Insert into ELEMENTO (ID_ELEM,CIUDAD,TIPO,X,Y,FECHAHORA_CREACION) values (15,'Infernalia','U',10,7,to_timestamp('12-NOV-20 12.00.00.000000000 PM','DD-MON-RR HH.MI.SS.FF AM'));
    Insert into ELEMENTO (ID_ELEM,CIUDAD,TIPO,X,Y,FECHAHORA_CREACION) values (19,'Infernalia','U',15,9,to_timestamp('12-NOV-20 12.00.00.000000000 PM','DD-MON-RR HH.MI.SS.FF AM'));
    Insert into ELEMENTO (ID_ELEM,CIUDAD,TIPO,X,Y,FECHAHORA_CREACION) values (23,'Infernalia','U',16,8,to_timestamp('12-NOV-20 12.00.00.000000000 PM','DD-MON-RR HH.MI.SS.FF AM'));
    Insert into ELEMENTO (ID_ELEM,CIUDAD,TIPO,X,Y,FECHAHORA_CREACION) values (27,'Infernalia','C',15,10,to_timestamp('12-NOV-20 12.00.00.000000000 PM','DD-MON-RR HH.MI.SS.FF AM'));
    Insert into ELEMENTO (ID_ELEM,CIUDAD,TIPO,X,Y,FECHAHORA_CREACION) values (52,'Humania','U',26,10,to_timestamp('22-NOV-20 12.00.00.000000000 PM','DD-MON-RR HH.MI.SS.FF AM'));
    Insert into ELEMENTO (ID_ELEM,CIUDAD,TIPO,X,Y,FECHAHORA_CREACION) values (58,'Humania','U',24,9,to_timestamp('22-NOV-20 12.00.00.000000000 PM','DD-MON-RR HH.MI.SS.FF AM'));
    Insert into ELEMENTO (ID_ELEM,CIUDAD,TIPO,X,Y,FECHAHORA_CREACION) values (62,'Humania','U',27,11,to_timestamp('22-NOV-20 12.00.00.000000000 PM','DD-MON-RR HH.MI.SS.FF AM'));
    Insert into ELEMENTO (ID_ELEM,CIUDAD,TIPO,X,Y,FECHAHORA_CREACION) values (64,'Humania','C',25,8,to_timestamp('22-NOV-20 12.00.00.000000000 PM','DD-MON-RR HH.MI.SS.FF AM'));
    Insert into ELEMENTO (ID_ELEM,CIUDAD,TIPO,X,Y,FECHAHORA_CREACION) values (78,'GruntVille','U',47,32,to_timestamp('29-NOV-20 12.00.00.000000000 PM','DD-MON-RR HH.MI.SS.FF AM'));
    Insert into ELEMENTO (ID_ELEM,CIUDAD,TIPO,X,Y,FECHAHORA_CREACION) values (84,'GruntVille','U',42,28,to_timestamp('29-NOV-20 12.00.00.000000000 PM','DD-MON-RR HH.MI.SS.FF AM'));
    Insert into ELEMENTO (ID_ELEM,CIUDAD,TIPO,X,Y,FECHAHORA_CREACION) values (89,'GruntVille','U',43,29,to_timestamp('29-NOV-20 12.00.00.000000000 PM','DD-MON-RR HH.MI.SS.FF AM'));
    Insert into ELEMENTO (ID_ELEM,CIUDAD,TIPO,X,Y,FECHAHORA_CREACION) values (91,'GruntVille','C',44,37,to_timestamp('29-NOV-20 12.00.00.000000000 PM','DD-MON-RR HH.MI.SS.FF AM'));
    Insert into ELEMENTO (ID_ELEM,CIUDAD,TIPO,X,Y,FECHAHORA_CREACION) values (29,'Infernalia','C',16,7,to_timestamp('12-NOV-20 12.00.00.000000000 PM','DD-MON-RR HH.MI.SS.FF AM'));
    Insert into ELEMENTO (ID_ELEM,CIUDAD,TIPO,X,Y,FECHAHORA_CREACION) values (90,'GruntVille','U',49,36,to_timestamp('29-NOV-20 12.00.00.000000000 PM','DD-MON-RR HH.MI.SS.FF AM'));
    REM INSERTING into UNIDAD
    SET DEFINE OFF;
    Insert into UNIDAD (ID_ELEM,PORCENTAJE_SALUD,NOMBRE,TIPO) values (12,100,'Grang','Soldado');
    Insert into UNIDAD (ID_ELEM,PORCENTAJE_SALUD,NOMBRE,TIPO) values (15,100,'Krout','Médico');
    Insert into UNIDAD (ID_ELEM,PORCENTAJE_SALUD,NOMBRE,TIPO) values (19,100,'Warf','Obrero');
    Insert into UNIDAD (ID_ELEM,PORCENTAJE_SALUD,NOMBRE,TIPO) values (23,100,'Puaj','Obrero');
    Insert into UNIDAD (ID_ELEM,PORCENTAJE_SALUD,NOMBRE,TIPO) values (52,100,'Marcelus','Soldado');
    Insert into UNIDAD (ID_ELEM,PORCENTAJE_SALUD,NOMBRE,TIPO) values (58,100,'Claudius','Soldado');
    Insert into UNIDAD (ID_ELEM,PORCENTAJE_SALUD,NOMBRE,TIPO) values (62,100,'Arturius','Obrero');
    Insert into UNIDAD (ID_ELEM,PORCENTAJE_SALUD,NOMBRE,TIPO) values (78,100,'Klaknot','Médico');
    Insert into UNIDAD (ID_ELEM,PORCENTAJE_SALUD,NOMBRE,TIPO) values (84,100,'Staisht','Médico');
    Insert into UNIDAD (ID_ELEM,PORCENTAJE_SALUD,NOMBRE,TIPO) values (89,100,'Bjorkson','Soldado');
    Insert into UNIDAD (ID_ELEM,PORCENTAJE_SALUD,NOMBRE,TIPO) values (90,100,'Sknot','Médico');
    --------------------------------------------------------
    --  Constraints for Table ELEMENTO
    --------------------------------------------------------
    
      ALTER TABLE "ELEMENTO" ADD CONSTRAINT "ELEMENTO_CHK1_TIPO" CHECK (TIPO IN ('U', 'C')) ENABLE;
     
      ALTER TABLE "ELEMENTO" ADD CONSTRAINT "ELEMENTO_PK" PRIMARY KEY ("ID_ELEM") ENABLE;
     
      ALTER TABLE "ELEMENTO" MODIFY ("ID_ELEM" NOT NULL ENABLE);
     
      ALTER TABLE "ELEMENTO" MODIFY ("CIUDAD" NOT NULL ENABLE);
     
      ALTER TABLE "ELEMENTO" MODIFY ("TIPO" NOT NULL ENABLE);
     
      ALTER TABLE "ELEMENTO" MODIFY ("X" NOT NULL ENABLE);
     
      ALTER TABLE "ELEMENTO" MODIFY ("Y" NOT NULL ENABLE);
     
      ALTER TABLE "ELEMENTO" MODIFY ("FECHAHORA_CREACION" NOT NULL ENABLE);
    /
    --------------------------------------------------------
    --  Constraints for Table UNIDAD
    --------------------------------------------------------
    
      ALTER TABLE "UNIDAD" MODIFY ("ID_ELEM" NOT NULL ENABLE);
     
      ALTER TABLE "UNIDAD" MODIFY ("PORCENTAJE_SALUD" NOT NULL ENABLE);
     
      ALTER TABLE "UNIDAD" MODIFY ("NOMBRE" NOT NULL ENABLE);
     
      ALTER TABLE "UNIDAD" MODIFY ("TIPO" NOT NULL ENABLE);
     
      ALTER TABLE "UNIDAD" ADD CONSTRAINT "UNIDAD_PK" PRIMARY KEY ("ID_ELEM") ENABLE;
    /
    --------------------------------------------------------
    --  Ref Constraints for Table ELEMENTO
    --------------------------------------------------------
    
    --------------------------------------------------------
    --  Ref Constraints for Table UNIDAD
    --------------------------------------------------------
    
      ALTER TABLE "UNIDAD" ADD CONSTRAINT "UNIDAD_ELEMENTO_FK1" FOREIGN KEY ("ID_ELEM")
           REFERENCES "ELEMENTO" ("ID_ELEM") ENABLE;
     
    /
    Edited by: 975362 04:47 12/06/2012

    Published by: BluShadow on December 6, 2012 12:51
    addition of {noformat}
    {noformat} tags for readability of code/data.  Please read {message:id=9360002} and learn to do this yourself in future.
    
    Edited by: 975362 on 06-12-2012 05:44 AM
    added example data.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

    This is because you use X as the parameter to the procedure, and X is a column in the table :)

    So use a table alias in the query or use another name for the parameter.

    Published by: ascheffer on December 6, 2012 15:04

  • REMOVED_FROM_STAGE shooting event when it should not...

    Hi all

    I was wondering if anyone has seen this before. I have an application that has some points of navigation on the main timeline. The document class stops the film on the first image, and the 'House' a Event.ADDED_TO_STAGE and Event.REMOVED_FROM_STAGE listeners on that movieclip class. The funny thing is, it calls the function ADDED as usual, then pull the REMOVAL works immediately after. However, when I run it, it doesn't actually remove the movieclip from the stage. It's still there. When I navigate to another section ('rare' or 'help') and back to 'home', it does not draw a second time, everything works fine the first time.

    So I guess my question is, which would fire the REMOVED_FROM_STAGE event without actually removing the object in the scene? And why only happen once?

    Thanks for the research!

    -Nick

    Here's a code, but also a screenshot of my main timeline:

    package src.modules {}
    import flash.display.MovieClip;
    import flash.events.Event;
    import flash.events.MouseEvent;

    Import src.utils.greensock.TweenLite;
    Src.utils.greensock.easing import. *;

    SerializableAttribute public class ModHome extends MovieClip {}

    private static const DISTANCE public: int = 700;
    Private static const TWEEN_DURATION:number is 1.0;.

    private var _currentPage:int = 1;
    private var _isDone:Boolean = true;

    public void ModHome() {}
    Super();
    trace ("initialized home');
    addEventListener (Event.ADDED_TO_STAGE, onAddedToStage, false, 0, true);
    }

    private void onAddedToStage(evt:Event):void {}
    trace ("host added in step");
    removeEventListener (Event.ADDED_TO_STAGE, onAddedToStage);
    addEventListener (Event.REMOVED_FROM_STAGE, onRemovedFromStage, false, 0, true);
    BUTTONS
    pageLeft_btn.addEventListener (MouseEvent.CLICK, onMouseClick, false, 0, true);
    pageRight_btn.addEventListener (MouseEvent.CLICK, onMouseClick, false, 0, true);
    }

    private void onRemovedFromStage(evt:Event):void {}
    removeEventListener (Event.REMOVED_FROM_STAGE, onRemovedFromStage);
    BUTTONS
    pageLeft_btn.removeEventListener (MouseEvent.CLICK, onMouseClick);
    pageRight_btn.removeEventListener (MouseEvent.CLICK, onMouseClick);
    trace ("home removed from the stage");
    }

    private void onMouseClick(evt:MouseEvent):void {}
    {if (_isDone)}
    Switch (evt.target.name) {}
    case 'pageLeft_btn ':
    movePages ("left");
    break;
    case 'pageRight_btn ':
    movePages ("right");
    break;
    by default:
    trace ("home - nothing");
    break;
    }
    }
    }

    SCROLLING WINDOW
    private void movePages(thedirection:String):void {}
    _isDone = false;
    var x 1: int;
    {Switch (branch)
    case "right":
    If (_currentPage > 1) {}
    _currentPage = _currentPage - 1;
    x 1 = pages_mc.x + DISTANCE;
    TweenLite.to (pages_mc, TWEEN_DURATION, {x: x 1, ease:Quint.easeInOut, onComplete:onTweenComplete});})
    } else {}
    _isDone = true;
    }
    break;
    case "the left":
    If {(_currentPage < 3)
    _currentPage = _currentPage + 1;
    x 1 = pages_mc.x - DISTANCE;
    TweenLite.to (pages_mc, TWEEN_DURATION, {x: x 1, ease:Quint.easeInOut, onComplete:onTweenComplete});})
    } else {}
    _isDone = true;
    }
    break;
    }
    }

    private function onTweenComplete (): void {}
    _isDone = true;
    pageMarker_mc.gotoAndStop (_currentPage);
    trace ("Complete");
    }
    }
    }

    timeline-1.png

    Comment out the super() call and repeat the test.  Why you use?

  • Message form "Emailing data files" when it should not

    I have a simple PDF with a form I created with the form tools in Acrobat 8 Pro for sending a FDF file by e-mail.

    It works OK but when you click on some other internal links on the page in the document (established in InDesign) completely unrelated to the form I get the following pop up box:

    Sending files of data by Email
    Please note that this form contains a button to send by e-mail. Clicking this button will send a data file containing the data that you type into the form. However, the form itself will not be sent. Remember that you can not save a completed copy of the form with Adobe Acrobat Reader 9.

    1. How can I stop this popping up. Especially on pages that are unrelated to the form.

    2. Why does say: "don't forget you can't save a completed copy of the form with Adobe Acrobat Reader 9 when it doesn't seem to work OK. I can send the FDF file to an email address. But this box pop up is not good.

    And I have another query that is not really on the subject.
    3. How do you get the option buttons to be mutually (for example: sex: male/female)-it is said in the Options button in the Radio button Properties tab so that they have the same field name. But when you set the domain name?

    I posted this in the Mac section, because I think that the Mac of Acrobat Pro version can be the cause of the road!

    1. How can I stop this popping up. Especially on pages that are unrelated to the form.

    I don't know that you can. This is a user setting, not a PDF setting.

    2. Why does say: "don't forget you can't save a completed copy of the form with Adobe Acrobat Reader 9 when it doesn't seem to work OK. I can send the FDF file to an email address. But this box pop up is not good.

    It is correct. The user cannot save the file which is a pdf file. He sends you a pdf file, but as you have noticed a fdf file.

    3. How do you get the option buttons to be mutually (for example: sex: male/female)-it is said in the Options button in the Radio button Properties tab so that they have the same field name. But when you set the domain name?

    If you double-click any field with the field tool, you get the field properties box. You can set the value of the name field and by default here. You want the name of the field to be the same, but different default value.

  • Notification send Calendar invites when it should not

    A friend wrote just for me "I just got 40 notifications of calendar on your part, a lot of dates in the past." The same person also received an invitation to the event calendar a couple of days for an event that my schedule did not show that everyone had been invited to. A few months earlier, another friend told me that she has received invitations to events calendar for someone else. What is happening and how to fix it?

    I have OS X El Capitan (10.11.4)

    I only intended to correct the version of operating system, this is NOT RESOLVED!

    How you uncheck resolved?

Maybe you are looking for