Vim ignores ~/.vimrc [solved]

Since update to 7.1.68-1 vim no longer reads my ~/.vimrc.  Some commands (i.e. set number) work when entered manually, others do not (syntax on reports "Sorry, the command is not available in this version.")
Any clues to recover line numbers and syntax?
Thanks.
Edit:
Ooops! Solved, it seems that I was executing the classical vi. Before the update vi was the same as vim, now it seems they're different binaries and although :help in vi reports "Vim version 7.1", it behaves as vi.
These lines in ~/.bashrc resume previous behaviour:
export EDITOR=vim
export VISUAL=vim
alias vi=vim
Last edited by atordo (2007-08-14 01:22:07)

JackH79 wrote:
Strange. Is vim at least using any other modifications in your vimrc?
If no, then I'd say that maybe it doesn't use the same vimrc you're working with.
If it does, then I'm out of ideas for the moment.
Edit: Maybe check this.
Thanks for your help. I noticed this problem while trying to modify my existing vimrc, which is much larger. That pre-existing vimrc works quite well, with or without these changes to the statusline settings. The changes just get ignored. This leads me to think that $HOME/.vimrc isn't being ignored entirely. For some reason, only the statusline part seems to be ignored.
The output of
:version
within vim appears identical to
vim --version
within bash, and so:
$ vim --version | grep vimrc
system vimrc file: "/etc/vimrc"
user vimrc file: "$HOME/.vimrc"
system gvimrc file: "/etc/gvimrc"
user gvimrc file: "$HOME/.gvimrc"
I could suppose that some error is making vim fall back on /etc/vimrc - but wouldn't this also make an error message appear, and make the colorscheme fall back to default as well? If there's a problem, then shouldn't the commands fail to work when I run them manually, and shouldn't a warning or error be issued?
I could post my normal vimrc, but I think at this stage it would just muddy the waters. I'd like to focus on getting the given minimal vimrc to work first. After that, I will see whether the solution works in a more realistic vimrc.

