AUR/caffeine builds but doesn't run on x86_64

It runs on my i686 box but when I build/install caffiene on my x86_64 box, I get the following error when I try running it:
$ caffeine
Traceback (most recent call last):
File "/usr/bin/caffeine", line 40, in <module>
import caffeine
File "/usr/lib/python2.7/site-packages/caffeine/__init__.py", line 25, in <module>
from xdg.BaseDirectory import xdg_config_home
ImportError: No module named xdg.BaseDirectory
Thoughts are welcomed

It runs on my i686 box but when I build/install caffiene on my x86_64 box, I get the following error when I try running it:
$ caffeine
Traceback (most recent call last):
File "/usr/bin/caffeine", line 40, in <module>
import caffeine
File "/usr/lib/python2.7/site-packages/caffeine/__init__.py", line 25, in <module>
from xdg.BaseDirectory import xdg_config_home
ImportError: No module named xdg.BaseDirectory
Thoughts are welcomed

Similar Messages

  • Report data shows up in Builder but not when run on web

    I have a report that pulls up the data just fine when run in Builder but when I run it on the web, it shows up, no errors, with no data...just blank.
    I am using a global temp table to do this.
    Any ideas on what might cause this to happen?
    Thank you for ANY suggestions!!
    --KWien                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi,
    Are you sure you are using all the parameters (that work in Builder) in the URL?
    Gicu

  • PLSQL compiles but doesn't run.. I've declared it everywhere but still..

    PLSQL compiles but doesn’t run.. I’ve declared it everywhere but still..
    Afternoon.. Hopefully a quick one for someone.. I’m trying to run a Concurrent Program in ORACLE Financials using a Data Template derived BI Publisher report.
    Error message received..
    SUBIXCLT module: UofS Expense Claim Tracking Report
    +--------------------------------------------------------------------------
    All Parameters: raisedby=:status=:claimant=:expense_date_from=:expense_date_to=:LP_ORDERED_BY=Expense Report Number
    Data Template Code: SUBIXCLT
    Data Template Application Short Name: PO
    Debug Flag: N
    {raisedby=, claimant=, expense_date_to=, expense_date_from=, status=, LP_ORDERED_BY=Expense Report Number}
    Calling XDO Data Engine...
    [060410_025628319][][STATEMENT] Start process Data
    [060410_025628324][][STATEMENT] Process Data ...
    [060410_025628329][][STATEMENT] Executing data triggers...
    [060410_025628329][][STATEMENT] BEGIN
    SUBIXCLT.claimant := :claimant ;
    SUBIXCLT.expense_date_from := :expense_date_from ;
    SUBIXCLT.expense_date_to := :expense_date_to ;
    SUBIXCLT.raisedby := :raisedby ;
    SUBIXCLT.status := :status ;
    SUBIXCLT.lp_ordered_by := :lp_ordered_by ;
    :XDO_OUT_PARAMETER := 1;
    END;
    l_flag Boolean;
    BEGIN
    l_flag := SUBIXCLT.BEFOREREPORT(L_ORDERED) ;
    if (l_flag) then
    :XDO_OUT_PARAMETER := 1;
    end if;
    end;
    [060410_025628356][][EXCEPTION] SQLException encounter while executing data trigger....
    java.sql.SQLException: ORA-06550: line 4, column 33:
    PLS-00201: identifier 'L_ORDERED' must be declared
    ORA-06550: line 4, column 1:
    PL/SQL: Statement ignoredThe Data Template
    The Data Template
    <?xml version="1.0" encoding="utf-8" ?>
    - <dataTemplate name="UofS_OutstandngExpenses_Report" defaultPackage="SUBIXCLT" dataSourceRef="FINDEV" version="1.0">
    - <properties>
      <property name="xml_tag_case" value="upper" />
      <property name="include_parameters" value="true" />
      <property name="debug_mode" value="on" />
      </properties>
    - <parameters>
      <parameter name="claimant" dataType="character" defaultValue="" />
      <parameter name="expense_date_from" dataType="date" defaultValue="" />
      <parameter name="expense_date_to" dataType="date" defaultValue="" />
      <parameter name="raisedby" dataType="character" defaultValue="" />
      <parameter name="status" dataType="character" defaultValue="" />
      <parameter name="lp_ordered_by" dataType="character" defaultValue="" />
      </parameters>
    - <dataQuery>
      <dataTrigger name="beforeReportTrigger" source="SUBIXCLT.BEFOREREPORT(L_ORDERED)" />
    - <sqlStatement name="Q1">
    - <![CDATA[
    SELECT DISTINCT
    erh.invoice_num,
    pap.full_name EMP_CLAIMING,
    DECODE(NVL(erh.expense_status_code, 'Not yet Submitted (NULL)'), 'CANCELLED', 'CANCELLED',
         'EMPAPPR', 'Pending Individuals Approval',      'ERROR', 'Pending System Administrator Action',
         'HOLD_PENDING_RECEIPTS     ', 'Hold Pending Receipts', 'INPROGRESS', 'In Progress', 'INVOICED', 'Ready for Payment',
         'MGRAPPR', 'Pending Payables Approval', 'MGRPAYAPPR', 'Ready for Invoicing', 'PAID', 'Paid',
         'PARPAID', 'Partially Paid',     'PAYAPPR', 'Payables Approved',     'PENDMGR', 'Pending Manager Approval',
         'PEND_HOLDS_CLEARANCE', 'Pending Payment Verification',     'REJECTED', 'Rejected',     'RESOLUTN',     'Pending Your Resolution',
         'RETURNED',     'Returned',     'SAVED',     'Saved',     'SUBMITTED',     'Submitted',     'UNUSED',     'UNUSED',
         'WITHDRAWN','Withdrawn',     'Not yet Submitted (NULL)') "EXPENSE_STATUS" ,
    NVL(TO_CHAR(erh.report_submitted_date,'dd-MON-yyyy'),'NULL') SUBMIT_DATE,
    NVL(TO_CHAR(erh.expense_last_status_date,'dd-MON-yyyy'),'NULL') LAST_UPDATE,
    erh.override_approver_name ER_Approver,
    fu.description EXP_ADMIN,
    erh.total,
    erh.description 
    FROM
    AP_EXPENSE_REPORT_HEADERS_all erh,
    per_all_people_f pap, fnd_user fu
    WHERE erh.employee_id = pap.person_id
    AND fu.user_id = erh.created_by
    AND NVL(erh.expense_status_code, 'Not yet Submitted') NOT IN  ('MGRAPPR', 'INVOICED', 'PAID', 'PARPAID')
    AND pap.full_name = NVL(:claimant, pap.full_name)
    AND TRUNC(erh.report_submitted_date) BETWEEN NVL(:expense_date_from, '01-JAN-1999') AND NVL(:expense_date_to,'31-DEC-2299')
    AND fu.description = NVL(:raisedby,fu.description)
    AND erh.expense_status_code = NVL(:status,erh.expense_status_code) &LP_ORDERED_BY
      ]]>
      </sqlStatement>
      </dataQuery>
      <dataTrigger name="beforeReportTrigger" source="SUBIXCLT.BEFOREREPORT(L_ORDERED)" />
    - <dataStructure>
    - <group name="G_XP_CLM_TRACKNG" source="Q1">
      <element name="INVOICE_NUM" value="INVOICE_NUM" />
      <element name="EMP_CLAIMING" value="EMP_CLAIMING" />
      <element name="EXPENSE_STATUS" value="EXPENSE_STATUS" />
      <element name="SUBMIT_DATE" value="SUBMIT_DATE" />
      <element name="LAST_UPDATE" value="LAST_UPDATE" />
      <element name="LP_ORDERED_BY" dataType="varchar2" value="SUBIXCLT.LP_ORDERED_BY" />
      </group>
      </dataStructure>
      </dataTemplate>The PL SQL..
    The PL SQL..
    CREATE OR REPLACE PACKAGE Subixclt IS
    L_ORDERED  VARCHAR2(50);
    RAISEDBY VARCHAR2(50);
    STATUS VARCHAR2(50);
    CLAIMANT VARCHAR2(50);
    LP_ORDERED_BY VARCHAR2(50);
    FUNCTION BEFOREREPORT(L_ORDERED IN VARCHAR2) RETURN VARCHAR2;
    EXPENSE_DATE_FROM DATE;
    EXPENSE_DATE_TO DATE;
    --RETURN VARCHAR2;
    END;
    CREATE OR REPLACE PACKAGE BODY Subixclt IS
    FUNCTION BEFOREREPORT(L_ORDERED IN VARCHAR2)RETURN VARCHAR2 IS
    BEGIN
    Fnd_File.PUT_LINE(Fnd_File.LOG,'L_ORDERED'||L_ORDERED);
    DECLARE
    LP_ORDERED_BY VARCHAR2(50);
    L_ORDERED  VARCHAR2(50);
    RAISEDBY VARCHAR2(50);
    STATUS VARCHAR2(50);
    CLAIMANT VARCHAR2(100);
    EXPENSE_DATE_FROM DATE;
    EXPENSE_DATE_TO DATE;
    BEGIN
    IF (LP_ORDERED_BY='Expense Report Number') THEN
         LP_ORDERED_BY :='order by 1 asc;';
      ELSIF (LP_ORDERED_BY='Person Claiming') THEN
         LP_ORDERED_BY :='order by 2 asc;';
      ELSIF (LP_ORDERED_BY='Submit Date') THEN
      LP_ORDERED_BY :='order by 4 asc;';
      END IF;
    RETURN(L_ORDERED);
    --RETURN NULL;
    END;
    END;
    END;Thanks for looking..
    Steven
    Edited by: Mr_Alkan on Jun 4, 2010 3:35 PM

    One has to initialise a session first for use with Oracle Apps if you want to make it run as a concurrent job.
    Any decleration within your package will not be recognised unless initialisation is sucessful.
    Investigate the built-in packages:
    FND_GLOBAL - for initialisation
    FND_SUBMIT - for setting session relevant parameters
    -- function returns true or false depending on whether the initialisation was sucessful or not
    create or replace function is_Init_OK (p_User_Name       in varchar2
                                          ,p_Responsibility  in varchar2
                                          ,p_Language        in varchar2) return boolean as
      b_Set_NLS   boolean;
      b_Set_Mode  boolean;
      r_ISet      fnd_Init := Get_Init_Set(p_User_Name, p_Responsibility);
      begin
        -- 1
        fnd_global.apps_initialize(r_ISet.User_ID, r_ISet.Resp_ID, r_ISet.App_ID);
        -- 2
        b_Set_NLS := fnd_submit.set_nls_options(p_Language);
        -- 3
        b_Set_Mode  := fnd_submit.set_mode (false);
        return (b_Set_Mode and b_Set_NLS and (    (r_ISet.Resp_ID is not null)
                                              and (r_ISet.User_ID is not null)
        exception
          when others then
            return false;
    end is_Init_OK;
    -- for example
    declare
      l_User_ID number = 'IMPORT_POST'; --- import post user
      l_Resp    number =  'Import and Posting responsibility' -- import posting responsibility
      l_Language varchar2(100) := 'AMERICAN';
      b_Init boolean := false;
      INIT_EXCEPTION exception;
    begin
      b_Init := is_Init_OK(l_User_ID, l_Resp, l_Language);
      if (not b_Init) then
        raise INIT_EXCEPTION;
      end if;
      -- conitnue with your processing
      exception 
        when others then
          when INIT_EXECPTION then
          when others then
    end;
    /

  • Java 1.5_16 Compiles my programs but doesn't Run?

    I am using Dr Java and I have a lot of old programs that I would like to run.
    I had to start over and re-download the Java JDK. I tried 1.6.7 but I got an error that it couldn't
    locate the source, so I went back to Java 1.5.16, which was the oldest version I could find on java.,
    and now my programs are compiling but when I run them, I get a message in the bottom bar
    "Running Main method of Current Document" and nothing happens (even after a few minutes).
    This is happening on very simple small programs that should run instantly.
    It is happening for all of the old programs that I am able to compile.
    I think I was using JDK 1.5.6 when I first wrote these programs.
    Any suggestions?
    Thanks,
    Jesi

    You're probably "running" one of the classes that doesn't produce any output. The main() method is intended to be an application's entry point, not someplace you just cram all your code. You'll want to learn about methods and how objects communicate with each other. Have a look at the following:
    The Java� Tutorial - Trail: Learning the Java Language
    Good luck!
    ~

  • Trial version of Photoshop Elements 9 installed but doesn't run.

    I recently installed Photoshop Elements 9 on computer running Windows 7 and it installed correctly.  When I try to run edit or organzer the flashing bar starts but neither program runs.  Adobe support wouldn't help since it was a trial version. Any suggestions?

    Try making a direct desktop icon for the Organizer and see if you can launch the program directly from the desktop.
    On Windows right click anywhere on the desktop and select New >> Shortcut
    Browse to Computer OS C:
    And find the PSE Organizer application in Program Files or Program Files (x86) on Windows 7 - 64 bit.
    Inside the Adobe >> Photoshop Elements Organizer (yellow folder) you are looking for an application file “PhotoshopEementsOrganizer” with six small icons (e.g. representing thumbnails)
    Select it and click OK
    Click next
    Rename by taking out Photoshop Elements leaving just the word Organizer
    Then click finish
    You should now be able to launch directly form the desktop by double clicking on the icon.
    You can set up a similar direct link to the Editor application (.exe file which has the blue PSE icon). As before take out Photoshop Elements just leaving the description Editor and it will show up clearly on the desktop.
     It often helps if you right click on a desktop icon and choose “Run As administrator”
     

  • Jalbum package in AUR installs but doesn't run... anyone else confirm

    I've been using BlackEagle's jalbum package in the AUR for a while now.  For no apparent reason, I can no longer run the java app.  The splash screen loads but then disappears after about 2 sec.  If I run it from a shell, I get the following:
    $ jalbum
    # A fatal error has been detected by the Java Runtime Environment:
    # SIGSEGV (0xb) at pc=0x00007fef47b9ac71, pid=24913, tid=140663184853264
    # JRE version: 6.0-b16
    # Java VM: OpenJDK 64-Bit Server VM (14.0-b15 mixed mode linux-amd64 )
    # Distribution: Custom build (Thu Jul 2 04:39:46 UTC 2009)
    # Problematic frame:
    # C [ld-linux-x86-64.so.2+0x12c71]
    # An error report file with more information is saved as:
    # /home/stuff/builds/jalbum/hs_err_pid24913.log
    # If you would like to submit a bug report, please include
    # instructions how to reproduce the bug and visit:
    # http://icedtea.classpath.org/bugzilla
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    /usr/bin/jalbum: line 2: 24913 Aborted java -jar /usr/share/java/Jalbum/JAlbum.jar
    I can post the output of that hs_err_pid log (file is 31 kB), but most of it looks like this:
    # A fatal error has been detected by the Java Runtime Environment:
    # SIGSEGV (0xb) at pc=0x00007f373565ec71, pid=9636, tid=139872603367696
    # JRE version: 6.0-b16
    # Java VM: OpenJDK 64-Bit Server VM (14.0-b15 mixed mode linux-amd64 )
    # Distribution: Custom build (Thu Jul 2 04:39:46 UTC 2009)
    # Problematic frame:
    # C [ld-linux-x86-64.so.2+0x12c71]
    # If you would like to submit a bug report, please include
    # instructions how to reproduce the bug and visit:
    # http://icedtea.classpath.org/bugzilla
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    --------------- T H R E A D ---------------
    Current thread (0x00007f36a41cf000): JavaThread "Image Fetcher 0" daemon [_thread_in_native, id=9652, stack(0x00007f36a0c66000,0x00007f36a0d67000)]
    siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x00000000000003d4
    Registers:
    RAX=0x00007f3735868ba0, RBX=0x0000000000000000, RCX=0x00007f3734e14fb0, RDX=0x00007f36a0d66908
    RSP=0x00007f36a0d65180, RBP=0x00007f3734e14fb0, RSI=0x0000000000000000, RDI=0x0000000000000000
    R8 =0x0000000000000000, R9 =0x00007f3734e15090, R10=0x0000000000000000, R11=0x00007f373565ec70
    R12=0x0000000000000000, R13=0x00007f36a0d65388, R14=0x0000000000000000, R15=0x00007f36a41cf000
    RIP=0x00007f373565ec71, EFL=0x0000000000010246, CSGSFS=0x0000000000000033, ERR=0x0000000000000004
    TRAPNO=0x000000000000000e
    Top of Stack: (sp=0x00007f36a0d65180)
    0x00007f36a0d65180: 0000000000000000 00007f3735658f66
    0x00007f36a0d65190: 00007f36a0d66908 0000000001a7f1d0
    ... snip ...
    Is this a problem with openjdk6-1.5-4-x86_64 or..?
    Last edited by graysky (2009-08-01 15:08:47)

    Stefan Husmann wrote:
    thisoldman wrote:It compiles and runs using Sun's jre (community/jre 6u14-1).  I did comment out depends=('java-environment') in the PKGBUILD.
    jre provides java-runtime, so commenting out that dependency should not be needed. BTW, I can confirm that jalbum does not work on x86_64 with openjdk6.
    Sorry I should read things more carefully! java-environment should be replaced by java-runtime. Only that is needed to run jalbum. And in fact it must be sun's jre, because with openjdk6 ther are  the before mentioned problems
    Without the change in PKGBUILD you would have to install jdk too.
    This is what is happening: jre provides only java-runtime. jalbum with depends=('java-environment') in its PKGBUILD forces you to have either jdk or openjdk6 installed, since these are the packages that provide java-environment. So pacman searches for that. Most if not people have [extra] before [community] in their pacman.conf, so the first thing that pacman finds and that provides java-environment is openjdk6.
    Also installing jdk before installing jalbum would do the trick. But jalbum does not really need it.
    Last edited by Stefan Husmann (2009-08-03 20:54:13)

  • Stumped with SwingWorker -- code compiles but doesn't run right

    Okay, sorry to post a ton of code, but I'm creating a swing gui that will use swing worker to create an object of the followng class, one method that sleeps and returns a random number:
    public class BigJob{
         public int doBigJob(){
              try {
              Thread.sleep(15000);
              } catch (InterruptedException e){
              e.printStackTrace();
         int number = (int)(Math.random() * 50);
         return number;
    }I can get the gui program below to run without the SwingWorker, but am having trouble getting it to run properly. The code posted below compiles and starts up ok, but when I click the "click to do big job" button, it just doesn't do anything.
    I created a runnable in the main method, and invoked the method to build the gui, so that's working.
    I have the SwingWorker defined in an inner class that implements ActionListener; I'm guessing that's the problem. I should probably put the SwingWorkder in its own inner class, and invoke it from the first listener class?
    here's the code:
    import javax.swing.*;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    import java.awt.BorderLayout;
    import javax.swing.SwingWorker;
    public class WorkerTest{
         private JFrame frame;
         private JButton button1;
         private JButton button2;
         private JButton button3;
         private JPanel topPanel;
         public static void main (String[] args){
         SwingUtilities.invokeLater(new Runnable() {
              public void run(){
              WorkerTest wtest = new WorkerTest();
              wtest.buildGui();
         } // end main
         public void buildGui(){
         frame = new JFrame("frame to test swing worker");
         frame.setSize(700,200);
         frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         frame.setLayout(new BorderLayout());
         topPanel = new JPanel();
         frame.add(topPanel, BorderLayout.NORTH);
         button1 = new JButton("click to change text");
         button1.addActionListener(new Button1Listener());
         button2 = new JButton("click to do big thing");
         button1.addActionListener(new Button2Listener());
         button3 = new JButton("click to change text");
         button3.addActionListener(new Button3Listener());
         topPanel.add(button1);
         topPanel.add(button2);
         topPanel.add(button3);
         frame.setVisible(true);
    // inner classes to add listeners
         class Button1Listener implements ActionListener{
              public void actionPerformed(ActionEvent e){
              button1.setText("i've been clicked");
         class Button2Listener implements ActionListener{
              public void actionPerformed(ActionEvent e){
              // execute job in main thread
              //BigJob job = new BigJob();
              //button2.setText("big job is done: " + job.doBigJob());
              // execute job in its own thread:
              SwingWorker worker = new SwingWorker<BigJob, Void>(){
              BigJob job;
              int resultNum;
                   public BigJob doInBackground(){
                   job = new BigJob();
                   resultNum = job.doBigJob();
                   button2.setText("big job done: " + resultNum);
                   return job;
         class Button3Listener implements ActionListener{
              public void actionPerformed(ActionEvent e){
              button3.setText("i've been clicked also");
    } // end WorkerTestthanks,
    bp

    badperson wrote:
    where in the code should that go, in the listener class?
    SwingWorker worker = new SwingWorker<BigJob, Void>() {
        public BigJob doInBackground() {
            // code
         return job;
    worker.execute();

  • Vector. * triggers a "Problem" in Flash Builder but doesn't create an error during runtime.

    In Flash Builder 4.6 I get an error for this:
    var testVector:Vector.<*> = new Vector.<*>();
    trace(testVector.length);
    Sometimes the error shows up in the "Problems" panel and pointing at the trace it says something about byte code. Other times it just shows the "?" symbol next to the trace command that says "Access of undefined property length".
    When I test the movie there are no runtime errors.
    Can someone explain this?
    cheers.

    OK, I take that back, I read up on the docs and see that Math.random() returns 0 <= n < 1 where I thought it was <=1.
    I also ran a test bed on the Math.random() thing and I see what your man means. My method of calculating the index gave a slight imbalance towards the end of letter distributions, but I can't see why!
    Have reverted to yours for the below, on first run it looked good, but I am seeing a cluster around the original letter position? (EG: Follow position 0 for a, position 1 for b etc. and you will see they have a disproportionate number there.)
    G
    [code]
    protected function doTheTest():void {
    var iterations:uint = 100000;
    var index:Dictionary = new Dictionary;
    var i:int = 0;
    var letter:String;
    var pos:int;
    var currentLetterIndex:Vector.<uint>;
    var toSort:Vector.<String>;
    var testSource:Vector.<String> = Vector.<String>(["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r", "s","t","u","v","w","x","y","z"]);
    testSource.fixed = true;
    var posIndex:Vector.<uint> = new Vector.<uint>;
    posIndex.length = testSource.length;
    posIndex.fixed = true;
    // Build the index using a copy of the posIndex input.
    for(i=0;i<testSource.length;i++) index[testSource[i]] = posIndex.concat();
    // TEST USING JUST RANDOM
    for(i=0;i<iterations;i++) {
              // Use a concat to prevent sort changing inputs
              toSort = testSource.concat();
              toSort = toSort.sort(function (a:*,b:*):int { return Math.random()>0.5?1:-1; });
              for(pos=0;pos<toSort.length;pos++) {
                        letter = toSort[pos];
                        currentLetterIndex = index[letter] as Vector.<uint>;
                        currentLetterIndex[pos]++;
    trace("@@@@@ USING RANDOM @@@@");
    for(i=0;i<testSource.length;i++) {
              letter = testSource[i];
              currentLetterIndex = index[letter] as Vector.<uint>;
              trace("POSITION COUNT OF "+letter+" is:"+index[letter].join(","));
    // Test using function
    for(i=0;i<iterations;i++) {
              // Use a concat to prevent sort changing inputs
              toSort = testSource.concat();
              randomSortArrayOrVector(toSort);
              for(pos=0;pos<toSort.length;pos++) {
                        letter = toSort[pos];
                        currentLetterIndex = index[letter] as Vector.<uint>;
                        currentLetterIndex[pos]++;
    trace("@@@@@ USING SORT FUNCTION @@@@");
    for(i=0;i<testSource.length;i++) {
              letter = testSource[i];
              currentLetterIndex = index[letter] as Vector.<uint>;
              trace("POSITION COUNT OF "+letter+" is:"+index[letter].join(","));
    protected static function randomSortArrayOrVector(a:Object):void {
    if(a.hasOwnProperty('length')) {
              var l:int = a['length'];
              for (var i:int = l-1; i >=0; i--)
                        var randomIndex:int = Math.floor(Math.random()*(i+1));
                        var itemAtIndex:Object = a[randomIndex];
                        a[randomIndex] = a[i];
                        a[i] = itemAtIndex;
    [/code]
    @@@@@ USING RANDOM @@@@
    POSITION COUNT OF a is:3150,3207,3010,2741,2653,3063,4174,2606,2674,2991,3172,3889,4872,18865,3851,3356,3219, 2971,2732,3930,3319,2814,2944,3058,3222,3517
    POSITION COUNT OF b is:6815,7482,2634,2925,3023,2921,3107,3416,3459,3508,3444,3387,3212,3170,3331,3439,3444,3 375,3312,3158,3180,3339,3776,4356,5441,7346
    POSITION COUNT OF c is:6149,5382,8320,2133,2209,2931,3224,3274,3427,3438,3290,3114,2888,2859,2997,3180,3431,3 493,3551,3416,3732,3906,4336,4864,5206,5250
    POSITION COUNT OF d is:4516,4382,4620,9761,2966,2096,2555,3285,3365,3274,3083,2785,2603,2759,2730,3145,3469,3 706,3752,3890,4169,4343,4888,4868,4797,4193
    POSITION COUNT OF e is:3418,3385,4878,4681,11058,3387,2456,2421,2769,3163,2892,2596,2457,2390,2622,2934,3392, 3813,4177,4334,4471,4700,4857,4672,4364,3713
    POSITION COUNT OF f is:3178,3193,4506,4454,5179,11514,3753,2834,2303,2027,2308,2454,2275,2290,2466,2960,3444, 3941,4292,4489,4647,4824,4686,4498,4058,3427
    POSITION COUNT OF g is:3035,3073,3577,4665,4627,5549,11737,4087,3112,2132,1750,1557,1789,2331,2568,2930,3469, 3979,4324,4564,4606,4686,4468,4278,3757,3350
    POSITION COUNT OF h is:3194,3121,3219,4018,3595,4356,5302,12154,3533,3078,2513,2009,1867,1874,2414,2967,3466, 4079,4251,4441,4409,4535,4436,3912,3792,3465
    POSITION COUNT OF i is:3460,3486,3287,3430,3748,3089,3875,4449,12535,3322,2844,2694,2401,2421,2671,2886,3405, 3980,4252,4225,4137,4181,4016,3803,3734,3669
    POSITION COUNT OF j is:3757,3675,3415,3147,4020,2644,2855,3510,4389,13514,3192,2865,2896,2833,2905,3039,3367, 3740,4102,3909,3678,3859,3672,3624,3666,3727
    POSITION COUNT OF k is:3634,3707,3409,3020,3141,3712,2390,2780,3514,4322,15026,3388,3034,3047,3165,3287,3290, 3432,4098,3759,3514,3279,3497,3508,3484,3563
    POSITION COUNT OF l is:3564,3493,3382,2775,2990,4085,2299,2409,2970,3430,4434,17142,3665,3362,3419,3301,3245, 3115,3767,3581,3318,3031,3144,3187,3385,3507
    POSITION COUNT OF m is:3213,3343,3112,2871,2789,3128,3887,2504,2607,3228,3750,4587,18391,3865,3430,3379,3078, 3046,2858,4219,3164,2925,2877,3176,3151,3422
    POSITION COUNT OF n is:73,81,150,308,571,1106,2135,3639,6189,9115,11788,13690,14242,12757,9894,6957,4005,2012 ,880,292,98,14,4,0,0,0
    POSITION COUNT OF o is:3096,3174,2864,2839,2678,2966,3400,3826,2849,2956,3121,3355,4061,5195,18308,3599,3090, 2907,2645,2548,4380,3016,2836,3255,3371,3665
    POSITION COUNT OF p is:3396,3317,3083,3026,2878,3017,3400,4197,3156,3107,3039,3140,3521,4147,5073,16486,3221, 2919,2523,2535,3989,3072,3056,3430,3474,3798
    POSITION COUNT OF q is:3650,3640,3377,3409,3183,3283,3465,3721,3714,3292,3057,2977,2999,3334,3963,4776,15045, 2912,2596,2421,2562,4140,3361,3570,3714,3839
    POSITION COUNT OF r is:3639,3711,3590,3727,3646,3596,3739,3887,3812,3216,3058,2854,2705,2849,3179,3988,4711,1 3457,2936,2571,2689,3802,3523,3555,3687,3873
    POSITION COUNT OF s is:3769,3828,3832,4172,4138,3880,4010,3987,3798,3504,2908,2438,2318,2291,2679,3553,4241,5 000,12631,3288,2755,2763,3986,3206,3509,3516
    POSITION COUNT OF t is:3692,3761,4099,4493,4484,4423,4251,4218,3815,3462,2883,2494,2145,1895,2182,2630,3651,4 920,5611,11928,3719,2874,3380,2906,3053,3031
    POSITION COUNT OF u is:3786,3809,4243,4633,4804,4607,4425,4106,3902,3223,2869,2511,2216,2122,2143,2393,2793,3 626,4956,5761,11321,3847,2805,3621,2702,2776
    POSITION COUNT OF v is:3901,3834,4447,4785,4917,4857,4395,4187,3765,3338,2876,2482,2254,2217,2257,2467,2729,2 997,3305,4342,5305,11215,3445,3708,3008,2967
    POSITION COUNT OF w is:4119,4132,4657,4947,4837,4714,4345,3984,3689,3328,2887,2500,2417,2350,2516,2622,2755,2 857,3133,3557,3844,5094,10545,3286,3921,2964
    POSITION COUNT OF x is:4535,4515,4916,4866,4544,4190,4010,3721,3610,3279,3126,2740,2661,2682,2797,2887,3123,3 077,2954,2817,3418,4208,4645,10185,3771,2723
    POSITION COUNT OF y is:5207,5053,4972,4476,3983,3699,3593,3462,3441,3348,3283,3049,2903,2899,3145,3336,3343,3 236,3066,2914,2709,2771,4125,4476,9639,3872
    POSITION COUNT OF z is:6054,6216,4401,3698,3339,3187,3218,3336,3603,3405,3407,3303,3208,3196,3295,3503,3574,3 410,3296,3111,2867,2762,2692,2998,4094,10827
    @@@@@ USING SORT FUNCTION @@@@
    POSITION COUNT OF a is:7048,6896,6922,6642,6495,6966,8035,6402,6483,6809,7073,7718,8670,22643,7736,7221,7116, 6875,6623,7677,7131,6625,6800,6941,7063,7390
    POSITION COUNT OF b is:10633,11230,6457,6756,6792,6692,6971,7303,7370,7371,7234,7276,7067,7033,7248,7380,7193 ,7317,7085,6973,7032,7294,7618,8184,9211,11280
    POSITION COUNT OF c is:9963,9370,12206,6047,6121,6835,6944,7120,7334,7346,7046,6967,6800,6727,6815,6963,7207, 7300,7433,7250,7650,7631,8173,8698,9006,9048
    POSITION COUNT OF d is:8432,8347,8465,13595,6812,6018,6390,7084,7266,7053,6926,6559,6392,6570,6602,6871,7326, 7609,7478,7807,7926,8172,8807,8827,8576,8090
    POSITION COUNT OF e is:7275,7183,8780,8527,14854,7144,6158,6350,6632,7002,6750,6560,6352,6330,6366,6728,7262, 7660,8003,8206,8152,8471,8854,8506,8241,7654
    POSITION COUNT OF f is:7028,7011,8403,8289,8987,15354,7533,6746,6212,5784,6127,6470,6030,6054,6297,6828,7380, 7775,8164,8296,8457,8726,8496,8283,7984,7286
    POSITION COUNT OF g is:6759,6885,7316,8482,8489,9464,15543,7935,6885,6009,5649,5328,5699,6170,6360,6837,7325, 7786,8223,8485,8597,8552,8240,8130,7605,7247
    POSITION COUNT OF h is:6992,7025,7100,7814,7429,8068,9226,15944,7358,6918,6299,5845,5777,5802,6294,6767,7369, 7877,8173,8285,8309,8292,8280,7700,7691,7366
    POSITION COUNT OF i is:7266,7242,7153,7312,7722,6900,7608,8355,16314,7192,6621,6512,6248,6231,6543,6751,7332, 7841,8109,8013,7993,8191,7756,7744,7567,7484
    POSITION COUNT OF j is:7598,7575,7144,6972,7850,6484,6684,7355,8206,17234,7042,6845,6888,6612,6761,6778,7155, 7588,8040,7917,7627,7615,7505,7441,7594,7490
    POSITION COUNT OF k is:7442,7647,7303,6735,6972,7552,6286,6572,7308,8254,18843,7258,6883,6913,6986,7113,7195, 7365,7984,7558,7411,7179,7291,7275,7324,7351
    POSITION COUNT OF l is:7428,7376,7194,6669,6800,7895,6185,6135,6817,7225,8293,20967,7465,7239,7274,7260,7071, 6900,7610,7371,7239,6850,6968,7002,7329,7438
    POSITION COUNT OF m is:7087,7165,6896,6675,6676,6871,7747,6262,6431,7058,7537,8384,22213,7716,7419,7231,6931, 6900,6726,8026,7101,6751,6706,7166,6983,7342
    POSITION COUNT OF n is:3852,3871,3988,4172,4429,4956,6124,7441,9986,12986,15719,17590,18088,16635,13686,10935 ,7846,5889,4687,4236,3881,3785,3829,3802,3872,3715
    POSITION COUNT OF o is:6866,7064,6615,6767,6480,6823,7323,7696,6676,6793,7023,7350,7849,9114,22166,7449,6926, 6765,6495,6341,8193,6843,6709,7071,7135,7468
    POSITION COUNT OF p is:7193,7026,6895,6964,6695,6943,7216,8137,7037,7075,6934,6906,7501,8031,8943,20305,6953, 6805,6349,6270,7931,6920,6861,7205,7249,7656
    POSITION COUNT OF q is:7579,7429,7228,7229,7031,7111,7503,7598,7564,7129,7008,6713,6773,7245,7856,8638,18874, 6647,6369,6336,6377,7991,7262,7386,7458,7666
    POSITION COUNT OF r is:7569,7512,7489,7561,7480,7480,7618,7714,7643,7139,6896,6714,6584,6672,7008,7773,8468,1 7287,6842,6296,6471,7707,7444,7382,7555,7696
    POSITION COUNT OF s is:7631,7652,7786,8035,8000,7669,7883,7832,7641,7318,6793,6215,6080,6106,6473,7478,8088,8 843,16527,7221,6594,6627,7894,6995,7238,7381
    POSITION COUNT OF t is:7595,7565,7976,8352,8392,8295,8161,8123,7658,7288,6726,6284,5956,5719,6024,6433,7496,8 705,9380,15755,7497,6850,7208,6746,6893,6923
    POSITION COUNT OF u is:7607,7682,8120,8468,8687,8454,8236,8038,7677,7142,6790,6347,5983,5960,6010,6198,6692,7 389,8731,9681,15085,7692,6747,7415,6649,6520
    POSITION COUNT OF v is:7788,7658,8249,8635,8874,8696,8176,8027,7656,7193,6633,6322,6027,6004,6098,6352,6614,6 844,7214,8105,9286,15075,7225,7629,6908,6712
    POSITION COUNT OF w is:7993,8006,8534,8767,8664,8648,8203,7935,7597,7150,6682,6337,6295,6167,6251,6448,6626,6 782,6968,7390,7561,8914,14369,7148,7760,6805
    POSITION COUNT OF x is:8353,8453,8780,8724,8248,8011,7825,7651,7523,7215,6993,6612,6547,6523,6587,6704,6916,6 945,6794,6680,7174,7993,8508,14019,7617,6605
    POSITION COUNT OF y is:9123,8969,8834,8331,7764,7516,7413,7130,7263,7153,7058,6787,6792,6720,7020,7295,7271,7 054,6897,6784,6544,6638,7950,8492,13483,7719
    POSITION COUNT OF z is:9900,10161,8167,7480,7257,7155,7009,7115,7463,7164,7305,7134,7041,7064,7177,7264,7368, 7252,7096,7041,6781,6616,6500,6813,8009,14668
    Message was edited by: Gaius Coffey

  • Compiles, but doesn't run - also objects used like arrays?

    Hello. I am a way newbie at Java, but I like it a lot. I'm using it to write a little final project for an intro CS class I'm taking. The program is a little mileage calcuator. Okay, so here's what I don't get. I started to write out the program and everything was compiling, my output and input were working. Then I started to add some classes and objects. Now it still compiles, but the command line just gives me "hit any key". None of my output or input stuff. What happened?
    While I'm at it, in C++ I would've used a little array to store a bit of data for this app. Can I use multile objects of a class and iterate through them in a for each in the same way?
    Any help much appreciated.
    Here's the code:
    //Joanna Grossman
    //mileage calculator
    //final project SWE 150
    //creates vehicle class
    class vehicle {
         int id;
         String name;
         int mpg;
    //creates different vehicle objects - may need to be changed to array
    class vehicleTypes {
         public static void main(String args[]) {
              vehicle SUV = new vehicle();
              vehicle hybrid = new vehicle();
              vehicle FordTaurus = new vehicle();
              //assigns values for cars
              SUV.id = 1;
              SUV.name = "SUV";
              SUV.mpg = 10;
              hybrid.id = 2;
              hybrid.name = "Honda Civic";
              hybrid.mpg = 50;
              FordTaurus.id = 3;
              FordTaurus.name = "Ford Taurus";
              FordTaurus.mpg = 23;
    //creates location class
    class location {
         int id;
         String name;
         int miles2Loc1;
         int miles2Loc2;
         int miles2Loc3;
    //creates location objects
    class locationObjects {
         public static void main(String args[]) {
              location Burlington = new location();
              location NewYork = new location();
              location Syracuse = new location();
              //assigns values to locations
              Burlington.id = 1;
              NewYork.id=2;
              Syracuse.id = 3;
              Burlington.name = "Burlington";
              Burlington.miles2Loc1 = 0;
              Burlington.miles2Loc2 = 308;
              Burlington.miles2Loc3 = 270;
              NewYork.name = "New York";
              NewYork.miles2Loc1 = 308;
              NewYork.miles2Loc2 = 0;
              NewYork.miles2Loc3 = 246;
              Syracuse.name = "Syracuse";
              Syracuse.miles2Loc1 = 270;
              Syracuse.miles2Loc2 = 246;
              Syracuse.miles2Loc3 = 0;
    //mainline logic
    class mileageCalculator {
         public static void main(String args[])
              throws java.io.IOException {
              char play;
              play='y';
                   System.out.println("Would you like to calculate your mileage?");
                   System.out.println("Please press \"y\" for \'yes\' or \"n\" for \'no\'\nThen Press \"Enter\"");
                   play = (char) System.in.read();
                   System.out.println("Your answer is "+play);
                   System.out.println("What is your destination?");
                   System.out.println("Press press it's number:");
                   System.out.println("1\tBurlington\n2\tNew York\n3\tSyracuse");
    }

    You're probably "running" one of the classes that doesn't produce any output. The main() method is intended to be an application's entry point, not someplace you just cram all your code. You'll want to learn about methods and how objects communicate with each other. Have a look at the following:
    The Java� Tutorial - Trail: Learning the Java Language
    Good luck!
    ~

  • Able to build, but failed to run

    Hi All,  I am developing an iPhone app. I need to run MyApp.xcodeproj(along with fonemonkey files) from the   command line. I am able to build successfully by using the following command but I am not able to   launch iPhone simulator.  xcodebuild -project

    there is a developer forum on the apple support communities

  • ITunes shows in Task Manager but doesn't run

    I was having an issue where my iTunes would start and show as a process running in Windows Task Manager, however, the GUI interface would never show up. I could end the process, but restarting the application led me to the sam state I was in before; the process was there, but no iTunes.
    I am running Windows XP Media Centre 2005 edition with rollup 2, 2Gb of RAM, AVG AntiVirus, all the latest MS patches and Windows Defender all up-to-date. Stopping all the anti virus and anti-malware programs didn't help. Reinstalling iTunes did nothing, and installing the stand-alone version of QuickTime did not work either.
    I searched many an archived article to find the particular solution that worked for me, and I have linked to it below.
    http://docs.info.apple.com/article.html?artnum=302386
    Hope this helps someone in the future. It was a very frustrating exercise, to say the least.
    HP Pavilion m7250n   Windows XP   MCE 2005 Rollup 2

    http://docs.info.apple.com/article.html?artnum=302386

  • Program with generics compiles without -source 1.5 but doesn't run.

    This could probably be considered a bug in J2SE1.5 beta 1.
    A program with generics that is compiled with JDK 1.5 beta1 without the "-source 1.5" option behaves oddly: it compiles but sometimes fails to execute. It shouldn't behave like that. It should fail in the compilation, with a complaint about using the wrong version of the language.
    This odd behaviour doesn't always occur! In the small program below, I get that behaviour when using the EnumSet.range method.
    If I only use the basic EnumSet, it does executes.
    -- Lars
    import java.util.EnumSet;
    import java.util.*;
    public class Example {
         public enum Season { WINTER, SPRING, SUMMER, FALL }
         public static EnumSet<Season> warmSeason = EnumSet.range(Season.SPRING, Season.FALL);
         public static void main(String[] args) {
              System.out.println("Season: ");     
              for (Season s : Season.values()) {
              System.out.println(s);
              System.out.println("Cold Season: ");     
              for (Season s : warmSeason) {
              System.out.println(s);

    Example.java:6: warning: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
        public enum Season { WINTER, SPRING, SUMMER, FALL }
               ^
    Example.java:6: ';' expected
        public enum Season { WINTER, SPRING, SUMMER, FALL }
                           ^
    Example.java:12: ';' expected
            for (Season s : Season.values()) {
                          ^
    Example.java:17: illegal start of expression
            for (Season s : warmSeason) {
            ^
    Example.java:20: ';' expected
        ^
    4 errors
    1 warning

  • InDesign CS 3 installs but doesn't run - doesn't ask for serial number-Windows 7

    Our InDesign CS3 worked perfectly with Win XP, but we upgraded to Windows 7 recently, and though it installs, it never asks for a serial number, and when I try to open the program - though it appears as a running process, it does not open.
    CTBBB

    Your system details shows that you don't have any version of Flash installed. The one you "installed"(''install_flashplayer13x32_mssd_aaa_aih.exe'') I don't know where that is from.<br>
    You can install the correct version below:
    *http://get.adobe.com/flashplayer/

  • Old C socket program compiles, but doesn't run properly

    I have an old C program that uses sys/ipc.h to listen on ports 6666 and ports 6669 for user requests. I have determined that the
    program gets to the 'accept' call without error. The return from accept(sockfd, (struct sockaddr *) &cli_addr, &cli_addrlen) is zero
    indicating success. Nevertheless, something is wrong, because netstat -a shows nothing listening on either 6666 or 6669, and
    telnet to these two ports fails as well.
    I've compiled and run the program on Sparc 8 and 9. It is the i86pc architecture I am having a problem with. I tried having root
    run it in the global zone in order to eliminate zones as a factor with no success.
    This program also uses threads (thread.h) and rpc (rpc.h). Has anyone seen this problem? Does anyone have a suggestion?
    George

    Hi Darren:
    Thanks for your prompt supply. I saw no alternative but to start pulling the code apart and I believe I have a solution. I think big-endian as opposed to
    little-endian definitely has something to do with it.
    Here's what I had to change to make this work:
    Original Code: serv_addr.sin_port = htonl(port);
    Modified Code: serv_addr.sin_port = htons((short) port);
    Converting the port to a short seems to have fixed things. The original code converted the port to a long.

  • Download OK, have installer app, but doesn't run

    The installer is in my Applications folder, but double clicking on it looks like it's launching -- then NOTHING. No error message, no activity, no Installer icon in my dock, no windows pop up... nada. Any ideas? (July '13 Air running 10.8.4)

    What is the app? What "homepage" do you mean?

Maybe you are looking for

  • How to set up multiple JVMs on same server

    I try to set at least 2 JVMS run on same server (2CPUS) but I do know how to set manual start server. I can't find the startup and stop scrits in oracle_home/apache/apache/bin directory. Who can help me to set this up?

  • TS2326 iMessages across multiple iPhones / iPods appear to come from the wrong person

    We have three different devices using iMessage - 2 iPhones and an iPod Touch.  This issue is difficult to explain but from time to time when sending iMessage from one of these devices the sent message appears to come from the wrong sender.  For examp

  • My Skype Online Number is not working

    Bought a skype online number in UK last week, it works fine for two days then that's it, now it is telling callers " the person you are trying to reach is not available leave a message after the tone". Is this some kind of fraud or what. I tried call

  • Two BW systems Can use one source sytem?

    Hi Experts, We are planning to share one source sytem and its all master and LO data sources to share for Two BW systems, is it possible to share like this, we want only the full loads even for LO data sources can we load to BW sytems, sharing like t

  • Aggregate Navigation

    Experts, I have 2 aggregated fact tables in my BMM layer. AggFact1 has client at base level and product at segment level. Aggfact2 has client at base level (same level as aggfact2) and product at total product level. Both these agg fact tables has ot