Zlib breaking my system

Hi all!
The zlib package is breaking my system every time I update it.
So I downgraded and put zlib in my ignore packages list.
The thing is..why would zlib break it?
I'm using openbox and everything is bleeding edge here.
There's nothing in the logs. But there is something not compatible with 1.2.3.7-2
the package I have here installed and that works is the 1.2.3.4-4..
Any ideas of how I could find the problem?
Is a new version going to fix it or am I doomed with 1.2.3.4-4 forever? o_o

Ok, sorry. I though I couldn't be more specific than that.
After upgrading to the latest zlib, when I login and openbox session starts, it will load some things on my autostart.sh,
such as the wallpaper, conky, and then it will just black out and go back to the login screen
It's too fast to read any error message but I even took a picture once (:P) and this is what I got:
X connection to :0.0 broken (explicit kill or server shutdown)
And that's it, back to the login screen.
I tried commenting everything in autostart to see if it's any application from there but the same thing occurred.

Similar Messages

  • Downgrading the kernel without breaking my system

    Hello,
    A few months ago, I was using a old (2011) version of the kernel, because of regressions in WiFi support and in sound quality. But when /lib became a symlink and the glibc update came ( http://www.archlinux.org/news/the-lib-d … a-symlink/ ), my system was broken, and I had to upgrade to a more recent version of the kernel using a LiveCD.
    So, is there a way to downgrade safely to an older version of the kernel without breaking my system?
    Thanks in advance.

    /lib is a symlink... what happens if you try to install the older kernel?
    Alternatively, re-build the package of an older kernel. (Though I doubt re-building is necessary, I offer it as a possibility.)

  • Recompling sudo & zlib brakes the system

    x86_64
    CARCH="x86_64"
    CHOST="x86_64-pc-linux-gnu"
    #-- Compiler and Linker Flags
    # -march (or -mcpu) builds exclusively for an architecture
    # -mtune optimizes for an architecture, but builds for whole processor family
    CPPFLAGS="-D_FORTIFY_SOURCE=2"
    CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
    CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
    LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
    #-- Make Flags: change this for DistCC/SMP systems
    MAKEFLAGS="-j5"
    #-- Debugging flags
    DEBUG_CFLAGS="-g -fvar-tracking-assignments"
    DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"
    $ sudo pacman -Syu
    sudo: error in /etc/sudo.conf, line 0 while loading plugin `sudoers_policy'
    sudo: unable to dlopen /usr/lib/sudo/sudoers.so: (null)
    sudo: fatal error, unable to load plugins
    # pacman -S sudo
    pacman: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
    # pacman -S zlib
    pacman: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
    in live-cd
    # pacman -r /mnt -S sudo
    # arch-chroot /mnt
    # pacman -S zlib
    pacman: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
    only booting in live-cd and 'pacman -r /mnt -S sudo zlib' solves it
    Last edited by Perfect Gentleman (2013-10-01 15:24:19)

    x86_64
    CARCH="x86_64"
    CHOST="x86_64-pc-linux-gnu"
    #-- Compiler and Linker Flags
    # -march (or -mcpu) builds exclusively for an architecture
    # -mtune optimizes for an architecture, but builds for whole processor family
    CPPFLAGS="-D_FORTIFY_SOURCE=2"
    CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
    CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
    LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
    #-- Make Flags: change this for DistCC/SMP systems
    MAKEFLAGS="-j5"
    #-- Debugging flags
    DEBUG_CFLAGS="-g -fvar-tracking-assignments"
    DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"
    $ sudo pacman -Syu
    sudo: error in /etc/sudo.conf, line 0 while loading plugin `sudoers_policy'
    sudo: unable to dlopen /usr/lib/sudo/sudoers.so: (null)
    sudo: fatal error, unable to load plugins
    # pacman -S sudo
    pacman: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
    # pacman -S zlib
    pacman: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
    in live-cd
    # pacman -r /mnt -S sudo
    # arch-chroot /mnt
    # pacman -S zlib
    pacman: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
    only booting in live-cd and 'pacman -r /mnt -S sudo zlib' solves it
    Last edited by Perfect Gentleman (2013-10-01 15:24:19)

  • FlexUnit4.1 B2 upgrade breaks CI system - flexUnit.cfg issues?

    Folks,
    We have a working CI system which is currently using binaries from FU4.0 development snapshots.  When we last checked the releases page, we saw that 4.0 stable was out, but so were 4.1 Beta 1 and 2.  Testers within the company were requesting 4.1 Beta 2, so I thought I would see if we could move our binaries directly to that level. I was able to try out the 4.1 B2 CI functionality on my Windows XP machine, after a few attempts... (I saw weird failures at first).  I had already installed Flash Player 10, and had made the file type assocation necessary for the Ant task to be able to invoke the player.  So, I figured that I could just replace the FU binaries to upgrade.  I did that, and my testbed went from working to broken. The failures seemed to point to the local trusted file not being available. I am not sure why that would have been a problem, but I kept trying different things hoping to get something to work.  I am not sure exactly how I got it working, but I recall copying the 4.1B2 binaries into place (replacing the older 4.0 dev snapshots), deleting the flexUnit.cfg file under C:\WINNT\system32\Macromed\Flash\FlashPlayerTrust, and rebooting the machine.
    I thought the weird issues I had seen were a fluke.I now do not think that is true...
    After getting 4.1 B2 to work successfully on my WinXP desktop, I thought I would try it out on one of the production CI servers, which runs Windows Server 2008. I shutdown the system, replaced the binaries, restarted the machine, and I am seeing a similar problem.
    Here is what I am observing - can someone please confirm these findings and explain why this is happening and how can I fix it (the machine reboot did not work on Server 2008)?
    The Ant task times out waiting for the results: "The following error occurred while executing this line: :  java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit  report."
    Apparently the local trust folder location where flexUnit.cfg is written has moved with 4.1 to a new location on the disk. It used to be here (WinXP):
        C:\WINNT\system32\Macromed\Flash\FlashPlayerTrust\
    New location (WinXP):
         C:\Documents and Settings\<user>\Application Data\Macromedia\Flash Player\#Security\FlashPlayerTrust\
    The locations on Win Server 2008 - old:
         C:\Windows\System32\Macromed\Flash\FlashPlayerTrust\
    new:
         C:\Users\<user>\AppData\Roaming\Macromedia\Flash  Player\#Security\FlashPlayerTrust\
    I surmised this from the errors provided in the process log, and from watching where the flexUnit.cfg file was written to disk.  On my WinXP machine, flexUnit.cfg eventually started to get written to the new location where the new 4.1 B2 binaries expect it.  However on Win 2008, flexUnit.cfg is no longer being written to either the old or new locations!  I watched both folders while the ant process ran, and neither was updated.  Here is a snippet of the output (with FU 4.1 B2 binaries). Note the FileNotFoundException:
    FlexUnit player target: flash
    Validating task  attributes ...
    Generating default values ...
    Using default working dir  [C:\DJTE\sas.commons.services.nls.collation_swc\d2flxcmn23\extracted\Source\Flex]
    Using  the following settings for the test run:
    FLEX_HOME:  [C:\iFABS_DE\dev\vert-d2flxcmn23\203300.32.0.20100711202037_d2flxcmn23]
    haltonfailure:  [false]
    headless: [false]
    display: [99]
    localTrusted: [true]
    player:  [flash]
    port: [1024]
    swf:  [C:\DJTE\sas.commons.services.nls.collation_swc\d2flxcmn23\extracted\build\sas.commons.se rvices.nls.collation.tests.unit.swf]
    timeout:  [1800000ms]
    toDir:  [C:\DJTE\sas.commons.services.nls.collation_swc\d2flxcmn23\reports\xml]
    Setting  up server process ...
    Starting server ...
    OS: [Windows]
    Launching  player:
    java.io.FileNotFoundException:  C:\Users\myuser\AppData\Roaming\Macromedia\Flash  Player\#Security\FlashPlayerTrust\flexUnit.cfg (The system cannot find the path  specified)
    at java.io.FileOutputStream.open(Native  Method)
    at  java.io.FileOutputStream.(FileOutputStream.java:179)
    at java.io.FileWriter.(FileWriter.java:90)
    at org.flexunit.ant.launcher.commands.player.TrustFile.write(Unknown  Source)
    at  org.flexunit.ant.launcher.commands.player.TrustFile.add(Unknown  Source)
    at  org.flexunit.ant.launcher.commands.player.FlashPlayerCommand.launch(Unknown  Source)
    at  org.flexunit.ant.launcher.FlexUnitLauncher.runTests(Unknown  Source)
    at  org.flexunit.ant.tasks.TestRun.launchTestSuite(Unknown Source)
    at org.flexunit.ant.tasks.TestRun.run(Unknown  Source)
    at  org.flexunit.ant.tasks.FlexUnitTask.execute(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  Method)
    at  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at  org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at  groovy.util.AntBuilder.nodeCompleted(AntBuilder.java:212)
    at  groovy.util.BuilderSupport.doInvokeMethod(BuilderSupport.java:147)
    at  groovy.util.AntBuilder.doInvokeMethod(AntBuilder.java:162)
    at  groovy.util.BuilderSupport.invokeMethod(BuilderSupport.java:64)
    at  org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45)
    Opening  server socket on port [1024].
    at  org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
    Waiting  for client connection ...
    at  org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
    at  org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
    at  com.sas.djte.library.FlexProcessor.runFlexTests(FlexProcessor.groovy:315)
    at com.sas.djte.library.FlexProcessor$runFlexTests.call(Unknown  Source)
    at  org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
    at  org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
    at  org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
    at  com.sas.djte.library.TestBuilder.smokeTest(TestBuilder.groovy:360)
    at  com.sas.djte.library.TestBuilder.this$2$smokeTest(TestBuilder.groovy)
    at  com.sas.djte.library.TestBuilder$this$2$smokeTest.callCurrent(Unknown  Source)
    at  org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java: 44)
    at  org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:1 43)
    at  org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:1 51)
    at  com.sas.djte.library.TestBuilder.runTest(TestBuilder.groovy:87)
    at  com.sas.djte.library.TestBuilder.this$2$runTest(TestBuilder.groovy)
    at  com.sas.djte.library.TestBuilder$this$2$runTest.callCurrent(Unknown  Source)
    at  org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java: 44)
    at  org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:1 43)
    at  org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:1 51)
    at  com.sas.djte.library.TestBuilder.build(TestBuilder.groovy:71)
    at com.sas.djte.library.TestBuilder$build.call(Unknown  Source)
    at  org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
    at  org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
    at  org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
    at Default.run(Default.groovy:5)
    at  org.codehaus.groovy.ant.Groovy.parseAndRunScript(Groovy.java:425)
    at  org.codehaus.groovy.ant.Groovy.execGroovy(Groovy.java:404)
    at  org.codehaus.groovy.ant.Groovy.execute(Groovy.java:279)
    at  org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown  Source)
    at  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at  org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at  org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
    at  org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown  Source)
    at  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at  org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at  org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:394)
    at  org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown  Source)
    at  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at  org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at  org.apache.tools.ant.Target.execute(Target.java:357)
    at  org.apache.tools.ant.Target.performTasks(Target.java:385)
    at  org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at  org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:3 8)
    at  org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at  org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  Method)
    at  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at  org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at  groovy.util.AntBuilder.nodeCompleted(AntBuilder.java:212)
    at  groovy.util.BuilderSupport.doInvokeMethod(BuilderSupport.java:147)
    at  groovy.util.AntBuilder.doInvokeMethod(AntBuilder.java:162)
    at  groovy.util.BuilderSupport.invokeMethod(BuilderSupport.java:64)
    at  org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45)
    at  org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
    at  org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
    at  org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:129)
    at  embedded_script_in_C__Program_Files_DJTE_import_dot_macrodef.run(embedded_script_in_C__Pr ogram_Files_DJTE_import_dot_macrodef:18)
    at  org.codehaus.groovy.ant.Groovy.parseAndRunScript(Groovy.java:425)
    at  org.codehaus.groovy.ant.Groovy.execGroovy(Groovy.java:404)
    at  org.codehaus.groovy.ant.Groovy.execute(Groovy.java:279)
    at  org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown  Source)
    at  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at  org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at  org.apache.tools.ant.Target.execute(Target.java:357)
    at  org.apache.tools.ant.Target.performTasks(Target.java:385)
    at  org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at  org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:3 8)
    at  org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at  org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
    at  org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    at  org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown  Source)
    at  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at  org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at  org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  Method)
    at  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at  org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at  net.sf.antcontrib.logic.TryCatchTask.execute(TryCatchTask.java:207)
    at  org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown  Source)
    at  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at  org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at  org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  Method)
    at  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at  org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at  net.sf.antcontrib.logic.TryCatchTask.execute(TryCatchTask.java:207)
    at  org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown  Source)
    at  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at  org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at  org.apache.tools.ant.Target.execute(Target.java:357)
    at  org.apache.tools.ant.Target.performTasks(Target.java:385)
    at  org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at  org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at  org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at  org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.Main.runBuild(Main.java:758)
    at org.apache.tools.ant.Main.startAnt(Main.java:217)
    at  org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    at  org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    Updated  local trust file at [C:\Users\myuser\AppData\Roaming\Macromedia\Flash  Player\#Security\FlashPlayerTrust\flexUnit.cfg], added  [C:\DJTE\sas.commons.services.nls.collation_swc\d2flxcmn23\extracted\build].
    Executing  'rundll32' with  arguments:
    'url.dll,FileProtocolHandler'
    'C:\DJTE\sas.commons.services.nls.collation_swc\d2flxcmn23\extracted\build\sas.commons.ser vices.nls.collation.tests.unit.swf'
    The  ' characters around the executable and arguments are
    not part of the  command.
    Stopping server ...
    End of test data reached, sending  acknowledgement to player ...
    Closing client connection ...
    Closing server  on port [1024] ...

    @Brian,
    My apologies for mixing up the revision strings previously. It was a long day. :-)
    I updated to flexunit 4.1.0-beta2, and my problems with the flexUnit.cfg file went away. Hurray!
    Now I have another problem.
    If I have the EITHER the CIListener or the FlexCoverListener added as listeners, my tests run to completion. If I have BOTH listeners configured, the flexunit runner hangs showing "Running tests..." and 0/100 progress. This happens whether or not I have the UIListener configured (do I need that any more? Looks like the flexunit player works regardless). This is via Ant from the command line in Cygwin.
    Here's the flexunit ant task verbose output when it hangs:
    [flexunit] Validating task attributes ...
    [flexunit] Generating default values ...
    [flexunit] Using default working dir [C:\work\ws\trunk\cpflex\build\ant]
    [flexunit] Using the following settings for the test run:
    [flexunit]     FLEX_HOME: [C:\Apps\flextools\flexsdk\4.0.0]
    [flexunit]     haltonfailure: [false]
    [flexunit]     headless: [false]
    [flexunit]     display: [99]
    [flexunit]     localTrusted: [true]
    [flexunit]     player: [flash]
    [flexunit]     port: [1024]
    [flexunit]     swf: [C:\work\ws\trunk\cpflex\tgt\hpux\product\test\CMUnitTests.swf]
    [flexunit]     timeout: [60000ms]
    [flexunit]     toDir: [C:\work\ws\trunk\cpflex\tgt\hpux\product\test\report]
    [flexunit] Setting up server process ...
    [flexunit] Starting server ...
    [flexunit] OS: [Windows]
    [flexunit] Launching player:
    [flexunit]
    [flexunit] Opening server socket on port [1024].
    [flexunit] Waiting for client connection ...
    [flexunit] Executing 'rundll32' with arguments:
    [flexunit] 'url.dll,FileProtocolHandler'
    [flexunit] 'C:\work\ws\trunk\cpflex\tgt\hpux\product\test\CMUnitTests.swf'
    [flexunit]
    [flexunit] The ' characters around the executable and arguments are
    [flexunit] not part of the command.
    [flexunit]
    [flexunit] Client connected.
    [flexunit] Setting inbound buffer size to [262144] bytes.
    [flexunit] Receiving data ...
    [flexunit] Sending acknowledgement to player to start sending test data ...
    [flexunit]
    Sorry for being such a pest...

  • Can't send break to system

    I have a SunFire V100 which I want to install a custom version Solaris 8 onto. As soon as I access the server (connected via terminal PC), I get a stream of errors as follows:
    Mar 10 16:34:24 in.mpathd[36]: missed sending 8 probes cur_time 1124706 snxt_time 1124796 snxt_basetime 1124720
    Mar 10 16:34:26 in.mpathd[36]: missed sending 8 probes cur_time 1125905 snxt_time 1126004 snxt_basetime 1125876
    Mar 10 16:34:26 in.mpathd[36]: missed sending 7 probes cur_time 1125906 snxt_time 1125941 snxt_basetime 1125856
    Mar 10 16:34:27 in.mpathd[36]: missed sending 8 probes cur_time 1127105 snxt_time 1127245 snxt_basetime 1127154
    Mar 10 16:34:27 in.mpathd[36]: missed sending 8 probes cur_time 1127106 snxt_time 1127231 snxt_basetime 1127134
    I tried sending Ctrl + Break to boot from CD, however this did nothing. What else can I do to boot from CD and re-install the software?
    Thanks in Advance

    LOM stands for light-out-management, its basicly a device which stands between you and your console. The lom can be used to power on and power off a machine, it can also be used to control and log the console.
    Hence, since there is a LOM and the console, you need to keep track of two different ways of getting to your OBP.
    If you are at the LOM prompt (lom>) you just type 'break', if you are at the console you use ctrl+] to get to the telnet prompt and then type 'send break' .
    A small LOM tutorial, to go from the LOM to the console you type 'console', to go from the console back to the LOM you type '#.' (hash and dot).
    I can also recommend typing 'help' at the LOM prompt :-)

  • System trouble, Need 2 back up iTunes & purchased music.

    I am having some relatively minor, but none the less annoying glitches with my System Using OS-X.3 Panther. (Classic not installed, I use OS9 on diff. partition) I am planning on Zeroing out the drive & partition OS-X resides on & starting with a fresh System.
    I am currently using OSX.3/ iTunes v4.7/ QuickTime v6.4. I do not plan on doing any upgrading of the applications or system files beyond what was required to use my current suite of software.
    One of my biggest concerns is, I have roughly 5 gigs of music (I have it backed up on DVD's). I have a number of mp3's I purchased through the Apple music store and I want to be sure that I still have them available to me after the fresh system install.
    I have done a few searches here but I'm not asking the right question or using the best "Key" words. I've pieced together some of the procedures to do this properly, but I want to be sure that I have it all, in proper order before I risk losing what is a fairly significant investment in music.
    Here is a (sort of) brief description of my system troubles;
    The iTunes & iPod have been working fine, with only a few minor hiccups. The rest of my system has been a little touchy lately. Internet apps., (news readers & safari & the like) quitting unexpectedly or freezing, requiring a forced quit. Document & App. Icons doing weird things like changing back & forth, (between low res. & quartz type). All the free disk space starts to spontaneously fill up. Stuff like that!!
    Norton AV v9.0.3 doesn't seem to find any virus to account for it, (although Norton seems to have some problems of it's own I won't go into here). It has detected a couple trojans in web cache files recently, but it quarantined them & I deleted the files so hopefully they aren't the problem. (I delete & keep re-deleting the NAV "spacesucking" file, disk still fills up)
    I've run DiskWarrior, repaired permissions, used disk first aid & these problems seem to persist. So I've decided to start again from scratch.
    If it isn't to much trouble, I would very much appreciate a complete, step by step breakdown on how to re install X, without messing up iTunes or my purchased music & iPod. (or at least a link to any already posted guidelines for this procedure)
    Thank you for your patience,
    Craig
    p.s. (I realize I included a lot of system troubleshooting information that might not be particularly relevant to backing up iTunes, but I wanted to be sure that I included everything that might affect a clean install, and someone might recognize the problems I'm having and help me avoid breaking the system next time) Thnx!!

    Craig hello,
    read this post for a starter... check all of it for your reference to backups and anything else you need to know come and ask...
    TP2GO, "iTunes 5.0 a disgrace; Lets stop buying music for a month!" #23, 01:02am Sep 24, 2005 CDT
    One tip, get rid of the 'Norton'... search the OS X forums for it and you will see what I mean ... here is one to start with....
    Barry Hemphill, "Application Problem" #1, 05:07pm Sep 30, 2005 CDT
    take care .... TP

  • [solved]system won't upgrade (files exist in the filesystem)

    Everytime I try to upgrade I get this message
    boost: /usr/lib/python2.6/site-packages/Pyste/exporterutils.py exists in filesystem
    boost: /usr/lib/python2.6/site-packages/Pyste/exporterutils.pyc exists in filesystem
    boost: /usr/lib/python2.6/site-packages/Pyste/infos.py exists in filesystem
    boost: /usr/lib/python2.6/site-packages/Pyste/infos.pyc exists in filesystem
    boost: /usr/lib/python2.6/site-packages/Pyste/policies.py exists in filesystem
    boost: /usr/lib/python2.6/site-packages/Pyste/policies.pyc exists in filesystem
    boost: /usr/lib/python2.6/site-packages/Pyste/pyste.py exists in filesystem
    boost: /usr/lib/python2.6/site-packages/Pyste/pyste.pyc exists in filesystem
    boost: /usr/lib/python2.6/site-packages/Pyste/settings.py exists in filesystem
    boost: /usr/lib/python2.6/site-packages/Pyste/settings.pyc exists in filesystem
    boost: /usr/lib/python2.6/site-packages/Pyste/utils.py exists in filesystem
    boost: /usr/lib/python2.6/site-packages/Pyste/utils.pyc exists in filesystem
    boost: /usr/share/licenses/boost/LICENSE_1_0.txt exists in filesystem
    Errors occurred, no packages were upgraded."
    The list itself is a lot ,lot longer,this is just a tiny snapshot.
    I had a look around on the forums and there were people having the same" problem.
    Is there a way around this other than "pacman -Qo" everything?
    Last edited by Romanrp (2010-01-17 20:41:17)

    For future reference:
    http://bbs.archlinux.org/viewtopic.php?id=56373
    You can break your system severely by forcing upgrades. If you didn't already (or didn't read the output when upgrading), you may want to go through /var/log/pacman.log and look to see if there's any information that's you missed about these particular upgrades before you restart your system.

  • System.exit(0)   error in program.

    Any help appreciated. Let me first put my code here:
    Converts money using CurrencyConverter, there's another class I haven't posted here!! (which calculates conversion)
    import java.util.* ;
    public class CurrencyConverterTester
      public static void main(String[] args)
        Scanner in = new Scanner(System.in) ;
        System.out.println("How many euros is one dollar?") ;
        String input = in.nextLine() ;
        double rate = Double.parseDouble(input) ;
        CurrencyConverter myconverter = new CurrencyConverter(rate);
        System.out.println("Dollar value (Q to quit)") ;
        input = in.nextLine() ;
        while (true) {
          if (input == "Q"){
            System.exit(0);
            break;}
          else {
          System.out.println(input + " dollar = " +  myconverter.convert(Double.parseDouble(input)) + " euros");
          input = in.nextLine();
          continue;}   
    }The issue is that the program won't terminate when I enter Q as my input?? I'm guessing it might have something to do my conversion from string to double in the 'else' statement, but not sure. Also, if you can suggest a more simpler method for the last 'while' statement, that would be helpful as well. Thanks. (noob to java)

    paulcw wrote:
    Curse Gosling for making &#43; syntactic sugar for string append, but not overloading any other operators.@Paul
    What did you expect from a duck ;-)
    Seriously, yep, maybe it would have been better for noobs if the syntax of Java Strings was consistent with other kinds of Object... or maybe it would have been better if == was compiler-magiced into stringA.equals(stringB)... and the left and right shift operators have promise, and of course that way lies MADNESS, as witnessed in C&#43;&#43; ;-)
    @OP... You are (IMHO) using the break, continue and especially System.exit() inappropriately... see my comments in your code...
        System.out.println("Dollar value (Q to quit)") ;
        input = in.nextLine() ;
        // while-true-loops are a "fairly usual" way of doing this kind of stuff,
        // but that doesn't make them "the preferred option". Typically you would
        // explore more "vanilla approaches" (which don't rely on the break and
        // continue statements)... leaping straight to the "tricky approach" means
        // you haven't (most often out of sheer laziness) thought it through... and
        // ALL good computer programs are thoroughly thought through (yep, try
        // saying that three times fast, especially after three beers).
        while (true) {
          // You don't compare Strings using ==
          if ( "Q".equalsIgnoreCase(input) ) {
            // Either of the following statements will do the job. The call to exit
            // will exit the JVM, therfore the break statement cannot be reached,
            // so it is superflous, so it's presence is just a bit confusing. Having
            // said that, "real programmers" don't use System.exe routinely, only in
            // the case of an emergency, such as handling a fatal-error, such as an
            // out-of-memory condition... an even then it's usually indicative of a
            // poor "system design", because it terminates the JVM which is running
            // this program without giving anything else in the program a chance to
            // clean-up after itself... like ask the user if they want to save there
            // work, or whatever.
            // I would use break (if anything) instead of System.exit
            // ... and if I wrote the Java tutorials, exit wouldn't be mentioned at
            // all until both "normal" flow control, and exception handling had both
            // been thoroughly covered.
            System.exit(0);
            break;
          } else {
            // I would break this line up, probably into three lines, simply becuase
            // it's syntatically "a long line".
            // Also the name "myconverter" doesn't tell what the class is/does.
            // IMHO, currencyConverter would be a better (more meaningful) name.
            // HERE'S HOW I WOULD WRITE IT
            // double dollars = Double.parseDouble(input);
            // double euros = currencyConverter.convert(dollars);
            // System.out.println(input + " dollar = " + euros + " euros");
            System.out.println(input + " dollar = " +  myconverter.convert(Double.parseDouble(input)) + " euros");
            input = in.nextLine();
            // This continue statement is superflous. continue says "go back to the
            // top of loop, reevaluate the loop-condition (true in this case) and
            // (if the condition is still true) "Play it again Sam".
            // ... which is exactly what will happen without this continue statement
            // and hence (IMHO) your code is easier to follow without it, simply
            // because another programmer may waste there time trying to figure out
            // WHY that continue statement is present.
            continue;
        }*ALSO:* The format of that code totally sucks. Braces all over the place; improper indentation. No wonder you're struggling to read your own code. Please read and abide the [The Java Code Conventions|http://java.sun.com/docs/codeconv/] (at least until you have the requisite experience to formulate credible and compelling arguments as to why your "style" is superior to the standard, and that's no small ask). Yes this is *important*... trust me on this (for now)... especially if you are going to ask for help on the forums... You're effectively wasting our time asking us to decipher your code because you are too lasy to format it correctly... and I for one find that "self entitled" attitude ugly, and offensive... Help us help you... you know?
    And BTW.... Here's how I would actually do it.... no funky while-true, break, or continue... just a plain-ole'-while-woop....
    package forums;
    import java.util.Scanner;
    public class KRC
      private static final Scanner SCANNER = new Scanner(System.in);
      public static void main(String[] args) {
        try {
          String input = null;
          while ( !"Q".equalsIgnoreCase(input=enterDollarAmount()) ) {
            System.out.println(input + " dollars is " +  Double.parseDouble(input) + " euros.");
            System.out.println();
        } catch (Exception e) {
          e.printStackTrace();
      private static String enterDollarAmount() {
        System.out.print("Please enter an amount in dollars : ");
        return SCANNER.nextLine();
    }Edited by: corlettk on 25/10/2009 10:21 ~~ Distant Monarching Forum Markup!

  • Switch statement & system.read.in

    I am attempting to code a java text program that will calculate and print out 3 different mortgage's, I am trying to use a switch statement to select which mortgages I will output. I am trying a simple switch statement first and I am stuck, Can anyone help.
    //test switch case program
    import java.text.*;
    import java.io.IOException;
    //import java.util.*;
    //import java.lang.*;
    public class TestIfElse
    { // start of main method
    public static void main (String[] args)
              // throws java.io.IOExceptions
    {//start Main
    double interestRate = 0;
    int year;
    double loan;
    char choice;
    //enter # of years & find interest rate
    System.out.println("Enter Years:     7, 15, 30 only:");
    choice = (char) System.in.read(); //System.in.read();
    switch (choice)
    case '1' :     interestRate = 7.25 / 1200;
    System.out.println(+interestRate);
    break;
    case '2' :      interestRate = 8.50 / 1200;
    System.out.println(+interestRate);
                             break;
                   case '3': interestRate = 9.0 / 1200;
    System.out.println(+interestRate);
                             break;
    default : System.out.println("oops");
    }

    ok i couldnt get the switch to work so I tried this and now it wont read in ?? I am about ready to give up. can anybody help??
    //Import the class in the java.text.
    import java.text.*;
    import java.io.IOException;
    //Creates a public class named LarryInterest_f.
    public class larryInterest_f2
    {     //Start of main method using public static class members and void means it does not.
    //return a value,inside main parenthesis is created an array of strings holding arguments.
    public static void main(String[] args) throws IOException
    { //Start Main
    double principal = 200000;//(principal) double (64 bits) string variable created and set to 200000.
    double rate [ ] = {.0535, .055, .0575}; //(rate)double .
    double amount; // (amount) double(64 bit)string variable created.
    double moPay; //(moPay)double(64 bit)string variable created.
    double totalInt; //(64 bit)string variable created.
    int time; //(time) integer (32 bit) variable created and set 1 for total interest.
    int i; // Creates an integer value called i
    int [ ] term = {7,15,30}; // sets the term array of 7,15,30.
    int ratePlace; //pointer
    char answer;
    char totalMo;
    char test;
    char firstIterate;
    char secondIterate;
    System.out.println("What Choice would you Like\n");
    System.out.println("1-Interest rate of 5.35% for 7 years?\n");
    System.out.println("2-Interest rate of 5.55% for 15 years?\n");
    System.out.println("3-Interest rate of 5.75% for 30 years?\n");
    System.out.println("4-Quit\n");
    answer = (char)System.in.read();
    if (answer = 1) {
    ratePlace = 0;
    firstIterate = 4;
    secondIterate = 21;
    totalMo = 84;
    else
    if (answer = 2) {
    ratePlace = 1;
    firstIterate = 8;
    secondIterate = 24;
    totalMo = 180;
    else
    if (answer = 3) {
    ratePlace = 3;
    firstIterate = 15;
    secondIterate = 24;
    totalMo = 360;
    else
    System.out.println("Booga Wooga Chooga");
    amount = (principal + (principal * rate[ratePlace] ));
    moPay = (amount / totalMo);
    totalInt = (principal * rate[ratePlace]);
    dAmount = amount-moPay;
    intPay = totalInt / term[ratePlace];
              // Printout
    DecimalFormat df = new DecimalFormat("#.###,00");
    System.out.println("The Interest on $" + (df.format(principal) + " at" + rate[ratePlace] +"% for a
    loan to be paid off in "+term[ratePlace]+"years is " +"$"+ (df.format(totalInt) +"Dollars\n")));          
    System.out.println("Thek total amount of loan plus interest is $"+(df.formt(amount)+"Dollars.\n"));
    System.out.println("The Payments spread over"+totalMo+"months. would be $"
    +(df.format (moPay) + "Dollars a month for"+term[ratePlace]+"years.\n\n"));
    System.out.println("Would you like to see a payment schedule? y for Yes, or x to Exit");
    test = (char)System.in.read();
    if (test=='y')
    System.out.println("OK Here I Go");
    intPay = (intPay + (totalInt/term[ratePlace]));
    pmt = pmt +1;
    for (int a=1; a<firstIterate; a++){
    System.out.println(" Payment Schedule \n\n");
    System.out.println("Month               Interest                    Balance");
    for (int b=1;b<secondIterate;b++){
    System.out.println(pmt +"\t\t\t\t"+ df.format(intPay) + "\t\t\t"+df.format(dAmount));
    if(pmt <totMO){
    System.out.println(("This Page Complete Press Enter to Continue"));
    System.in.read();

  • Report painter issue regarding break up of gl accounts for rows

    Hi
    I am facing a problem while designing report for balance sheet in report painter. while selecting report format option in formatting option in menu bar system is displaying even zero value rows also. but the problem is for rows which have n number of accounts , it is not showing break up. it is displaying in a single row as a range and its total .
    If i go for " print row option" in formatiing in menu bar, then system is not displaying rows with zero balance in accounts . but i am able to get break up over there.
    I need both 0 balance rows to be displayed in output as well i need breakup for remaining rows also.
    plz suggets me .
    Regards
    Vijay

    Hi vijay kumar,
    You need to explode the charactor of Account Number for the item you want to "show break up".
    In tc: GR32, double click the item you want to "show break up", system popups the screen for changing charactors values, scroll the horizontal scroll bar to right, you will see the column Explode, change the default value "No explode" to "Explode" for the charactor Account Number and save the report. Then you will see the accounts when you run the report again.

  • Governance of the discovery system

    We have the Discovery system V2 and haven't used it up until now due to other priorities. We are getting ready to release it for use to some business analysts and I'm curious how other companies govern the use of the system:
    1. Since the scenrios user predefined userids and passwords do you lock them downs at all?
    2. Do you image the system and restore it back to the image on a schedule or somehow prevent changes to the delivered demos?
    3. Do you create your own demos?

    I have come across same questions when we started to use Discovery V3.
    We took a full image before we started to use the system.
    As only SAP team admins are using standard user id's, we don't have problems with user id. As a good practice we have asked colleagues not to change standard function. We have created user id for Functional/Technical folks.
    We have also started to create demos. Hopefully it won't break the system.
    I am not sure about SAP support of Discovery through Support packs ?  
    Bala

  • Simple question: break

    My code below checks the cells of a table for valid entries.
    If it discovers an invalid cell, it should identify the cell and stop.
    Instead, this method runs through the entire table, invalid cells or not.
    Could someone show me how to implement the "break" properly?
    Many thanks.
       public void rowValidator() {
          for ( int r = 0; r < defaultTableModel.getRowCount(); r++ ) {                               
             for ( int c = 0; c < defaultTableModel.getColumnCount(); c++ ) {          
                Object value = defaultTableModel.getValueAt( r, c );
                if ( table1.getValueAt( r, c ) == null || ((String)value).trim().length() == 0) {        
                   System.out.println( "Row " + r + " is INvalid." );
                   System.out.println( "Failure at " + r + "," + c );
                   break;       // ---------------------------------
                } else {
                   System.out.println( "Row " + r + ", Col " + c + " is valid." );

    Hai,
    As far as I understood you are trying to come out of the whole loop.I am talking about the outer for loop also whenever you find a empty row and column.But the code written by you only breaks the inner for loop not the outer one I suppose.
    Try using this code
    public void rowValidator()
         int iBreak = 0;
         for ( int r = 0; r < defaultTableModel.getRowCount(); r++ )
              for ( int c = 0; c < defaultTableModel.getColumnCount(); c++ )
                   Object value = defaultTableModel.getValueAt( r, c );
                   if ( table1.getValueAt( r, c ) == null || ((String)value).trim().length() == 0)
                        System.out.println( "Row " + r + " is INvalid." );
                        System.out.println( "Failure at " + r + "," + c );
                        iBreak = 1;
                        break; // ---------------------------------
                   } else {
                        System.out.println( "Row " + r + ", Col " + c + " is valid." );
              // code to close the outter loop also
              if (iBreak == 1)
                   break;

  • Hostel system

    hello everyone,
    am a novice in java programming trying to build a hostel system, but have run into some problems. one of the menu options to my hostel system is to list all tenants but it doesnt seem to work. Can anyone help please this is what i have got so far import java.io.*;
    public class HostelSystem
      public static void main(String[] args) throws IOException
        char        choice;
        int         size;
        HostelList stuHostels = new HostelList(4);
        int nHostels = 0;
        Hostel aHostel;
        UserInput Text = new UserInput();
        System.out.println("HOSTEL SYSTEM STARTED");
        do
          Text.prompt("HOSTEL SYSTEM MENU" +
                      "\n0. Open Hostel" +
                      "\n1. Add a tenant" +
                      "\n2. List all tenants" +
                      "\n3. Add a payment" +
                      "\n4. List payments" +
                      "\n5. Remove a tenant" +
                      "\n6. Quit" +
                      "\n\nEnter choice:");
          choice = Text.readChar();
          switch (choice)
            case '0':
                Text.prompt("Enter Hostel Name: ");
                String hName = Text.readString();
                Text.prompt("Enter Hostel Size: ");
                int hSize = Text.readInt();
                Text.prompt("Enter Hostel Room Monthly Rent: �");
                double hRent = Text.readInt();
                if (stuHostels.addHostel(new Hostel(hName, hSize, hRent)))
                    System.out.println("New Hostel added");
                    nHostels = stuHostels.getNoOfHostels();
                    System.out.println("No. of Hostels = " + nHostels);
                else
                    System.out.println("ERROR: Cannot add another Hostel");
            break;
            case '1':
                System.out.println("STUDENT BOOKING");
                Text.prompt("Enter Hostel Name: ");
                String sHostel = Text.readString();
                aHostel = stuHostels.findHostel(sHostel);
                if (aHostel == null)
                    System.out.println("ERROR: No such hostel: " + sHostel);
                    System.out.println("Hostel are:");
                    System.out.println(stuHostels.toString());
                else
                    if (aHostel.getTenants().getSize() == aHostel.getSize())
                        System.out.println("SORRY: No free rooms");
                    else
                      System.out.println("New Tenant for hostel " + aHostel.getName());
                      System.out.println("Rental = " + aHostel.getRent() + " Number of Rooms = " + aHostel.getSize());
                      Text.prompt("Enter name: ");
                      String sName = Text.readString();
                      Text.prompt("Enter room: ");
                      int sRoom = Text.readInt();
                      if ((sRoom > aHostel.getSize()) || (sRoom < 1))
                        System.out.println("ERROR: No Such Room");
                      else
                        if (aHostel.addTenant(sName, sRoom))
                           System.out.println("New Tennant added to " + aHostel.getName());
                        else
                          System.out.println("SORRY: Room full");
                         }//of inner if
                      }//of outer if
              break;
            case '2':
                System.out.println("TENANT LIST");
                Text.prompt("Enter Hostel Name: ");
                String sHostel = Text.readString();
                aHostel = stuHostels.findHostel(sHostel);
                if (aHostel == null)
                    System.out.println("ERROR: No such hostel: " + sHostel);
                    System.out.println("Hostel are:");
                    System.out.println(stuHostels.toString());
                else
                    if (aHostel.getName());
              break;
            //case '3':
                String[] Month = new string [12];
                String[0] ="January";
                String[1] ="February";
                String[2] ="March";
                String[3] ="April";
                String[4] ="May";
                String[5] ="June";
                String[6] ="July";
                String[7] ="August";
                String[8] ="September";
                String[9] ="October";
                String[10] ="November";
                String[11] ="Decenber";
              break;
            //case '4':
                // add your code here
              break;
            //case '5':
                Text.prompt("Enter Hostel Name: ");
                String sHostel = Text.readString();
                aHostel = stuHostels.findHostel(sHostel); 
                if (aHostel == null)
                    System.out.println("ERROR: No such hostel: " + sHostel);
                    System.out.println("Hostel are:");
                    System.out.println(stuHostels.toString());
                else
                  Text.prompt("Enter room number of tenant in" + aHostel.getName());
                  int room = Text.readInt();            
              break;
            //case '6':
              break;
            default:
                System.out.println("Invalid choice");
              break;
        } while (choice != '6');
        System.out.println("HOSTEL SYSTEM FINISHED");
        System.exit(0);
    }

    I think u r missing a semicolin(closing)for the else statement of case 2

  • Breaking SSHR SIT into sections

    Hi, I have a special information type which I have deployed to Self Service (SSHR). The thing is, I want to divide some of the fields into sections with headers even though I am using just one S.I.T to save the data.
    For example say I have an SIT that contains name, age, job, position, location. I might want to group name and age into Personal Details with a header, then job, position and location into another section called Assignment Details. Something like that.
    Is it possible to create sections with headers using personalization when the self service page is based on an S.I.T

    ah cool thanks, that works. ive changed the code slightly so it takes an expression entered by a user, but the program seems to stop if a divide symbol (/) is entered, any ideas?
    import java.io.*;
      public class ReadJava {
          public static void main(String[] args) throws IOException {
              KeyboardInput in = new KeyboardInput();
           System.out.print("Please enter a string: ");
           String expr = in.readString(); //reading in a string from the keyboard
              StreamTokenizer st = new StreamTokenizer (new StringReader (expr));
              int tokenType;
              while ((tokenType = st.nextToken()) != StreamTokenizer.TT_EOF) {
                  switch (st.ttype) {
                  case StreamTokenizer.TT_WORD:
                      System.out.println ("word=" + st.sval);
                      break;
                  case StreamTokenizer.TT_NUMBER:
                      System.out.println ("number=" + st.nval);
                      break;
                  default:
                      System.out.println ("operator=" + (char)st.ttype);
                      break;
      }e.g. entering (5/5) would cause the program to output..
    operator=(
    number=5.0
    ----

  • Convert the arch system to python3.

    Hey,
    I have taken up a proof of concept project/challange in which I have to convert all my python2 code to python3, to make it a python3 based system. I chose arch, which defaults to python3 all right.
    I am using xfce4 to make it user freindly.Removing python2 will not satisfy these dependencies:
    libieee1284 and libplist.
    I do not want python2 on my system, I have to show it to my teachers. Also can I do pacman -Rdds python2? will it break the system?
    In short, How can I make my system python based, and not python2?

    sankrant wrote:I will try force removing them and see if something happens, .
    Yes, you should try it yourself. I doubt many people have done what you are trying to do.
    Also, we can't do your homework for you: https://wiki.archlinux.org/index.php/Fo … e#Homework
    So long as this thread remains about generic Arch Linux usage it can stay.
    One more remark, converting from 2 to 3 is not trivial. If it were, it would have been done for everything by now.
    Good luck.

Maybe you are looking for