[SOLVED] Missing package () function for PyTyle2

Hi, I was trying to install this tarball from the AUR: https://aur.archlinux.org/packages.php?ID=42541
But it prompts the following error:
==> ERROR: Missing package() function in /home/kolt/AUR/pytyle2-hg/PKGBUILD
I've read the PKGBUILD and have no idea why this is happening. I already installed the dependencies needed.
Any clue?
Last edited by Kolt Penny (2015-02-06 08:31:45)

Kolt Penny wrote:I've read the PKGBUILD and have no idea why this is happening. I already installed the dependencies needed.
Read the pacman output, it refers to the package() function and makepkg doesn't find it in the PKGBUILD as said. Ask the maintainer to update or orphan it, if he doesn't respond file an AUR request.

Similar Messages

  • [SOLVED] missing package [python-appindicator]

    First of all I must thank you guys for the amazing distribution and your hard work.
    I have tried to run https://gist.github.com/blazeeboy/6201049 but it gave me the following error
    ImportError: No module named appindicator
    and then I started searching for python-appindicator package .. for a week I couldn't find something works.
    that's it
    Last edited by ServeR00T (2013-10-14 02:50:54)

    Scimmia wrote:I believe it's part of the libappindicator package in the AUR. You may need to change the shebang to python2 instead of python to make it work as well.
    Thank you Scimmia .. It's really simple, this works

  • [Solved] Missing App indicator for Shutter

    I just went through the process of installing all of the [AUR packages] for [Shutter]. I made it through that process fine, no errors all the dependencies are installed. For some reason when I start the application the App Indicator doesn't appear, instead I just get a matted gray square:
    I would expect the actual shutter icon to be there:
    The icon itself doesnt appear to be missing I can see it in /usr/share/pixmaps along with other icons that are appearing: Dropbox, Redshift, PIdgin, etc...
    Any thoughts
    Last edited by mcmillhj (2014-02-05 17:10:48)

    Not really sure what happened, after about 45 minutes the app indicator appeared. I can't recall any actions during that time period that would cause it to be fixed.

  • [solved] missing latest backups for iPhone after getting replacement phone

    Thought I would share this one in case anyone else runs into it.
    My the speaker on my wife's iPhone 4 on Verizon had stopped working for phone calls for the second time and a restore didn't fix it, so she returned the phone and they gave her a new one at the store. We had made several backups over the last few days, the most recent was this morning.
    So tonight we hooked up the new phone to iTunes and got ready to restore it, but iTunes said the restore was last updated in FEBRUARY. What?! My wife freaked out thinking all her photos etc. were now lost for good.
    I held off on the restore and decided to do some checking around before doing anything. I found the folder where the restore files are, and sure enough I found files from today. I copied that folder just in case. I also checked in iTunes itself and the backups were listed. So what was up?!
    It finally occured to me that we had recently upgraded her phone to iOS 5, but that the new iPhone 4 from the store was probably still on iOS 4 -- maybe iTunes was not smart enough to see this situation and tell us about it, and maybe it won't listed iOS 5 backups for an iOS 4 phone.
    Well that turned out to be the case. But what to do to fix it? I figured if I could get iOS 5 onto the phone, we would be all set. But I didn't want to tell iTunes to label it as a new phone either -- I'm not sure if that would be permanent or what. So I took a leap of faith and held down the power button and home button simultaneously for a while, past the power off notification, until the phone prompted to be connected to iTunes to be restored.
    Then I plugged it back into the computer (this is Windows 7, by the way). Sure enough iTunes said it detected a phone in recovery mode, and would I like to have iTunes restore it to factory settings and put on the latest iOS? I sure would, so I did that and waited...
    After that was done, iTunes wanted me to active the phone with Verizon. We had already done that an hour earlier over the phone, but tried it anyway, and it failed. We ignored that failure and went into the phone in iTunes -- it now asked if it was a new phone or if we should restore it -- and the backup from this morning was listed. Phew!
    Finally completed the restore. I noticed that all of the passwords for all apps were lost -- unlike with a normal restore/backup on the same phone -- but everything else (pcitures, apps, etc.) was there. Thank goodness!
    So, if you have upgraded the iOS version and have to replace your phone and the nreplacement has an older iOS verison, then that may explain why your backups appear to be missing...

    Yes, I tried. But nothing is working. I am feeling bad as such a costly phone stop working in 1.4 year ?
    I am just sharing my experience.
    I am not ranting but yes angry as I am eligible for upgrade in Nov 2012 so don't want to pay $149 for replacement as I can upgrade to iPhone 5.
    Apple expert please help me how can I fix it. It's completely software issue.

  • [SOLVED]yaourt, package removed for security reasons?

    Hi,
    if i use yaout for searching new software, teamspeak for example it will output this:
    yaourt -Ss teamspeak
    aur/mumble 1.1.3-1
    A voice chat applikation similar to TeamSpeak
    aur/oss2jack 0.25-7
    Routes /dev/dsp to Jack enabling TeamSpeak and other OSS-only mmap apps to work.
    aur/teamspeak2 rc2_2032-3
    TeamSpeak is software for quality voice communication via the Internet
    Ok, teamspeak2 is in aur...now i want to build it:
    [progger@myhost music]$ yaourt -S teamspeak2
    ==> Downloading teamspeak2 PKGBUILD from AUR...
    ==> WARNING: It seems like teamspeak2 was removed from AUR probably for security reason. Please Abort
    teamspeak2 rc2_2032-3 (NOT SAFE): TeamSpeak is software for quality voice communication via the Internet
    ==> teamspeak2 dependencies:
    - libxext (already installed)
    - libjpeg (already installed)
    - libsm (already installed)
    Now yaourt tells me that the package was removed for security reasons but i can still build it?
    How can someone build something that was removed?
    greets
    Last edited by metalfan (2008-03-25 15:08:02)

    Another example but I don't see the same issue with the pkgver
    $ yaourt -S sword
    ==> Downloading sword PKGBUILD from AUR...
    ==> WARNING: It seems like sword was removed from AUR probably for security reason. Please Abort
    sword 1.5.10-2 (NOT SAFE): SWORD libraries for Bible programs

  • Missing package() function brother mfc-j470dw

    I can't install the printer driver brother mfc-j470dw from AUR: https://aur.archlinux.org/packages/brother-mfc-j470dw/
    The aur is so odd, it is the latest version avalible on brother's website but is marked old.
    The person i think confused mfc-j470dw with mfc-j4710dw as he mentions the correct model number in comments here:  https://aur.archlinux.org/packages/brother-mfc-j4510dw/
    Anyways, if anyone knows how to fix the package please let me know.

    Just another update, I found why there are three drivers for Brother printer, I had three ppd files:
    lpinfo -m
    /usr/share/cups/model/Brother/brother_mfcj470dw_printer_en.ppd
    /opt/brother/Printers/mfcj470dw/cupswrapper/brother_mfcj470dw_printer_en.ppd
    /usr/share/ppd/Brother/brother_mfcj470dw_printer_en.ppd
    I realised to just extract the ppd file from the cups deb with bsdtar and remove a line in ppd file I am going to reinstall all and see if I can just use the ppd file and update.
    edit: i see /usr/lib/cups/filter/brother_lpdwrapper_mfcj470dw points to /usr/share/cups/model/Brother/brother_mfcj470dw_printer_en.ppd and uses /opt/brother/Printers/mfcj470dw/inf/brmfcj470dwrc
    so i guess all the lpr deb files in opt need to be extracted to /opt and and i need to edit
    /opt/brother/Printers/mfcj470dw/cupswrapper/cupswrappermfcj470dw file with sed or perl in this case
    perl -i -pe 's#/etc/init.d#/etc/rc.d#g' cupswrappermfcj470dw
    and /opt/brother/Printers/mfcj470dw/setupPrintcapij file
    perl -i -pe 's#printcap\.local#printcap#g' setupPrintcapij
    and then run /opt/brother/Printers/mfcj470dw/cupswrapper/cupswrappermfcj470dw file as root.
    oh i also copied the /usr/bin/brprintconf_mfcj470dw file from deb package.
    edit: just tested and it works really well.
    Last edited by rehono (Today 05:53:58)

  • [SOLVED] Missing Kernel Headers for Catalyst

    Hello Everyone,
    I am a new Arch guy! I am from the ubuntu world.  Love the new arch install, I have installed my own DE.
    I use a Radeon HD 68xx so I need the catalyst drivers.
    I have tried installing them via: sudo pacman -S catalyst-dkms catalyst-utils    (per the wiki)
    It gets to the end and gives me this message:
    DKMS: add completed.
    Error! echo
    Your kernel headers for kernel 3.6.2-1-ARCH cannot be found at
    /usr/lib/modules/3.6.2-1-ARCH/build or /usr/lib/modules/3.6.2-1-ARCH/source.
    error: command failed to execute correctly
    Can anybody assist on how I get the kernel headers?  As far as I understood, they should be included in Arch.
    Last edited by luis84 (2012-10-19 03:08:17)

    drewofdoom wrote:
    do this:
    sudo pacman -Sy linux-headers
    Don't use 'pacman -Sy foo' - it may lead to breakage https://bbs.archlinux.org/viewtopic.php?id=89328

  • (Solved) Missing .xinitrc (sorry for a newb thing)

    so I made the move from Ubuntu to Arch.  Happy so far and am going to just do a minimal install and use openbox stand alone.  I have openbox installed but on the wiki it says to append "exec openbox-session" to ~/.xinitrc which I can't seem to find.  Sorry if this is a stupid question, but you can't learn if you don't ask and I couldn't find anything in the search.
    Last edited by FlyingHappy (2011-12-24 06:23:11)

    The wiki page on xinitrc will answer your questions...

  • Missing Calendar Function for PRIVAT Events

    Hi,
    can't set an event as privat. How can this be done. Don't like to make this visible in our company.
    I'm syncing to exchange via Air.
    Thx
    HW

    I just bought and synced my iPhone yesterday - same issue. I noticed that all the exceptions in my recurring appointments dropped the notes. If I changed the note itself, or the date of one of the recurrences, it deleted the note entirely. I tried deleting the series and recreating and then syncing and editing, but still the same issue. I can't find anything on the web or in the forums.

  • SQLDeveloper-64bits Missing Migration-Functionality

    Hi all, after years of absence from Oracle, I am back
    I've installed Oracle11gR2 64bits (11.2.0) , jdk1.7.0_40 64bits and SQLDeveloper 64 bits on WIndows7, all seemingly successful. Then, I tested the installation by creating a test schema and some views.
    Following that I tried to migrate the MS SQLServer database Northwind to Oracle, using these instructions:
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/hol08/sqldev_migration/mssqlserver/migrate_microsoft_sqlserver_otn.htm#t2
    At the point where the instructions say to "Capture the Microsoft SQL Server Exported Files", I noticed SQLDeveloper missing the functions for Migrations.
    Since my return to Oracle is mainly to study the 64bit version of 11gR2  and to migrate SQL Server databases to Oracle, it would be most helpful to know how to use the missing migration
    function, else it is a show-stopper.
    Where can I get the add-in for the Migration function in SQLDeveloper?
    Some help please?

    Some doc links:
    3.2.2 help doc:  SQL Developer: Migrating Third-Party Databases
    3rd party migrations: Database Migration Technology</title><meta name="Title" content="Database Migration Technology&q…
    Of course, searching the forums can be useful if you have questions after reading through the help documentation:
    Forum dedicated to migration: Database and Application Migrations
    Message was edited by: GaryGraham

  • Missing package... it's been 2 months and still no "refund"

     Hi,
    Sometime in late March/early April, I filed a missing package report for a pair of headphones I ordered online. Two weeks later, I called up Best Buy about the status of the order, and was told that UPS did an investigation and concluded that the package was lost.
    Support told me they would credit me the amount back to my credit card in about 3-5 business days.
    It's been two months. I haven't gotten a refund.
    I'm not sure whether I should post my reference number here, but it seems like you guys are just stalling me. This is ridiculous. My credit card billing statement is due really soon, and I have an outstanding balance for a pair of headphones I didn't even receive.
    Can someone PLEASE fix this for me? You guys have a very unprofessional, roundabout way of doing things. One of the support members I called acted as if she didn't even know what a reference number was.

    Hello jbtb07, 
    Welcome to the forum! After almost two months of trying to sort out an order issue, I can understand why you would be fairly fed up with dealing with this issue. I am sorry to hear that you may not have ever received the headphones, and that you are still trying to find a resolution to this. 
    Using the email address you registered with your forum, I was able to locate the order. It appears that a resolution was provided to you, and so I am sending you a private message with further details. You may check your private messages by signing into the forum then clicking the envelope icon in the top right corner of the page. 
    Respectfully, 
    Tasha|Social Media Specialist | Best Buy® Corporate
     Private Message

  • API/package/procedure/function for updating physical attributes in Org/Mast

    I need some kind of procedure or function for updating the weight, volume, and dimensions in the organization and master items forms. We have almost 350,000 items and I want to update them in batch. Is there an API of some kind for this? I would do a simple update but I want to make sure there's no additional logic necessary (other tables that are updated during the process of updating those fields, etc).
    Thanks!

    here is for API's you need to check...
    You can use Decimal & UOM Quantity API
    These APIs are used to handle item decimal quantities:
    Convert from one UOM to another
    Validate quantities at input time
    Validate quantities at display/output time
    Quantity Comparison
    Get UOM information
    For your convenience, I am giving you the API as below:
    /*===========================================================================+
    | Copyright (c) 1999 Oracle Corporation |
    | Redwood Shores, California, USA |
    | All rights reserved. |
    +===========================================================================*/
    /*-----------------------------------------------------------------------+
    |This package contains procedures relevent to item decimal quantity |
    |processing. This package contains routines to: |
    |(1)validate item quantities based on UOM and decimal precision rules |
    |(2)validate whether the UOM controls and decimal precision rules |
    | themselves are correct based on functionality planned. For reviewing|
    | UOM and decimal quantity functional design details, please visit the|
    | following URL: |
    | "http//apps-us.oracle.com/inv/development/designs_120/ |
    | decimal_precision/decimal_precision.html" |
    |But here are a few basics to give background context: |
    | |
    | "Item Quantity" -- The item's quantity is described by the item |
    | identifier, the unit of measure (e.g. grams, kilos, etc), and a |
    | number value to indicate the amount in that unit of measure. |
    | |
    | "Unit of Measure" -- Units of measure belong to unit of measure |
    | classes(e.g. weight, volume, length, etc). Each unit of measure class|
    | has actual units of measure that belong to that class (e.g. the |
    | weight class may have units of measures like, "grams", "kilos", etc).|
    | |
    | "UOM Conversion" --Users can set up conversion rates between UOMs in |
    | them same UOM class, by defining conversions to the base UOM. These |
    | are standard conversions. Item-level intra-class conversions may also|
    | be defined. When doing intra-class conversions, item-level |
    | intra-class conversions are used first if defined, and then standard |
    | conversions are used. |
    | Users can define inter-class conversions. Inter-class Conversions may|
    | also be defined at the lot/sublot levels. For inter-class conversions|
    | sublot, lot, and then item inter-class conversions will be used in |
    | in order. If lot-lvel conversion is not defined, then item-level |
    | conversion is used. A strict hierarchy is imposed. |
    | |
    | "TU" -- Trasactable Unit.A UOM may have a TU. This implies |
    | that when transacting in this UOM, any item's quantities will be |
    | forced to be integer multiples of this TU quantity. The TU may also |
    | be declared at the item level. The TU quantity at the item level may |
    | be different from the UOM level TU, and if defined, item level TU |
    | takes precedance. |
    | |
    | "Decimal Precision"--Users have a choice of setting decimal precision|
    | at the base UOM for each UOM class. All other UOMs in that class get |
    | get their decimal precisions derived from the base UOM decimal |
    | precision, the converison rate, and TUs, if they are |
    | being used. |
    | |
    | |
    | "Conversion Rate Tolerance" -- This is a tolerance that may be set |
    | when conversion rate cannot be not strictly fixed. Example: |
    | 1 Chicken = 2 pounds (plus or minus 0.7 pounds). This 0.7 pounds is |
    | the conversion rate tolerance. Conversion rate tolerance is only |
    | definable at inter-class UOM conversions, at item or lot/sublot level|
    | |
    | History |
    | 04/08/99 Mansoor Jafri Created Package Spec |
    | 04/26/99 Mansoor Jafri Updated with TU at 3 levels as |
    | opposed to MTU at 2 and atomic at|
    | UOM class level. |
    | 04/29/99 Mansoor Jafri Updated document with lot/sublot |
    | conversions. Also, removed |
    | "atomic" as a separate control, |
    | since this can |
    | implemented as a TU at base UOM |
    | level with an integer quantity. |
    | 05/03/99 Mansoor Jafri Updated the package with sublot |
    | level control. Also, changed name|
    | of DTU to TU, so that it fits |
    | better in the "process" market. |
    | Also, conformed to BOI API stds. |
    +-----------------------------------------------------------------------*/
    SET VERIFY OFF
    WHENEVER SQLERROR EXIT FAILURE ROLLBACK;
    CREATE OR REPLACE PACKAGE inv_decimals_pub AS
    /* $Header: INVDECPS.pls 118.3 99/05/03 18:12:27 mjafri noship $ */
    /*--------------------------------------------------------------------------+
    |Procedure validate_compare_quantities(..)
    |Returns the quantity converted from the first UOM in the second UOM.
    |If quantities in 2 UOMs are already available, then this procedure will
    |compare and validate these quantities based on conversion rates
    |and UOM and decimal qty controls. This procedure may be used to validate
    |scenarios where quatities are entered in dual UOMs. We want to make sure
    |quantities are valid based on conversion, TUs, and conversion
    |rate tolerances.
    |
    |Procedure validate_and_compare(
    |p_api_version_number IN NUMBER, -- version # of API
    |p_init_msg_list IN VARCHAR2, -- whether to initialize list
    |p_inventory_item_id IN NUMBER, -- inventory_item_id
    |p_organization_id IN NUMBER, -- organization_id
    |p_lot_control_code IN NUMBER, -- item's lot control code
    |p_lot_number IN VARCHAR2, -- lot number
    |p_sub_lot_control_code IN NUMBER, --sub lot control code
    |p_sublot_number IN VARCHAR2, -- sublot number
    |p_from_quantity IN NUMBER, -- qty in first UOM
    |p_from_uom_code IN VARCHAR2, -- UOM of fisrt qty
    |p_to_uom_code IN VARCHAR2, -- UOM of second qty
    |p_to_quantity_to_check IN NUMBER, -- qty in second UOM
    |x_resultant_to_quantity OUT NUMBER, -- calculated qty in second UOM
    |x_comparison OUT NUMBER,--Possible values are 1,0,-1,-99
    |x_msg_count OUT NUMBER, -- number of messages
    |x_msg_data OUT VARCHAR2, -- populated,if msg count = 1
    |x_return_status OUT VARCHAR2) -- return status
    |
    |Note: The comparisons are done in base UOM
    | of the UOM class to which the first UOM belongs. x_comparison returns:
    |-1 if from_quantity is less than to_quantity (A < B)
    | 0 if from_quantity is equal to to_quantity (A = B)
    | 1 if from_quantity is greater than to_quantity (A > B)
    | -99 if the validations for the first/second quantity failed
    | If the UOMs belong to different classes, then users can specify whether
    | they want to use the effective interclass UOM conversion tolerance, say, T.
    | CASE: p_use_interclass_tolerance = 1
    | ------
    | Q1 > Q2 if (Q1 - Q2) >= T
    | Q1 = Q2 if ABS(Q1 - Q2) < T
    | Q1 < Q2 if (Q1 - Q2 ) <= -T
    |
    |The output variable x_resultant_to_quantity will contain the converted
    |quantity
    |in the second UOM, using effective conversion rates.
    |Usage: In a dual UOM scenario, this api will confirm whether quantities in
    |the two UOMs are equal or not, based on x_comparison output variable.
    +--------------------------------------------------------------------------*/
    Procedure validate_compare_quantities(
    p_api_version_number IN NUMBER,
    p_init_msg_list IN VARCHAR2,
    p_inventory_item_id IN NUMBER,
    p_organization_id IN NUMBER,
    p_lot_control_code IN NUMBER,
    p_lot_number IN VARCHAR2,
    p_sub_lot_control_code IN NUMBER,
    p_sublot_number IN VARCHAR2,
    p_from_quantity IN NUMBER,
    p_from_uom_code IN VARCHAR2,
    p_to_uom_code IN VARCHAR2,
    p_to_quantity_to_check IN NUMBER,
    x_resultant_to_quantity OUT NUMBER,
    x_valid_conversion OUT NUMBER,
    x_msg_count OUT NUMBER,
    x_msg_data OUT VARCHAR2,
    x_return_status OUT VARCHAR2);
    /*--------------------------------------------------------------------------+
    |Function convert_UOM(..) return NUMBER ;
    |Returns the quantity converted from the first unit into the second unit.
    |If conversion is not possible, return status is failure.
    |Function convert(
    |p_api_version_number IN NUMBER,
    |p_init_msg_list IN VARCHAR2, -- whether to initialize list
    |p_inventory_item_id IN NUMBER, -- inventory_item_id
    |p_organization_id IN NUMBER, -- organization_id
    |p_lot_control_code IN NUMBER, -- item's lot control code
    |p_lot_number IN VARCHAR2, -- lot number
    |p_sub_lot_control_code IN NUMBER,
    |p_sublot_number IN VARCHAR2,
    |p_from_quantity IN NUMBER, -- qty in first UOM
    |p_from_uom_code IN VARCHAR2, -- UOM of fisrt qty
    |p_to_uom_code IN VARCHAR2, -- UOM of second qty
    |x_msg_count OUT NUMBER,
    |x_msg_data OUT VARCHAR2,
    |x_return_status OUT VARCHAR2)
    | return NUMBER ;
    |If there is an error, then -99 is returned.
    |1) From_quantity must be an absolute value.
    |2) From_quantity will be truncated to decimal precision in the from UOM, then
    | converted to base UOM in the class,
    |3) Then converted to base UOM of the
    | to_UOM class,
    |4) Then converted to the quantity in to_UOM,
    |5) Then truncated to decimal precision of the to_UOM.
    +--------------------------------------------------------------------------*/
    Function convert_UOM(
    p_api_version_number IN NUMBER,
    p_init_msg_list IN VARCHAR2 := fnd_api.g_false,
    p_inventory_item_id IN NUMBER,
    p_organization_id IN NUMBER,
    p_lot_control_code IN NUMBER,
    p_lot_number IN VARCHAR2,
    p_sub_lot_control_code IN NUMBER,
    p_sublot_number IN VARCHAR2,
    p_from_quantity IN NUMBER,
    p_from_uom_code IN VARCHAR2,
    p_to_uom_code IN VARCHAR2,
    x_msg_count OUT NUMBER,
    x_msg_data OUT VARCHAR2,
    x_return_status OUT VARCHAR2) return NUMBER ;
    /*--------------------------------------------------------------------------+
    | get_uom_properties(..)
    | This procedure is used to interrogate the UOM.
    | It returns:
    | (1) decimal precision at the UOM level
    | (2) TU, if defined, at the UOM level
    | (3) Atomicity, if defined for the class that this UOM belongs to
    | If some of the controls are not defined, null values are returned.
    | if the UOM is not found, the return status indicates this.
    | Procedure get_uom_properties(
    | p_api_version_number IN NUMBER,
    | p_init_msg_list IN VARCHAR2,
    | p_uom_code IN VARCHAR2,
    | x_decimal_precision OUT NUMBER,
    | x_uom_TU OUT NUMBER,
    | x_uom_class OUT VARCHAR2,
    | x_msg_count OUT NUMBER,
    | x_msg_data OUT VARCHAR2,
    | x_return_status OUT VARCAHR2);
    +--------------------------------------------------------------------------*/
    Procedure get_uom_properties(
    p_api_version_number IN NUMBER,
    p_init_msg_list IN VARCHAR2 := fnd_api.g_false,
    p_uom_code IN VARCHAR2,
    x_decimal_precision OUT NUMBER,
    x_uom_TU OUT NUMBER,
    x_uom_class OUT VARCHAR2,
    x_msg_count OUT NUMBER,
    x_msg_data OUT VARCHAR2,
    x_return_status OUT VARCAHR2);
    /*-------------------------------------------------------------------------+
    | get_item_uom_properties(..)
    | This procedure returns a specific item's primary UOM, TU, and tolerance
    | Procedure get_item_uom_properties(
    | p_api_version_number IN NUMBER,
    | p_init_msg_list IN VARCHAR2,
    | p_inventory_item_id IN NUMBER,
    | p_organization_id IN NUMBER,
    | p_lot_control_code IN NUMBER, -- item's lot control code
    | p_lot_number IN VARCHAR2,
    | p_sub_lot_control_code IN NUMBER,
    | p_sublot_number IN VARCHAR2,
    | x_primary_uom_code OUT VARCHAR2,
    | x_uom_class OUT VARCHAR2,
    | x_decimal_precision OUT NUMBER,
    | x_item_TU OUT NUMBER,
    | x_uom_TU OUT NUMBER,
    | x_effective_TU OUT NUMBER,
    | x_msg_count OUT NUMBER,
    | x_msg_data OUT VARCHAR2,
    | x_return_status OUT VARCHAR2 );
    | If the item is not a valid one, then this is reflected through the
    | return status.
    +-------------------------------------------------------------------------*/
    Procedure get_item_uom_properties(
    p_api_version_number IN NUMBER,
    p_init_msg_list IN VARCHAR2 := fnd_api.g_false,
    p_inventory_item_id IN NUMBER,
    p_organization_id IN NUMBER,
    p_lot_control_code IN NUMBER,
    p_lot_number IN VARCHAR2,
    p_sub_lot_control_code IN NUMBER,
    p_sublot_number IN VARCHAR2,
    x_primary_uom_code OUT VARCHAR2,
    x_uom_class OUT VARCHAR2,
    x_decimal_precision OUT NUMBER,
    x_item_TU OUT NUMBER,
    x_class_TU OUT NUMBER,
    x_uom_TU OUT NUMBER,
    x_effective_TU OUT NUMBER,
    x_msg_count OUT NUMBER,
    x_msg_data OUT VARCHAR2,
    x_return_status OUT VARCHAR2 );
    /*-------------------------------------------------------------------------+
    | Procedure compare_quantities(..)
    | Procedure compare_quantities(
    | p_api_version_number IN NUMBER,
    | p_init_msg_list IN VARCHAR2,
    | p_inventory_item_id IN NUMBER,
    | p_organization_id IN NUMBER,
    | p_lot_control_code IN NUMBER,
    | p_lot_number IN VARCHAR2,
    | p_sub_lot_control_code IN NUMBER,
    | p_sublot_number IN VARCHAR2,
    | p_fisrt_qauantity IN NUMBER,
    | p_first_uom IN VARCHAR2,
    | p_second_quantity IN NUMBER,
    | p_second_uom IN VARCHAR2,
    | p_use_interclass_tolerance IN VARCHAR2, -- Yes = 1, 2 = No
    | x_comaprison_result OUT NUMBER,
    | x_msg_count OUT NUMBER,
    | x_msg_data OUT VARCHAR2,
    | x_return_status OUT VARCHAR2);
    |
    | This procedure compares the quantities A and B and returns result in the
    | output variable x_comparison_result. The comparisons are done in base UOM
    | of the UOM class to which the first UOM belongs:
    |-1 if quantity A is less than quantity B (A < B)
    | 0 if quantity A is equal to quantity B (A = B)
    | 1 if quantity A is greater than quantity B (A > B)
    | If the UOMs belong to different classes, then users can specify whether
    | they want to use interclass UOM conversion tolerance, say, T.
    | CASE: p_use_interclass_tolerance = 1
    | ------
    | Q1 > Q2 if (Q1 - Q2) >= T
    | Q1 = Q2 if ABS(Q1 - Q2) < T
    | Q1 < Q2 if (Q1 - Q2 ) <= -T
    +------------------------------------------------------------------------*/
    Procedure compare_quantities(
    p_api_version_number IN NUMBER,
    p_init_msg_list IN VARCHAR2 := fnd_api.g_false,
    p_inventory_item_id IN NUMBER,
    p_organization_id IN NUMBER,
    p_lot_control_code IN NUMBER,
    p_lot_number IN VARCAHR2,
    p_sub_lot_control_code IN NUMBER,
    p_sublot_number IN VARCHAR2,
    p_fisrt_qauantity IN NUMBER,
    p_first_uom IN VARCHAR2,
    p_second_quantity IN NUMBER,
    p_second_uom IN VARCHAR2,
    p_use_interclass_tolerance IN VARCHAR2,
    x_comaprison_result OUT NUMBER,
    x_msg_count OUT NUMBER,
    x_msg_data OUT VARCHAR2,
    x_return_status OUT VARCHAR2);
    /*-----------------------------------------------------------------------+
    | Procedure Validate_Quantity(
    | p_api_version_number IN NUMBER,
    | p_init_msg_list IN VARCHAR2,
    | p_inventory_item_id IN NUMBER,
    | p_organization_id IN NUMBER,
    | p_lot_control_code IN NUMBER,
    | p_lot_number IN VARCHAR2,
    | p_sub_lot_control_code IN NUMBER,
    | p_sublot_number IN VARCHAR2,
    | p_input_quantity IN NUMBER,
    | p_UOM_code IN VARCHAR2,
    | x_msg_count OUT NUMBER,
    | x_msg_data OUT VARCHAR2,
    | x_return_status OUT VARCHAR2);
    |
    | Validates and returns the quantity in this manner (the caller does not need
    | to adjust the result):
    | 0. Truncate to and validate decimal precision
    | 1. Validate quantity with respect to TU controls.
    +-------------------------------------------------------------------------*/
    Procedure Validate_Quantity(
    p_api_version_number IN NUMBER,
    p_init_msg_list IN VARCHAR2 := fnd_api.g_false,
    p_inventory_item_id IN NUMBER,
    p_organization_id IN NUMBER,
    p_lot_control_code IN NUMBER,
    p_lot_number IN VARCAHR2,
    p_sub_lot_control_code IN NUMBER,
    p_sublot_number IN VARCHAR2,
    p_input_quantity IN NUMBER,
    p_UOM_code IN VARCHAR2,
    x_msg_count OUT NUMBER,
    x_msg_data OUT VARCHAR2,
    x_return_status OUT VARCHAR2);
    /*------------------------------------------------------------------------+
    | Function Truncate_Quantity(
    | p_api_version_number IN NUMBER,
    | p_init_msg_list IN VARCHAR2,
    | p_inventory_item_id IN NUMBER,
    | p_organization_id IN NUMBER,
    | p_lot_control_code IN NUMBER,
    | p_lot_number IN VARCHAR2,
    | p_sub_lot_control_code IN NUMBER,
    | p_sublot_number IN VARCHAR2,
    | p_input_quantity IN NUMBER,
    | p_UOM_code IN VARCHAR2,
    | x_msg_count OUT NUMBER,
    | x_msg_data OUT VARCHAR2,
    | x_return_status OUT VARCHAR2) return NUMBER;
    |
    | Truncates the quantity to decimal precision of the UOM.
    | In case of error conditions, -99 is returned.
    +------------------------------------------------------------------------*/
    Function Truncate_Quantity(
    p_api_version_number IN NUMBER,
    p_init_msg_list IN VARCHAR2 := fnd_api.g_false,
    p_inventory_item_id IN NUMBER,
    p_organization_id IN NUMBER,
    p_lot_control_code IN NUMBER,
    p_lot_number IN VARCHAR2,
    p_sub_lot_control_code IN NUMBER,
    p_sublot_number IN VARCHAR2,
    p_input_quantity IN NUMBER,
    p_UOM_code IN VARCHAR2,
    x_msg_count OUT NUMBER,
    x_msg_data OUT VARCHAR2,
    x_return_status OUT VARCHAR2) return NUMBER;
    * show errors package INV_DECIMALS_PUB
    * SELECT to_date('SQLERROR') FROM user_errors
    * WHERE name = 'INV_DECIMALS_PUB'
    * AND type = 'PACKAGE';
    commit;
    exit;

  • InDesign CS4 Package/Collect for Output - Missing links problem

    I posted this on the PC forum by mistake so I apologise for doubling up on the message for those who have found the same message twice. As far as I know this is a Mac only problem!
    Having recently freelanced in 3 design studios since the CS4 release, the Collect for Output problem within InDesign seems to be widespread. I've seen this happen on a range of machines from a G5's to laptops. All have been running the latest version of Leopard.
    For some unknown reason any document created in older versions of Indesign that is opened in IndDesign CS4 does not collect all the linked files when it's packaged. All preflight checks are fine, the new live preflight feature shows green light, I even tried re linking all files to a new source folder containing all links and it still only randomly collects one third of the needed linked files with no obvious pattern emerging between the files omitted, i.e clipping paths, colour profiles, file types.
    The worst thing is that it happens randomly on documents created fresh in InDesign CS4 as well so I'm having trouble trying to pinpoint where the problem stems from.
    This is driving people crazy, and I can see that it's going to be a major pain for numerous design agencies. I hope Adobe sorts this out quick or it's back to CS3 for most of us who charge for our time. I guess I can always send Adobe the bill for the time spent manually collecting all files for a job!!
    Please no obvious suggestions on preflight settings as it's happening to people with twenty plus experience in the business.
    Thanks for reading the post.

    Hi JAD the mad,
    we have the same problem on our machines here at work regarding the randomness of the Indesign CS4 package function collecting links.
    The office has recently upgraded to all new Power Mac G5's with Mac OS X Version 10.5.6. 2x2.8Ghz 4GB RAM, a new server and all new Adobe CS4 packages.
    Another user on the forum also has the same problem he said:
    nguyen khanh duy - 7:40am Nov 23, 08 PST (#31 of 67)
    I have a problems with my document created with Adobe Indesign CS4.
    I can not package the file with its links into a folder. Sometimes a few files are collected, but when I convert all the images into CMYK color space, none of them were collected.
    My documents contains 70 links and 140 pages.
    So when I need to collect links, I convert the document into CS3 INX file and use Indesign CS3 to collect the links.
    I've tried with other document with hundreds of links and all or them are 100 pages. All the links were collected. (offcourse with CS4)
    Please help me. Thank you very much
    As for our specific problem,
    We have files which do not package all the links properly. Indesign only packages a random amount of the links into the new folder. There seems to be no consistency with regard to file type, size, colour profile or location. The pre-flight shows a green light and this error seems to occur randomly. It is very annoying if we are working on the local hard drive and have links there and on the server and then want to package everything to upload to the server or to work on another computer. We have to find all the links and copy them individually to a new folder.
    Saving as with a new file name does not help. Also copying all links to a new folder from the links pallet does not copy all the links. The error is disconcerting due to it's seemingly random occurrence. We have tried all the simple solutions and it seems very much like a bug in the software.
    Does anyone else share this problem? It would be great to hear any suggestions or similar stories.
    Regards
    Steve

  • [svn] 4184: Fix for @ see tag referencing a non-global package function generates an empty link@ href in DITA

    Revision: 4184
    Author: [email protected]
    Date: 2008-11-25 12:33:43 -0800 (Tue, 25 Nov 2008)
    Log Message:
    Fix for @see tag referencing a non-global package function generates an empty link@href in DITA
    Also now the deprecated should show up in the property and method summary table.
    and when @see results in an invalid href, an additional attribute called invalidHRef will be added to the dita file - this isn't picked up by xslt but will be consumed by FB.
    QE Notes: Some baselines may need to be updated due to new attribute for invalidHRef
    Doc Notes: None
    Bugs: SDK-18206
    tests: checkintests
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-18206
    Modified Paths:
    flex/sdk/trunk/asdoc/templates/asdoc-util.xslt
    flex/sdk/trunk/asdoc/templates/class-files.xslt
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.ja va

    Update!
    v3.1 has a major bug! Even though it may appear to work properly, strange characters may leak onto the end of URLs, and you may even get segfaults. Sorry I didn't properly test it before releasing it!
    Technical details:
    I calloc()ed the memory for the link href improperly, per:
    link = calloc((noprepend ? 0 : urllen) + i - s, 1);
    Once I fixed it with "+ 1", per:
    link = calloc((noprepend ? 0 : urllen) + i - s + 1, 1);
    it worked great.
    I may use a method that doesn't use a calloc() in the future; this works for now, and I'm not gonna knock it...
    Last edited by dav7 (2009-01-23 12:38:51)

  • Missing export file for  package java/lang

    Hello,
    I have Eclipse with JCOP Tools installed and I have a small Applet which runs fine with Java Card 2.2.1 which is part of the JCOP Tools. I want to try the [Extented Length APDU which is defined in Java Card 2.2.2|http://www.cs.ru.nl/~tews/jcdocs/app-notes-2.2.2/extapdu.html] so I downloaded the developpment kit 2.2.2 from sun which includes the api.jar.
    In my Eclipse project, when I remove the 2.2.1 api jar and add the 2.2.2 instead, I get the following "compilation" error "
    Description     Resource     Path     Location     Type
    missing export file for package java/lang     MyApplet.java     MyApplet/src/com/...     Unknown     com.ibm.bluez.jcop.eclipse.jcopmarker
    Do you have an idea what is the problem ?
    Is it possible to use JCOP Tools with Java Card 2.2.2 ?
    How can I know which VM is running my JavaCard ? If it is 2.2.1 it would actually be useless to develop an Applet using 2.2.2. and on the card ther eis written only JCOP31 V2.2
    Thanks,
    Tex
    Edited by: Tex-Twil on May 14, 2009 8:09 AM

    lexdabear wrote:
    javacard2008 wrote:
    It impossible to use current version of JCOP Tools with Java Card 2.2.2 before JCOP new version released.Bullsh*t. JCOP Tools v3.2.7 supports Java Card 2.2.2, since the latest JCOP v2.4.1 runs Java Card 2.2.2.ok. I think I have JCOP v3.1.1 which came with the JavaCards that I bought. Where can I get a newer version ? On NXP site there is not much about JCOP :(
    regards,
    Tex

Maybe you are looking for