Ruby threads cannot be used in RubyCocoa without patches to the Ruby inter

I updated a working Podcast Server recently and now it doesn't work.
I'm getting:
Ruby threads cannot be used in RubyCocoa without patches to the Ruby interpreter
Any thoughts on how to fix it.

You can safely ignore the "Ruby threads cannot be used in RubyCocoa without patches to the Ruby interpreter" message, it has nothing to do with the problems you are having.
Can you give us more details? Can you not start recordings, are recordings not beings processed, etc?

Similar Messages

  • Ruby threads cannot be used in RubyCocoa without patches to the Ruby interp

    Hi,
    We are getting an error message while running the iTunes U work flow. We get this each time ithe work flow runs it seems. The error message is in the Podcast Producer error log. Here is the error message. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/ge ms/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `run': Ruby threads cannot be used in RubyCocoa without patches to the Ruby interpreter
    How can I do this update or fix this problem please?
    Thank you,
    Chip

    Do this:
    http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leopard/
    You may have to compile ruby...(/usr/local/bin/*) like I did. This worked for me.
    If you already did this, everything will be groovy. Then if you are having trouble with mysql see this: http://hivelogic.com/articles/compiling-mysql-on-snow-leopard/

  • Executed as user: ADMIN\abc-SQLServer. Linked servers cannot be used under impersonation without a mapping for the impersonated login. [SQLSTATE 42000] (Error 7437). The step failed.

    Hi All, 
    We have verified permissions on both sides,current server and linked server, the user has sysadmin.
    Another key piece of information is that this is happening when executing a SQL Job.
    Thanks.

    Related:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/328616e9-42cb-40d7-a4b1-671d6a492d8f/linked-servers-cannot-be-used-under-impersonation-without-a-mapping-for-the-impersonated-login?forum=sqldatabaseengine
    https://support.microsoft.com/kb/2492477?wa=wsignin1.0
    http://sshakespeareblog.co.uk/2013/07/31/sql-linked-server-and-sql-server-agent/
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

  • I'm trying to install OS 10.6 onto my Macbook, which currently has OS 10.5.8. I clicked install (on the DVD) and selected my Macintosh HD drive. I was given the message that that disk cannot be used because it does not have the GUID partition????

    I'm trying to install OS 10.6 onto my Macbook, which currently has OS 10.5.8. I clicked install (on the DVD) and selected my Macintosh HD drive. I was given the message that that disk cannot be used because it does not have the GUID partition. In order to have a GUID partition, it suggested I go to disk utility and make the change. I couldn't see the partition tabs in the disk utility application. So how do I accomplish the GUID partition?

    The problem is, reformatting the partition may require you erase the hard drive.   Normally Intel Macs are preformatted GUID.    The fact that yours is not, says someone who initially installed the system on your Mac did you a disservice.   Regardless, you should backup your data before you upgrade.  GUID formatted drives generally are not compatible with iBooks (pre-2006 consumer notebooks by Apple) Powerbooks, and PowerMacs, and iMac G5s.    So if you indeed have machine with the MacBook name on the screen frame, it was not properly formatted from the beginning.  

  • How can I use word count without it counting the words in the end notes by default?

    How can I use word count without it counting the words in the end?
    Now I have to highlight the text to get a count.

    I don't think that is possible, it does what it does.
    Peter

  • Using axbridge.dll without going through the JRE installation process

    I've searched the web and this forum for this specific problem, and have found related items, but nothing that quite answers the question.
    I have an application that uses the JRE's axbridge.dll to access a DLL created from a Java bean. I used the packager to create a DLL named MyBean.dll.
    When I go through the full JRE install, everything works great. That is to say, when I execute Sun's JRE installation program and go through the normal install process, I can access the bean through MyBean.dll without any problems.
    I am accessing MyBean.dll from a Visual Basic 6.0 application. Converting to VB .Net is NOT an option at this time. The VB app uses MyBean.dll for a critical part of the application.
    It is my understanding that it is not strictly necessary to go through the full JRE installation process. Simply deploying the JRE by copying its directory (and all subdirectories) to your application's directory structure should be sufficient. This would be HIGHLY desirable for my application. In fact, if I can't do this, it may be a show-stopper.
    When I install my application in this way (i.e, by simply copying the JRE instead of "installing" it) it doesn't work at all. I immediately get an error saying that the executable "has encountered a problem and needs to close. We are sorry for the inconvenience" and a dialog is displayed offering to send the problem information to Microsoft.
    The details indicate clearly that the problem occurs in the axbridge.dll, version 1.4.2.60.
    1. Any ideas on how to get the axbridge.dll to work without going through the full JRE install?
    2. Are there any alternatives to using the axbridge.dll to get my VB app to be able to use the Java? Remember, it is VB that must call the Java, NOT the other way around.
    3. Is JNI an alternative? If so, can I use JNI to get VB to use Java, or do I have to write the DLL's in C++?
    Any help you can give would be VERY MUCH appreciated.

    I'm also on a JRE installation problem with the bridge.
    Here is a regmon extract on excel using a dll that uses a java-packaged dll from the bridge:
    5229 5.69504923 EXCEL.EXE:2364 QueryValue HKCR\CLSID\{9DD49FCD-BB61-414E-88C8-E6F5B35AEDCB}\InprocServer32\(Default) SUCCESS "C:\win32app\Specific\jre1.5.0_05\bin\axbridge.dll" << The axbridge dll in a specific location
    5271 5.70646800 EXCEL.EXE:2364 QueryValue HKLM\SOFTWARE\JavaSoft\Java Plug-in\1.5.0_05\JavaHome SUCCESS "C:\Program Files\Java\jre1.5.0_05" << an installed JRE 1.5.0
    This is confirmed with process explorer : excel is using "C:\Program Files\Java\jre1.5.0_05\lib\rt.jar" and not "C:\win32app\Specific\jre1.5.0_05\lib\rt.jar"
    In other word, the axbridge check for its installation location in the registry to know where to start.
    Even if all your components have been updated in the registry as suggested here : http://forum.java.sun.com/thread.jspa?forumID=40&threadID=559704
    JRE Bug or feature?
    Anyway the registry is evil.

  • Orange mail software problem when using distribution lists : some lists cannot be used for writing e-mails. The problem does not exist when using Internet Explo

    When writing an e-mail directly on the Orange e-mail service (not on Thunderbird) I am facing the following problem : some distribution lists cannot be used to complete the adressees. The same lists can be used without difficulty if I use Internet Explorer instead of Firefox. The Orange hotline told me that probably my Firefox version was not updated. Unfortunately I checked that, and apparently the automatic updating works. I have also updated the plug ins, without any result.

    Please could you specify which webpage you mean ?
    The process with Orange is the following :
    - 1. click on "Write an e-mail" on the mail webpage
    - 2. click on "To" to reach the Contacts which opens a new window
    - 3. click on "Distribution lists"
    - 4. click on the selected list then click on "add". The list appears ot the box corresponding to the addresses .
    UNTIL THEN EVERYTHING WORKS WELL
    - 5. click on the button "validate", which closes the window previously opened and normally
    - 6. reloads the initial page with the complete list on the line "To". Instead of that I get the last e-mail address I previously used .
    Question : at which step of this process should I try your suggestions ? I tried when the initial page was reloaded with the wrong address, but it did not work to get back the rignt distribution list;
    Note that the whole process functions with OTHER Distribution lists. The only difference is that the problematic one has a larger number of adresses (62) however inferior to the maximum indicated by Orange (100).
    I also remind that there is no problem when using Internet Explorer instead of Firefox.
    Thanks for your help !

  • How can I attach a photo to an email,using Photoshop Elements9,without going through the Revel cloud

    How can I attach a photo to an email using Photoshop Elements 9, without going through the Adobe Revel cloud?

    Adobe user wrote:
    I'm using Windows 7.  I have no email clients.
    You don't need an Email client nor Adobe Revel account to send email and photos as attachment.  All you need is an email account (could be free web-based account such as Gmail, Outlook, Yahoo, AOL or whatever including from your own ISP.  And of course an Internet Connection.
    Now the most obvious requirement is out of the way so you need to go in to your Organizer and click on Share button and choose Photomail. Select the photo you want to send and follow the instructions that are on your screen.
    You also need to request an Adobe Verification Code to enable you to use Adobe's Mail Servers to send the photos for you.  To do this go to:
    Edit >> Preferences>> Sharing
    Look for something like this and fill out the red boxes where indicated (click on this image to see it clearly).
    Hope this gets you started.

  • ASR9K: bandwidth and bandwidth remaining cannot be used together. How to solve the problem to grant a quota and equally assign the remaining quota?

    Hi everyone
    The problem should be trivial. We want to grant a quota to specific classes and use equally the remaining quota of available bandwidth to all the requesting classes. Let's clarify with an example:
    Class 7 ==> priority queue, level 1 with police 20%
    Class 5 ==> priority queue, level 2 with police 40%
    Class 6 ==> CIR 12%
    Class 3 ==> CIR 11%
    Class 2 ==> CIR 8%
    Class 1 ==> CIR 5%
    Class 0 ==> CIR 4%
    To simplify let's suppose that there is no traffic on class 7 and 5 and that all remaining classes are generating traffic at a rate of 300Mbps each. Outgoing interface is 1G so congestion occurs. We want that each class 6,3,2,1,0 receive its granted value (so, respectively, 120M, 110M, 80M, 50M and 40M for a total of 400M) and that the remaining available bandwidth (600M) will be equally assigned, so 120M to each class.
    Documentation from IOS-XR 5.2.2 let's understand that this should be the default behavior but if we run the policy shown below what we get is a weighted assignment of the remaining quota.
    The policy used is the following:
    policy-map TEST-POLICY
     class qos7
      police rate percent 20
      priority level 1
     class qos5
      police rate percent 40
      priority level 2
     class qos6
      bandwidth percent 12
     class qos3
      bandwidth percent 11
     class qos2
      bandwidth percent 8
     class qos1
      bandwidth percent 5
     class qos0
      bandwidth percent 4
     class class-default
     end-policy-map
    The documentation of IOS-XR 5.2.2 states that both "bandwidth percent" and "bandwidth remaining percent" could be used in the same class (which could be a solution to force the requested behavior) but using both generates the following error:
    !!% Both bandwidth and bandwidth-remaining actions cannot be configured together in leaf-level of the queuing hierarchy: InPlace Modify Error: Policy TEST-POLICY: 'qos-ea' detected the 'warning' condition 'Both bandwidth and bandwidth-remaining actions cannot be configured together in leaf-level of the queuing hierarchy'
    How could be solved the problem? Maybe a hierarchical QoS with the granted quota in the parent policy and a "bandwidth remaining percent 20" in the child?

    Hi everyone
    just to provide my contribution, the hierarchical QoS policy works balancing the remaining bandwidth after granting the requested bandwidth (see the policy implemented below). However for priority queues it is granted the policer quota but sending more flows these appears to be unbalanced. So the problem to have both PQ served (in a balanced way between flows) AND have the remaining bandwidth distributed equally remains open ...
    policy-map TEST-POLICY-parent
     class qos6
      service-policy TEST-POLICY-child
      bandwidth percent 12
     class qos3
      service-policy TEST-POLICY-child
      bandwidth percent 11
     class qos2
      service-policy TEST-POLICY-child
      bandwidth percent 8
     class qos1
      service-policy TEST-POLICY-child
      bandwidth percent 5
     class qos0
      service-policy TEST-POLICY-child
      bandwidth percent 4
     class class-default
      service-policy TEST-POLICY-child
     end-policy-map
    policy-map TEST-POLICY-child
     class qos7
      police rate percent 20
      priority level 1
     class qos5
      police rate percent 40
      priority level 2
     class qos6
      bandwidth remaining percent 20
     class qos3
      bandwidth remaining percent 20
     class qos2
      bandwidth remaining percent 20
     class qos1
      bandwidth remaining percent 20
     class qos0
      bandwidth remaining percent 20
     class class-default
     end-policy-map

  • Eclipse nightmare: Trying to use Build Path without muddling up the project

    I'm working on a team project for the first time ever, which is a little scary. We are using Subclipse. As soon as I downloaded the project, I noticed that I don't get any error warnings. Soon after, I noticed that Ctrl H fails to search the project.
    I thought this was all Subclipse's fault, and tried a clumsy workaround by copying the project. I had noticed that the package icon doesn't appear for the folders holding the source files and realized this is the problem. I guess Eclipse doesn't know which files are the source files. I would have thought it could tell because they end in .java, but that shows how little I know.
    After wrestling with this for hours, I figured out that I could use Build Path -> Use as source folder. For a split second, I thought I had finally solved the problem. But then all of a sudden tons of error messages showed up in every file. It turns out that when you use Build path -> Use as source folder, it moves your source folder and changes the names of the subfolders. So how on earth do I just tell Eclipse where my source files are without it moving everything around and screwing up the whole project?
    Please, somebody tell me what is going on before I pull all of my hair completely out.

    codinatrix wrote:
    I'm working on a team project for the first time ever, which is a little scary. We are using Subclipse. As soon as I downloaded the project, I noticed that I don't get any error warnings. Soon after, I noticed that Ctrl H fails to search the project.
    I thought this was all Subclipse's fault, and tried a clumsy workaround by copying the project. I had noticed that the package icon doesn't appear for the folders holding the source files and realized this is the problem. I guess Eclipse doesn't know which files are the source files. I would have thought it could tell because they end in .java, but that shows how little I know.
    After wrestling with this for hours, I figured out that I could use Build Path -> Use as source folder. For a split second, I thought I had finally solved the problem. But then all of a sudden tons of error messages showed up in every file. It turns out that when you use Build path -> Use as source folder, it moves your source folder and changes the names of the subfolders. So how on earth do I just tell Eclipse where my source files are without it moving everything around and screwing up the whole project?
    Please, somebody tell me what is going on before I pull all of my hair completely out.I have encountered similar issues with Eclipse and--though I'm not an expert--I have used Eclipse a lot.
    Can you tell us more about your project folder structure (as it exists in SVN)?
    Generally speaking, here's what I would do when start a new Eclipse project from SVN using Subclipse:
    1) Delete your current project and start clean.
    2) Open the SVN Repositories view in Eclipse
    3) Right-click the folder you are checking out as your project (for example, if your project is called ProjectFoobar and contains a trunk, right-click the trunk folder... don't check out all of the branches--use svn switch instead) and do a Checkout.
    4) Select 'Check out as a project in the workspace
    5) Give it a project name.
    6) 'Check out HEAD revision' (presumably)
    7) Depth: fully recursive
    8) Next
    9) Workspace location: make sure this the workspace you intend to create the project in
    8) Finish
    Hope that helps.
    -Thok
    Edited by: Thok on Apr 29, 2009 7:07 PM

  • Why do I get scars on my thumbs using iPhone 5s, without scratches on the screen/ on the phone

    I get scars on my thumbs using my iPhone 5s. I had a 3GS, but did not get it then! Please help! The phone is in good shape/condition

    If the iPhone5s is new you could take it in to an apple store and see what they can do.
    What I would do is carefully run my fingers along all the metal edges, in both directions, feeling for a nick or sharpness. If i found the nick I would gentley rub the nick with a metal object that is rounded.
    Another solution is to put on a iPhone case that covers the outside edges.

  • Logic cannot play a full song without error of the demo content provided.

    I have airport turned off. No programs open, have had fresh defrag and cache cleanout. Logic is on my actual hard drive wich is a 320 gb western digital scorpio black 7200. I am using an apogee duet.
    settings;
    device duet
    1/0 buffer 256
    safety buffer on
    recording delay -58 samples
    universal track mode on
    24 bit rec on
    soft monitoring on
    independent monitoring level on
    process buffer range = small
    scrub speed= normal
    scrub response = normal
    the track im playing ( to see how logic reacts as it has been poor in a few of my personal recordings - is the roots track 'marathon man' (stereo)
    logic will just stop at third bar with an error message stating ' Disk is too slow or System Overload.
    (-10010) '
    this is a message i see so many times even in my own tracks. how can i overcome this premature stopping of audio flow? is it my computer specs, the specs in logic? im not sure. Does anyone know how to get my Logic 8 perforing at its peak?

    Safety buffer must be off - on is probably only useful on G4 systems. On faster machines it can ruin performance. Also: Software Monitoring takes a lot more CPU than the more used & useful (hardly any to no latency) Direct (Interface) monitoring.
    regards, Erik.

  • I have a gift card prepaid and cannot activate using my phone or neither entering the number manually. Support is not responding

    I have a itunes card prepaid and I am unable to activate it neither enter the code or using the camera. I have already opened 3 tickets with the apple support but they do not replay. Seems that the assistance is ignoring me. Very poor customer service. Very disappointed.
    I want my f**ing card activated asap as I spent 25 quid for it.

    Have you tried going back to the store that you bought it from and asking them to activate it properly ? If they can't or won't do so then only iTunes Support can potentially activate it (these are user-to-user forums, nobody on here can do it) - when you contacted them you gave them images of the front and back of the card and of the card's receipt ?

  • How to use model clause without hard coding the values in it?

    Query
    select acct_no,
           gl_code,
           CASE
             WHEN entry_type_label IN ('Earned Revenue') THEN
              'Earned Revenue'
             ELSE
              'Deferred Revenue Credit'
           END AS entry_type_label,
           CASE
             WHEN entry_type_label IN ('Opening Balance') THEN
              'Opening Balance'
             WHEN entry_type_label IN ('Deferred Revenue Credit') THEN
              'Invoice Amount'
             WHEN entry_type_label IN ('Earned Revenue') THEN
              'Earned Revenue'
             WHEN entry_type_label IN ('Closing Balance') THEN
              'Closing Balance'
             ELSE
              'Deferred Revenue Credit'
           END AS label,
           entry_type_no,
           orig_chg_start_date,
           period_no,
           -amt as amt
      from revrec_test
    WHERE acct_no = 1788562
       AND entry_type_no IN (2, 4) model dimension by(acct_no,
              gl_code,
              entry_type_label,
              entry_type_no,
              orig_chg_start_date,
              period_no) measures(amt) rules upsert
    all(amt 1788562,
               'UNEARNED-10011561',
               'Opening Balance',
               2,
               '02-OCT-17 08.30.00 AM',
               190 = 0,
               amt 1788562,
               'UNEARNED-10011561',
               'Closing Balance',
               2,
               '02-OCT-17 08.30.00 AM',
               190 = amt 1788562,
               'UNEARNED-10011561',
               'Deferred Revenue Credit',
               2,
               '02-OCT-17 08.30.00 AM',
               190 - amt 1788562,
               'EARNED-10011561',
               'Earned Revenue',
               4,
               '02-OCT-17 08.30.00 AM',
               190,
               amt 1788562,
               'UNEARNED-10011561',
               'Opening Balance',
               2,
               '02-OCT-17 08.30.00 AM',
               191 = amt 1788562,
               'UNEARNED-10011561',
               'Closing Balance',
               2,
               '02-OCT-17 08.30.00 AM',
               190,
               amt 1788562,
               'UNEARNED-10011561',
               'Deferred Revenue Credit',
               2,
               '02-OCT-17 08.30.00 AM',
               191 = 0,
               amt 1788562,
               'UNEARNED-10011561',
               'Closing Balance',
               2,
               '02-OCT-17 08.30.00 AM',
               191 =
               (amt 1788562, 'UNEARNED-10011561', 'Opening Balance', 2,
                '02-OCT-17 08.30.00 AM', 191 + amt 1788562, 'UNEARNED-10011561',
                'Deferred Revenue Credit', 2, '02-OCT-17 08.30.00 AM', 191) - amt
               1788562,
               'EARNED-10011561',
               'Earned Revenue',
               4,
               '02-OCT-17 08.30.00 AM',
               191,
               amt 1788562,
               'UNEARNED-10011561',
               'Opening Balance',
               2,
               '02-OCT-17 08.30.00 AM',
               192 = amt 1788562,
               'UNEARNED-10011561',
               'Closing Balance',
               2,
               '02-OCT-17 08.30.00 AM',
               191,
               amt 1788562,
               'UNEARNED-10011561',
               'Deferred Revenue Credit',
               2,
               '02-OCT-17 08.30.00 AM',
               192 = 0,
               amt 1788562,
               'UNEARNED-10011561',
               'Closing Balance',
               2,
               '02-OCT-17 08.30.00 AM',
               192 =
               (amt 1788562, 'UNEARNED-10011561', 'Opening Balance', 2,
                '02-OCT-17 08.30.00 AM', 192 + amt 1788562, 'UNEARNED-10011561',
                'Deferred Revenue Credit', 2, '02-OCT-17 08.30.00 AM', 192) - amt
               1788562,
               'EARNED-10011561',
               'Earned Revenue',
               4,
               '02-OCT-17 08.30.00 AM',
               192,
               amt 1788562,
               'UNEARNED-10011561',
               'Opening Balance',
               2,
               '02-OCT-17 08.30.00 AM',
               193 = amt 1788562,
               'UNEARNED-10011561',
               'Closing Balance',
               2,
               '02-OCT-17 08.30.00 AM',
               192,
               amt 1788562,
               'UNEARNED-10011561',
               'Deferred Revenue Credit',
               2,
               '02-OCT-17 08.30.00 AM',
               193 = 0,
               amt 1788562,
               'UNEARNED-10011561',
               'Closing Balance',
               2,
               '02-OCT-17 08.30.00 AM',
               193 =
               (amt 1788562, 'UNEARNED-10011561', 'Opening Balance', 2,
                '02-OCT-17 08.30.00 AM', 193 + amt 1788562, 'UNEARNED-10011561',
                'Deferred Revenue Credit', 2, '02-OCT-17 08.30.00 AM', 193) - amt
               1788562,
               'EARNED-10011561',
               'Earned Revenue',
               4,
               '02-OCT-17 08.30.00 AM',
               193)
    ORDER BY period_no, entry_type_no;
    The above query works fine. But i have hard coded the values. I want to do the same operation for different account number which is going to have different periodic no. How can I achieve it?
    Thanks in advance.

    Create Statement
    CREATE TABLE table_one(
    ACCT_NO             NUMBER(38),                                               
    GL_CODE             VARCHAR2(300),
    ENTRY_TYPE_LABEL    CHAR(50),                                                  
    ENTRY_TYPE_NO       NUMBER,                                                    
    ORIG_CHG_START_DATE TIMESTAMP(0) WITH LOCAL TIME ZONE,
    ORIG_CHG_END_DATE   TIMESTAMP(0) WITH LOCAL TIME ZONE,
    PERIOD_NO           NUMBER(38),
    AMT                 NUMBER(38,10)
    Insert Statement
    INSERT ALL
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1001,'U-11561','Deferred Revenue Debit',3,'02-OCT-17 08.30.00 AM','01-JAN-18 01.30.00 PM',100,13.87)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1001,'E-11561','Earned Revenue',4,'02-OCT-17 08.30.00 AM','01-JAN-18 01.30.00 PM',102,-14.83)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1001,'E-11561','Earned Revenue',4,'02-OCT-17 08.30.00 AM','01-JAN-18 01.30.00 PM',101,-14.35)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1001,'E-11561','Earned Revenue',4,'02-OCT-17 08.30.00 AM','01-JAN-18 01.30.00 PM',100,-13.87)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1001,'U-11561','Deferred Revenue Debit',3,'02-OCT-17 08.30.00 AM','01-JAN-18 01.30.00 PM',103,0.95)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1001,'U-11561','Deferred Revenue Debit',3,'02-OCT-17 08.30.00 AM','01-JAN-18 01.30.00 PM',102,14.83)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1001,'U-11561','Deferred Revenue Debit',3,'02-OCT-17 08.30.00 AM','01-JAN-18 01.30.00 PM',101,14.35)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1001,'E-11561','Earned Revenue',4,'02-OCT-17 08.30.00 AM','01-JAN-18 01.30.00 PM',103,-0.95)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1001,'U-11561','Deferred Revenue Credit',2,'02-OCT-17 08.30.00 AM','01-JAN-18 01.30.00 PM',100,-44)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1002,'Recurring Flat Fees COA Code','Deferred Revenue Debit',3,'17-NOV-13 09.30.00 AM','16-FEB-14 09.30.00 AM',106,44.91)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1002,'Recurring Flat Fees COA Code','Accounts Receivable',1,'17-NOV-13 09.30.00 AM','16-FEB-14 09.30.00 AM',104,60)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1002,'Recurring Flat Fees COA Code','Deferred Revenue Debit',3,'20-DEC-13 09.30.00 AM','16-FEB-14 09.30.00 AM',105,3.93)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1002,'Recurring Flat Fees COA Code','Deferred Revenue Debit',3,'20-DEC-13 09.30.00 AM','16-FEB-14 09.30.00 AM',106,11.75)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1002,'Recurring Flat Fees COA Code','Deferred Revenue Debit',3,'20-DEC-13 09.30.00 AM','16-FEB-14 09.30.00 AM',107,6.86)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1002,'Recurring Flat Fees COA Code','Deferred Revenue Debit',3,'20-DEC-13 09.30.00 AM','16-FEB-14 09.30.00 AM',105,-7.82)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1002,'Recurring Flat Fees COA Code','Deferred Revenue Debit',3,'20-DEC-13 09.30.00 AM','16-FEB-14 09.30.00 AM',106,-23.47)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1002,'Recurring Flat Fees COA Code','Deferred Revenue Debit',3,'20-DEC-13 09.30.00 AM','16-FEB-14 09.30.00 AM',107,-13.69)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1002,'Recurring Flat Fees COA Code','Earned Revenue',4,'20-DEC-13 09.30.00 AM','16-FEB-14 09.30.00 AM',107,-6.86)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1002,'Recurring Flat Fees COA Code','Earned Revenue',4,'20-DEC-13 09.30.00 AM','16-FEB-14 09.30.00 AM',105,7.82)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1002,'Recurring Flat Fees COA Code','Earned Revenue',4,'20-DEC-13 09.30.00 AM','16-FEB-14 09.30.00 AM',106,23.47)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1002,'Recurring Flat Fees COA Code','Earned Revenue',4,'20-DEC-13 09.30.00 AM','16-FEB-14 09.30.00 AM',107,13.69)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1002,'Recurring Flat Fees COA Code','Earned Revenue',4,'17-NOV-13 09.30.00 AM','16-FEB-14 09.30.00 AM',104,-9.13)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1002,'Recurring Flat Fees COA Code','Earned Revenue',4,'17-NOV-13 09.30.00 AM','16-FEB-14 09.30.00 AM',105,-44.91)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1002,'Recurring Flat Fees COA Code','Earned Revenue',4,'17-NOV-13 09.30.00 AM','16-FEB-14 09.30.00 AM',106,-44.91)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1002,'Recurring Flat Fees COA Code','Earned Revenue',4,'17-NOV-13 09.30.00 AM','16-FEB-14 09.30.00 AM',107,-35.91)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1002,'Recurring Flat Fees COA Code','Earned Revenue',4,'20-DEC-13 09.30.00 AM','16-FEB-14 09.30.00 AM',105,-3.93)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1002,'Recurring Flat Fees COA Code','Deferred Revenue Debit',3,'17-NOV-13 09.30.00 AM','16-FEB-14 09.30.00 AM',105,44.91)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1002,'Recurring Flat Fees COA Code','Deferred Revenue Debit',3,'17-NOV-13 09.30.00 AM','16-FEB-14 09.30.00 AM',104,9.13)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1002,'Recurring Flat Fees COA Code','Earned Revenue',4,'20-DEC-13 09.30.00 AM','16-FEB-14 09.30.00 AM',106,-11.75)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1002,'Recurring Flat Fees COA Code','Deferred Revenue Credit',2,'20-DEC-13 09.30.00 AM','16-FEB-14 09.30.00 AM',105,38.48)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1002,'Recurring Flat Fees COA Code','Deferred Revenue Credit',2,'20-DEC-13 09.30.00 AM','16-FEB-14 09.30.00 AM',105,-19.24)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1002,'Recurring Flat Fees COA Code','Deferred Revenue Credit',2,'17-NOV-13 09.30.00 AM','16-FEB-14 09.30.00 AM',104,-60)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1002,'Recurring Flat Fees COA Code','Accounts Receivable',1,'20-DEC-13 09.30.00 AM','16-FEB-14 09.30.00 AM',105,38.48)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1002,'Recurring Flat Fees COA Code','Accounts Receivable',1,'20-DEC-13 09.30.00 AM','16-FEB-14 09.30.00 AM',105,19.24)
    INTO table_one(acct_no, gl_code, entry_type_label, entry_type_no, orig_chg_start_date, orig_chg_end_date, period_no, amt) VALUES(1002,'Recurring Flat Fees COA Code','Deferred Revenue Debit',3,'17-NOV-13 09.30.00 AM','16-FEB-14 09.30.00 AM',107,35.91)
    SELECT * FROM dual;
    Expected Result
    S.NO
    ACCT_NO
    GL_CODE
    ENTRY_TYPE_LABEL
    ENTRY_TYPE_NO
    ORIG_CHG_START_DATE
    PERIOD_NO
    AMT
    DESCRIPTION
    1
    1001
    U-11561
    Deferred Revenue Credit
    2
    02-OCT-17 08.30.00 AM
    100
    0
    Opening Account
    2
    1001
    U-11561
    Deferred Revenue Credit
    2
    02-OCT-17 08.30.00 AM
    100
    44
    Invoice
    3
    1001
    E-11561
    Earned Revenue
    4
    02-OCT-17 08.30.00 AM
    100
    13.87
    Invoice Paid
    4
    1001
    U-11561
    Deferred Revenue Credit
    2
    02-OCT-17 08.30.00 AM
    100
    30.13
    Closing Account
    5
    1001
    U-11561
    Deferred Revenue Credit
    2
    02-OCT-17 08.30.00 AM
    101
    30.13
    Opening Account
    6
    1001
    U-11561
    Deferred Revenue Credit
    2
    02-OCT-17 08.30.00 AM
    101
    0
    Invoice
    7
    1001
    E-11561
    Earned Revenue
    4
    02-OCT-17 08.30.00 AM
    101
    14.35
    Invoice Paid
    8
    1001
    U-11561
    Deferred Revenue Credit
    2
    02-OCT-17 08.30.00 AM
    101
    15.78
    Closing Account
    9
    1001
    U-11561
    Deferred Revenue Credit
    2
    02-OCT-17 08.30.00 AM
    102
    15.78
    Opening Account
    10
    1001
    U-11561
    Deferred Revenue Credit
    2
    02-OCT-17 08.30.00 AM
    102
    0
    Invoice
    11
    1001
    E-11561
    Earned Revenue
    4
    02-OCT-17 08.30.00 AM
    102
    14.83
    Invoice Paid
    12
    1001
    U-11561
    Deferred Revenue Credit
    2
    02-OCT-17 08.30.00 AM
    102
    0.95
    Closing Account
    13
    1001
    U-11561
    Deferred Revenue Credit
    2
    02-OCT-17 08.30.00 AM
    103
    0.95
    Opening Account
    14
    1001
    U-11561
    Deferred Revenue Credit
    2
    02-OCT-17 08.30.00 AM
    103
    0
    Invoice
    15
    1001
    E-11561
    Earned Revenue
    4
    02-OCT-17 08.30.00 AM
    103
    0.95
    Invoice Paid
    16
    1001
    U-11561
    Deferred Revenue Credit
    2
    02-OCT-17 08.30.00 AM
    103
    0
    Closing Account
    Description
    We must start opening account as zero and end with closing account as zero by doing manipulation with invoice and invoice paid.
    Process
    Initial Stage
    Subsequent stage
    Opening Account
    0
    (=closing Account)
    Invoice
    max value of account no which has entry type no 2
    0
    Invoice Paid
    taken from the  field amount which has entry type no 4
    taken from the  field amount which has entry type no 4
    Closing Account
    (=[opening account + invoice] - invoice paid)
    (=[opening account + invoice] - invoice paid)
    Note
    1) Each account may have different periodic no.
    2) Some account may have more than 4 distinct period no and less than 4 distinct periodic no.
    3) Description column from expected result is not an part of table. It is been added for easier understanding.

  • One Way to Fix the "System Extension Cannot Be Used, AppleUSBEthernetHost.kext" Error...

    I found (one) way to fix this error...well, at least it worked for me (see below):
    There seem to be various threads addressing this issue and no "one" way is the right way for everyone. I'm running my Macbook on OS X 10.6.8 (Snow Leopard). Once I installed the iTunes update, two things happened: my iPhone became corrupted when I sync'd via USB and then my iTunes stopped recognizing the iPhone as a "sync-able" device -- meaning it would show up on iTunes but when you went to click sync, the sync button was unavailable.
    I tried locating the .kext file, deleting it, repairing it, replacing with an older version, entered different commands in terminal but I kept getting the same error. Ultimately, I fixed the problem fairly simply, but it may not be something everyone is willing to do. If you have an external hard-drive and had your computer hooked up to Time Machine, this is what you should do:
    Hopefully you'd been backing your computer up automatically fairly recently, and you have some this stored on an external hard drive via Time Machine from before iTunes 11.4 was downloaded onto your computer.
    If you haven't done so already, and your iTunes library isn't corrupt, Backup your entire iTunes library to an external hard-drive (if you don't care about your library, ignore this step...this procedure might not work, however, if your first backup of your iTunes library is via version 11.4. If you go through all of these steps and you encounter the same problem, restore your itunes to an older version via Time Machine, then redo steps)
    To do this, create a new Folder on your hard drive and call it "iTunes"
    Go into your iTunes preferences > Advanced > under "iTunes Media folder location" we want it to say /Volumes/(Your Hard Drive Name)/iTunesNext to the "iTunes Media folder location" dialogue box, it should read CHANGE or RESET. Click CHANGE, navigate to your external hard drive and locate the newly created iTunes folder...your computer should automatically start to transfer your library to the new destination.       
    Backup and "new files" on your computer that you create since updating your iTunes to version 11.4 (i.e. new iCal entries, documents)
    Backup your important files (I have mine in dropbox but chose to be safe and backed them up on an external hard drive as well)
    Once you have everything saved, you're going to want to go through the process of completely restoring your entire computer (essentially wiping it clean).
    To do this on Snow Leopard, you need to have the Mac OS X Snow Leopard Installing disc.
    Insert disc > when the Install screen pops up, select Utilities... > it will then prompt you to Restart your computer
    After your computer restarts, it will prompt you to reinstall Snow Leopard or select a different option from Utilities which can now be found at the top of your screen on the toolbar. From there, select the option that is along the lines of Restore from Backup Using Time Machine and then select which backup you want to restore your computer to ... since iTunes 11.4 went live on Sept. 10th, I would restore to any date before that.
    When your computer restores itself to your chosen backup, your computer should be exactly as it was on that date, iTunes included. It's as if nothing ever happened.
    To do this on any later OS X, I believe you have to restart your computer and then hold COMMAND+R before the grey screen appears. From here, I believe it will prompt you similarly to the Snow Leopard procedures 1-3 as listed just above this bullet point.
    When your computer prompts you to update iTunes to version 11.4 from whatever version you reverted back to, DO NOT UPDATE. Keep your old iTunes version and wait for this thing to be addressed by Apple.
    This procedure worked for me and although it's a bit tedious, it fixed both my iTunes and iPhone errors. Note: I did have to erase and restore my iPhone through an old backup via iTunes once iTunes was working again. Try it out. See if it works for you. MAKE SURE YOU BACKUP YOUR FILES BEFORE ATTEMPTING ANY FULL SYSTEM RESTORE.

    There's more to it than this IMHO.  Here is my explanation:
    If I go back in my Time Machine backups and restore the previous version before I installed iTunes 11.4, the version of that same kext was also listed as being "7.0" despite being older and twice the size (120400 bytes vs. 63024 bytes in the 11.4-installed version).
    (The older version is "BuildVersion 305" and "SourceVersion 122000000000000"; the new 11.4 version is "BuildVersion 417" and "SourceVersion 113000000000000".)
    The real problem is this:
    /System/Library/Extensions/AppleUSBEthernetHost.kext/Contents/_CodeSignature used to contain
    -rw-r--r--+ 1 root  wheel  172 Jan 31  2014 CodeDirectory
    -rw-r--r--+ 1 root  wheel    92 Jan 31  2014 CodeRequirements
    -rw-r--r--+ 1 root  wheel  1745 Jan 31  2014 CodeResources
    -rw-r--r--+ 1 root  wheel  4064 Jan 31  2014 CodeSignature
    /System/Library/Extensions/AppleUSBEthernetHost.kext/Contents used to contain symbolic links down into there:
    lrwxr-xr-x+ 1 root  wheel    28 Jun 12  2012 CodeDirectory@ -> _CodeSignature/CodeDirectory
    lrwxr-xr-x+ 1 root  wheel    31 Jun 12  2012 CodeRequirements@ -> _CodeSignature/CodeRequirements
    lrwxr-xr-x+ 1 root  wheel    28 Jun 12  2012 CodeSignature@ -> _CodeSignature/CodeSignature
    When iTunes 11.4 was installed via Software Update/App Store, it removed CodeDirectory/CodeRequirements/CodeSignature but it did not remove the corresponding symbolic links.  Presumably that is what triggered the "cannot be used" pop-up message.
    Trashing the kext and installing it from the downloaded 11.4 .dmg does not create the symbolic links, thus avoiding the problem.
    Obviously rolling back to the previous (Jan 2014) kext will fix the problem as well as the symbolic links point to files that exist.
    (I'm really curious to know what happened between BuildVersion 305 and BuildVersion 417 that caused it to shrink nearly by half.  It looks to me like the Code Signing stuff got ripped out - Lord knows why.)

Maybe you are looking for