Graphic problems/errors with Mainstage 3 and MBP (15'' 2011)

Hi,
I bought Mainstage 3 for my MBP (15'' 2011).
When i click con "perform" i get graphic errors.
I have the same issue with the old Mainstage version since Mountain Lion.
Also a fresh installation didn't help.
I think i'm not the only one with this issue!
I don't know how to report a bug?
Perhaps someone can help me.
(and  I'm probably not the only one (see feedback in Apple Store) If you also have this problem, please add a comment with your configuration (Hardware, Software))
/forgotten ebi
So, here an example how it looks like when i click on "perform":

Same configuration,same problem. BUT I found a workaround.
Mainstage has this error with the AMD video card and/or a second monitor connected.
With a little app (http://gfx.io)  it's possible to really force the MBPro to use the Intel Graphics card.
This will work only with the internal screen, not with a second screen connected.
And sometimes you need to restart, to really make the Intel video card free.
This works fine...In the meantime of a fix.

Similar Messages

  • Aborting index build. Too many errors with finding and copying files ...

    Hi dears,
    I'm using UCM 11g.
    I'm trying to start the automatic update cycle. When i start it, it gives me an error message just like :
    Indexing aborted at :<time>. Aborting index build. Too many errors with finding and copying files to the appropriate place.+
    Can anybody help me about this problem?
    Helps will be appreciated.
    Erdo
    Edited by: erdo on 28.Mar.2013 11:11

    Read this: error in Collection Rebuild Cycle
    and maybe also UCM Indexer - Collection Rebuild Cycle errorring out

  • Constant & erratic "Page Load Error" with Safari and Firefox

    A week or two ago, I started getting constant "Page Load Errors" ('this page cannot be found', etc) when browsing with either Safari or Firefox. These are not dead sites that time out, but are very live (and cannot be summoned no matter how many times refresh)!
    Something is wrong on my computer's end: I have strong wireless, have tried connecting with ethernet, and have used a different network. All of these produce the same result, where about half of the sites I try to connect to are instantly declared as dead by any browser I use.
    I am not using any firewall, and have emptied both browser's caches.
    Any ideas would be greatly appreciated.
    Thanks!
    Cliff

    I'm having the same problem. It only happens at home over my DSL connection. Here is what I have tried and the results.
    This really started bothering me since I upgraded to a recent Macbook Pro. I tried my original MBP with Leopard and found it doing the same thing. I ended up testing from my G4 and it works fine. The problem occurs over wireless and wired. I tried changing my MTU size with no change. I thought it was DNS but changed to other DNS and it didn't make a difference. Happens in Safari and Firefox. I am thinking it has an effect on iTune store also. The problem goes away when I VPN in to work, comes back when I close the VPN.
    Just tonight I installed an clean 10.5 Leopard on my original MBP. Safari works perfectly. Instead of updating to 10.5.6, I download the 10.5.5 update. After updating the problem reappeared.
    Again, my G4 with latest Tiger update work fine and both Macbook Pros with the latest Leopard have a problem over my DLS connection. They work perfectly fine at work and other locations.
    Ted

  • [SOLVED] errors with fdisk and cryptsetup; is my drive going bad?

    I'm having issues with re-formatting an external hard drive using dm-crypt. It was previously formatted with TrueCrypt/NTFS, which I used as a shared backup drive between Windows and Arch. At some point, it stopped being able to mount, which I attributed to allowing Windows to "fix" it after improper dismount (e.g. a hard kill).
    I decided to re-format with ext4 and only use it from Arch, but now I'm wondering if I may have a hardware issue with the drive. I've tried a lot more (like going through the full zero write after mounting the drive as a temporary dm-crypt device), but here's the condensed version to illustrate the problem.
    system info
    This is on a fresh boot. Just adding that as I've had issues with kernel modules after updating if a new kernel comes through. A fresh boot removes that potential issue.
    $ uname -a
    Linux arch_840 4.0.3-1-ARCH #1 SMP PREEMPT Wed May 13 15:38:47 CEST 2015 x86_64 GNU/Linux
    $ lsmod | grep dm_
    dm_crypt 28672 2
    dm_mod 98304 5 dm_crypt
    $ lsmod |grep xts
    xts 16384 2 serpent_sse2_x86_64,twofish_x86_64_3way
    gf128mul 16384 2 lrw,xts
    smartctl status
    Figured I should check the drive. There's a lot of old age and pre-fail warnings, but this post would seem to suggest I'm okay?
    # smartctl -A /dev/sdb
    smartctl 6.3 2014-07-26 r3976 [x86_64-linux-4.0.3-1-ARCH] (local build)
    Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
    === START OF READ SMART DATA SECTION ===
    SMART Attributes Data Structure revision number: 16
    Vendor Specific SMART Attributes with Thresholds:
    ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
    1 Raw_Read_Error_Rate 0x002f 100 100 051 Pre-fail Always - 0
    2 Throughput_Performance 0x0026 252 252 000 Old_age Always - 0
    3 Spin_Up_Time 0x0023 090 089 025 Pre-fail Always - 3330
    4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 703
    5 Reallocated_Sector_Ct 0x0033 252 252 010 Pre-fail Always - 0
    7 Seek_Error_Rate 0x002e 252 252 051 Old_age Always - 0
    8 Seek_Time_Performance 0x0024 252 252 015 Old_age Offline - 0
    9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 3707
    10 Spin_Retry_Count 0x0032 252 252 051 Old_age Always - 0
    11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always - 104
    12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 734
    191 G-Sense_Error_Rate 0x0022 100 100 000 Old_age Always - 17
    192 Power-Off_Retract_Count 0x0022 252 252 000 Old_age Always - 0
    194 Temperature_Celsius 0x0002 064 053 000 Old_age Always - 24 (Min/Max 16/47)
    195 Hardware_ECC_Recovered 0x003a 100 100 000 Old_age Always - 0
    196 Reallocated_Event_Count 0x0032 252 252 000 Old_age Always - 0
    197 Current_Pending_Sector 0x0032 252 252 000 Old_age Always - 0
    198 Offline_Uncorrectable 0x0030 252 252 000 Old_age Offline - 0
    199 UDMA_CRC_Error_Count 0x0036 200 200 000 Old_age Always - 0
    200 Multi_Zone_Error_Rate 0x002a 100 100 000 Old_age Always - 3
    223 Load_Retry_Count 0x0032 100 100 000 Old_age Always - 104
    225 Load_Cycle_Count 0x0032 079 079 000 Old_age Always - 214068
    Disk info, delete existing partition, new MBR, create new partition
    # fdisk /dev/sdb
    Welcome to fdisk (util-linux 2.26.1).
    Changes will remain in memory only, until you decide to write them.
    Be careful before using the write command.
    Command (m for help): p
    Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x76d37b6d
    Device Boot Start End Sectors Size Id Type
    /dev/sdb1 63 976768064 976768002 465.8G 83 Linux
    Command (m for help): d
    Selected partition 1
    Partition 1 has been deleted.
    Command (m for help): o
    Created a new DOS disklabel with disk identifier 0x2cd60f13.
    Command (m for help): n
    Partition type
    p primary (0 primary, 0 extended, 4 free)
    e extended (container for logical partitions)
    Select (default p): p
    Partition number (1-4, default 1):
    First sector (2048-976773167, default 2048):
    Last sector, +sectors or +size{K,M,G,T,P} (2048-976773167, default 976773167):
    Created a new partition 1 of type 'Linux' and of size 465.8 GiB.
    Command (m for help): w
    The partition table has been altered.
    Calling ioctl() to re-read partition table.
    Syncing disks.
    trying to format with cryptsetup
    I had a bunch of custom options, but other Arch posts suggested just trying the default, which is what I've done here. It fails with the same error as when I try to pass a cipher, key size, etc. ("Command failed with code 5: IO error while encrypting keyslot.").
    # truecrypt -v --debug luksFormat /dev/sdb1
    bash: truecrypt: command not found
    [[email protected]_840 jwhendy]# cryptsetup -v --debug luksFormat /dev/sdb1
    # cryptsetup 1.6.6 processing "cryptsetup -v --debug luksFormat /dev/sdb1"
    # Running command luksFormat.
    # Locking memory.
    # Installing SIGINT/SIGTERM handler.
    # Unblocking interruption on signal.
    WARNING!
    ========
    This will overwrite data on /dev/sdb1 irrevocably.
    Are you sure? (Type uppercase yes): YES
    # Allocating crypt device /dev/sdb1 context.
    # Trying to open and read device /dev/sdb1.
    # Initialising device-mapper backend library.
    # Timeout set to 0 miliseconds.
    # Iteration time set to 1000 miliseconds.
    # Interactive passphrase entry requested.
    Enter passphrase:
    Verify passphrase:
    # Formatting device /dev/sdb1 as type LUKS1.
    # Crypto backend (gcrypt 1.6.3) initialized.
    # Detected kernel Linux 4.0.3-1-ARCH x86_64.
    # Topology: IO (512/0), offset = 0; Required alignment is 1048576 bytes.
    # Checking if cipher aes-xts-plain64 is usable.
    # Using userspace crypto wrapper to access keyslot area.
    # Generating LUKS header version 1 using hash sha1, aes, xts-plain64, MK 32 bytes
    # KDF pbkdf2, hash sha1: 996745 iterations per second.
    # Data offset 4096, UUID 181fed4d-42f2-4f0f-8b70-cb7ba459e25f, digest iterations 121625
    # Updating LUKS header of size 1024 on device /dev/sdb1
    # Key length 32, device size 976771120 sectors, header size 2050 sectors.
    # Reading LUKS header of size 1024 from device /dev/sdb1
    # Key length 32, device size 976771120 sectors, header size 2050 sectors.
    # Adding new keyslot -1 using volume key.
    # Calculating data for key slot 0
    # KDF pbkdf2, hash sha1: 1008246 iterations per second.
    # Key slot 0 use 492307 password iterations.
    # Using hash sha1 for AF in key slot 0, 4000 stripes
    # Updating key slot 0 [0x1000] area.
    # Using userspace crypto wrapper to access keyslot area.
    IO error while encrypting keyslot.
    # Releasing crypt device /dev/sdb1 context.
    # Releasing device-mapper backend.
    # Unlocking memory.
    Command failed with code 5: IO error while encrypting keyslot.
    Things also tend to hang with respect to the drive at this point. For example, fdisk -l spits out /dev/sda partitions immediately and then just hangs instead of printing out /dev/sdb info, then eventually quits (without ever writing it).
    Any suggestions on where to look/how to troubleshoot? I found some possibly related posts, but nothing that looks promising:
    - Impossible to crypt the drive using cryptsetup (fixed by rebooting)
    - cryptsetup fails to open Udev cookie 0xd4d94f5 (semid 0) waiting for z (no responses; the hang after seems similar)
    There's a couple odds and ends references to cryptsetup 1.6.6 having issues. I downloaded 1.6.4-1 and 1.6.5-1 and -2 from ARM to try, but wanted to post this in the meantime in case something stuck out.
    Last edited by jwhendy (2015-05-29 16:01:40)

    @qinohe I thought of that and the other day started formatting with mkfs.ext4; unfortunately, it was at work and I had to leave before I could let it finish. It had been chugging along a good few hours, and I was surprised it would take that long. I was able to format it with ext4 using Windows 7 (I dual boot) with the MiniTool Partition Wizard but I didn't use it like that before trying to solve the cryptsetup issue again.
    This last time around, I was getting unresponsive behavior. I think I need to reboot each time I try something with cryptsetup, as any commands related to that drive seem to hang afterwards (fdisk, umount, eject, mkfs, or trying crypsetup again). Perhaps I'll just let it cook overnight with mkfs and see if I can at least have an unencrypted, but functional drive.
    One interesting tidbit is that even though cryptsetup fails, when I've tried to issue mkfs afterward, it asks me to confirm that I want to format the disk since it has a LUKS header... so something appears to have been written. Is it possible the header is causing some issues? I don't know much about the structure of a disk (like what range the MBR resides in, what constitutes a header, etc.) but have been wondering if there's some way to start really, really clean with the disk. Like I'd just bought it -- something appears to be lingering around from previous efforts?
    @frostschutz I'll check tomorrow. That's a good question. Just checked journalctl and here are some of the errors that appear; unfortunately, I wasn't watching so I can't tell you what matches up with what command:
    May 23 09:32:22 arch_840 systemd-udevd[7784]: inotify_add_watch(7, /dev/sdb1, 10) failed: No such file or directory
    May 23 09:32:22 arch_840 kernel: usb 3-4: stat urb: status -108
    ### there's lots like this; like 10 in a row with various sector values listed
    May 23 09:32:19 arch_840 kernel: Buffer I/O error on dev sdb1, logical block 61341696, lost async page write
    May 23 09:32:19 arch_840 kernel: blk_update_request: I/O error, dev sdb, sector 490735616
    ### there's also a bunch like this, from tab #0 -> #29 (not colored red, so not sure they're errors?)
    May 23 09:32:19 arch_840 kernel: sd 2:0:0:0: [sdb] tag#0 CDB: opcode=0x2a 2a 00 1d 07 bc 10 00 04 00 00
    May 23 09:32:18 arch_840 kernel: sd 2:0:0:0: [sdb] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD OUT
    I paged down quite a ways and those seem like the unique messages when I search the journal for "sdb". Anything stand out? I will say that the same sector numbers appeared in multiple blocks of the third error type listed, so that makes me wonder if something is genuinely wrong with the disk. I'll post the output of the full smartctl scan when I hopefully run it tomorrow.
    Thanks for chiming in!

  • Windows 7 graphics card errors with games - how do I get/update drivers??

    Just recently installed windows 7 with bootcamp and having some issues with games and screen savers. Most of the screen savers that come with 7 say I need a video card compatible with Direct3D. Secondly, 2 games that I want to play (minecraft and terraria) both give me graphics card errors. Minecraft works fine on the OS X side but says I should update my graphics card drivers. Terraria says the graphics card does not support Direct3D. How/where do I get these drivers or how/where do I update them? The graphics card I have is NVIDIA GeForce 9400M, running on a MacBook Pro 13" Mid 2009 model.

    And you tried the Nvidia drivers, no.
    Windows 64-bit:
    http://www.nvidia.com/object/notebook-win7-winvista-64bit-275.27-beta-driver.htm l

  • Memory Errors with NX4 and Adobe 3D

    After installing the Adobe 3d trial version,I've had nothing but problems with NX4.Out of memory errors when there is plenty available.REinstalled NX4,same problems.Uninstalled adobe 3D,and the problem went away.We would like to purchase this,but not until this particular problem is solved.
    Win Xp SP2
    2 GB Ram
    Dell Precision 370
    Pentium 4
    NX 4.0.0.25

    are you working on big 3d models in nx4 ?(to check that, please do a right click on the windows task bar and open the task manager and check the memory used by nx4 with your 3d models loaded)- did the problem also occured with small models ?
    if you memory footprint approaches the 2gb barrier, then 3d capture might be the cause ot your memory problems, to get rid of it, just open acrobat3d and go in the menu edit/preferences/3d capture and delete nx4 from your list of capturable applications.

  • [Partially Solved] Error with bsdtar and symbolic links

    I'm trying to install a package (asymptote) from AUR but am running into an odd error.  During the extract phase I get errors like
    asymptote-1.70/base/asy-keywords.el: Can't update time for asymptote-1.70/base/asy-keywords.el: Function not implemented
    bsdtar: Error exit delayed from previous errors.
    I found a post that may help: http://bbs.archlinux.org/viewtopic.php?id=50750.  Do I really have to do this?
    By the way, I too am running on a Linode (Xen virtualization).
    Thanks,
    Luis
    Last edited by banbh (2009-05-24 00:22:13)

    I have not got to the bottom of my problems with bsdtar and symlinks.  I suspect it must have something to do with either my configuration (derived from the Arch image provided by Linode) or running under virtualisation.
    However, others might find my work-around useful, so I document it below.
    I downloaded asymptote from AUR using wget ("wget http://aur.archlinux.org/packages/asymptote/asymptote.tar.gz"), unpacked it, then patched the PKGBUILD
    $ diff -u PKGBUILD.orig PKGBUILD
    --- PKGBUILD.orig 2009-05-23 17:58:47.000000000 -0400
    +++ PKGBUILD 2009-05-23 18:00:49.000000000 -0400
    @@ -11,9 +11,12 @@
    'used if present at compile time: freeglut, gsl, fftw')
    source=(http://downloads.sourceforge.net/sourceforge/asymptote/$pkgname-$pkgver.src.tgz)
    md5sums=('1ded335bc63b662a6eb920a4c065706c')
    +noextract=($pkgname-$pkgver.src.tgz)
    build() {
    - cd $srcdir/$pkgname-$pkgver
    + cd $srcdir
    + tar xzf $pkgname-$pkgver.src.tgz
    + cd $pkgname-$pkgver
    ./configure --enable-gc=/usr --prefix=/usr \
    --with-latex=/usr/share/texmf/tex/latex || return 1
    make asy || return 1
    After that I simply did a "makepkg" followed by "sudo pacman -U asymptote-1.73-1-i686.pkg.tar.gz"

  • HDCP error with Hulu and Netflix

    I've had a Apple TV 2 for a few years now and it has worked great.. Two days ago it stopped playing Hulu and Netflix and Vimeo.. All worked fine up until then.. It continues to give me a HDCP error when I try to use them.. It will try to load the program then after 4secs I get the error..  I have changed nothing on my set up.. I have reset and restored, unplugged the HDMI cable and power cable as well.. No luck.. The only thing it will play is content I purchase or have purchased from Apple.. Is anyone else having this issues.. Any help would be appreciated!!

    I would try testing with another tv to verify the problem is with the tv and not with the atv

  • CS2 Scanning Problem - error with acquisition module interface

    Hi there,
    I have an Epson Perfection 4180 scanner which has worked for years. I moved, plug everything back in, the scanner works one time, and from then on, I get this error: "Could not complete the Import command because of an error with acquisition module interface."
    I've searched around, and seen others with this problem, but, no real solution. From what I've read, it's a Photoshop issue. I've downloaded the TWAIN drivers and re-installed the scanner, and deleted Photoshop's preferences file. The scanner does work through the Windows Scanner Wizard. I've turned off the Windows Image Acquisition thing in the control panel, and then turned it back on.
    ARGH, I am really pulling my hair out. Please help!
    Thanks so much!

    I'd try to avoid the hassle of messing with the PS installation if possible.
    One other thing I have seen is to temporarily disable the Twain plug-in, with a ~ in front of the name, in
    C:\Program Files\Adobe\Adobe Photoshop CS3\Plug-Ins\Import-Export

  • HDCP Error with atv2 and Philips TV

    I have a atv2 and a Philips TV, everything is working fine, but not iTunes. I bougt 2 films on iTunes (rented) and after a few seconds (1-5 seconds) the films stops and after a while it´s displayed, that my connection does not support hdcp. But that can´t be, becaus I use a blu-ray player on that TV too. I tried with different hdmi cables, I even bought a very expensive and short one, but always the same error. I tried different hdmi inputs, even downloaded a new firmware on the Philps TV, restarted the atv but nothing worked. Now I payed for 2 films for I´m not able to see. Does any one can help me????

    I would try testing with another tv to verify the problem is with the tv and not with the atv

  • Audio error with garageband and external usb audio interface

    I am using Garageband 2.0.3. under ios 8.0.2 on my iPad 3 and via camera adapter a USB audio interface Focusrite Scarlett 2i4 or a Presonus iTwo.
    When I start Garageband, it works well, the audio interfaces are recognized and I can record a track.
    As soon as I switch from instrumtent to track view, the audio path is completely disturbed and all I can hear is some noise from the speaker.
    Then I have to unplug the usb cable and plug it in again. Then audio works until I switch back to the instrument menu.
    When I use the headphone output only there is no problem with Garageband and everything works fine.
    Other applications audio applications don't show any error with each of the two audio interfaces.
    Any feedback is very much appreciated, thanks.
    Harald

    I have this exact issue.  However, I tried the Loopy app after after GB crashed and received an error message saying that core audio is not available.  Rebooting resolves but the problem repeats.  Any suggestions as to fixes?  Btw; I have no such problem with Ipad 2 and ios 7.

  • Non NVidia graphics card issues with Adobe and Mountain Lion

    It took me a while to figure it out, but now I am certain. If using a Mac with a non nvidia graphics card there will be issues in Mountain Lion while using Adobe products. I tested this with Illustrator CS6 for over a year on 5 different Mac computers.
    Here is what happens
    As soon as I open Illustrator on a Mac without a NVidia graphics card and I attend to apply an shadow effect, Illustrator crashes. If I do this procedure on a Mac with a NVidia inside, all works well.
    I tested this on the following Macs
    MacBook Pro (Early 2009) with NVidia 9600M GT - it works
    MacBook Pro (Early 2011) with Radeon 6750M - doesn't work
    Mac Pro (Early 2009) with Radeo HD 5770 - doesn't work
    The same Mac Pro (Early 2009) with NVidia GT120 - it works
    MacBook Air (Mid 2012) with Intel HD 4000 - doesn't work
    iMac (Late 2012) with NVidia 680MX - it works
    Since I owned all these Macs, I could test it several times with different kind of software updates. 10.8, 10.8.1, 10.8.2 and 10.8.3 did deliver the same result. Everytime the same result.
    Already got in touch with Adobe
    With Illustrator CS5 it worked like a charme, so I assumed it could be an Adobe issue. But Adobe support told me, it's Apple's fault since 10.8 uses different processes for the graphics performance.
    What can be done, to resolve this issue? I cannot buy only Macs with NVidia inside, since the small portable front of Macs is only coming with Intel graphics cards. And is there anybody out there, having this issue? I cannot be the only one, using shadows in Illustrator.

    With Illustrator CS5 it worked like a charme, so I assumed it could be an Adobe issue. But Adobe support told me, it's Apple's fault since 10.8 uses different processes for the graphics performance.
    A typical response.  IMO it's most likely a combination of Adobe's reluctance to fix the issue combined with Apple's desire for advancement and change.  I've personally experienced several things that've become broken owing to Apple changing fundamental aspects of the OS, and the developers of the third-party software in question have either never fixed their software, or are taking their sweet time.  WireTap Studio and Snapz Pro from Ambrosia are a case in point, though they eventually fixed Snapz Pro.  Eventually…
    Frankly, good luck getting either side to do anything about this.  Your best bet is probably getting in touch with AppleCare and seeing if you can get this escalated to Engineering, but I wouldn't hold your breath for a fix from either party.  Or perhaps one of the Apple mailing lists will prove useful.

  • I have problem with 4s and my car 2011 passant cc always drob after I connect phone to car . What Can I do to solve this problem ?

    I have the same problem with my car passat cc 2011 and my phone 4s that drob connection and  calls after time so what can I do to solve this problem ?

    It's a really bad idea to post your email address - it's an invitation to spam - and I've asked the Hosts to remove it.
    If a second-hand iOS device has been 'Activation locked' then only the previous owner - effectively the shop in this case - can unlock it, either by providing you with the account ID and password, or by removing it from his list of devices (as he should have done before selling it) - please see http://support.apple.com/kb/ts4515
    If you are unable to contact them to do this then I'm afraid you will not be able to use the device - there is no other way of unlocking it at all. Apple cannot unlock it for you.

  • Problem/Error with 'Document' demo!

    the "document" demo does not seem to work correct (in my case: Oracle 8.1.6, xsql servlet version 1.0.0.0 (Production) and MSIE 5.5).
    The demo lets you insert a XML-document in a table and retrieve it afterwards.
    The retreiving part does not work. The frame at the right remains empty, unless I remove the line:
    <?xml-stylesheet type="text/xsl" href="clob.xsl"?>
    from doc.xsql. Then I see the XML document as a tree structure in IE.
    What is wrong with the demo, or my setup?
    Thanks.
    P.s. I am only interested in the working of the omit-xml-declaration="yes" parameter, like in the clob.xsl stylesheet, because I have a problem with my own application.
    I need to display data obtained from the following query:
    xsql:query tag-case="upper">
    <![CDATA[
    select v.vak_code -- code (VCHAR2)
    , v.vak_naam -- name (VCHAR2)
    , v.omschrijving -- description (CLOB)
    from xpa_vakoverzichten v
    where v.von_id = '{@VONID}'
    ]]>
    </xsql:query>
    The column description contains an XML document with header and doctype which I would like to get rid of (I need them because i use Xmetal to edit the content of the column description so i can enforce rules).

    XSQL 1.0.1.0 (now available on OTN) fixed a bug related to the document demo, so it likely would fix the problem you're seeing. The omit-xml-declaration will only be done if you leave the <?xml-stylesheet?> reference in there.

  • Error with calculations and printing output

    Been a few months since I did any kind of java programming and cannot seem to figure out what is wrong with my program. It gives me an error with rentalCost when it goes to printout the value, does not seem calculate the values, and does not print any of the things I call for at the end. Maybe I need a seperate class or the if/else statements are wrong. The point of the program is for fun, but is to calculate the cost for a cabin based on certain coniditions the user inputs. Any help would be much appreciated. NOTE: There are no comments yet due to I put them in after I finish the program.
    import java.util.Scanner;
    public class Test
         public static void main (String [] args)
              String season, cabinGrade;
              double rentalCost, days, finalCost;
              Scanner input = new Scanner(System.in);
              System.out.print("What season will you be staying during? ");
              season = input.nextLine();
              System.out.print("What kind of cabin? ");
              cabinGrade = input.nextLine();
              System.out.print("How many days are you staying? ");
              days = input.nextDouble();
              input.close();
              if (season == "pre-season" && cabinGrade == "regular" && (days < 7))
                   rentalCost = ((days * 55) * .9) * 1.0925;
              else if(season == "pre-season" && cabinGrade == "regular" && (days >= 7))
                   { days = days - 7;
                     rentalCost = ((300 + (days * 55)) * .9) * 1.0925;
              else if(season == "out-of-season" && cabinGrade == "regular" && (days < 7))
                   rentalCost = ((days * 55) * .75) * 1.0925;
              else if(season == "out-of-season" && cabinGrade == "regular" && (days >= 7))
                   { days = days - 7;
                     rentalCost = ((300 + (days * 55)) * .75) * 1.0925;
              else if(season == "pre-season" && cabinGrade == "luxury" && (days < 7))
                   rentalCost = ((days * 100) * .85) * 1.0925;
              else if(season == "pre-season" && cabinGrade == "luxury" && (days >= 7))
                   { days = days -7;
                     rentalCost = ((600 + (days * 100)) * .85) * 1.0925;
              else if(season == "out-of-season" && cabinGrade == "luxury" && (days < 7))
                        rentalCost = ((days * 100) * .75) * 1.0925;
              else if(season == "out-of-season" && cabinGrade == "luxury" && (days >= 7))
                   { days = days -7;
                     rentalCost = ((600 + (days * 100)) * .75) * 1.0925;
              else if(season == "prime" && cabinGrade == "regular" && (days < 7))
                   rentalCost = (days * 55) * 1.0925;
              else if(season == "prime" && cabinGrade == "regular" && (days >= 7))
                   { days = days - 7;
                     rentalCost = (300 + (days * 55)) * 1.0925;
              else if(season == "prime" && cabinGrade == "luxury" && (days < 7))
                   rentalCost = (days * 100) * 1.0925;
              else if(season == "prime" && cabinGrade == "luxury" && (days >= 7))
                   { days = days - 7;
                     rentalCost = (600 + (days * 100)) * 1.0925;
              System.out.println("Season : " + season);
              System.out.println("Cabin grade: " + cabinGrade);
              System.out.println("No. of days: " + days);
              System.out.println("Rental cost: " + rentalCost);
    }

    Lgndryhr wrote:
    Been a few months since I did any kind of java programming and cannot seem to figure out what is wrong with my program. Maybe I need a seperate class or the if/else statements are wrong. The point of the program is for fun, but is to calculate the cost for a cabin based on certain coniditions the user inputs. Any help would be much appreciated. NOTE: There are no comments yet due to I put them in after I finish the program.
    At the very least you need to tell us what you expected this code to do and what it actually did...

Maybe you are looking for

  • Replaced logic board...iTunes now says "not authorized to play music"

    I had the logic board replaced in my Mac Book Pro, restored my 4GB iPod Mini, downloaded iTunes 7.4, and now, when I try to sync with the iPod, I get a message that says that I am not authorized to play any of the music on this computer. I've authori

  • Problem in database fields creation using default class of B1DE Wizard

    Hi Experts In an AddOn I am creating database fields in default class "Project_DB'. It does not give any message weather it creates fields or not. My code for database creation is given below Namespace FormARE     Public Class FormARE_Db         Inhe

  • My macbook air won't detect display when trying to hook up with mini port and hdmi cable

    The screen turns blue and all it just won't show arrangments and then mirro display.. help!

  • How to see the result

    hi every body... i want to get the result of any table.. for ex: select * from dept; the o/p should be like(10~Accounts~new york) for this i wrote this code.... it run sucessfully; my prob is how to see the Result.. declare tn varchar2(35); sqlstmt v

  • Differences in 1.4 over 1.3

    Hi, I am new to Java IDL and I probably do not even know what i am doing, but i am trying to learn. I followed the Java IDL tutorial over at the 1.3 release and am using 1.4.01 JDK. The 1.3 release tutorial says that when you run idlj -fall Hello.idl