FLASH BUG?about value assignment is not same

HELP THANK YOU,
___y is -24.8 , after assignment to fallObj.y
the fallObj.y is -24.75;
oh my  the Buddha!!!

OH!!!!!!!!!!!!!!!!!!!!!!!!!!
THANK YOU VERY MUCH!!!!!!!!!
THANK YOU VERY MUCH!!!!!!!!!
BIG BROTHER
if the opportunity ever arises , I will stand you for a dinner of fat panda!  wa!haha!

Similar Messages

  • E72 bug: can't assign active notes to any of the o...

    another bug with the one touch keys after the new firmware.
    (previously the long hold contact key did nothing, which was fixed)
    you can't assign active notes to any of the one touch keys. you can assign other built-in apps or 3rd party apps you install but you just won't find active notes.
    nokia, please fix the one touch keys once and for all will you

    I have Active Notes (not just notes) on the right selection key of my E72 (s/w v. 052.05), and they _are_ on the list. Perhaps the upgrades are region-dependent - I waited quite a while for my update (Danish/Norwegian/Icelandic/English).
    Sorry, but I daren't select another function and go back to see if I can select Active Notes again, but they _are_ there now, but were taken over from the previous s/w version in my backup.
    hughm_nyksj_dk

  • I Ask About WCS count Client not same WLC

    WCS  count Client not same WLC   as on WLC count client  = 100
    on WCS count = 23-23  
     Wireless Control System  Version 5.2.148.0
     WLC  7.0.250.0
    http://postimg.org/image/9boldeqd5/
    http://postimg.org/image/l482i9poz/

    Your WCS should have a higher (or not equal) version to your WLC.  
    I wouldn't even consider troubleshooting WCS problems if your WCS is running 5.X because WCS/WLC firmwares 5.X are very, very buggy.

  • How to Check Characterstic Values  assigned  for a material

    Hi ,
    My requirement is , to  check  each and every material entered in the selection screen  and characterstic values assigned to this,
    I dont need characterstic values  for a material, i have to check whether characterstic values assigned or not , if not i have to give a message..
    I used  CLAF_CLASSIFICATION_OF_OBJECTS FM  for  getting charactersic values
    it is giving NO classification found , but for tghat material classification is existing subsequently characterstic values are also there, i passed material no with leading zeros also.
    i used WMCL_MAT_READ_CHAR_VALUES FM also  , but it is giving  No charcterstic values found for that Material  but characterstic values are assigned for that Material..
    Could u please find out ,where  i am missing

    THIS MATERIAL HAS CLASSIFICATION VIEW  AND CHARACTERSTIC VALUES ALSO MAINTAINED
    DATA : MATNO TYPE AUSP-OBJEK,
          L TYPE I,
    T_CLASS TYPE STANDARD TABLE OF  SCLASS ,
    T_OBJECTDATA TYPE STANDARD TABLE OF  CLOBJDAT.
    MATNO ='631165'.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      EXPORTING
        input         = MATNO
    IMPORTING
       OUTPUT        = MATNO
    "use this function moduel...
    *Retrieve Batch class , characteristic name and values for Material
      CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'
        EXPORTING
         class              = 'ZCA2535'
          classtype          =  '023'
         features           = 'X'
          language           = 'E'
          object             =  MATNO      "pass material number with leading zeros..
          objecttable        = 'MARA'  
        TABLES
          t_class            = t_class
          t_objectdata       = t_objectdata
        EXCEPTIONS
          no_classification  = 1
          no_classtypes      = 2
          invalid_class_type = 3
          OTHERS             = 4.
      IF sy-subrc = 0.
    ENDIF.
    BUT IT IS GIVING   NO CLASSIFICATION FOUND

  • Flash Player 10.2 will not install - not same problem as Audrey below.

    Hi,
    Using Win 7 home deluxe, was using Flash player no problem until the office had me uninstall it to fix another problem but now will not reinstall, keeps insisting on installing Mc Afee alongside it and then Mc Afee won't install correctly and won't allow Flash Player to install either.
    Have repeatedly uninstalled the full Adobe free software suite, and Mc Afee and started from the beginning have tried using the 32 bit IE instead of thr 64 bit, when the window comes up showing the registration it only shows the Quit button will not let me use the Agree or Install button and again and again it keeps installing Mc Afee without being asked, I don't use or need Mc Afee as have Nortons.   I have also been turning off the norton antivrus while doing the installation as i know that can interfere with it.
    been trying this on and off for some days now, multiple times, and I do need to get this fixed I would appreciate some advice thanks
    T

    Yes Friend and I posted a message of thanks also which I'm very pleased to send to you personally, the missing link was that little check box you mentioned, I had done the install or tried to many times but never seen that small box so that was the problem.
    Very grateful  - thanks very much for your time and patience !!
    Best Regards
    Tim
    Date: Thu, 14 Apr 2011 10:53:23 -0600
    From: [email protected]
    To:
    Subject: Flash Player Flash Player 10.2 will not install - not same problem as Audrey below.
    Hi, Since you marked your thread as answered, I'm assuming you have FP Installed and working!!
    Thanks,
    eidnolb
    >
    Message was edited by: Timsan55

  • [svn:bz-trunk] 21394: bug fix for watson 2887837 Not getting duplicate session detected error when same flex client id is used from two different HTTP sessions in CRX .

    Revision: 21394
    Revision: 21394
    Author:   [email protected]
    Date:     2011-06-16 12:34:13 -0700 (Thu, 16 Jun 2011)
    Log Message:
    bug fix for watson 2887837 Not getting duplicate session detected error when same flex client id is used from two different HTTP sessions in CRX.
    get the sessions id before we invalidate the duplicate session.
    Checkintests pass
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/endpoints/BaseHTTPEndpoint.java

    For our profect I think this issue was caused as follows:
    Believing that remoting was full asynchronous we fired a 2 or 3 remote calls to the server at the same time ( within the same function ) - usually when the users goes to a new section of the app.
    This seemed to trigger the duplicate http session error since according to http://blogs.adobe.com/lin/2011/05/duplication-session-error.html  two remote calls arriving before a session is created will cause 2 sessions to be created.
    Our current solution ( too early to say it works ) is to daisy chain the multiple calls together .
    Also there seemed to be an issue where mobile apps that never quit ( thanks Apple! )  caused the error when activated after a few hours.
    I guess the session expires on the server and the error above occurs on activation.
    So the mobile apps now ping the server with a remote call when activated after sleeping for more than one hour.
    All duplicate http errors are silently caught and reported.
    Fingers crossed we won't get any more!

  • An error has occurred because a control with id '%spPlaceHolderMain%' could not be located or a different control is assigned to the same ID after postback.

    Hello All, When i try to do a filter on an entity and click filter button, i see the below error message being popped up. Can someone provide a solution to this ?
    "An error has occurred because a control with id '%spPlaceHolderMain%' could not be located or a different control is assigned to the same ID after postback. If the ID is not assigned, explicitly set the ID property of controls that raise postback events
    to avoid this error."
    Please let me know the process to set the ID explicitly.

    Can you try resetting the IIS?

  • ı have installed an application about lock system but the application isnt about lock systm this is an code reader. when ı see the application's pictures this is an lock application but content not same. I have got laid...what shoul I do?

    I have installed an application about lock system but the application isnt about lock system this is an code reader. When ı see the application's pictures this is an lock application but content not same. I have got laid...what should I do?

    semihtinas wrote:
    Please make something these fraudsters
    You're not addressing Apple here. This is a user to user technical support forum. You can submit feedback to Apple here:
    http://www.apple.com/feedback
    Other contact information can be found using the Contact Us link at the bottom right of every page.

  • Flow Type S013 acct determ. value: account symbol not assigned

    Hello Guys,
    when run the t.code RERAPP I am receiving the error below:
    "Problem description:  = Contract number XXXXX during the simulation and update run processing in tcode RERAPP is showing this message in the error log " Flow Type S013 acct determ. value: account symbol not assigned".
    I´d like to know the steps to configure the the account symbol.
    Regards.
    Rafael B.

    Hello  Franz,
    Thanks for reply,
    But I still with some doubts as I am not familiar with RE.
    I´d like know how the "Assign Account Symbol to Flow Type" works.
    Unfortunately I don´t have an access in Production to verify the error, I have only the log display sent to me by the user.
    At a glance, I have a contract and the error message: "FLOW TYPE S013 accont. determ. value: account symbol not assigned"
    I have verified the customizing and I can see the flow type S013.
    My questions are:
    Which account determination value should I use?
    Which flow type name?
    which debit account symbol?
    which credit account symbol?
    On this case, probably the user is using the t.code RERAPP and is using a symbol account that is not maintened in the conffiguration?
    I don´t but if need, I can raise a OSS note.
    Regards.
    Rafael Barros

  • Export an image from flash, the output color not same as original from flash

    i try to create my logo from flash
    i use export function in gif format.
    the output color is not same as what i saw at flash.
    may i know why? below is the screenshot.
    flash
    output

    hi
    i have export in png. but it have a black part at the background.
    do you have idea?

  • [svn:fx-trunk] 13129: ASDoc bug fixes, and added a note that Scroller no longer has a default value of hasFocusableChildren ="false" and focusEnabled="true"

    Revision: 13129
    Revision: 13129
    Author:   [email protected]
    Date:     2009-12-21 13:50:37 -0800 (Mon, 21 Dec 2009)
    Log Message:
    ASDoc bug fixes, and added a note that Scroller no longer has a default value of hasFocusableChildren="false" and focusEnabled="true"
    QE notes: -
    Doc notes: -
    Bugs: - FLEXDOCS-386
    Reviewer: -
    Tests run: - checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FLEXDOCS-386
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VideoDisplay.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/events/VideoEvent.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/interpolation/MultiValueInterp olator.as

    I had a while ago similar problem with USB memory stick. At the end, I don't know why, just formatting it using WinXP helped me.
    S-
    Last edited by StenM (2011-07-22 17:56:32)

  • [Bug: JComboBox + JNavigationBinding] Two entries with same attr. values

    Given the folowing situation:
    A straightforward ViewObject + table (ID, NAME) + some contents.
    However, the table contains 2 records which have the same value for NAME.
    Now, in my JClient application I drop a JComboBox on a JPanel and define that it should have a NavigationBinding with the ViewObject, while displaying the Name attribute.
    Because the table holds 2 records with the same value for the column NAME, there will be 2 identical items in the JComboBox. However, I am now unable to select the 2nd duplicate from the list. When I do, the selection (and thus currency) will always be set to the 1st of both duplicates.
    This problem can be reproduced in the JClient demo application, on the "JULabel demo tab". Just add an existing state (with a unique abbreviation) to the database and alter the NavigationBinding to display the Name attribute instead of the Abbreviation attribute.

    I've tried the application again, but the problem still exists unfortunately.
    For the record, the problem occurs both with the original JDK 1.3.1_02 and the current 1.4.0_01. The fact that I run JDev itself with either of these 2 JDK's doesn't seem to make any difference either.
    My JDev version infos:
    Version 9.0.3.1 (build 1107)
    Oracle IDE     9.0.3.10.76
    UML Modelers Version     9.0.3.9.73
    Business Components Version     9.0.3.10.62
    SCM Support Version     9.0.3.9.73
    JMIG Framework (Generators)     9.0.4.1.28
    java.version     1.4.0_01
    java.home     c:\j2sdk1.4.0_01\jre
    java.vm.name     OJVM Client VM
    java.vm.vendor     Oracle Corp.
    java.vm.version     9.0.3.744 o
    user.language     nl
    user.region     <no value assigned>
    user.name     AvdKolk
    user.home     C:\Documents and Settings\AvdKolk
    user.dir     D:\JDeveloper 9.0.3\jdev\bin
    ide.user.dir     
    os.name     Windows XP
    os.arch     x86
    http.proxyHost     <no value assigned>
    http.proxyPort     <no value assigned>
    http.nonProxyHosts     <no value assigned>
    ide.patches     scmtoolbarpatch2.jar

  • The Bug about 'DB_SECONDARY_BAD' still exists in BerkeleyDB4.8!

    The Bug about 'DB_SECONDARY_BAD' still exists in BerkeleyDB4.8?
    I'm sorry for my poor English, But I just cannot find anywhere else for help.
    Thanks for your patience first!
    I'm using BDB4.8 C++ API on Ubuntu 10.04, Linux Kernel 2.6.32-24-generic
    $uname -a
    $Linux wonpc 2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:17:33 UTC 2010 i686 GNU/Linux
    When I update(overwrite) a record in database, I may get a DB_SECONDARY_BAD exception,
    What's worse, This case doesn't always occures, it's random. So I think it probably a bug
    of BDB, I have seen many issues about DB_SECONDARY_BAD with BDB4.5,4.6...
    To reproduce the issue, I make a simplified test program from my real program.
    The data to be stroed into database is a class called 'EntryData', It's defined in db_access.h,
    where also defines some HighLevel API functions that hide the BDB calls, such as
    store_entry_data(), which use EntryData as its argument. The EntryData have a string-type
    member-data 'name' and a vector<string>-type mem-data 'labels', So store_entry_data() will
    put the real data of EntryData to a contiguous memory block. The get_entry_data() returns
    an EntryData builed up from the contiguous memory block fetched from database.
    The comlete test program is post following this line:
    /////////db_access.h////////////
    #ifndef __DB_ACCESS_H__
    #define __DB_ACCESS_H__
    #include <string>
    #include <vector>
    #include <db_cxx.h>
    class EntryData;
    //extern Path DataDir; // default value, can be changed
    extern int database_setup();
    extern int database_close();
    extern int store_entry_data(const EntryData&, u_int32_t = DB_NOOVERWRITE);
    extern int get_entry_data(const std::string&, EntryData*, u_int32_t = 0);
    extern int rm_entry_data(const std::string&);
    class DBSetup
    // 构造时调用database_setup, 超出作用域自动调用database_close .
    // 该类没有数据成员.
    public:
    DBSetup() {
    database_setup();
    ~DBSetup() {
    database_close();
    class EntryData
    public:
    typedef std::vector<std::string> LabelContainerType;
    EntryData() {}
    EntryData(const std::string& s) : name(s) {}
    EntryData(const std::string& s, LabelContainerType& v)
    : name(s), labels(v) {}
    EntryData(const std::string&, const char*[]);
    class DataBlock;
    // 直接从内存块中构建, mem指针将会从数据库中获取,
    // 它就是EntryData转化成的DataBlock中buf_ptr->buf的内容.
    EntryData(const void* mem_blk, const int len);
    ~EntryData() {};
    const std::string& get_name () const { return name; }
    const LabelContainerType& get_labels() const { return labels; }
    void set_name (const std::string& s) { name = s; }
    void add_label(const std::string&);
    void rem_label(const std::string&);
    void show() const;
    // get contiguous memory for all:
    DataBlock get_block() const { return DataBlock(*this); }
    class DataBlock
    // contiguous memory for all.
    public:
    DataBlock(const EntryData& data);
    // 引进一块内存作为 buf_ptr->buf 的内容.
    // 例如从数据库中获取结果
    DataBlock(void* mem, int len);
    // 复制构造函数:
    DataBlock(const DataBlock& orig) :
    data_size(orig.data_size),
    capacity(orig.capacity),
    buf_ptr(orig.buf_ptr) { ++buf_ptr->use; }
    // 赋值操作符:
    DataBlock& operator=(const DataBlock& oth)
    data_size = oth.data_size;
    capacity = oth.capacity;
    if(--buf_ptr->use == 0)
    delete buf_ptr;
    buf_ptr = oth.buf_ptr;
    return *this;
    ~DataBlock() {
    if(--buf_ptr->use == 0) { delete buf_ptr; }
    // data()函数因 Dbt 构造函数不支持const char*而被迫返回 char*
    // data() 返回的指针是应该被修改的.
    const char* data() const { return buf_ptr->buf; }
    int size() const { return data_size; }
    private:
    void pack_str(const std::string& s);
    static const int init_capacity = 100;
    int data_size; // 记录数据块的长度.
    int capacity; // 已经分配到 buf 的内存大小.
    class SmartPtr; // 前向声明.
    SmartPtr* buf_ptr;
    class SmartPtr
    friend class DataBlock;
    char* buf;
    int use;
    SmartPtr(char* p) : buf(p), use(1) {}
    ~SmartPtr() { delete [] buf; }
    private:
    std::string name; // entry name
    LabelContainerType labels; // entry labels list
    }; // class EntryData
    #endif
    //////db_access.cc/////////////
    #include <iostream>
    #include <cstring>
    #include <cstdlib>
    #include <vector>
    #include <algorithm>
    #include "directory.h"
    #include "db_access.h"
    using namespace std;
    static Path DataDir("~/mydict_data"); // default value, can be changed
    const Path& get_datadir() { return DataDir; }
    static DbEnv myEnv(0);
    static Db db_bynam(&myEnv, 0); // using name as key
    static Db db_bylab(&myEnv, 0); // using label as key
    static int generate_keys_for_db_bylab
    (Db* sdbp, const Dbt* pkey, const Dbt* pdata, Dbt* skey)
    EntryData entry_data(pdata->get_data(), pdata->get_size());
    int lab_num = entry_data.get_labels().size();
    Dbt* tmpdbt = (Dbt*) malloc( sizeof(Dbt) * lab_num );
    memset(tmpdbt, 0, sizeof(Dbt) * lab_num);
    EntryData::LabelContainerType::const_iterator
    lab_it = entry_data.get_labels().begin(), lab_end = entry_data.get_labels().end();
    for(int i = 0; lab_it != lab_end; ++lab_it, ++i) {
    tmpdbt[ i ].set_data( (void*)lab_it->c_str() );
    tmpdbt[ i ].set_size( lab_it->size() );
    skey->set_flags(DB_DBT_MULTIPLE | DB_DBT_APPMALLOC);
    skey->set_data(tmpdbt);
    skey->set_size(lab_num);
    return 0;
    //@Return Value: return non-zero at error
    extern int database_setup()
    const string DBEnvHome (DataDir + "DBEnv");
    const string dbfile_bynam("dbfile_bynam");
    const string dbfile_bylab("dbfile_bylab");
    db_bylab.set_flags(DB_DUPSORT);
    const u_int32_t env_flags = DB_CREATE | DB_INIT_MPOOL;
    const u_int32_t db_flags = DB_CREATE;
    rmkdir(DBEnvHome);
    try
    myEnv.open(DBEnvHome.c_str(), env_flags, 0);
    db_bynam.open(NULL, dbfile_bynam.c_str(), NULL, DB_BTREE, db_flags, 0);
    db_bylab.open(NULL, dbfile_bylab.c_str(), NULL, DB_BTREE, db_flags, 0);
    db_bynam.associate(NULL, &db_bylab, generate_keys_for_db_bylab, 0);
    } catch(DbException &e) {
    cerr << "Err when open DBEnv or Db: " << e.what() << endl;
    return -1;
    } catch(std::exception& e) {
    cerr << "Err when open DBEnv or Db: " << e.what() << endl;
    return -1;
    return 0;
    int database_close()
    try {
    db_bylab.close(0);
    db_bynam.close(0);
    myEnv.close(0);
    } catch(DbException &e) {
    cerr << e.what();
    return -1;
    } catch(std::exception &e) {
    cerr << e.what();
    return -1;
    return 0;
    // 返回Dbt::put()的返回值
    int store_entry_data(const EntryData& e, u_int32_t flags)
    int res = 0;
    try {
    EntryData::DataBlock blk(e);
    // data()返回的buf中存放的第一个字符串便是 e.get_name().
    Dbt key ( (void*)blk.data(), strlen(blk.data()) + 1 );
    Dbt data( (void*)blk.data(), blk.size() );
    res = db_bynam.put(NULL, &key, &data, flags);
    } catch (DbException& e) {
    cerr << e.what() << endl;
    throw; // 重新抛出.
    return res;
    // 返回 Db::get()的返回值, 调用成功时 EntryData* e的值才有意义
    int get_entry_data
    (const std::string& entry_name, EntryData* e, u_int32_t flags)
    Dbt key( (void*)entry_name.c_str(), entry_name.size() + 1 );
    Dbt data;
    data.set_flags(DB_DBT_MALLOC);
    int res = db_bynam.get(NULL, &key, &data, flags);
    if(res == 0)
    new (e) EntryData( data.get_data(), data.get_size() );
    free( data.get_data() );
    return res;
    int rm_entry_data(const std::string& name)
    Dbt key( (void*)name.c_str(), name.size() + 1 );
    cout << "to remove: \'" << name << "\'" << endl;
    int res = db_bynam.del(NULL, &key, 0);
    return res;
    EntryData::EntryData(const std::string& s, const char* labels_arr[]) : name(s)
    {   // labels_arr 需要以 NULL 结尾.
    for(const char** i = labels_arr; *i != NULL; i++)
    labels.push_back(*i);
    EntryData::EntryData(const void* mem_blk, const int len)
    const char* buf = (const char*)mem_blk;
    int consumed = 0; // 已经消耗的mem_blk的大小.
    name = buf; // 第一串为 name
    consumed += name.size() + 1;
    for (string label = buf + consumed;
    consumed < len;
    consumed += label.size() + 1)
    label = buf + consumed;
    labels.push_back(label);
    void EntryData::add_label(const string& new_label)
    if(find(labels.begin(), labels.end(), new_label)
    == labels.end())
    labels.push_back(new_label);
    void EntryData::rem_label(const string& to_rem)
    LabelContainerType::iterator iter = find(labels.begin(), labels.end(), to_rem);
    if(iter != labels.end())
    labels.erase(iter);
    void EntryData::show() const {
    cout << "name: " << name << "; labels: ";
    LabelContainerType::const_iterator it, end = labels.end();
    for(it = labels.begin(); it != end; ++it)
    cout << *it << " ";
    cout << endl;
    EntryData::DataBlock::DataBlock(const EntryData& data) :
    data_size(0),
    capacity(init_capacity),
    buf_ptr(new SmartPtr(new char[init_capacity]))
    pack_str(data.name);
    for(EntryData::LabelContainerType::const_iterator \
    i = data.labels.begin();
    i != data.labels.end();
    ++i) { pack_str(*i); }
    void EntryData::DataBlock::pack_str(const std::string& s)
    int string_size = s.size() + 1; // to put sting in buf separately.
    if(capacity >= data_size + string_size) {
    memcpy(buf_ptr->buf + data_size, s.c_str(), string_size);
    else {
    capacity = (data_size + string_size)*2; // 分配尽可能大的空间.
    buf_ptr->buf = (char*)realloc(buf_ptr->buf, capacity);
    memcpy(buf_ptr->buf + data_size, s.c_str(), string_size);
    data_size += string_size;
    //////////// test_put.cc ///////////
    #include <iostream>
    #include <string>
    #include <cstdlib>
    #include "db_access.h"
    using namespace std;
    int main(int argc, char** argv)
    if(argc < 2) { exit(EXIT_FAILURE); }
    DBSetup setupup_mydb;
    int res = 0;
    EntryData ed(argv[1], (const char**)argv + 2);
    res = store_entry_data(ed);
    if(res != 0) {
         cerr << db_strerror(res) << endl;
         return res;
    return 0;
    // To Compile:
    // $ g++ -ldb_cxx -lboost_regex -o test_put test_put.cc db_access.cc directory.cc
    //////////// test_update.cc ///////////
    #include <iostream>
    #include <cstdlib>
    #include <string>
    #include <boost/program_options.hpp>
    #include "db_access.h"
    using namespace std;
    namespace po = boost::program_options;
    int main(int argc, char** argv)
    if(argc < 2) { exit(EXIT_SUCCESS); }
    DBSetup setupup_mydb;
    int res = 0;
    po::options_description cmdopts("Allowed options");
    po::positional_options_description pos_opts;
    cmdopts.add_options()
    ("entry", "Specify the entry that will be edited")
    ("addlabel,a", po::value< vector<string> >(),
    "add a label for specified entry")
    ("removelabel,r", po::value< vector<string> >(),
    "remove the label of specified entry")
    pos_opts.add("entry", 1);
    po::variables_map vm;
    store( po::command_line_parser(argc, argv).
    options(cmdopts).positional(pos_opts).run(), vm );
    notify(vm);
    EntryData entry_data;
    if(vm.count("entry")) {
    const string& entry_to_edit = vm["entry"].as<string>();
    res = get_entry_data( entry_to_edit, &entry_data );
    switch (res)
    case 0:
    break;
    case DB_NOTFOUND:
    cerr << "No entry named: \'"
    << entry_to_edit << "\'\n";
    return res;
    break;
    default:
    cerr << db_strerror(res) << endl;
    return res;
    } else {
    cerr << "No entry specified\n";
    exit(EXIT_FAILURE);
    EntryData new_entry_data(entry_data);
    typedef vector<string>::const_iterator VS_CI;
    if(vm.count("addlabel")) {
    const vector<string>& to_adds = vm["addlabel"].as< vector<string> >();
    VS_CI end = to_adds.end();
    for(VS_CI i = to_adds.begin(); i != end; ++i) {
    new_entry_data.add_label(*i);
    if(vm.count("removelabel")) {
    const vector<string>& to_rems = vm["removelabel"].as< vector<string> >();
    VS_CI end = to_rems.end();
    for(VS_CI i = to_rems.begin(); i != end; ++i) {
    new_entry_data.rem_label(*i);
    cout << "Old data| ";
    entry_data.show();
    cout << "New data| ";
    new_entry_data.show();
    res = store_entry_data(new_entry_data, 0); // set flags to zero permitting Over Write
    if(res != 0) {
    cerr << db_strerror(res) << endl;
    return res;
    return 0;
    // To Compile:
    // $ g++ -ldb_cxx -lboost_regex -lboost_program_options -o test_update test_update.cc db_access.cc directory.cc

    ////////directory.h//////
    #ifndef __DIRECTORY_H__
    #define __DIRECTORY_H__
    #include <string>
    #include <string>
    #include <sys/types.h>
    using std::string;
    class Path
    public:
    Path() {}
    Path(const std::string&);
    Path(const char* raw) { new (this) Path(string(raw)); }
    Path upper() const;
    void operator+= (const std::string&);
    // convert to string (char*):
    //operator std::string() const {return spath;}
    operator const char*() const {return spath.c_str();}
    const std::string& str() const {return spath;}
    private:
    std::string spath; // the real path
    inline Path operator+(const Path& L, const string& R)
    Path p(L);
    p += R;
    return p;
    int rmkdir(const string& path, const mode_t mode = 0744, const int depth = -1);
    #endif
    ///////directory.cc///////
    #ifndef __DIRECTORY_H__
    #define __DIRECTORY_H__
    #include <string>
    #include <string>
    #include <sys/types.h>
    using std::string;
    class Path
    public:
    Path() {}
    Path(const std::string&);
    Path(const char* raw) { new (this) Path(string(raw)); }
    Path upper() const;
    void operator+= (const std::string&);
    // convert to string (char*):
    //operator std::string() const {return spath;}
    operator const char*() const {return spath.c_str();}
    const std::string& str() const {return spath;}
    private:
    std::string spath; // the real path
    inline Path operator+(const Path& L, const string& R)
    Path p(L);
    p += R;
    return p;
    int rmkdir(const string& path, const mode_t mode = 0744, const int depth = -1);
    #endif
    //////////////////// All the code is above ////////////////////////////////
    Use the under command
    $ g++ -ldb_cxx -lboost_regex -o test_put test_put.cc db_access.cc directory.cc
    to get a test program that can insert a record to database.
    To insert a record, use the under command:
    $ ./test_put ubuntu linux os
    It will store an EntryData named 'ubuntu' and two labels('linux', 'os') to database.
    Use the under command
    $ g++ -ldb_cxx -lboost_regex -lboost_program_options -o test_update test_update.cc db_access.cc directory.cc
    to get a test program that can update the existing records.
    To update the record, use the under command:
    $ ./test_update ubuntu -r linux -a canonical
    It will update the with the key 'ubuntu', with the label 'linux' removed and a new
    label 'canonical'.
    Great thanks to you if you've read and understood my code!
    I've said that the DB_SECONDARY_BAD exception is random. The same operation may cause
    exception in one time and may goes well in another time.
    As I've test below:
    ## Lines not started with '$' is the stdout or stderr.
    $ ./test_put linux os linus
    $ ./test_update linux -r os
    Old data| name: linux; labels: os linus
    New data| name: linux; labels: linus
    $ ./test_update linux -r linus
    Old data| name: linux; labels: linus
    New data| name: linux; labels:
    dbfile_bynam: DB_SECONDARY_BAD: Secondary index inconsistent with primary
    Db::put: DB_SECONDARY_BAD: Secondary index inconsistent with primary
    terminate called after throwing an instance of 'DbException'
    what(): Db::put: DB_SECONDARY_BAD: Secondary index inconsistent with primary
    已放弃
    Look! I've received a DB_SECONDARY_BAD exception. But thus exception does not always
    happen even under the same operation.
    For the exception is random, you may have not the "luck" to get it during your test.
    So let's insert a record by:
    $ ./test_put t
    and then give it a great number of labels:
    $ for((i = 0; i != 100; ++i)); do ./test_update t -a "label_$i"; done
    and then:
    $ for((i = 0; i != 100; ++i)); do ./test_update t -r "label_$i"; done
    Thus, the DB_SECONDARY_BAD exception is almost certain to happen.
    I've been confused by the problem for times. I would appreciate if someone can solve
    my problem.
    Many thanks!
    Wonder

  • Flash objects (images/buttons/etc) does not display on some PC's

    I am trying to deploy an out of the box web application called the Mid-Tier, where some forms/pages in the application have embedded flash images/buttons/icons that do not display on IE despite the fact that there is Flash installed on these PC's. Most of the PC's are XP.
    I suspect it is some of the security settings in IE. Unfortunately security options are disabled to end users so I cannot even get to see what these settings are..
    This web application works perfect on some test PC's that have default browser settings and the same flash version installed.
    The flash objects appear on these screens as white boxes instead of some control buttons and icons that should have been displayed.,. Hence these pages are non functional.
    Any hints?
    Joe

    Hello David,
    except the latest Flash Player you have also and the latest Java installed (Next Generation Java Plug-in 10.25.2 for Mozilla browsers) , check if you activate the plugins : [https://support.mozilla.org/el/kb/troubleshoot-issues-with-plugins-fix-problems#w_determining-if-a-plugin-is-the-problem Determining if a plugin is the problem], select always active.
    see also: [https://support.mozilla.org/en-US/kb/why-do-i-have-click-activate-plugins#os=win7&browser=fx23 Why do I have to click to activate plugins?]
    you said : ''One guy said you could fix it by going Tools > options > content > make sure Automatically load images is checked (but there is no such thing on that tab in my Firefox????)''
    not exist any more from 23.0 version and above (see : http://www.mozilla.org/en-US/firefox/23.0/releasenotes/) because of this : http://limi.net/checkboxes-that-kill , if you 1 (as a value) in '''permissions.default.image''' in [http://kb.mozillazine.org/About:config about:config] you are OK (checked[v]).
    also many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • Value Assignment Type Setting

    Dear Experts,
    While creating the Value Assignment Type in SPRO
    there are following check box... which are
    CharCopy Active - Automatic Activation of Copied Value Assignments
    New Val. actv - Automatic Activation of New Value Assignments
    Change Active - Automatic Activation of Changed Value Assignments
    I have read the help for each check box but still concept is NOT so clear...
    Could you please elaborate me the significan of each check box...
    also, couuld you tell me that As per Standerd / Regular Industry Practice, which of the above check boxes should be active and which should not
    Please Guide..
    Amol

    Hello Amol
    in some sense there is no "standard" how a company should/can use these check boxes. Both options have pros/cons.
    In my opinion best practise is to "set them" (all three) and to prepare a user manual in which this "behaviour" of the system is explained.
    From the point of view of "clicks" the number of clicks are nearly the same.
    E.g.
    if you not activate them you have to set the indicator and you must save the data records and
    if you have activated and you would like to take some time to think once again about content of the data record you would remove the active indicator and save (later you must set them again to activate them and save them regarding MSDS etc.).
    In any case: to my experience the end user training regarding how to use the usage and what does the active indicator means (as well as the relevancy indicator) is not an easy task.
    By the way: there is to my knowledge no corresponding customizing activity in which you can handle how the "relevancy indicator" can be set or not. So in any case (because the existance of an activated relevancy indicator is "driving" change marks in WWI reports) end user need their "time" to understand how to use properly this usage.
    Further on they should be familiar in how to use the output variants (because using them you can get an fast overview about there a active indicator is missing etc.)
    With best regards
    C.B.
    PS: additionally: the usage on the level of the identifier is "special" in some sense. Keep in mind this (especially in WWI reports). The reason is that the usage on the identifier has been created with EH&S 2.7. So in principle: you need not to use the usage to print a identifier in a WWI report but you should do that (because by using the usage you can additionally control the access rights of users).
    PPS: one "strong" pro in my opinion to use the "active" option is this:
    If you enter e.g. a source or a user defined text in the data record this information is normally not used in a WWI report. Therefore if you haven't "activated" this in customizing the user must ! set the acitve indicator once again. This means: Any ! change in data record (together with save) will remove the active indicator by standard (without using the three check boxes).
    Edited by: Christoph Bergemann on Mar 21, 2010 8:02 AM
    Edited by: Christoph Bergemann on Mar 21, 2010 8:05 AM
    Edited by: Christoph Bergemann on Mar 21, 2010 8:06 AM
    Edited by: Christoph Bergemann on Mar 21, 2010 8:06 AM

Maybe you are looking for