Changing version of Python in Xcode?

I installed MacPython 2.4.3, and I am trying to develop an Cocoa app in python using pyobjc. I have installed the pyobjc extension (version 1.4). However, I think my xcode project is using the default version of python instead of the 2.4 version, because when I try to build the project, I get an error "import error: no module named py2app"
However, if I run python via a terminal, the version comes up as 2.4.3, and I can import py2app without any error. I looked in .profile, and the proper directory is in the PATH (and it is first, before other directories).
How can I tell xcode to use the 2.4 version of python rather than the default 2.3 one?
Thanks
MacBook Pro   Mac OS X (10.4.7)  

Does this help? 'using emacs key bindings in xcode'
-=-=-=-
I am unable to find how to comment a block of code in xcode
You mean like this?
- (void)dealloc {
[menuDesc release];
[super dealloc];
@end
/* <--- starts comment block
- (void)dealloc {
[menuDesc release];
[super dealloc];
*/ <--- ends comment block - note how code turns green...
@end

Similar Messages

  • I donot know how to change the ToDoList in my XCode to iphone6:::it is stick to iosDevice so the simulator didn't run

    i can't change the destination of my XCode application (Version 6.1.1 (6A2008a)) to iPhone6 for that reason the simulator is not running properly by the way my   OS X Yosemite Version 10.10.2 (14C109)

    Steps to remove iMesh as your homepage:<BR>
    # In the address bar, type '''about:config''' and press Enter.
    # In the '''Filter''' textbox at the top, type: '''keyword.URL'''
    # You will be presented with the entry for keyword.URL
    # Double-click on it, delete the string and press OK.
    # Exit from Firefox.
    Next, you need to set the desired website as your homepage. Open Firefox and follow the instructions given in this article: [[How to set the home page]].

  • How to delete an active change version of a PO?

    Hi all mates,
    question: given a PO number, assuming that the active version is a change one and the previous version has been ordered (I don't know if this is the proper word: I mean "transferred to the backend" (R/3))... is there a simple way, e.g, a FM, to delete the last version of a PO, so that this goes definitely lost and the previous version is restored and set to active?
    As usual, thanks in advance
    Matteo
    EDIT:
    after reading a bit, I'd like to add further details:
    - what I call a "change version" is actually a new version of the purchase order which is in status "HELD";
    - 'transferred to the backend' -> the current version of the purchase order is in status "ORDERED".
    Then, if i click on the "version" tab in SRM, i can see that an order modified after distribution has a previous version (status "ORDERED") and a current version (in status "HELD").
    I'd like to know if there's a way to delete the current active version and restore the previous, ORDERED version. The question arises because I'm creating a report that makes an update of a Purchase order, but to do so the order must be in status 'ORDERED' so if an HELD version is active I should "rollback" to the previous one... or alternatively, I must manage overwriting the HELD version currently active ( I wasted a lot of time but I wasn't able to do it ).
    Edited by: Matteo Montalto on Apr 8, 2009 12:45 PM

    Hi, I have the same problem. Can you tell me the solution that you have find ??

  • PDO Layer Error while approving a changed version of PO

    Hi,
    We are in SRM7.0 , EC Scenario , ECC 6.0
    In SAP SRM system am experiencing a workflow issue , second level approver is not able to approve/receive the workitem of a changed PO. Moment we try to open the PO (changed version) and navigate to Approval tab, the approval flow is missing and showing the error as
    PDO Layer Error
    An Exception has occured
    Every time we must restart the workflow due to which the approval needs to be done again from 1st approver.
    We have raised an OSS Message and following is the response from SAP
    " The second approver does not get an workitem because the workflow got the status error. The cause of this error is your BADI implementation
    ZCL_SRMWF_AGENT_PO_BUYER method /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_AREA_TO_ITEM_MAP. This method returns an initial table LT_AREA_TO_ITEM_MAP.
    Run method CREATE_DECISION_SETS (/SAPSRM/CL_WF_PROCESS_MGR_SBWF) with
    parameter IV_PROCESS_GUID = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "
    When i executed this method CREATE_DECISION_SETS (/SAPSRM/CL_WF_PROCESS_MGR_SBWF) with
    parameter IV_PROCESS_GUID = Changed version PO GUID , i got the following error
    Exception CX_BO_ABORT triggered
    Termination triggered in '' - Rollback required
    Can anyone please help !!
    Thanks & Regards,
    Venkat

    Hi ,
       can you please share your Badi code?
    Saravanan

  • Buffer Table Not Up To Date Short Dump When Publishing Change Version of Bid Invitation

    Hi experts,
    We are running SRM 5.5 with Support Level 16.
    We have a bid invitation for which a user is trying to publish a Change Version. This bid contains two bid outlines, with one line item in each bid outline:
    ITEM 1: HIER (Bid Outline)
    ITEM 2: Line Item
    ITEM 3: HIER (Bid Outline)
    ITEM 4: Line Item
    However, upon clicking on the Check or Publish button, the system throws a CX_BBP_PD_ABORT exception short dump. The reason for the exception given in ST22 is "Buffer table not up to date".
    Due to organisational system security restrictions, I am unable to copy-paste the dump from ST22, so I will be typing out some of the details here.
    Transaction: BBP_BID_INV
    Program: SAPLBBP_PDH
    Screen: SAPLBBP_BID_INV_1000
    Termination occurred in the ABAP program "SAPLBBP_PDH" - in "BBP_PD_ABORT". The main program was "SAPLBBP_BID_INV".
    In the source code you have the termination point in line 73.
    Active Calls/Events
    (formatted below as "No: Type: Name")
    24: Function: BBP_PD_ABORT
    23: Form: ABORT
    22: Form: ITMADM_UPDATE
    21: Form: ITMADM_MAINTAIN_SINGLE
    20: Form: ITEM_F_CHECK_FROM_WTAB
    19: Form: ITEMLIST_F_CHECK
    18: Function: BBP_ITEMLIST_CHECK
    17: Form: PROCDOC_DB_CHECK
    16: Form: PROCDOC_CHECK
    15: Function: BBP_PROCDOC_CHECK
    14: Form: SSIS_DOCUMENT_CHECK_COMPLETE
    13: Form: STATUS_SET_AND_INTERNAL_SAVE
    12: Form: PROCDOC_UPDATE
    11: Function: BBP_PROCDOC_UPDATE
    10: Form: CHANGE_VERSION_UPDATES_ACTIVE
    9: Function: BBP_PDCV_UPDATE_ACTIVE
    8: Form: PROCDOC_CHECK
    7: Function: BBP_PROCDOC_CHECK
    6: Function: BBP_PD_BID_CHECK
    5: Form: FCODE_DOCUMENT_CHECK
    4: Form: FCODE
    3: Function: BBP_BID_PROCESS
    2: Form: PROCESS
    1: Module (PAI): PROCESS
    The ABORT subroutine is being called in Step 22 (ITMADM_UPDATE), at the following line:
    * parent guids have to be identical ...
    if gt_itmadm-parent <> w_itmadm-parent.
      perform abort.
    endif.
    Upon tracing the variable values in the ST22 dump, it appears the program terminates when processing line 3 (i.e. the second Bid Outline). It appears that the first Bid Outline processes fine.
    In the iteration for Line 3, the dump provides that gt_itmadm-parent contains the GUID to the Change Version document header, whereas w_itmadm-parent contains the GUID to the original Bid Invitation document header, resulting in a mismatch and subsequently program termination.
    We have tried to replicate this bid invitation in our Development environment, but when executing, both gt_itmadm-parent and w_itmadm-parent contain GUIDs to the Change Version document header, hence the program does not abort.
    Any suggestions would be greatly appreciated.
    Thanks!
    Best regards,
    Kwong How

    Hi Janu,
    For Note 1561750, I have looked at the Correction Details and observed that it makes changes to an IF-ELSE block, but will result in the same path of code execution as before. I.e., the Note changes the code from "IF a THEN b, ELSE c" to just "c", but according to my code trace, we are already executing the "ELSE c" block in its current state.
    We will look further into Note 1877600. The unfortunate situation here is that since we are unable to replicate this issue in our Development/QA environment, and the Note description does not explicitly fit the situation we are facing, we need to be very sure that the Note can address the issue before bringing it into Production.
    Otherwise, we will raise a message as suggested.
    Thank you so much for your help!
    Best regards,
    Kwong How

  • Which version of Python

    Hi all,
    I have just installed Snow Leopard on my iMac 10.6.8 and want to teach myself simple Python.
    I am new to programming and when I looked on these 2 sites I don't really know which version I need to upgrade to.  I think it is the
    Python 2.7.5 Mac OS X 64-bit/32-bit x86-64/i386 Installer (for Mac OS X 10.6 and later [2]), am I correct please?
    There is a note also about this installation with regard to Mac, please have a look for me as I don't understand it:
    http://www.python.org/download/mac/tcltk
    Basically, which version do I download and do I need anything else for Python to run properly?
    Really don't want to mess my iMac up so thought I best ask experienced people
    Thanks in anticipation

    Please note I need version 2.7 to be able to run the PyGame
    My iMac is a 64 bit Intel Core 2 Duo.
    I have opened Terminal and it tells me that I am currently running Python 2.6.1
    What are the differences between these 2 Python versions?
    Python 3.3.2 Mac OS X 64-bit/32-bit x86-64/i386 Installer (for Mac OS X 10.6 and later [2]) and
    Python 2.7.5 Mac OS X 64-bit/32-bit x86-64/i386 Installer (for Mac OS X 10.6 and later [2])
    If I install the 2.7.5 will it mess up my mac?
    Thanks

  • PO change version Approval/Rejection notification to requester

    Dear SRM Gurus,
    We are in stand alone scenarion of SRM 7.0 using process controlled WF.
    We have received an request to send out notification on approval / rejection of and PO change version.
    The PO's are created automaticaly from approved SC's and only the PO change triggers the approval WF.
    I've already checked the IMG: SRM server > cross application > Event and event schema for alert management.
    1. Define events: BUS2201 Purchase order is present with APPROVAL_PROCESS_DOC_APPROVED and APPROVAL_PROCESS_DOC_REJECTED
    2. Define event schema for obj. type BUS2201 event schema PO the APPROVAL_PROCESS_DOC_APPROVED and APPROVAL_PROCESS_DOC_REJECTED with subcategory event APPROVAL_RESULT_NOTIFIC_NEW are set to event category NOTIFIC Message.
    3. Define Recipient of notifications: PM Approve change version of purchase order - User Role CR contact person the options rejection and approval of application object are selected.
    The users I'am using to test are the same as those who receive notifications for SC rejection/approval so I guess it's not connected to SU01 or PPOMA settings.
    Still I don't see notification sent via SOST.
    Any ides what I could check next please?
    Thanks in advance for you help.
    Michal

    Hello Michal,
    did you give the event schema created to corresponding transaction type ?
    If you are expecting to receive notification during approval workflow, check OSS note [1395980 - No notifications of approval sent during approval process|https://websmp101.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1395980&_NLANG=E]
    For PO, you can also check OSS note [1572957 - PO change version reject notification not sent|https://websmp101.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1572957&_NLANG=E]
    Regards.
    Laurent.

  • Output for changes versions in SRM

    Hello,
    We are currently trying to control when our SRM (server 550)system is to send output to our vendors, but the output is only to be sent if specific elements in an order is changed.
    To do this we are using the table BBPD_COMP_FIELDS.
    This works very well, there is just one problem that we cant seem to understand why.
    If you created an order, then change the order with something that was not suppost to send output (because it is set in the table above) it sends the output. If you then change the same again it will not send out put (which is correct).
    So what it does is for changes that shouldent send output when changed:
    order --> output (correct)
    change1 --> output (Wrong)
    change2 --> no output (correct)
    it should of been:
    order --> output
    change1 --> no output
    change2 --> no output
    Question is why and how do we get it to stop doing this?
    Hope someone can help us.
    Best Regards
    Lisa M Simonsen

    Hi
    Use the PO version control BADi to change the version for the PO on identified field changes. In SPRO, out put conditions, trigger the change output when there is a change version of the document. This should work.
    BBPD_COMP_FIELDS (with SM30). There is something mentioned about which fields to compare for PO output, you have to scroll some way down to get there.
    Re: Changed PO output
    Also, Please go through the following pointers, which might help you out.
    Re: PO output fields
    Re: Control PO output to vendor
    Re: No Output Condition on Purchase Orders
    Version Details
    Do let me know.
    Regards
    - Atul

  • Action not possible because change version exist

    Dear All,
    We are at SRM5.0- Extended Classic scenario and facing issues for changing some of the PO documents.
    When the buyers are trying to change the PO, error is getting populated as 'Action not possible because change version exist'. This error is not allowing us to change the PO.
    These POs are changed in the past and all the relevant changes are reflected to backend system with no issues. In other words Change Versions do exists for these POs. Flags for Change Version completion is also set and all historical versions can be seen but without change history.
    Additional information -
    1. No approval workflows are implemented for PO.
    2. No locks are active for these documents.
    Appreciate your help!
    Regards,
    Sagar

    Hi Sagar and thanks for your response,
    well, actually the active change version won't be preserved in any case. It would be overwritten in the first scenario, and deleted in the second one. The reason why I'd like to have this "brute force" method is to face an eventual human error. Suppose that a disalignment between R3 and SRM has been created; my report basically "alligns" the SRM version to the corresponding R3 one. And suppose also that the user made a mistake so that the program must be used a second time. I'd like to provide a way to "UNDO" the first execution of the program, that is to say: i'd like to provide a way to OVERWRITE the actual active, change version, or alternatively delete the change version that the report did create the first time it has been launched.
    Hope it's a bit clearer now
    Thanks for any hint/suggestion you can give me
    EDIT: Oh, and please... can you provide me further information about your solution? I mean, use of that FM to unlock an active version of the PO and then the proper call to BBP_PD_PO_UPDATE specifying how you managed input params. Thanks a lot
    Edited by: Matteo Montalto on Apr 9, 2009 11:43 AM

  • Changed version of Data Entry Profile imported results in empty worklist

    Hi,
    We've just moved, among other things, changed versions of all of the data entry profiles to our production server. Everything went well however all users get an empty worklist to start with.
    Do you maybe know why this is? Is this standard behaviourd? And is/would there be any way to overcome this and do not have users start with a 'fresh' worklist?
    Your help and input is very much appreciated.
    Kind regards,
    Tim

    Hi,
    The worklist is the one available in HR transaction CAT2. Source would be HR?
    Kind regards,
    Tim

  • PDO Layer Error in change version PO

    Hi,
    We are in SRM7.0 , EC Scenario
    In SAP SRM system am experiencing a workflow issue , second level approver is not able to approve/receive the workitem of a changed PO. Moment 1st approver approve it and when requester try to open the PO (changed version) and navigate to Approval tab, the approval flow is missing and showing the error as
    PDO Layer Error
    An Exception has occured
    Every time we must restart the workflow due to which the approval needs to be done again from 1st approver.
    We have raised an OSS Message and following is the response from SAP
    " The second approver does not get a workitem because the workflow got the status error. The cause of this error is your BADI implementation ZCL_SRMWF_AGENT_PO_BUYER method
    /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_AREA_TO_ITEM_MAP. This method returns an initial table LT_AREA_TO_ITEM_MAP.
    Run method CREATE_DECISION_SETS (/SAPSRM/CL_WF_PROCESS_MGR_SBWF) with
    parameter IV_PROCESS_GUID = change version guid xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "
    When i executed this method CREATE_DECISION_SETS (/SAPSRM/CL_WF_PROCESS_MGR_SBWF) with
    parameter IV_PROCESS_GUID = Changed version PO GUID , i got the following error
    Exception CX_BO_ABORT triggered
    Termination triggered in '' - Rollback required
    Can anyone please help !!
    Thanks & Regards,
    Venkat

    Hi Sarvanan,
    I am a functional consultant and completely unaware of this technical stuff. Since this is SRM BRF workflows, none of our workflow consultants also are able to help me out on this issue. So, if possible could you please let me your contact number to so that i can contact you directly on this issue.
    This is the issue which i am facing from last 7 months and none of the person is able to help me out. So, i kindly request you to please help me out on this issue.
    As requested following is the code for the process level class
    ZCL_SRMWF_PRC_CONF_BUYER_PO --> GET_BUYER_APPROVERS
    METHOD get_buyer_approvers.
      DATA :  ls_header TYPE  bbp_pds_po_header_d,
              lt_item TYPE TABLE OF  bbp_pds_po_item_d,
              lw_item TYPE  bbp_pds_po_item_d,
              lt_buyer  TYPE TABLE OF zgtm_buyer,
              lw_buyer  TYPE zgtm_buyer,
              lt_limit TYPE TABLE OF  bbp_pds_limit,
              lw_approver_item TYPE zgswf_item_buyer_map,
              lv_requester_mgr    TYPE uname,
              lv_requester        TYPE uname,
              lv_appr_reqd        TYPE c.
      CALL FUNCTION 'BBP_PD_PO_GETDETAIL'
        EXPORTING
          i_guid   = iv_doc_guid
        IMPORTING
          e_header = ls_header
        TABLES
          e_item   = lt_item
          e_limit  = lt_limit.
      DELETE lt_item WHERE del_ind = 'X'.
      DELETE lt_limit WHERE del_ind = 'X'.
      CHECK lt_item IS NOT INITIAL.
      SELECT * FROM zgtm_buyer
               INTO TABLE lt_buyer
               FOR ALL ENTRIES IN lt_item
               WHERE bukrs = ls_header-co_code
               AND  matkl =  lt_item-category_id.
      LOOP AT lt_item INTO lw_item.
    *CHECK IF APPROVAL IS REQUIRED
        CALL METHOD approval_level_required
          EXPORTING
            is_header   = ls_header
            is_item     = lw_item
            it_buyer    = lt_buyer
            it_limit    = lt_limit
          RECEIVING
            rv_reqd_ind = lv_appr_reqd.
        CHECK lv_appr_reqd IS NOT INITIAL.
    *IF APPROVAL IS REQUIRED FIND THE BUYER
        READ TABLE lt_buyer INTO lw_buyer
                            WITH KEY bukrs = ls_header-co_code
                                     matkl = lw_item-category_id.
        IF sy-subrc = 0.
          lw_approver_item-owner  = lw_buyer-bname.
        ELSE.
          CLEAR lw_approver_item-owner.
        ENDIF.
        lw_approver_item-itm_no = lw_item-number_int.
        lw_approver_item-co_code = ls_header-co_code.
        lw_approver_item-matkl = lw_item-category_id.
        lw_approver_item-itm_guid = lw_item-guid.
        APPEND lw_approver_item TO rt_approver_item.
        CLEAR lw_approver_item.
      ENDLOOP.
    ENDMETHOD.
    KINDLY HELP ME OUT AND DO LET ME KNOW IF ANYTHING NEEDED FURTHER FROM MY END.
    THANKS IN ADVANCE,
    VENKAT

  • How to uninstall versions of python in OS X 10.10.3

    I have installed the Python IDE Spyder. For me it's a great development environment. Some how in this process I have managed to install three versions of Python on my system.These can be located as following:
    Version 2.7.6 from the OS X Terminal;
    Version 2.7.8 from the Spyder Console; and
    Version 2.7.9rc1 from an IDL window.
    The problem I have is (I think) that the multiple versions are preventing Spyder from working correctly.
    So how do I confirm that 2.7.6 is the latest version supported by Apple and is there a simple way ('silver bullet') to remove other versions from my system.
    I hope this is the correct forum for this question. If not I would appreciate suggestions where I could go for help.

    Foro de Usuario a Usuario.En español.
    Adobe Air es utilizado por diversas aplicaciones de Adobe. Lo necesitan para algunos paneles.
    Porqué motivo quieres o necesitas desinstalar Adobe Air?
    Qué programs de Adobe tienes instalados?
    Quizás tengas que desinstalar primero esos programas antes de poder desinstalar Air.

  • Change version not creates some times in GOA

    Hello All
    there is one piece of field in GOA will not create a change version.
    as i know any piece of data changes will create a new versiona and workflow will get triggered.
    i wanted to know which field changes will not create a Change version in GOA ?
    any ppointers -->docuemnts ,, etc .
    muthu

    some times change version was not created and approval also not trigered .
    From BBP_PD, do you see the new historical version at the bottom of the page? More importantly, was your change recorded in the document?
    so i wanted to see what are the field changes in GOA will not create a change version.
    should i look only CDI ?
    I don't think CDHDR or CDITM would determine if or not the fields would create version. Versioning is very SRM specific.
    i could not see any any docuemnts. for eg. if i attach any change version must create right?
    I would think so - when you just add a new attachment, a new version should be created. However, that said, I still think the table BBPD_COMP_FIELDS is the place to define the triggering of new version.
    versions created. but logs are captured but i donot see attachemnts,
    Come again? What logs did you mean? Did you mean that you added an attachment but after you saved it (release the contract), the attachment disappeared?

  • Change versions for PO

    Hi Experts,
    Where can I see change versions for PO (purchase order) in ERP- MM?
    Thanks

    This Table will be updated only if you activate version management for PO .
    if you want to see the changes made in PO there are 2 ways
    1.Goto the PO (ME23n) ,menu bar  Enivironment -- > item cahnges or header changes
    2.Table level you can see in CDHDR and CDPOS tables .
       first pass doc object - EINKBELEG and get document no from CDHDR
       pass this doc no in CDPOS get the changes

  • Archiving of PO in change version

    Hi
    Can we archive the PO which is in change version . I tried doing it in E6U system with PO number 7600007675 which is in change version. but it gave error message that PO is in change version.
    Pls help.
    Regards
    Ashish Garg

    Hi
    Please specify your SRM System version and detailed requirement.
    When are you getting this Error. ?
    <b>Meanwhile, Try the following SAP OSS Notes, which will help.</b>
    <u>
    Note 932291 Archived purchase orders are not displayed
    Note 972607 Dump MOVE_TO_LIT_NOTALLOWED_NODATA when print & archive PO
    Note 885273 SRM Archiving: Purchase orders in direct material scenario
    Note 704237 SRM archiving: Making archivability check PO less strict
    Note 637398 3.0-4.0: Archiving purchase order documents during output
    Note 304541 Display of originals does not work in purchasing
    Note 976264 Archiving enhancements in purchasing for ERP 2005
    1048591 SRM Invoice Archived Before PO
    1007245 SRM Archiving: Limit Shopping cart with deleted PO
    995502 SRM Archiving: End date check for limit shopping cart
    995284 Search in Archive Resulting in ABAP Dump
    Note 987492 Bug on Spool Mgt when archive mode is "Print & Archive"</u>
    Regards
    - Atul

Maybe you are looking for

  • Issue with report S_ALR_87011964

    Hi Gurus I have executed teh report  S_ALR_87011964 but some assets not shown  assets such as 25698 (class 4000).  Compare this to asset 25650 (class 2000) which is also rs0 value but this asset is shown in the report any idea why it is not shown? ki

  • I am trying to download a copy of Elements from my past orders

    Windows 8 deleted many of my applications (##!!!%%% Microsoft) and now Adobe downloader will not work with the IE on Windows 8.  I have tried doing all recomemnded fixes still no joy. Any suggestions.

  • Long Running Utility

    What is the best way to analye a long running utility to see what changes I shuild make to improve efficiency?

  • Do i use DHL or FED-EX to return ipod?

    I bought an refurbed 80G ipod from the website with the intent to give my lil sister the 30G I have for Christmas. about a week after i got it, it shut off and started showing the red x msg when i tried to turn it on. I tried everything and nothing h

  • Completely lost, and need help fast

    I need to contact someone on Skype via video call, but there is no video call option anywhere on my desktop version. I also cannot figure out how to contact someone via their id as opposed to calling them on the phone. My computer's video camera does