Similar Messages

  • Vim ignores statusline setting in vimrc [Solved]

    Dear Archers,
    I'm trying to modify my vim statusline. At this stage, my goal is to get vim to recognise any kind of statusline modification made in the vimrc, because at the moment no such modification appears to be recognised whatsoever.
    I tried both a sample vimrc from the wiki and a blank vimrc containing nothing but the line,
    set statusline=%t
    For both vimrcs, the statusline setting was ignored. When I'm in vim, I can manually run the command,
    :set statusline=%t
    and the effect is apparent and immediate. All my other vimrc settings appear to be parsed in the correct manner; only this one specific setting seems to be ignored (but without warnings/errors).
    I also did general googling on such topics as
    Me Googling wrote:"vimrc" "ignores" "statusline"
    and found this Stack Overflow thread which suggests using ruler instead of statusline, but still I couldn't get it to work.
    If anyone can point out what I'm doing wrong, I would really appreciate it.
    Last edited by /dev/zero (2012-05-31 22:15:49)

    JackH79 wrote:
    Strange. Is vim at least using any other modifications in your vimrc?
    If no, then I'd say that maybe it doesn't use the same vimrc you're working with.
    If it does, then I'm out of ideas for the moment.
    Edit: Maybe check this.
    Thanks for your help. I noticed this problem while trying to modify my existing vimrc, which is much larger. That pre-existing vimrc works quite well, with or without these changes to the statusline settings. The changes just get ignored. This leads me to think that $HOME/.vimrc isn't being ignored entirely. For some reason, only the statusline part seems to be ignored.
    The output of
    :version
    within vim appears identical to
    vim --version
    within bash, and so:
    $ vim --version | grep vimrc
    system vimrc file: "/etc/vimrc"
    user vimrc file: "$HOME/.vimrc"
    system gvimrc file: "/etc/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
    I could suppose that some error is making vim fall back on /etc/vimrc - but wouldn't this also make an error message appear, and make the colorscheme fall back to default as well? If there's a problem, then shouldn't the commands fail to work when I run them manually, and shouldn't a warning or error be issued?
    I could post my normal vimrc, but I think at this stage it would just muddy the waters. I'd like to focus on getting the given minimal vimrc to work first. After that, I will see whether the solution works in a more realistic vimrc.

  • [Solved] Vim ignoring modelines

    This line is at the end of a load of my bash scripts, but none of the settings are getting applied (for the several files I've tried).
    It's the last line in my file.
    # vim:set ts=4 sw=4 ft=sh et:
    I've got no modeline setting in my vimrc, so no idea why it's being ignored unless there's one. I've read though the vim help and have done a quick internet search, but can't find anything obvious.
    Any ideas?
    Last edited by skanky (2012-07-11 09:32:43)

    JackH79 wrote:
    I think the expandoption shouldn't have a colon. What happens if you try:
    # vim: ts=4 sw=4 ft=sh et
    That doesn't change behaviour, and  I think it goes against what the help says.
    However, it looks like the issue is elsewhere, as looking at the settings, the modeline isn't getting ignored, it's the behaviour isn't as I expect from those settings. This could be user error, but whatever it is, it isn't modelines getting ignored. So I'll mark this as solved and look into the behaviour issue.
    Many thanks for your replies.

  • X/fglrx ignores DisplaySize [SOLVED]

    Hello all,
    It seems that recently Xorg/fglrx started ignoring the DisplaySize setting I have in my xorg.conf file. This is causing the font rendering to be a bit off. Previously this worked fine.
    In my xorg.conf I have the following line:
    Section "Monitor"
    Identifier "Monitor0"
    DisplaySize 508 318
    Option "DPMS" "true"
    EndSection
    This keeps the display at around 96 DPI for my 17" 1920x1200 display. When I am using the Xorg ATI driver,
    xdpyinfo reports the following:
    screen #0:
    print screen: no
    dimensions: 1920x1200 pixels (513x321 millimeters)
    resolution: 95x95 dots per inch
    It's a bit odd that the reported dimensions don't match what I have in xorg.conf, but at least it is close and
    the font rendering is OK. When I try xdpyinfo while running the proprietary ATI (fglrx) drivers, I get
    the following output:
    screen #0:
    print screen: no
    dimensions: 1920x1200 pixels (403x302 millimeters)
    resolution: 121x101 dots per inch
    Apparently, in addition to completely ignoring my DisplaySize setting, Xorg thinks that my monitor has a 4:3 aspect ratio.
    I am running the following software:
    * core/kernel26 2.6.23.1-4
    * extra/fglrx 8.40.4-2
    If I recall correctly this started either after the update to the 2.6.22 kernel or the update to flgrx 8.40. Has anyone else seen this problem? Does anyone have any suggestions for fixing it, other than going back to the open ATI driver?
    Thanks and regards.
    Last edited by jbromley (2007-10-27 21:20:41)

    Trixie,
    I actually agree with you. For me, I should set my screen to the proper DPI and the font rendering should take that DPI into account when rendering fonts. However, there seems to be a lot of confusion about configuring fonts. I've seen the links you posted and some others for different distros (openSUSE, Ubuntu) and many of them recommend setting the DPI to 96 dpi. Apparently, certain (MS, ahem!) fonts are designed to render best at this DPI, so many people recommend using those fonts with the 96 dpi setting. Even the Arch Linux wiki article you linked says most people "recommend/use" 96 or 100 dpi.
    Oh well, it seems that font rendering (along with power management and wireless networking) is one of those areas in Linux that still needs polishing. Perhaps when XFT2 comes out things will get better. In the meantime, I'll be setting things up to the proper DPI and going from there.
    One question - does fontconfig not take into account X's DPI? It seems that it should. I guess I'll have to try with a DPI setting in local.conf and then without a DPI setting to see what happens.
    Thanks again and regards.

  • Vim with limp [SOLVED]

    i've yaourted limp and i'm looking at the docs:
    http://mikael.jansson.be/hacking/limp/docs/
    however, other than putting stuff in /usr/share/vim/ftplugin/lisp/vim nothing much is happening.
    looking at limp.vim i see:
    runtime ftplugin/lisp/limp/cursor.vim
    runtime ftplugin/lisp/limp/highlight.vim
    runtime ftplugin/lisp/limp/sexp.vim
    runtime ftplugin/lisp/limp/bridge.vim
    runtime ftplugin/lisp/limp/autoclose.vim
    runtime ftplugin/lisp/limp/keys.vim
    runtime ftplugin/lisp/limp/mode.vim
    so i put a softlink in the ftplugin/lisp/ dir to vim, but that didn't accomplish anything either.
    anyone know how to get limp working with vim?
    (of course, i installed sbcl)
    Last edited by pradtf (2010-09-26 17:10:11)

    ok some progress has just been made!
    by putting a softlink in .vim/ftplugin/lisp -> /usr/share/vim/ftplugin/lisp
    it comes on.
    now to try to figure out what to do with it as per mikael's doc.
    <F12> works but it doesn't seem to start a limp connection hanging on Booting ... indefinitely.
    now this document provides some idea:
    https://bugs.archlinux.org/task/17774
    but i'm not sure how to proceed since changing
    LIMPDIR=${LIMPRUNTIME:-/usr/local/limp/$VERSION}
    to
    LIMPDIR=${LIMPRUNTIME:-/usr}
    did zilch.
    no wait actually it works but i have to start lisp manually after changing the LIMPDIR:
    lisp.sh test -b
    then i can (g)vim into the program and <F12> and follow mikael's doc.
    this discussion was what provided the info:
    http://www.lispforum.com/viewtopic.php?f=17&t=3
    so we'll see where this goes, but at least this much is working now.
    Last edited by pradtf (2010-09-26 06:51:49)

  • [Solved] Vim: Can only undo most recent change

    Howdy-ha, folks.  So I've been (very) gradually making the transition from Geany to Vim over several months, mostly without issue.  However, I've been reluctant to use Vim for anything other than quick, simple operations for one reason: The "u" key will only undo the most recent change, as though there aren't any other changes in the history.  Hitting "u" a second time reverses the "undo" command, so that repeatedly hitting it will just remove and add the same small change over and over again.  No matter how much time I spend looking into this it seems I'm the only person who's ever had this problem, and it occurs regardless of whether /etc/vimrc and ~/.vimrc exist.  As a result, I can't do any complex editing for fear of botching something and needing to spend hours backtracing my mistakes.  Any help on this is appreciated.
    Last edited by ANOKNUSA (2012-05-18 15:22:06)

    skanky wrote:It should do. There's a comment in /etc/vimrc recommending against changing, so it's worth looking into. There are other settings there that could affect some behaviour, apparently.
    That would likely be the issue: I overwrote the default with my own config file, without including runtime! archlinux.vim in my own config.  As far as I can tell, things are working as both user and root.  I suppose I should have paid more attention, but then again, there's no mention in the Arch wiki entry about not altering/deleting any of those files:
    Arch Wiki Vim Entry wrote:
    Vim's personal configuration file is located in the home directory: ~/.vimrc. Advanced users tend to keep a well-tailored ~/.vimrc. The global configuration file is located at /etc/vimrc. The fall-back $VIM variable is defined as /usr/share/vim/. For example, to create a global colorscheme the *.vim colorscheme file should be stored in /usr/share/vim/vimfiles/.
    Currently, the vim global configuration in Arch Linux is very basic and differs from many other distributions' default vim configuration file. To get some commonly expected behaviors (like syntax highlighting, return to the line of the last edit...), consider using vim's example configuration file:
    cp /etc/vimrc /etc/vimrc.bak
    cp /usr/share/vim/vim73/vimrc_example.vim /etc/vimrc
    It seems the comment in /usr/share/vim/vimfiles/archlinux.vim is all new users have to go on, and it's not usually the first place anyone looks.

  • Accent keys/tilde keys ignored in urxvt

    I've recently been noticing a problem when using vim.  On the DE layout there's a tilde key that can be reached by hitting "alt gr" and "+", which works fine in my terminal, firefox, etc. (It's a "dead key", thus requiring a double-press, but I don't mind that at all), and my accent key (` and ´) is available without a modifier key (again, it works in most programs). 
    However, in Vim (and Nano as well - but otherwise no other applications show this behaviour), neither key results in a character.  I can use the ctrl+k method in vim and copying/pasting the character works as well, but this seems kind of pointless to me, since I have the keys on my keyboard (and they worked previously).  It's as if the keypress is ignored entirely (such as loading a 102 key layout for a 104 key keyboard results in "empty" keys).
    Would this be a setting in my zshrc or my vimrc, or is this a locales problem?  Or did Vim simply change that functionality in an update?
    I'm unsure of where I should look for a solution and googling for results hasn't yet returned a working solution.  On a possibly related note, I have also noticed that my middle-mouse-key copy and paste has stopped working from urxvt.  I can highlight the text and paste it within the same terminal, but I can't paste it into, for example, Firefox.  The only change I remember making before I noticed this problem popping up is the fact that I configured SCIM.
    I've tried to include as much information as I found relevant, but I will happily provide any more information that may be required.
    More information:
    .vimrc
    filetype on
    " Variables
    set showmatch
    set softtabstop=2
    set expandtab
    set incsearch
    set backspace=2
    set ignorecase
    set comments=sl:/*,mb:*,elx:*/
    set number
    set pdev=Cups-PDF
    set printoptions=paper:A4,syntax:y,wrap:y
    set encoding=utf8
    "Keyboard Shortcuts
    nmap <C-l> :set invnumber <CR>
    noremap <C-B> yiW<End>=<C-R>=<C-R>0<CR>
    imap <S-CR> <CR><CR>end<Esc>-cc
    inoremap <s-tab> <c-d>
    noremap <Space> <PageDown>
    noremap <BS> <PageUp>
    noremap - <PageUp>
    nmap <c-s> :w<CR>
    imap <C-F> {<CR>}<C-O>O
    "Syntax Highlighting
    set background=dark
    syntax enable
    colorscheme lswest
    au BufNewFile,BufRead *.rhtml set syn=eruby
    autocmd BufRead ~/.mutt/temp/mutt* :source ~/.vim/mail.vimrc
    .zshrc
    autoload colors; colors
    autoload -U url-quote-magic
    zle -N self-insert url-quote-magic
    ##RPROMPT="%{$fg[red]%}[%{$fg[cyan]%}%* on %D%{$fg[red]%}]%{$reset_color%}" # Prompt for right side of screen
    # prompt (if running screen, show window #)
    if [ x$WINDOW != x ]; then
    # [5:lswest@lswest-laptop:~]
    export PS1="%{$fg[white]%}┌─[%{$fg[cyan]%}$WINDOW%{$fg[white]%}:%{$fg[green]%}%n%{$fg[cyan]%}@%{$fg[green]%}%m%{$fg[white]%}:%{$fg[yellow]%}%~%{$fg[white]%}]%{$fg[yellow]%}-%{$fg[red]%}[%{$fg[cyan]%}%*%{$fg[red]%}]%{$reset_color%}%{$reset_color%}"$'\n'"%{$fg[white]%}└─>%{$reset_color%} "
    else
    # [lswest@lswest-laptop:~]
    export PS1="%{$fg[white]%}┌─[%{$fg[green]%}%n%{$fg[cyan]%}@%{$fg[green]%}%m%{$fg[white]%}:%{$fg[yellow]%}%~%{$fg[white]%}]%{$fg[yellow]%}-%{$fg[red]%}[%{$fg[cyan]%}%*%{$fg[red]%}]%{$reset_color%}%{$reset_color%}"$'\n'"%{$fg[white]%}└─>%{$reset_color%} "
    fi
    export RPRMOPT="%{$reset_color%}"
    # format titles for screen and rxvt
    function title() {
    # escape '%' chars in $1, make nonprintables visible
    a=${(V)1//\%/\%\%}
    # Truncate command, and join lines.
    a=$(print -Pn "%40>...>$a" | tr -d "\n")
    case $TERM in
    screen*)
    print -Pn "\ek$a:$3\e\\" # screen title (in ^A")
    xterm*|rxvt*)
    ##print -Pn "\e]0;$USER@$HOSTNAME: $PWD\007"
    ##print -Pn "\e]2;$2 | $a:$3\a" # plain xterm title
    precmd() { print -Pn "\e]0;%m:%~\a" }
    preexec () { print -Pn "\e]0;$1\a" }
    esac
    # precmd is called just before the prompt is printed
    function precmd() {
    title "zsh" "$USER@%m" "%55<...<%~"
    # preexec is called just before any command line is executed
    function preexec() {
    title "$1" "$USER@%m" "%35<...<%~"
    # Lines configured by zsh-newuser-install
    HISTFILE=~/.histfile
    HISTSIZE=1000
    SAVEHIST=1000
    setopt extendedglob
    bindkey -e
    # End of lines configured by zsh-newuser-install
    # The following lines were added by compinstall
    zstyle :compinstall filename '/home/lswest/.zshrc'
    autoload -Uz compinit
    compinit
    # End of lines added by compinstall
    #alias
    alias ls="ls -la --classify --color=always"
    alias rsync="rsync -h --progress"
    ##Set some keybindings
    typeset -g -A key
    bindkey '^?' backward-delete-char
    bindkey '^[[7~' beginning-of-line
    bindkey '^[[5~' up-line-or-history
    bindkey '^[[3~' delete-char
    bindkey '^[[8~' end-of-line
    bindkey '^[[6~' down-line-or-history
    bindkey '^[[A' up-line-or-search
    bindkey '^[[D' backward-char
    bindkey '^[[B' down-line-or-search
    bindkey '^[[C' forward-char
    bindkey '^[[2~' overwrite-mode
    export LC_CTYPE="en_US.utf8"
    #export QT_PLUGIN_PATH="$QT_PLUGIN_PATH:/opt/lib32/usr/lib/qt/plugins"
    alias trayer="trayer --edge top --expand true --widthtype request --height 28 --SetDockType true --transparent true --alpha 255 --align right"
    alias sbb="sudo bauerbill"
    alias bb="bauerbill"
    alias linode="ssh [email protected]"
    alias sockLin="ssh -D 8080 [email protected]"
    ##custom functions
    m4a(){
    if [[ "$1" != "" && "$#" == 2 ]]; then
    #check if files exist
    if [ -e "$1" ]; then
    #convert audio
    ffmpeg -i "$1" "$2"
    else
    echo "File "$1" doesn't exist!"
    fi
    if [ ! -d "$HOME/Music/m4a" ]; then
    mkdir $HOME/Music/m4a
    fi
    #move the .m4a file to the m4a folder if the files exist in the current directory
    if [ -e "$2" ]; then
    mv "$1" $HOME/Music/m4a/"`echo "$2"|sed 's/mp3/m4a/'`"
    echo "m4a file was moved to the ~/Music folder"
    mv "$2" $HOME/Music/
    echo "Moved the mp3 to the ~/Music folder"
    else
    echo "File "$2" doesn't exist!"
    fi
    else
    echo "Invalid arguments (or too few/many), please run this script with \"m4a <input> <output>\""
    fi
    # Convert Flash video to MP3
    flvmp3() {
    ffmpeg -i $1 -ar 44100 -ab 192k -ac 2 $2
    export EDITOR="vim"
    export BROWSER="firefox"
    #Google from CLI
    # go to google for anything
    google() {
    local term="$*"
    [ -z "$term" ] && term="$(xclip -o)"
    local URL="http://www.google.com/search?q=${term// /+}"
    $BROWSER "$URL" &>/dev/null &
    export OOO_FORCE_DESKTOP=gnome
    export DE=xfce
    #set up the mail environment variable
    MAIL=/var/spool/mail/lswest && export MAIL
    Last edited by lswest (2010-10-03 08:43:50)

    *EDIT* I just checked in Sakura and Vim registers and displays tilde after double-presses, and accents need to be completed with a space (not a big deal for me).  Now I just need to figure out why rxvt-unicode isn't doing the same.  Any suggestions on where to start?
    *EDIT #2* The issue is occurring in urxvt itself now (I could swear it was working before though, but I have no concrete evidence of that fact).  Probably means it's related to my rxvt configuration somehow (and the middle-mouse copy/paste not working is probably also related).  I've updated the title to reflect this.
    relevant section of my .Xdefaults:
    URxvt*preeditType: OnTheSpot,None
    URxvt.perl-ext-common: default,matcher,xim-onthespot
    URxvt.urlLauncher: firefox
    URxvt.matcher.button: 1
    urxvt*font: xft:Inconsolata:size=10:antialias=true:autohint=true
    urxvt*termName: rxvt-unicode
    urxvt*internalBorder: 1
    urxvt*loginShell: true
    urxvt*background: [70]#000000
    urxvt*foreground: white
    urxvt*transparent: 1
    urxvt*colorMode: on
    urxvt*cursorBlink: 0
    urxvt*depth: 32
    urxvt*color0: #000000
    urxvt*color1: #9e1828
    urxvt*color2: #aece92
    urxvt*color3: #968a38
    urxvt*color4: #414171
    urxvt*color5: #963c59
    urxvt*color6: #418179
    urxvt*color7: #bebebe
    urxvt*color8: #666666
    urxvt*color9: #cf6171
    urxvt*color10: #c5f779
    urxvt*color11: #fff796
    urxvt*color12: #4186be
    urxvt*color13: #cf9ebe
    urxvt*color14: #71bebe
    urxvt*color15: #ffffff
    urxvt*fading: 40
    urxvt*tintColor: white
    urxvt*shading: 0
    urxvt*inheritPixmap: 0
    urxvt*scrollBar: 0
    urxvt*geometry: 81x22
    urxvt*saveLines:1000
    I appreciate the reply again.
    The double-press works in DWM (my WM of choice on my PC) and AwesomeWM (on my laptop, which is also experiencing the same issue) in all applications besides the two I mentioned above.  I've also tried it by ending it with a space, a letter (i.e. n after tilde, or e after an accent) and it results in just the letter (n or e) in Nano/Vim.  The terminal is rxvt-unicode (not the 256 color one from AUR).
    My machines are both 64bit setups.
    On a side-note, is there any way to check if keypresses are being registered in Vim? (i.e. a way to see the keysym).
    relevant section of my rc.conf:
    # LOCALIZATION
    # LOCALE: available languages can be listed with the 'locale -a' command
    # HARDWARECLOCK: set to "UTC" or "localtime"
    # USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
    # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
    # CONSOLEMAP: found in /usr/share/kbd/consoletrans
    # USECOLOR: use ANSI color sequences in startup messages
    LOCALE="en_US.utf8"
    HARDWARECLOCK="UTC"
    USEDIRECTISA="no"
    TIMEZONE="GMT+2"
    KEYMAP="de"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    Setting my keymap in X:
    xorg.conf
    Section "InputDevice"
    Identifier "keyboard0"
    Driver "evdev"
    Option "XkbLayout" "de"
    Option "XkbOptions" "terminate:ctrl_alt_bksp"
    EndSection
    Last edited by lswest (2010-10-03 08:42:54)

  • Problem setting Vim as C++ IDE / dwm

    Hi guys,
    i am trying to set up Vim as my C++ IDE since 2 days and no success so far.
    I have installed Vim
    pacman -Q vim
    vim 7.3.661-1
    I have downloaded vim-latex and clang tar balls,
    extract and place appropriate directorys in ~/.vim e.g. plugins and doc
    from whitin vim
    :helptags ~/.vim
    my ~/.vimrc
    " Author:
    " Zhelyazko Petrov
    " [email protected]
    " Version:
    " 1.0
    " Set how many lines of history to remeber
    set history=700
    " Enable filetype plugins
    filetype plugin on
    filetype indent on
    " Set 7 lines to the cursor when moving vertically using j/k
    set so=7
    " Set runtime path
    set runtimepath=/home/dreadz/.vim/
    " Set grep to always generate a file-name.
    set grepprg=grep\ -nH\ $*
    "this is mostly a matter of taste.
    set sw=2
    " Turn on wild menu
    set wildmenu
    " Always show current position
    set ruler
    " Height of the command bar
    set cmdheight=2
    " Configure backsapce to behave as it should
    set backspace=eol,start,indent
    set whichwrap+=<,>h,l
    " Ignore case when searching
    set ignorecase
    " When searching try to be smart
    set smartcase
    " Highlight search results
    set hlsearch
    " Make search acts like in modern browsers
    set incsearch
    " Show matching brackets when text indicator is over them
    set showmatch
    " How many tenths of a second to blink when matching brackets
    set mat=2
    " No annoying sounds on errors
    set noerrorbells
    set novisualbellset t_vb=
    set tm=500
    " Set utf8 as standart encoding and en_US as standart lang
    set encoding=utf8
    " Always show the status line
    set laststatus=2
    " Show line number
    set number
    " Some stuff to get the mouse going
    set mouse=a
    set ttymouse=xterm2
    When i open .cpp file and i run :make i get the following message:
    make: *** No targets specified and no makefile found. Stop.
    Press ENTER or type command to continue
    uname -a
    Linux ufo 3.6.2-1-ARCH #1 SMP PREEMPT Fri Oct 12 23:58:58 CEST 2012 x86_64 GNU/Linux
    I would appreciate any suggestions.
    Many thanks!

    make: *** No targets specified and no makefile found. Stop.
    Press ENTER or type command to continue
    This is exactly what make says when it couldn't find a Makefile in the directory.  Do you actually have one in the directory with the .cpp file?  See the Wikipedia entry [1] for a good overview of the make process.  Also, the file should just be called Makefile with no extensions (.cpp or otherwise).  Remember, google is your friend [2]
    [1] https://en.wikipedia.org/wiki/Makefile
    [2] http://lmgtfy.com/?q=make%3A+no+targets … file+found
    Last edited by jynnantonix (2012-10-21 06:09:44)

  • Dimension with SOLVED LEVEL-BASED hierarchy (10.2)

    I'm trying to make a dimension with SOLVED LEVEL-BASED hierarchy (Oracle 10.2.0.1).
    Hierarchy is folowing:
    TOP
    |_OWNER
    |_OBJECT_TYPE
    |_OBJECT_NAME
    Script
    DROP TABLE SOLVED_DIM;
    CREATE TABLE SOLVED_DIM
    GID NUMBER,
    ETKEY VARCHAR2(100),
    PARENT_GID NUMBER,
    PARENT_ETKEY VARCHAR2(100),
    SHORT_DESCRIPTION VARCHAR2(100),
    LONG_DESCRIPTION VARCHAR2(100),
    TOP                    VARCHAR2(100),
    OWNER VARCHAR2(100),
    OBJECT_TYPE VARCHAR2(100),
    OBJECT_NAME VARCHAR2(100) ,
    TOP_ID NUMBER,
    OWNER_ID NUMBER,
    OBJECT_TYPE_ID NUMBER,
    OBJECT_NAME_ID NUMBER,
    ID NUMBER
    --Test dataset &#8470;1
    INSERT INTO SOLVED_DIM VALUES (7, 'TOP', NULL, NULL, 'TOP', 'TOP', 'TOP', NULL, NULL, NULL, 1, NULL, NULL, NULL, 100001);
    INSERT INTO SOLVED_DIM VALUES (3, 'SH', 7, 'TOP', 'SH', 'SH', 'TOP', 'SH', NULL, NULL, 1, 11, NULL, NULL, 100002);
    INSERT INTO SOLVED_DIM VALUES (3, 'OLAP_USR', 7, 'TOP', 'OLAP_USR', 'OLAP_USR', 'TOP', 'OLAP_USR', NULL, NULL, 1, 12, NULL, NULL, 100003);
    INSERT INTO SOLVED_DIM VALUES (1, 'SDIMENSION', 3, 'SH', 'SDIMENSION', 'SDIMENSION', 'TOP', 'SH', 'SDIMENSION', NULL, 1, 11, 111, NULL, 100004);
    INSERT INTO SOLVED_DIM VALUES (1, 'ODIMENSION', 3, 'OLAP_USR', 'ODIMENSION', 'ODIMENSION', 'TOP', 'OLAP_USR', 'ODIMENSION', NULL, 1, 12, 121, NULL, 100005);
    INSERT INTO SOLVED_DIM VALUES (0, 'OUD1', 1, 'ODIMENSION', 'OUD1', 'OUD1', 'TOP', 'OLAP_USR', 'ODIMENSION', 'OUD1', 1, 12, 121, 1211, 100006);
    INSERT INTO SOLVED_DIM VALUES (0, 'OUD2', 1, 'SDIMENSION', 'OUD2', 'OUD2', 'TOP', 'SH', 'SDIMENSION', 'OUD2', 1, 11, 111, 1111, 100007);
    commit;
    --Test dataset &#8470;2
    INSERT INTO SOLVED_DIM VALUES (7, 'TOP', NULL, NULL, 'TOP', 'TOP', 'TOP', NULL, NULL, NULL, 1, NULL, NULL, NULL, 100001);
    INSERT INTO SOLVED_DIM VALUES (3, 'SH', 7, 'TOP', 'SH', 'SH', 'TOP', 'SH', NULL, NULL, 1, 11, NULL, NULL, 100002);
    INSERT INTO SOLVED_DIM VALUES (3, 'OLAP_USR', 7, 'TOP', 'OLAP_USR', 'OLAP_USR', 'TOP', 'OLAP_USR', NULL, NULL, 1, 12, NULL, NULL, 100003);
    INSERT INTO SOLVED_DIM VALUES (1, 'DIMENSION', 3, 'SH', 'DIMENSION', 'DIMENSION', 'TOP', 'SH', 'DIMENSION', NULL, 1, 11, 111, NULL, 100004);
    INSERT INTO SOLVED_DIM VALUES (1, 'DIMENSION', 3, 'OLAP_USR', 'DIMENSION', 'DIMENSION', 'TOP', 'OLAP_USR', 'DIMENSION', NULL, 1, 12, 121, NULL, 100005);
    INSERT INTO SOLVED_DIM VALUES (0, 'OUD1', 1, 'DIMENSION', 'OUD1', 'OUD1', 'TOP', 'OLAP_USR', 'DIMENSION', 'OUD1', 1, 12, 121, 1211, 100006);
    INSERT INTO SOLVED_DIM VALUES (0, 'OUD2', 1, 'DIMENSION', 'OUD2', 'OUD2', 'TOP', 'SH', 'DIMENSION', 'OUD2', 1, 11, 111, 1111, 100007);
    commit;
    BEGIN
    -- ---- Creating Dimension (CWM2_OLAP_DIMENSION) -------------------------
    begin
    cwm2_olap_dimension.drop_dimension(user, 'SOLVED_DIM');
    exception when others then null;
    end;
    cwm2_olap_dimension.create_dimension(user, 'SOLVED_DIM', 'SOLVED_DIM disp', 'SOLVED_DIM pl', 'SOLVED_DIM short', 'SOLVED_DIM long');
    -- ----- Completing Dimension Metadata (CWM2_OLAP_DIMENSION_ATTRIBUTE) ---
    cwm2_olap_dimension_attribute.create_dimension_attribute(user, 'SOLVED_DIM', 'ID', 'ID', 'ID', 'ID');
    cwm2_olap_dimension_attribute.create_dimension_attribute(user, 'SOLVED_DIM', 'ET key', 'ET key', 'ET key', 'ET key', true);
    cwm2_olap_dimension_attribute.create_dimension_attribute(user, 'SOLVED_DIM', 'Parent ET key', 'Parent ET key', 'Parent ET key', 'Parent ET key', true);
    cwm2_olap_dimension_attribute.create_dimension_attribute(user, 'SOLVED_DIM', 'Grouping ID', 'Grouping ID', 'Grouping ID', 'Grouping ID', true);
    cwm2_olap_dimension_attribute.create_dimension_attribute(user, 'SOLVED_DIM', 'Parent Grouping ID', 'Parent Grouping ID', 'Parent Grouping ID', 'Parent Grouping ID', true);
    cwm2_olap_dimension_attribute.create_dimension_attribute(user, 'SOLVED_DIM', 'Long Description', 'Long Description', 'Long Description', 'Long Description', true);
    cwm2_olap_dimension_attribute.create_dimension_attribute(user, 'SOLVED_DIM', 'Short Description', 'Short Description', 'Short Description', 'Short Description', true);
    -- ----- Completing Dimension Metadata (CWM2_OLAP_HIERARCHEY) ------------
    cwm2_olap_hierarchy.create_hierarchy(user, 'SOLVED_DIM', 'SOLVED_DIM_HI', 'SOLVED_DIM_HI disp', 'SOLVED_DIM_HI short', 'SOLVED_DIM_HI long', 'SOLVED LEVEL-BASED');
    cwm2_olap_dimension.set_default_display_hierarchy(user, 'SOLVED_DIM', 'SOLVED_DIM_HI');
    -- ----- Completing Dimension Metadata (CWM2_OLAP_LEVEL) -----------------
    cwm2_olap_level.create_level(user, 'SOLVED_DIM', 'OBJECT_NAME', 'OBJECT_NAME disp', 'OBJECT_NAME pl', 'OBJECT_NAME short', 'OBJECT_NAME long');
    cwm2_olap_level.create_level(user, 'SOLVED_DIM', 'OBJECT_TYPE', 'OBJECT_TYPE disp', 'OBJECT_TYPE pl', 'OBJECT_TYPE short', 'OBJECT_TYPE long');
    cwm2_olap_level.create_level(user, 'SOLVED_DIM', 'OWNER' ,'OWNER disp',      'OWNER pl', 'OWNER short', 'OWNER long');
    cwm2_olap_level.create_level(user, 'SOLVED_DIM', 'TOP', 'TOP disp',           'TOP pl', 'TOP short', 'TOP long');
    -- ----- Completing Dimension Metadata (CWM2_OLAP_LEVEL_ATTRIBUTE) -------
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'ID', 'OBJECT_NAME', 'ID', 'OBJECT_NAME_ID', 'OBJECT_NAME ID', 'ID');
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'ID', 'OBJECT_TYPE', 'ID', 'OBJECT_TYPE_ID', 'OBJECT_TYPE ID', 'ID');
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'ID', 'OWNER',      'ID', 'OWNER_ID', 'OWNER ID', 'ID');
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'ID', 'TOP', 'ID', 'TOP_ID', 'TOP ID', 'ID');
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'ET key', 'OBJECT_NAME', 'ET key', 'OBJECT_NAME_ET', 'OBJECT_NAME ET key', 'ET key', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Parent ET key', 'OBJECT_NAME', 'Parent ET key', 'OBJECT_NAME PARENT', 'OBJECT_NAME Parent ET key', 'Parent ET key', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Grouping ID', 'OBJECT_NAME', 'Grouping ID', 'OBJECT_NAME GID','OBJECT_NAME GID', 'Grouping ID', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Parent Grouping ID', 'OBJECT_NAME', 'Parent Grouping ID', 'OBJECT_NAME PGID', 'OBJECT_NAME Parent Grouping ID', 'Parent Grouping ID', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Long Description', 'OBJECT_NAME', 'Long Description', 'OBJECT_NAME LongDesc', 'OBJECT_NAME Long Desc', 'Long Description', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Short Description', 'OBJECT_NAME', 'Short Description', 'OBJECT_NAME ShortDesc', 'OBJECT_NAME Short Desc', 'Short Description', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'ET key', 'OBJECT_TYPE', 'ET key', 'OBJECT_TYPE_ET', 'OBJECT_TYPE ET key', 'ET key', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Parent ET key', 'OBJECT_TYPE', 'Parent ET key', 'OBJECT_TYPE PARENT', 'OBJECT_TYPE Parent ET key', 'Parent ET key', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Grouping ID', 'OBJECT_TYPE', 'Grouping ID', 'OBJECT_TYPE GID','OBJECT_TYPE GID', 'Grouping ID', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Parent Grouping ID', 'OBJECT_TYPE', 'Parent Grouping ID', 'OBJECT_TYPE PGID', 'OBJECT_TYPE Parent Grouping ID', 'Parent Grouping ID', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Long Description', 'OBJECT_TYPE', 'Long Description', 'OBJECT_TYPE LongDesc', 'OBJECT_TYPE Long Desc', 'Long Description', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Short Description', 'OBJECT_TYPE', 'Short Description', 'OBJECT_TYPE ShortDesc', 'OBJECT_TYPE Short Desc', 'Short Description', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'ET key', 'OWNER', 'ET key', 'OWNER_ET', 'OWNER ET key', 'ET key', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Parent ET key', 'OWNER', 'Parent ET key', 'OWNER PARENT', 'OWNER Parent ET key', 'Parent ET key', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Grouping ID', 'OWNER', 'Grouping ID', 'OWNER GID','OWNER GID', 'Grouping ID', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Parent Grouping ID', 'OWNER', 'Parent Grouping ID', 'OWNER PGID', 'OWNER Parent Grouping ID', 'Parent Grouping ID', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Long Description', 'OWNER', 'Long Description', 'OWNER LongDesc', 'OWNER Long Desc', 'Long Description', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Short Description', 'OWNER', 'Short Description', 'OWNER ShortDesc', 'OWNER Short Desc', 'Short Description', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'ET key', 'TOP', 'ET key', 'TOP_ET', 'TOP ET key', 'ET key', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Parent ET key', 'TOP', 'Parent ET key', 'TOP PARENT', 'TOP Parent ET key', 'Parent ET key', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Grouping ID', 'TOP', 'Grouping ID', 'TOP GID','TOP GID', 'Grouping ID', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Parent Grouping ID', 'TOP', 'Parent Grouping ID', 'TOP PGID', 'TOP Parent Grouping ID', 'Parent Grouping ID', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Long Description', 'TOP', 'Long Description', 'TOP LongDesc', 'TOP Long Desc', 'Long Description', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Short Description', 'TOP', 'Short Description', 'TOP ShortDesc', 'TOP Short Desc', 'Short Description', true);
    cwm2_olap_level.add_level_to_hierarchy(user, 'SOLVED_DIM', 'SOLVED_DIM_HI', 'OBJECT_NAME', 'OBJECT_TYPE');
    cwm2_olap_level.add_level_to_hierarchy(user, 'SOLVED_DIM', 'SOLVED_DIM_HI', 'OBJECT_TYPE', 'OWNER');
    cwm2_olap_level.add_level_to_hierarchy(user, 'SOLVED_DIM', 'SOLVED_DIM_HI', 'OWNER',          'TOP');
    cwm2_olap_level.add_level_to_hierarchy(user, 'SOLVED_DIM', 'SOLVED_DIM_HI', 'TOP');
    -- + Mapping Dimensions +
    cwm2_olap_table_map.map_dimtbl_hierlevel(user, 'SOLVED_DIM', 'SOLVED_DIM_HI', 'OBJECT_NAME', user, 'SOLVED_DIM', 'OBJECT_NAME', 'OBJECT_TYPE');
    cwm2_olap_table_map.map_dimtbl_hierlevel(user, 'SOLVED_DIM', 'SOLVED_DIM_HI', 'OBJECT_TYPE', user, 'SOLVED_DIM', 'OBJECT_TYPE', 'OWNER');
    cwm2_olap_table_map.map_dimtbl_hierlevel(user, 'SOLVED_DIM', 'SOLVED_DIM_HI', 'OWNER',           user, 'SOLVED_DIM', 'OWNER',     'TOP');
    cwm2_olap_table_map.map_dimtbl_hierlevel(user, 'SOLVED_DIM', 'SOLVED_DIM_HI', 'TOP',           user, 'SOLVED_DIM', 'TOP');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'ID', 'SOLVED_DIM_HI', 'OBJECT_NAME', 'ID', user, 'SOLVED_DIM', 'OBJECT_NAME_ID');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'ET key', 'SOLVED_DIM_HI', 'OBJECT_NAME', 'ET key', user, 'SOLVED_DIM', 'ETKEY');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Parent ET key', 'SOLVED_DIM_HI', 'OBJECT_NAME', 'Parent ET key', user, 'SOLVED_DIM', 'PARENT_ETKEY');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Grouping ID', 'SOLVED_DIM_HI', 'OBJECT_NAME', 'Grouping ID', user, 'SOLVED_DIM', 'GID');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Parent Grouping ID', 'SOLVED_DIM_HI', 'OBJECT_NAME', 'Parent Grouping ID', user, 'SOLVED_DIM', 'PARENT_GID');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Long Description', 'SOLVED_DIM_HI', 'OBJECT_NAME', 'Long Description', user, 'SOLVED_DIM', 'LONG_DESCRIPTION');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Short Description', 'SOLVED_DIM_HI', 'OBJECT_NAME', 'Short Description', user, 'SOLVED_DIM', 'SHORT_DESCRIPTION');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'ID', 'SOLVED_DIM_HI', 'OBJECT_TYPE', 'ID', user, 'SOLVED_DIM', 'OBJECT_TYPE_ID');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'ET key', 'SOLVED_DIM_HI', 'OBJECT_TYPE', 'ET key', user, 'SOLVED_DIM', 'ETKEY');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Parent ET key', 'SOLVED_DIM_HI', 'OBJECT_TYPE', 'Parent ET key', user, 'SOLVED_DIM', 'PARENT_ETKEY');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Grouping ID', 'SOLVED_DIM_HI', 'OBJECT_TYPE', 'Grouping ID', user, 'SOLVED_DIM', 'GID');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Parent Grouping ID', 'SOLVED_DIM_HI', 'OBJECT_TYPE', 'Parent Grouping ID', user, 'SOLVED_DIM', 'PARENT_GID');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Long Description', 'SOLVED_DIM_HI', 'OBJECT_TYPE', 'Long Description', user, 'SOLVED_DIM', 'LONG_DESCRIPTION');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Short Description', 'SOLVED_DIM_HI', 'OBJECT_TYPE', 'Short Description', user, 'SOLVED_DIM', 'SHORT_DESCRIPTION');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'ID', 'SOLVED_DIM_HI', 'OWNER', 'ID', user, 'SOLVED_DIM', 'OWNER_ID');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'ET key', 'SOLVED_DIM_HI', 'OWNER', 'ET key', user, 'SOLVED_DIM', 'ETKEY');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Parent ET key', 'SOLVED_DIM_HI', 'OWNER', 'Parent ET key', user, 'SOLVED_DIM', 'PARENT_ETKEY');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Grouping ID', 'SOLVED_DIM_HI', 'OWNER', 'Grouping ID', user, 'SOLVED_DIM', 'GID');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Parent Grouping ID', 'SOLVED_DIM_HI', 'OWNER', 'Parent Grouping ID', user, 'SOLVED_DIM', 'PARENT_GID');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Long Description', 'SOLVED_DIM_HI', 'OWNER', 'Long Description', user, 'SOLVED_DIM', 'LONG_DESCRIPTION');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Short Description', 'SOLVED_DIM_HI', 'OWNER', 'Short Description', user, 'SOLVED_DIM', 'SHORT_DESCRIPTION');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'ID', 'SOLVED_DIM_HI', 'TOP', 'ID', user, 'SOLVED_DIM', 'TOP_ID');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'ET key', 'SOLVED_DIM_HI', 'TOP', 'ET key', user, 'SOLVED_DIM', 'ETKEY');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Parent ET key', 'SOLVED_DIM_HI', 'TOP', 'Parent ET key', user, 'SOLVED_DIM', 'PARENT_ETKEY');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Grouping ID', 'SOLVED_DIM_HI', 'TOP', 'Grouping ID', user, 'SOLVED_DIM', 'GID');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Parent Grouping ID', 'SOLVED_DIM_HI', 'TOP', 'Parent Grouping ID', user, 'SOLVED_DIM', 'PARENT_GID');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Long Description', 'SOLVED_DIM_HI', 'TOP', 'Long Description', user, 'SOLVED_DIM', 'LONG_DESCRIPTION');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Short Description', 'SOLVED_DIM_HI', 'TOP', 'Short Description', user, 'SOLVED_DIM', 'SHORT_DESCRIPTION');
    -- + Validate and Refresh +
    cwm2_olap_validate.validate_dimension(user, 'SOLVED_DIM');
    cwm2_olap_metadata_refresh.mr_refresh;
    END;
    The first dataset works perfectly. But not the second one... There are some intersections at OBJECT_TYPE level.
    TOP->OLAP_USR->DIMENSION->OUD1
    and
    TOP->SH->DIMENSION->OUD2.
    When I'm watching TOP->OLAP_USR->DIMENSION->OUD1, I not only open OUD1, but OUD2 under SH (even skipping OBJECT_TYPE level). It's simple to do it for USOLVED LEVEL-BASED by assigning different Id for the same OBJECT_TYPES from different owners. But it looks like my ids are ignored for Solved hierarchy.
    Does anybody knows how to handle such situation?

    I'm trying to make a dimension with SOLVED LEVEL-BASED hierarchy (Oracle 10.2.0.1).
    Hierarchy is folowing:
    TOP
    |_OWNER
    |_OBJECT_TYPE
    |_OBJECT_NAME
    Script
    DROP TABLE SOLVED_DIM;
    CREATE TABLE SOLVED_DIM
    GID NUMBER,
    ETKEY VARCHAR2(100),
    PARENT_GID NUMBER,
    PARENT_ETKEY VARCHAR2(100),
    SHORT_DESCRIPTION VARCHAR2(100),
    LONG_DESCRIPTION VARCHAR2(100),
    TOP                    VARCHAR2(100),
    OWNER VARCHAR2(100),
    OBJECT_TYPE VARCHAR2(100),
    OBJECT_NAME VARCHAR2(100) ,
    TOP_ID NUMBER,
    OWNER_ID NUMBER,
    OBJECT_TYPE_ID NUMBER,
    OBJECT_NAME_ID NUMBER,
    ID NUMBER
    --Test dataset &#8470;1
    INSERT INTO SOLVED_DIM VALUES (7, 'TOP', NULL, NULL, 'TOP', 'TOP', 'TOP', NULL, NULL, NULL, 1, NULL, NULL, NULL, 100001);
    INSERT INTO SOLVED_DIM VALUES (3, 'SH', 7, 'TOP', 'SH', 'SH', 'TOP', 'SH', NULL, NULL, 1, 11, NULL, NULL, 100002);
    INSERT INTO SOLVED_DIM VALUES (3, 'OLAP_USR', 7, 'TOP', 'OLAP_USR', 'OLAP_USR', 'TOP', 'OLAP_USR', NULL, NULL, 1, 12, NULL, NULL, 100003);
    INSERT INTO SOLVED_DIM VALUES (1, 'SDIMENSION', 3, 'SH', 'SDIMENSION', 'SDIMENSION', 'TOP', 'SH', 'SDIMENSION', NULL, 1, 11, 111, NULL, 100004);
    INSERT INTO SOLVED_DIM VALUES (1, 'ODIMENSION', 3, 'OLAP_USR', 'ODIMENSION', 'ODIMENSION', 'TOP', 'OLAP_USR', 'ODIMENSION', NULL, 1, 12, 121, NULL, 100005);
    INSERT INTO SOLVED_DIM VALUES (0, 'OUD1', 1, 'ODIMENSION', 'OUD1', 'OUD1', 'TOP', 'OLAP_USR', 'ODIMENSION', 'OUD1', 1, 12, 121, 1211, 100006);
    INSERT INTO SOLVED_DIM VALUES (0, 'OUD2', 1, 'SDIMENSION', 'OUD2', 'OUD2', 'TOP', 'SH', 'SDIMENSION', 'OUD2', 1, 11, 111, 1111, 100007);
    commit;
    --Test dataset &#8470;2
    INSERT INTO SOLVED_DIM VALUES (7, 'TOP', NULL, NULL, 'TOP', 'TOP', 'TOP', NULL, NULL, NULL, 1, NULL, NULL, NULL, 100001);
    INSERT INTO SOLVED_DIM VALUES (3, 'SH', 7, 'TOP', 'SH', 'SH', 'TOP', 'SH', NULL, NULL, 1, 11, NULL, NULL, 100002);
    INSERT INTO SOLVED_DIM VALUES (3, 'OLAP_USR', 7, 'TOP', 'OLAP_USR', 'OLAP_USR', 'TOP', 'OLAP_USR', NULL, NULL, 1, 12, NULL, NULL, 100003);
    INSERT INTO SOLVED_DIM VALUES (1, 'DIMENSION', 3, 'SH', 'DIMENSION', 'DIMENSION', 'TOP', 'SH', 'DIMENSION', NULL, 1, 11, 111, NULL, 100004);
    INSERT INTO SOLVED_DIM VALUES (1, 'DIMENSION', 3, 'OLAP_USR', 'DIMENSION', 'DIMENSION', 'TOP', 'OLAP_USR', 'DIMENSION', NULL, 1, 12, 121, NULL, 100005);
    INSERT INTO SOLVED_DIM VALUES (0, 'OUD1', 1, 'DIMENSION', 'OUD1', 'OUD1', 'TOP', 'OLAP_USR', 'DIMENSION', 'OUD1', 1, 12, 121, 1211, 100006);
    INSERT INTO SOLVED_DIM VALUES (0, 'OUD2', 1, 'DIMENSION', 'OUD2', 'OUD2', 'TOP', 'SH', 'DIMENSION', 'OUD2', 1, 11, 111, 1111, 100007);
    commit;
    BEGIN
    -- ---- Creating Dimension (CWM2_OLAP_DIMENSION) -------------------------
    begin
    cwm2_olap_dimension.drop_dimension(user, 'SOLVED_DIM');
    exception when others then null;
    end;
    cwm2_olap_dimension.create_dimension(user, 'SOLVED_DIM', 'SOLVED_DIM disp', 'SOLVED_DIM pl', 'SOLVED_DIM short', 'SOLVED_DIM long');
    -- ----- Completing Dimension Metadata (CWM2_OLAP_DIMENSION_ATTRIBUTE) ---
    cwm2_olap_dimension_attribute.create_dimension_attribute(user, 'SOLVED_DIM', 'ID', 'ID', 'ID', 'ID');
    cwm2_olap_dimension_attribute.create_dimension_attribute(user, 'SOLVED_DIM', 'ET key', 'ET key', 'ET key', 'ET key', true);
    cwm2_olap_dimension_attribute.create_dimension_attribute(user, 'SOLVED_DIM', 'Parent ET key', 'Parent ET key', 'Parent ET key', 'Parent ET key', true);
    cwm2_olap_dimension_attribute.create_dimension_attribute(user, 'SOLVED_DIM', 'Grouping ID', 'Grouping ID', 'Grouping ID', 'Grouping ID', true);
    cwm2_olap_dimension_attribute.create_dimension_attribute(user, 'SOLVED_DIM', 'Parent Grouping ID', 'Parent Grouping ID', 'Parent Grouping ID', 'Parent Grouping ID', true);
    cwm2_olap_dimension_attribute.create_dimension_attribute(user, 'SOLVED_DIM', 'Long Description', 'Long Description', 'Long Description', 'Long Description', true);
    cwm2_olap_dimension_attribute.create_dimension_attribute(user, 'SOLVED_DIM', 'Short Description', 'Short Description', 'Short Description', 'Short Description', true);
    -- ----- Completing Dimension Metadata (CWM2_OLAP_HIERARCHEY) ------------
    cwm2_olap_hierarchy.create_hierarchy(user, 'SOLVED_DIM', 'SOLVED_DIM_HI', 'SOLVED_DIM_HI disp', 'SOLVED_DIM_HI short', 'SOLVED_DIM_HI long', 'SOLVED LEVEL-BASED');
    cwm2_olap_dimension.set_default_display_hierarchy(user, 'SOLVED_DIM', 'SOLVED_DIM_HI');
    -- ----- Completing Dimension Metadata (CWM2_OLAP_LEVEL) -----------------
    cwm2_olap_level.create_level(user, 'SOLVED_DIM', 'OBJECT_NAME', 'OBJECT_NAME disp', 'OBJECT_NAME pl', 'OBJECT_NAME short', 'OBJECT_NAME long');
    cwm2_olap_level.create_level(user, 'SOLVED_DIM', 'OBJECT_TYPE', 'OBJECT_TYPE disp', 'OBJECT_TYPE pl', 'OBJECT_TYPE short', 'OBJECT_TYPE long');
    cwm2_olap_level.create_level(user, 'SOLVED_DIM', 'OWNER' ,'OWNER disp',      'OWNER pl', 'OWNER short', 'OWNER long');
    cwm2_olap_level.create_level(user, 'SOLVED_DIM', 'TOP', 'TOP disp',           'TOP pl', 'TOP short', 'TOP long');
    -- ----- Completing Dimension Metadata (CWM2_OLAP_LEVEL_ATTRIBUTE) -------
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'ID', 'OBJECT_NAME', 'ID', 'OBJECT_NAME_ID', 'OBJECT_NAME ID', 'ID');
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'ID', 'OBJECT_TYPE', 'ID', 'OBJECT_TYPE_ID', 'OBJECT_TYPE ID', 'ID');
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'ID', 'OWNER',      'ID', 'OWNER_ID', 'OWNER ID', 'ID');
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'ID', 'TOP', 'ID', 'TOP_ID', 'TOP ID', 'ID');
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'ET key', 'OBJECT_NAME', 'ET key', 'OBJECT_NAME_ET', 'OBJECT_NAME ET key', 'ET key', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Parent ET key', 'OBJECT_NAME', 'Parent ET key', 'OBJECT_NAME PARENT', 'OBJECT_NAME Parent ET key', 'Parent ET key', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Grouping ID', 'OBJECT_NAME', 'Grouping ID', 'OBJECT_NAME GID','OBJECT_NAME GID', 'Grouping ID', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Parent Grouping ID', 'OBJECT_NAME', 'Parent Grouping ID', 'OBJECT_NAME PGID', 'OBJECT_NAME Parent Grouping ID', 'Parent Grouping ID', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Long Description', 'OBJECT_NAME', 'Long Description', 'OBJECT_NAME LongDesc', 'OBJECT_NAME Long Desc', 'Long Description', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Short Description', 'OBJECT_NAME', 'Short Description', 'OBJECT_NAME ShortDesc', 'OBJECT_NAME Short Desc', 'Short Description', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'ET key', 'OBJECT_TYPE', 'ET key', 'OBJECT_TYPE_ET', 'OBJECT_TYPE ET key', 'ET key', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Parent ET key', 'OBJECT_TYPE', 'Parent ET key', 'OBJECT_TYPE PARENT', 'OBJECT_TYPE Parent ET key', 'Parent ET key', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Grouping ID', 'OBJECT_TYPE', 'Grouping ID', 'OBJECT_TYPE GID','OBJECT_TYPE GID', 'Grouping ID', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Parent Grouping ID', 'OBJECT_TYPE', 'Parent Grouping ID', 'OBJECT_TYPE PGID', 'OBJECT_TYPE Parent Grouping ID', 'Parent Grouping ID', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Long Description', 'OBJECT_TYPE', 'Long Description', 'OBJECT_TYPE LongDesc', 'OBJECT_TYPE Long Desc', 'Long Description', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Short Description', 'OBJECT_TYPE', 'Short Description', 'OBJECT_TYPE ShortDesc', 'OBJECT_TYPE Short Desc', 'Short Description', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'ET key', 'OWNER', 'ET key', 'OWNER_ET', 'OWNER ET key', 'ET key', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Parent ET key', 'OWNER', 'Parent ET key', 'OWNER PARENT', 'OWNER Parent ET key', 'Parent ET key', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Grouping ID', 'OWNER', 'Grouping ID', 'OWNER GID','OWNER GID', 'Grouping ID', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Parent Grouping ID', 'OWNER', 'Parent Grouping ID', 'OWNER PGID', 'OWNER Parent Grouping ID', 'Parent Grouping ID', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Long Description', 'OWNER', 'Long Description', 'OWNER LongDesc', 'OWNER Long Desc', 'Long Description', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Short Description', 'OWNER', 'Short Description', 'OWNER ShortDesc', 'OWNER Short Desc', 'Short Description', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'ET key', 'TOP', 'ET key', 'TOP_ET', 'TOP ET key', 'ET key', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Parent ET key', 'TOP', 'Parent ET key', 'TOP PARENT', 'TOP Parent ET key', 'Parent ET key', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Grouping ID', 'TOP', 'Grouping ID', 'TOP GID','TOP GID', 'Grouping ID', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Parent Grouping ID', 'TOP', 'Parent Grouping ID', 'TOP PGID', 'TOP Parent Grouping ID', 'Parent Grouping ID', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Long Description', 'TOP', 'Long Description', 'TOP LongDesc', 'TOP Long Desc', 'Long Description', true);
    cwm2_olap_level_attribute.create_level_attribute(user, 'SOLVED_DIM', 'Short Description', 'TOP', 'Short Description', 'TOP ShortDesc', 'TOP Short Desc', 'Short Description', true);
    cwm2_olap_level.add_level_to_hierarchy(user, 'SOLVED_DIM', 'SOLVED_DIM_HI', 'OBJECT_NAME', 'OBJECT_TYPE');
    cwm2_olap_level.add_level_to_hierarchy(user, 'SOLVED_DIM', 'SOLVED_DIM_HI', 'OBJECT_TYPE', 'OWNER');
    cwm2_olap_level.add_level_to_hierarchy(user, 'SOLVED_DIM', 'SOLVED_DIM_HI', 'OWNER',          'TOP');
    cwm2_olap_level.add_level_to_hierarchy(user, 'SOLVED_DIM', 'SOLVED_DIM_HI', 'TOP');
    -- + Mapping Dimensions +
    cwm2_olap_table_map.map_dimtbl_hierlevel(user, 'SOLVED_DIM', 'SOLVED_DIM_HI', 'OBJECT_NAME', user, 'SOLVED_DIM', 'OBJECT_NAME', 'OBJECT_TYPE');
    cwm2_olap_table_map.map_dimtbl_hierlevel(user, 'SOLVED_DIM', 'SOLVED_DIM_HI', 'OBJECT_TYPE', user, 'SOLVED_DIM', 'OBJECT_TYPE', 'OWNER');
    cwm2_olap_table_map.map_dimtbl_hierlevel(user, 'SOLVED_DIM', 'SOLVED_DIM_HI', 'OWNER',           user, 'SOLVED_DIM', 'OWNER',     'TOP');
    cwm2_olap_table_map.map_dimtbl_hierlevel(user, 'SOLVED_DIM', 'SOLVED_DIM_HI', 'TOP',           user, 'SOLVED_DIM', 'TOP');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'ID', 'SOLVED_DIM_HI', 'OBJECT_NAME', 'ID', user, 'SOLVED_DIM', 'OBJECT_NAME_ID');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'ET key', 'SOLVED_DIM_HI', 'OBJECT_NAME', 'ET key', user, 'SOLVED_DIM', 'ETKEY');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Parent ET key', 'SOLVED_DIM_HI', 'OBJECT_NAME', 'Parent ET key', user, 'SOLVED_DIM', 'PARENT_ETKEY');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Grouping ID', 'SOLVED_DIM_HI', 'OBJECT_NAME', 'Grouping ID', user, 'SOLVED_DIM', 'GID');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Parent Grouping ID', 'SOLVED_DIM_HI', 'OBJECT_NAME', 'Parent Grouping ID', user, 'SOLVED_DIM', 'PARENT_GID');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Long Description', 'SOLVED_DIM_HI', 'OBJECT_NAME', 'Long Description', user, 'SOLVED_DIM', 'LONG_DESCRIPTION');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Short Description', 'SOLVED_DIM_HI', 'OBJECT_NAME', 'Short Description', user, 'SOLVED_DIM', 'SHORT_DESCRIPTION');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'ID', 'SOLVED_DIM_HI', 'OBJECT_TYPE', 'ID', user, 'SOLVED_DIM', 'OBJECT_TYPE_ID');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'ET key', 'SOLVED_DIM_HI', 'OBJECT_TYPE', 'ET key', user, 'SOLVED_DIM', 'ETKEY');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Parent ET key', 'SOLVED_DIM_HI', 'OBJECT_TYPE', 'Parent ET key', user, 'SOLVED_DIM', 'PARENT_ETKEY');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Grouping ID', 'SOLVED_DIM_HI', 'OBJECT_TYPE', 'Grouping ID', user, 'SOLVED_DIM', 'GID');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Parent Grouping ID', 'SOLVED_DIM_HI', 'OBJECT_TYPE', 'Parent Grouping ID', user, 'SOLVED_DIM', 'PARENT_GID');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Long Description', 'SOLVED_DIM_HI', 'OBJECT_TYPE', 'Long Description', user, 'SOLVED_DIM', 'LONG_DESCRIPTION');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Short Description', 'SOLVED_DIM_HI', 'OBJECT_TYPE', 'Short Description', user, 'SOLVED_DIM', 'SHORT_DESCRIPTION');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'ID', 'SOLVED_DIM_HI', 'OWNER', 'ID', user, 'SOLVED_DIM', 'OWNER_ID');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'ET key', 'SOLVED_DIM_HI', 'OWNER', 'ET key', user, 'SOLVED_DIM', 'ETKEY');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Parent ET key', 'SOLVED_DIM_HI', 'OWNER', 'Parent ET key', user, 'SOLVED_DIM', 'PARENT_ETKEY');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Grouping ID', 'SOLVED_DIM_HI', 'OWNER', 'Grouping ID', user, 'SOLVED_DIM', 'GID');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Parent Grouping ID', 'SOLVED_DIM_HI', 'OWNER', 'Parent Grouping ID', user, 'SOLVED_DIM', 'PARENT_GID');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Long Description', 'SOLVED_DIM_HI', 'OWNER', 'Long Description', user, 'SOLVED_DIM', 'LONG_DESCRIPTION');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Short Description', 'SOLVED_DIM_HI', 'OWNER', 'Short Description', user, 'SOLVED_DIM', 'SHORT_DESCRIPTION');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'ID', 'SOLVED_DIM_HI', 'TOP', 'ID', user, 'SOLVED_DIM', 'TOP_ID');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'ET key', 'SOLVED_DIM_HI', 'TOP', 'ET key', user, 'SOLVED_DIM', 'ETKEY');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Parent ET key', 'SOLVED_DIM_HI', 'TOP', 'Parent ET key', user, 'SOLVED_DIM', 'PARENT_ETKEY');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Grouping ID', 'SOLVED_DIM_HI', 'TOP', 'Grouping ID', user, 'SOLVED_DIM', 'GID');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Parent Grouping ID', 'SOLVED_DIM_HI', 'TOP', 'Parent Grouping ID', user, 'SOLVED_DIM', 'PARENT_GID');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Long Description', 'SOLVED_DIM_HI', 'TOP', 'Long Description', user, 'SOLVED_DIM', 'LONG_DESCRIPTION');
    cwm2_olap_table_map.map_dimtbl_hierlevelattr(user, 'SOLVED_DIM', 'Short Description', 'SOLVED_DIM_HI', 'TOP', 'Short Description', user, 'SOLVED_DIM', 'SHORT_DESCRIPTION');
    -- + Validate and Refresh +
    cwm2_olap_validate.validate_dimension(user, 'SOLVED_DIM');
    cwm2_olap_metadata_refresh.mr_refresh;
    END;
    The first dataset works perfectly. But not the second one... There are some intersections at OBJECT_TYPE level.
    TOP->OLAP_USR->DIMENSION->OUD1
    and
    TOP->SH->DIMENSION->OUD2.
    When I'm watching TOP->OLAP_USR->DIMENSION->OUD1, I not only open OUD1, but OUD2 under SH (even skipping OBJECT_TYPE level). It's simple to do it for USOLVED LEVEL-BASED by assigning different Id for the same OBJECT_TYPES from different owners. But it looks like my ids are ignored for Solved hierarchy.
    Does anybody knows how to handle such situation?

  • [SOLVED] Fresh install unable to login via KDM

    Hi,
    This is my first time installing Archlinux but I'm having problems getting past kdm.
    Initially, while doing some testing before initializing kdm to startup on boot, I was able to go into KDE via startx, I added kdm and now it doesn't work.
    KDM does start, and when it goes in, when I enter my login info and login, it pops me back at the login screen.
    Things I've done:
    1) Cleared my home directory
    2) Checked /var/log/kdm.log
    It seems that on every successful login, it appends this chunk into log:
    record: RECORD extension enabled at configure time.
    record: This extension is known to be broken, disabling extension now..
    record: http://bugs.freedesktop.org/showbug.cgi?id=20500
    I don't know how I can proceed now.
    Any help?
    Edit: However, if I kill kdm, and run startx, I get right into KDE.
    Edit: So HAL wasn't added to rc.conf. My bad.
    Last edited by nubity (2009-11-29 09:32:15)

    Okay, some progress: reinstalled dbus and now I'm able to login using kdm and a new user account.
    I'm now trying to figure out what makes the new user different. Assuming it is some config file, I already renamed some directories to exclude them, but no success yet.
    Any ideas what could cause the problrm? Here's a list of my current dot-folders:
    .bash_history
    .bash_profile
    .bashrc
    .bzr.log
    .cache
    .ccache
    .cddb
    .config
    .conkyrc
    .cups
    .dbus
    .directory
    .dmrc
    .eclipse
    .fontconfig
    .fonts.conf
    .fprint
    .gconf
    .gconfd
    .gimp-2.6
    .gitconfig
    .gnome2
    .gnupg
    .googleearth
    .gstreamer-0.10
    .gtk-bookmarks
    .gtk-custom-papers
    .gtkrc-2.0
    .htoprc
    .icedteaplugin
    .icons
    .java
    .jd
    .lesshst
    .local
    .macromedia
    .mednafen
    .mkvtoolnix
    .mozilla
    .mplayer
    .netx
    .nv
    .Osmos
    .pki
    .pulse-cookie
    .purple
    .ramdisks
    .recently-used
    .recently-used.xbel
    .sane
    .shoijfg.swp
    .sqlite_history
    .ssh
    .subversion
    .thumbnails
    .thunderbird
    .TrueCrypt
    .unison
    .vim
    .viminfo
    .vimrc
    .VirtualBox
    .wallpaper
    .WorldOfGoo
    .Xauthority
    .xine
    .xinitrc
    .xsession-errors

  • A long list of complaints that no one at BT will a...

    I was a customer of BT for about 2 years and before that had always had a BT landline in properties I lived within and never found any problems with their service until I came to moving house and then some very serious customer service problems started and my relationship quickly deteriorated. I would gratefully accept any advice or tips on how to resolve my problems of which a brief outline of them are below. At the end of October 2010 I moved house. At that time I cotacted BT to see if they could transfer my previous phone line to my new address. At this point in time the person that I contacted at BT told me that there had never been a bT line at my new address and I would have to pay the full price for a new installation – or if I took out BT’s broadband then the price would be half of the 127.99 original price. Being the best of a bad set of choices I went for the taking BT broadband and installation. We booked the appointment for the engineer to come out on a Tuesday afternoon 6/11/10 however on the Monday an email was received to let us know that the phone line has been fixed and there was no need for an engineer to call out. This we found very odd indeed, as we were told that there was no line ever going into this property. Concerned about this we rang BT to try and find out what was happening and how they possibly managed to install a phone line without gaining access to the property.. The person on the other end of the line insisted that the engineers fixed the line at the exchange, this at the time I disagreed strongly and kept the arrangement in place for the engineer to call out on the Tuesday. Tuesday morning came and another email came through and it stated that the issues had been resolved. This again was followed by a telephone call to argue with the call centre that the line can not have been fixed, they still insisted that it had, and to be honest by now I was starting to doubt myself. I got home and spoke to my partner who had taken the day off to wait for the engineer and we looked for a phone line that we were lead to believe by BT that was never in at this address. After a bit of searching we discovered that there was indeed a BT phone line going into the property however this wire was not connected. By now my patience was starting to wear thin, I’d be lied to consistently, first that I’d need to pay for an expensive installation, that an engineer would call out, that the line had been fixed (twice) and any time I rang I was being told a different story of what was happening or what had happened. I rang to let the engineering people know that the hadn’t been fixed, and they assured me that an engineer will call out and sort my problems on Wednesday. Wednesday came and no sign of an engineer came. As it got close to lunch time there still was no sign of an engineer, I gave BT a ring to see what was happening, the person on the other end of the phone then provided to tell me that the engineers wouldn’t be calling with us today as the system that is used to allocate the work to engineers was not updated properly and they could not call out with us today. That afternoon we contacted BT to speak to the cancellation department, we informed them of the situation and they were very helpful after they transferred us through to a member of staff in an English call centre that understood our complaints and frustration. The member of staff then informed us that we would not be charged for the installation of the phone line or any of the broadband. However a bill had already just gone out to us, but we should ignore this and the correct bill with the installation and cancellation charges taken off and as in lieu of the poor customer service received the cancellation charge from my previous address would also be removed, leaving us with just the calls we made at the previous address. We were told that this would be sent out 14 days after the date of cancellation. The bill arrived full of charges for installations and cancellations so we did as instructed and ignored this. Then a week or 2 later a reminder came which paniced us a bit, so we gave bt a call and again this was just a standard reminder and they are generated automatically so I should just ignore this as well and the new bill was going to posted out in a few days. On the Thursday after we had cancelled every service we had with BT a engineer called at our house just was we were preparing to go to work. As we had we had cancelled BT the day before and none could afford to take another day off to allow them access to the property we informed him that we did not require their services and they left. So we sat waiting for this amended bill for BT to come and a few days ago a bill came, however no amendments were made, in fact there was the entire previous bill with a late charge added in for good measure. Very confused and annoyed we tried to speak to someone form bt however the call centre worker either, couldn’t understand what we were saying, why we were not happy, or the systems bt use to check customer accounts is completely different from one call centre to another. He said that the matter is being transferred to the investigations department but to be honest I’m not a 100% confident that this will be done. I’m really not sure what to do any advice would be most welcome, I don’t really want to be paying 127.99 for an installation that never happened and then another 30.00 cancellation fee for a service I never received in the first place. I’m also not best pleased that they have also added in late fees for a bill that on 2 occasions I was advised to ignore.
    Solved!
    Go to Solution.

    Hi alx845208,
    Welcome to the BTCare Forum.
    Sounds like a right mess, sorry you've had to go through this. If you can email in your forum username and BT account details (this will be in the bills you received) I'll look into this and see what we can do to sort this out.
    Thanks,
    Stephanie
    Stephanie
    BTCare Community Manager
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post. If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Servlet executes only once, the first time???

    Hello evrybody,
    I'll try to be specific regarding the problem. I have an HTML file called Login.html. When I click on this file, a page opens allowing the user to enter his/her username and password. So, I compiled my servlet and I clicked on the Login.html file. I entered some existing username/password combination and the new page opened saying "Login Succesful!". I then close that page and go and click on Login.html again. This time I enter some username/password combination that is not existing in database and according to my servlet a new page is supposed to be opened with a message saying "The username and password you provided are not valid. Please register first!". But, what happenes is that a blank new page is opened with no message (also same thing would happen even if I provided the valid username/password combination). What could cause this? I tried to put rs.close() in the code (rs is reference to a ResultSet object) but it does not make any difference. Can anyone give me a clue about what might be causing this strange behavior? Thanks in advance,Jimmy.
    The code for my servlet is provided below:
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.sql.*;
    import java.io.PrintWriter;
    public class LoginServlet extends HttpServlet {
         String jdbcDriver="sun.jdbc.odbc.JdbcOdbcDriver";
         String dbURL="jdbc:odbc:Schedule";
         Connection dbConn=null;
         public void init() throws ServletException {
              try {
                   Class.forName(jdbcDriver).newInstance();
                   dbConn=DriverManager.getConnection(dbURL);
              catch (ClassNotFoundException e) {
                   throw new UnavailableException("JDBC driver not found:"+jdbcDriver);
              catch (SQLException e) {
                   throw new UnavailableException("Unavailable to connect to: "+dbURL);
              catch (Exception e) {
                   throw new UnavailableException("Error: "+e);
         public void doPost(HttpServletRequest request,
                             HttpServletResponse response) throws IOException {
              try {
                        PrintWriter out=response.getWriter();
                        Statement stmt=dbConn.createStatement();
                        String username=request.getParameter("username");
                        String password=request.getParameter("password");
                        String sql="select UserName,Password from Personal_Info where Personal_Info.Username='"+username+"' AND Personal_Info.Password='"+password+"'";
                        ResultSet rs=stmt.executeQuery(sql);
                        if (rs.next()) {
                             out.println("<HTML><HEAD>");
                             out.println("<TITLE>Meeting Scheduling Page</TITLE>");
                             out.println("</HEAD>");
                             out.println("<BODY>");
                             out.println("<H2>Login Succesfull!</H2>");
                             out.println("</BODY></HTML>");
                             out.close();
                             rs.close();
                        else {
                             out.println("<HTML><HEAD>");
                             out.println("<TITLE>Please Register First</TITLE>");
                             out.println("</HEAD>");
                             out.println("<BODY>");
                             out.println("<H2>The username and password that you provided are not valid!</H2>");
                             out.println("<H2>Please enter the valid username and password or register first.</H2>");
                             out.println("</BODY></HTML>");
                             out.close();
                             rs.close();
              catch(Exception e)     {
                        e.printStackTrace();
              finally {
                        try {
                             if (dbConn !=null) {
                             dbConn.close();
                        catch (SQLException ignored) {

    I solved the problem by using destroy() method instead of finally block. Thanks,anyway,Jimmy.

  • Variable message length without field separator to file receiver adapter

    Hi,
    I have a XML document as below
    <MT_O_FF>
    <ROW>
         <HEADER>        </HEADER>
         <QMGR>                       </QMGR>
        <MESSAGE> TEST MESSAGE </MESSAGE>
    </ROW>
    </MT_O_FF>
    I know the field lengths of <HEADER> and QMGR but MESSAGE has variable length data. We don't want field separator between HEADER, QMGR and MESSAGE. The file should be created as below (text file)
                                          TEST MESSAGE
    The above blanks in front of TEST MESSAGE data needs to be there in the file. The problem I am facing is as <MESSAGE> is variable length and the file should not have field separator, is there any way we can create text file using file adapter?
    If I use xml.fieldFixedLengths as below, as long as data in MESSAGE is less then 40000 then the file is created with data. If the length is more then 40000 then the file is getting created but the data in MESSAGE is getting truncated. The maximum length adapter allows me to use 40000.
    xml.fieldFixedLengths=10,20,40000
    xml.fieldNames=HEADER,QMGR,MESSAGE
    xml.fieldTooShortHandling=ignore
    Thanks in advance for your help.

    HI,
    the parameter fieldTooShortHandling = ignore should solve your purpose.
    Ignore means that the system applies the value completely, regardless of it being too long. Subsequent columns are moved correspondingly.
    Thanks
    Swarup

  • Recurent error with amserver.war on Sun AS 9.1

    I found 2 main problems installing with amconfig script :
    This first one i'm going to post if anyone else runs against this problem
    1. java.lang.UnsatisfiedLinkError: no jss4 in java.library.path
    (Stack trace ignored )
    i solved this error adding the jss4.jar and libjss4.so to the java.library.path variable ( JVM Configuration on Sun AS 9 )
    The second one however seems to require a bit more work :
    [#|2007-12-19T15:41:07.056+0200|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;_RequestID=53bc39bc-e0e3-40d4-aa2c-64006e6bfe16;|WebModule[/amserver]StandardWrapper.Throwable
    java.lang.StackOverflowError
    at sun.nio.cs.UTF_8$Encoder.encodeArrayLoop(UTF_8.java:446)
    at sun.nio.cs.UTF_8$Encoder.encodeLoop(UTF_8.java:517)
    at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:544)
    at sun.nio.cs.StreamEncoder.implWrite(StreamEncoder.java:252)
    at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:106)
    at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:116)
    at java.io.OutputStreamWriter.write(OutputStreamWriter.java:203)
    at java.io.Writer.write(Writer.java:140)
    at java.io.PrintWriter.newLine(PrintWriter.java:436)
    at java.io.PrintWriter.println(PrintWriter.java:585)
    at java.io.PrintWriter.println(PrintWriter.java:696)
    at com.sun.identity.util.impl.DebugImpl.writeIt(DebugImpl.java:240)
    at com.sun.identity.util.impl.DebugImpl.writeIt(DebugImpl.java:220)
    at com.sun.identity.util.impl.DebugImpl.record(DebugImpl.java:208)
    at com.sun.identity.util.impl.DebugImpl.message(DebugImpl.java:189)
    at com.iplanet.am.util.Debug.message(Debug.java:394)
    at com.iplanet.services.naming.WebtopNaming.updateSiteIdMappings(WebtopNaming.java:790)
    at com.iplanet.services.naming.WebtopNaming.updateNamingTable(WebtopNaming.java:703)
    at com.iplanet.services.naming.WebtopNaming.getNamingProfile(WebtopNaming.java:603)
    at com.iplanet.services.naming.WebtopNaming.getServerID(WebtopNaming.java:405)
    at com.iplanet.services.naming.WebtopNaming.getServerID(WebtopNaming.java:381)
    at com.iplanet.services.naming.WebtopNaming.updateNamingTable(WebtopNaming.java:724)
    at com.iplanet.services.naming.WebtopNaming.getNamingProfile(WebtopNaming.java:603)
    at com.iplanet.services.naming.WebtopNaming.getServerID(WebtopNaming.java:405)
    at com.iplanet.services.naming.WebtopNaming.getServerID(WebtopNaming.java:381)
    at com.iplanet.services.naming.WebtopNaming.updateNamingTable(WebtopNaming.java:724)
    at com.iplanet.services.naming.WebtopNaming.getNamingProfile(WebtopNaming.java:603)
    at com.iplanet.services.naming.WebtopNaming.getServerID(WebtopNaming.java:405)
    at com.iplanet.services.naming.WebtopNaming.getServerID(WebtopNaming.java:381)
    (about 200 more lines like those )
    end
    If anyone has any sugestions of what config files should i post , please ask .
    Thank you .

    seems you runned the conf script many times and the script added the site id lots of times in the service. You can avoid this issue by editing the entry in LDAP, under the service.

  • Interface dll function with struct in LabVIEW

    Hello,
    I have a function:
    HPDF_SetInfoDateAttr  (HPDF_Doc pdf, HPDF_InfoType type, HPDF_Date value) 
    The problem is in the last input, HPDF_Date value. HPDF_Date is a struct which looks as followed:
    typedef  struct  _HPDF_Date {
        HPDF_INT    year;
        HPDF_INT    month;
        HPDF_INT    day;
        HPDF_INT    hour;
        HPDF_INT    minutes;
        HPDF_INT    seconds;
        char        ind;
        HPDF_INT    off_hour;
        HPDF_INT    off_minutes;
    } HPDF_Date;
    Now I created the following cluster in LabVIEW:
    In the Call Library VI I set the type to "Adapt to type" and tried the dataformats. However none of them worked. Can any one explain to me why the cluster is not accepted by the function? I know the error is there because the error function of the dll says that I input an invalid datetime format.
    The datetime format may look like this:
    Member
    Effective values
    year
    month
    Between 1 and 12.
    day
    Between 1 and 28, 29, 30, or 31. (Depends on the month.)
    hour
    0 to 23
    minutes
    0 to 59
    seconds
    0 to 59
    ind
    Relationship of local time to Universal Time (" ", +, −, or Z).
    off_hour
    If "ind" is not space, 0 to 23 is valid. Otherwise, ignored.
    off_minutes
    If "ind" is not space, 0 to 59 is valid. Otherwise, ignored.
    Solved!
    Go to Solution.

    Actually LabVIEW can. A struct passed by value is simply pushed element for element onto the stack. So instead of defining a structure to pass as a single parameter to the CLN, you configure the CLN to take one parameter per structure element (and use the right datatype of course).
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

Maybe you are looking for