SyncProviderException with CachedRowSet when updating TINYINT

Hi All,
I'm getting the folllowing error when trying to update either a TINYINT or SMALLINT column yet a VARCHAR column works fine. I am using java 1.5.0_05-b05, MySQL 5.0.15-nt on Windows XP Pro SP2.
Program output.
item_id name phases feed_from
1 test string 3 1
2 Level 6A DB 3 1
item_id name phases feed_from
1 test string 0 1
2 Level 6A DB 3 1
javax.sql.rowset.spi.SyncProviderException: 2 conflicts while synchronizing
at com.sun.rowset.internal.CachedRowSetWriter.writeData(Unknown Source)
at com.sun.rowset.CachedRowSetImpl.acceptChanges(Unknown Source)
at com.rjg.test.TestCachedRowSet.<init>(TestCachedRowSet.java:53)
at com.rjg.test.TestCachedRowSet.main(TestCachedRowSet.java:105)Has anyone had this problem before?
He is test code that I have written if anyone would like to try it or tell me what I am doing wrong.
import java.sql.SQLException;
import java.sql.ResultSetMetaData;
import javax.sql.rowset.spi.SyncProviderException;
import javax.sql.rowset.CachedRowSet;
import com.sun.rowset.CachedRowSetImpl;
public class TestCachedRowSet {
private final String DB_URL =
"jdbc:mysql://localhost:3306/test?dumpQueriesOnException=true";
private final String USERNAME = "username";
private final String PASSWORD = "password";
private CachedRowSet rowSet = null;
private ResultSetMetaData metaData = null;
//==============================================================================
public TestCachedRowSet( ) {
try {
Class.forName( "com.mysql.jdbc.Driver" ); // load database driver class
rowSet = new CachedRowSetImpl();
rowSet.setUrl(DB_URL); // set database URL
rowSet.setUsername(USERNAME); // set username
rowSet.setPassword(PASSWORD); // set password
rowSet.setCommand("select * from item"); // set query
rowSet.execute();
metaData = rowSet.getMetaData();
showTable();
for ( int i = 0; i < 10; i++) {
System.err.println("*******************");
rowSet.first();
/* if this line is used the updates work fine */
// rowSet.updateString(2, ""+i);
/* this line will cause an error */
rowSet.updateInt(3, Integer.parseInt(""+(i)));
/* this line will cause an error */
// rowSet.updateInt(4, Integer.parseInt(""+i));
rowSet.updateRow();
rowSet.acceptChanges();
System.err.println("*******************");
showTable();
}// for.
rowSet.close();
} catch ( SQLException sqlException ) {
sqlException.printStackTrace();
System.exit( 1 );
} catch ( ClassNotFoundException classNotFound ) {
classNotFound.printStackTrace();
System.exit( 1 );
}// catch.
}// Constructor.
//==============================================================================
private void showTable( ) {
try {
int numberOfColumns = metaData.getColumnCount();
rowSet.beforeFirst();
// display rowset header
for ( int i = 1; i <= numberOfColumns; i++ ) {
System.err.print(metaData.getColumnName(i) + "\t");
System.err.println();
// display each row
while ( rowSet.next() ) {
for ( int i = 1; i <= numberOfColumns; i++ ) {
System.err.print(rowSet.getObject(i)+ "\t");
}// for.
System.err.println();
} // end while
} catch ( SQLException sqlException ) {
sqlException.printStackTrace();
System.exit( 1 );
}// catch.
}// showTable.
//==============================================================================
public static void main(String[] args) {
new TestCachedRowSet();
}// main.
//==============================================================================
}// TestCachedRowSet.You can use this sql to create the item table.
USE test;
CREATE TABLE item (
item_id SMALLINT AUTO_INCREMENT,
name VARCHAR(100) NOT NULL,
phases TINYINT NOT NULL,
feed_from SMALLINT,
PRIMARY KEY (item_id)
insert into item (name, phases, feed_from)
values
('test string', 3, 1),
('Level 6A DB', 3, 1);I've been stuck on this problem for about 2 months, I raised a bug report but got no response so I'm assuming that the it must be a problem with my code. I'm currently using JDBCRowSet to continue on with my project but I've recently run into problems with the amount of connections, which is why I wanted to use the CachedRowSet.
Any help would be appreciated.
Thanks
Jamie

Hi All,
I'm getting the folllowing error when trying to update either a TINYINT or SMALLINT column yet a VARCHAR column works fine. I am using java 1.5.0_05-b05, MySQL 5.0.15-nt on Windows XP Pro SP2.
Program output.
item_id name phases feed_from
1 test string 3 1
2 Level 6A DB 3 1
item_id name phases feed_from
1 test string 0 1
2 Level 6A DB 3 1
javax.sql.rowset.spi.SyncProviderException: 2 conflicts while synchronizing
at com.sun.rowset.internal.CachedRowSetWriter.writeData(Unknown Source)
at com.sun.rowset.CachedRowSetImpl.acceptChanges(Unknown Source)
at com.rjg.test.TestCachedRowSet.<init>(TestCachedRowSet.java:53)
at com.rjg.test.TestCachedRowSet.main(TestCachedRowSet.java:105)Has anyone had this problem before?
He is test code that I have written if anyone would like to try it or tell me what I am doing wrong.
import java.sql.SQLException;
import java.sql.ResultSetMetaData;
import javax.sql.rowset.spi.SyncProviderException;
import javax.sql.rowset.CachedRowSet;
import com.sun.rowset.CachedRowSetImpl;
public class TestCachedRowSet {
private final String DB_URL =
"jdbc:mysql://localhost:3306/test?dumpQueriesOnException=true";
private final String USERNAME = "username";
private final String PASSWORD = "password";
private CachedRowSet rowSet = null;
private ResultSetMetaData metaData = null;
//==============================================================================
public TestCachedRowSet( ) {
try {
Class.forName( "com.mysql.jdbc.Driver" ); // load database driver class
rowSet = new CachedRowSetImpl();
rowSet.setUrl(DB_URL); // set database URL
rowSet.setUsername(USERNAME); // set username
rowSet.setPassword(PASSWORD); // set password
rowSet.setCommand("select * from item"); // set query
rowSet.execute();
metaData = rowSet.getMetaData();
showTable();
for ( int i = 0; i < 10; i++) {
System.err.println("*******************");
rowSet.first();
/* if this line is used the updates work fine */
// rowSet.updateString(2, ""+i);
/* this line will cause an error */
rowSet.updateInt(3, Integer.parseInt(""+(i)));
/* this line will cause an error */
// rowSet.updateInt(4, Integer.parseInt(""+i));
rowSet.updateRow();
rowSet.acceptChanges();
System.err.println("*******************");
showTable();
}// for.
rowSet.close();
} catch ( SQLException sqlException ) {
sqlException.printStackTrace();
System.exit( 1 );
} catch ( ClassNotFoundException classNotFound ) {
classNotFound.printStackTrace();
System.exit( 1 );
}// catch.
}// Constructor.
//==============================================================================
private void showTable( ) {
try {
int numberOfColumns = metaData.getColumnCount();
rowSet.beforeFirst();
// display rowset header
for ( int i = 1; i <= numberOfColumns; i++ ) {
System.err.print(metaData.getColumnName(i) + "\t");
System.err.println();
// display each row
while ( rowSet.next() ) {
for ( int i = 1; i <= numberOfColumns; i++ ) {
System.err.print(rowSet.getObject(i)+ "\t");
}// for.
System.err.println();
} // end while
} catch ( SQLException sqlException ) {
sqlException.printStackTrace();
System.exit( 1 );
}// catch.
}// showTable.
//==============================================================================
public static void main(String[] args) {
new TestCachedRowSet();
}// main.
//==============================================================================
}// TestCachedRowSet.You can use this sql to create the item table.
USE test;
CREATE TABLE item (
item_id SMALLINT AUTO_INCREMENT,
name VARCHAR(100) NOT NULL,
phases TINYINT NOT NULL,
feed_from SMALLINT,
PRIMARY KEY (item_id)
insert into item (name, phases, feed_from)
values
('test string', 3, 1),
('Level 6A DB', 3, 1);I've been stuck on this problem for about 2 months, I raised a bug report but got no response so I'm assuming that the it must be a problem with my code. I'm currently using JDBCRowSet to continue on with my project but I've recently run into problems with the amount of connections, which is why I wanted to use the CachedRowSet.
Any help would be appreciated.
Thanks
Jamie

Similar Messages

  • HT4972 What happens with games when updating from 5.1.1 to 6 or 7?

    Do you loose history on games when updating to latest software?

    You shouldn't but backups are always recommended. If you have a iPad 1 (no camera) you won't have this problem. iPad 1s can't be upgraded beyond IOS 5.1.1.

  • Problem with quicktime when updating

    Hi!
    When I try to upgrade iTunes it always fails when it comes to Quicktime. It says that iTunes needs quicktime to work but its impossile to upgrade it. Have tried to reinstall quicktime with no luck.
    What should I do?
    Is it "safe" to connect my iPhone to it even though iTunes isnt upgraded?
    Thanx!

    Try uninstalling iTunes, QuickTime Player and the related software, as shown here, and then reinstall iTunes -> Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    There isn't anything unsafe about using an older version of iTunes with your iPhone. If you attempt to update the iPhone, you may have to update iTunes.

  • Clustering failed with Exceptions when updating secondary

              We are using WLS5.1 with SP5 on Solaris2.6, jdk1.2.1_04, NES proxy. and we are using im-memory replication. We did see session information get carried to secondary server successfully, but we often have the following exceptions and caused Error 500 Internal Server error. Could someone help, it is urgent!
              Thanks.
              Q
              Mon Oct 02 15:43:42 PDT 2000:<E> <ServletContextManager> Servlet request terminiated with Error
              weblogic.cluster.replication.NotFoundException: updateSecondary unable to find object -4771698962606113573
              at java.lang.Throwable.fillInStackTrace(Native Method)
              at java.lang.Throwable.fillInStackTrace(Compiled Code)
              at java.lang.Throwable.<init>(Compiled Code)
              at java.lang.Exception.<init>(Compiled Code)
              at weblogic.cluster.replication.NotFoundException.<init>(NotFoundException.java:5)
              at weblogic.cluster.replication.ReplicationManager.find(Compiled Code)
              at weblogic.cluster.replication.ReplicationManager.updateSecondary(Compiled Code)
              at weblogic.servlet.internal.session.ReplicatedSession.sync(Compiled Code)
              at weblogic.servlet.internal.session.ReplicatedSessionContext.sync(Compiled Code)
              at weblogic.servlet.internal.ServletRequestImpl.syncSession(Compiled Code)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)
              at weblogic.servlet.internal.ServletContextManager.invokeServlet(Compiled Code)
              at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
              at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
              at weblogic.kernel.ExecuteThread.run(Compiled Code)
              --------------- nested within: ------------------
              weblogic.utils.NestedError: Could not find secondary on remote server - with nested exception:
              [weblogic.cluster.replication.NotFoundException: updateSecondary unable to find object -4771698962606113573]
              at java.lang.Throwable.fillInStackTrace(Native Method)
              at java.lang.Throwable.fillInStackTrace(Compiled Code)
              at java.lang.Throwable.<init>(Compiled Code)
              at java.lang.Error.<init>(Error.java:50)
              at weblogic.utils.NestedError.<init>(NestedError.java:23)
              at weblogic.servlet.internal.session.ReplicatedSession.sync(Compiled Code)
              at weblogic.servlet.internal.session.ReplicatedSessionContext.sync(Compiled Code)
              at weblogic.servlet.internal.ServletRequestImpl.syncSession(Compiled Code)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)
              at weblogic.servlet.internal.ServletContextManager.invokeServlet(Compiled Code)
              at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
              at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
              at weblogic.kernel.ExecuteThread.run(Compiled Code)
              

    How are you testing this. Your session is no longer there. Are you using jsp's or servlets for this.
              - Prasad
              Q wrote:
              > We are using WLS5.1 with SP5 on Solaris2.6, jdk1.2.1_04, NES proxy. and we are using im-memory replication. We did see session information get carried to secondary server successfully, but we often have the following exceptions and caused Error 500 Internal Server error. Could someone help, it is urgent!
              >
              > Thanks.
              >
              > Q
              >
              > Mon Oct 02 15:43:42 PDT 2000:<E> <ServletContextManager> Servlet request terminiated with Error
              > weblogic.cluster.replication.NotFoundException: updateSecondary unable to find object -4771698962606113573
              > at java.lang.Throwable.fillInStackTrace(Native Method)
              > at java.lang.Throwable.fillInStackTrace(Compiled Code)
              > at java.lang.Throwable.<init>(Compiled Code)
              > at java.lang.Exception.<init>(Compiled Code)
              > at weblogic.cluster.replication.NotFoundException.<init>(NotFoundException.java:5)
              > at weblogic.cluster.replication.ReplicationManager.find(Compiled Code)
              > at weblogic.cluster.replication.ReplicationManager.updateSecondary(Compiled Code)
              > at weblogic.servlet.internal.session.ReplicatedSession.sync(Compiled Code)
              > at weblogic.servlet.internal.session.ReplicatedSessionContext.sync(Compiled Code)
              > at weblogic.servlet.internal.ServletRequestImpl.syncSession(Compiled Code)
              > at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)
              > at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)
              > at weblogic.servlet.internal.ServletContextManager.invokeServlet(Compiled Code)
              > at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
              > at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
              > at weblogic.kernel.ExecuteThread.run(Compiled Code)
              > --------------- nested within: ------------------
              > weblogic.utils.NestedError: Could not find secondary on remote server - with nested exception:
              > [weblogic.cluster.replication.NotFoundException: updateSecondary unable to find object -4771698962606113573]
              > at java.lang.Throwable.fillInStackTrace(Native Method)
              > at java.lang.Throwable.fillInStackTrace(Compiled Code)
              > at java.lang.Throwable.<init>(Compiled Code)
              > at java.lang.Error.<init>(Error.java:50)
              > at weblogic.utils.NestedError.<init>(NestedError.java:23)
              > at weblogic.servlet.internal.session.ReplicatedSession.sync(Compiled Code)
              > at weblogic.servlet.internal.session.ReplicatedSessionContext.sync(Compiled Code)
              > at weblogic.servlet.internal.ServletRequestImpl.syncSession(Compiled Code)
              > at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)
              > at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)
              > at weblogic.servlet.internal.ServletContextManager.invokeServlet(Compiled Code)
              > at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
              > at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
              > at weblogic.kernel.ExecuteThread.run(Compiled Code)
              Cheers
              - Prasad
              

  • When is Verizon going to fix all of the things they broke with the latest update?

    Dear Verizon Wireless,
        I have been a customer for many years and for the most part have been satisfied with your service, but what happened to my Note 3 after the latest update is unacceptable.  I see many people in this forum with similar issues that are getting stock answers that don't really address the issues, and show a lack of interest in solving the problems, and helping your customers.
         I received my Galaxy Note 3 at the end of March, and I loved it.  It was very reliable, fast, and I could go a whole day on the battery (Most of my days last at least 18 hours) making calls, streaming audio or video, even sharing my broadband connection with my tablet once in a while, and still show the battery was 50% charged.  Until I received the 4.4.2 update on May 17th.
    Immediately after the update (which I installed that morning, fresh off the charger) the battery only lasted until around 7 PM,  when I plugged it into the charger first it didn't recognize it was even plugged in, and later kept telling me that I should use the original charger and cable for better performance.
    The clock showed the time as an hour later, I had to manually set the time zone instead of using the "obtain time zone information from the network" feature.
    The alarm clock randomly decides not to go off, this morning at 9:30 it still showed the alarm was set to go off at 8 am, but didn't.
    Yesterday while a mile from my house I received a notification that I would be charged extra for data usage while roaming outside of the U.S. and asking did I want to use it or not, while It had already disable my data waiting for a response, this would be useful if I had been outside of the U.S. and not at home.
         Don't tell me that my 45 day old battery lost 80% of it's functionality overnight because periodically they need to be replaced, while that is true it happens gradually over time and not within a 24 hour period.  The other problems, while somewhat minor, are still annoying and detract from the reliability of this device.  Not getting up on time because the alarm is unreliable is a big issue, I've used the alarm on my phones for 15 years without serious issues, and today I will be buying an alarm clock..
         I've worked 30 years in the IT field, many of those helping people resolve technical issues and I know how to tell the different between user configuration issues and broken software, If you don't have a real answer to mine and other peoples concerns on this forum then maybe it is time to escalate this issue to someone that was involved with building this update.
         I don't want to restore my phone unless it will actually solve the issue and not "lets see what happens when you do", because it would take me hours to reconfigure all of the software on my device.  Removing the update is probably not an option, so what I really want to know is when will the update be pushed that will fix these issues?

        Frustrated_liz,
    Hearing about all of the issues going on is upsetting to me, and so I can only imagine how you're feeling. I'm sorry you have to go through this experience. How hot is the phone getting? Hearing about it overheating is a huge safety concern and I'm worried. Have these service issues been going on since you got the phone?
    SarahO_VZW
    Follow us on Twitter @VZWSupport

  • I am having all kinds of trouble with itunes and updating my ipad. when I open up itunes, it seems to just sit there, never going to itunes store. when I connect my ipad, I check update and it starts, but then I get this message:backup can't be saved on

    I am having all kinds of trouble with itunes and updating my ipad. I open itunes up but it doesn't do anything except open to a blank screen. I try to access the itunes store but it won't go there. When I connect my ipad, and try to update it, it starts and then I get a message that says backup cannot be saved on this computer. I have tried everything suggested to no avail. This is the 2nd or 3rd time I have had problems with itunes. Sometimes I even get a message that I am not connected to the internet.
    I have uninstalled and re-installed. Any help?

    You might not have enough space left on your hardrive.

  • HT1918 When I try to download a free app after log in the iTunes gets cut off with a msg update security question where do I do this?? I can't download anything

    When I try to download a free app after log in the iTunes gets cut off with a msg update security question where do I do this?? I can't download anything

    If you have a credit card on file on top of your gift card then it is asking you to confirm the security code for the card, which for a Visa or MasterCard is 3 digits located on the back, or AMEX has 4 digits on the front.  This happens just to ensure that you are the account holder, and would happen from time to time whether it was a free or paid app, even if you have a credit through your gift card.  This doesn't mean that your credit card will be charged.

  • I updated the IPAD with the latest update and now when I turned the IPAD on, I get the itunes logo and then nothing else.  How can I fix this to let me use my IPAD?

    I updated the IPAD with the latest update and now when I turned the IPAD on, I get the itunes logo and then nothing else.  How can I fix this to let me use my IPAD?

    YOU ARE IN RECOVERY MODE
    1. Turn off iPad
    2. Turn on computer and launch iTunes (make sure you have the latest version of iTune)
    3. Plug USB cable into computer's USB port
    4. Hold Home button down and plug the other end of cable into docking port.
    DO NOT RELEASE BUTTON until you see picture of iTunes and plug
    5. Release Home button.
    ON COMPUTER
    6. iTunes has detected iPad in recovery mode. You must restore this iPad before it can be used with iTunes.
    7. Select "Restore iPad"...
    Note:
    1. Data will be lost if you do not have backup
    2. You must follow step 1 to step 4 VERY CLOSELY.
    3. Repeat the process if necessary.

  • Updating error when updating creative zen stone with Creative ZEN Stone Starter Pack 1.10

    Im trying to update my zen stone(which im so glad i bought)with the update software app(new starter pack) that was released oct 22 07 ut am getting string errors.First i tried using the update software in media lite and i get string errors.
    i quote : string id 2225 not found plus string id 2208 not found.
    I tried installing a couple of time with no apps open and i get the same error. I also tried dloading the app from creative support site myself and when i try install it i get the same error.
    The q Is there a problem with the new update or is it my pc.
    I am using XP professional:52 Ram.
    My current software version is .06.0.
    The file im trying to update is ZENStone_PCApp_CLE_ L6_0_08(4.64 MB)
    Id appreciate anyones feedback on this as id like to keep my player uptodate when it comes to critical updates like this.

    Try going into "Control Panel->Administrati've tools" and clicking on "Computer Management". Find "disk management" in the left pane and click it. Your Stone should be in the right somewhere. I think you need to right click, then "choose dri've letter and paths" and give it a dri've letter with the "add" button. Let us know if that works.

  • With the new updates for iTunes, I can no longer print a CD case playlist when I burn a CD.  It prints in a jumbled mess.  I have reinstalled, updated, run diagnostics on my NEW printer, I am out of ideas!

    With the new updates for iTunes, I can no longer print a CD case playlist when I burn a CD.  It prints in a jumbled mess.  I have reinstalled, updated, run diagnostics on my NEW printer, I am out of ideas!

    It appears to be a bug with the current build. Hopefully it will be fixed in the next release.
    tt2

  • Devtools update causes problems with sudo when used in a script?

    I'm a little confused by this one, but I'm not convinced that it's a bug.. yet.
    Long story short, I compile packages using the ABS via a script/wrapper which uses devtools. The script is available here: https://github.com/WorMzy/compilepackage
    Now, this script is far from perfect, but has worked perfectly well (in various states of completeness) for the past year or so. However, with the recent update of devtools (20120720-1 => 20121013-1), my script fails to execute correctly. After entering the password when prompted (by sudo, at this line: https://github.com/WorMzy/compilepackag … tions#L107), the script terminates unexpectedly.
    Downgrading devtools "fixes" this problem, but I'm not sure if this is a bug in devtools, sudo, zsh, my script, or something else.
    Here is the full output from the compilation of "arch-install-scripts":
    build@sakura[pts/10]:~/builds/devtools$ . ~/.scripts/compilepackage arch-install-scripts
    ==> Downloading sources
    ==> arch-install-scripts directory already exist. Replace ? [Y/n]
    ==> Download arch-install-scripts sources
    receiving file list ... done
    sent 28 bytes received 70 bytes 39.20 bytes/sec
    total size is 656 speedup is 6.69
    :: Synchronizing package databases...
    core is up to date
    extra is up to date
    community is up to date
    :: Starting full system upgrade...
    there is nothing to do
    ==> Building in chroot for [extra] (x86_64)...
    ==> Creating clean working copy...done
    ==> Making package: arch-install-scripts 8-1 (Fri Oct 19 23:45:52 BST 2012)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    -> Found arch-install-scripts-8.tar.gz
    -> Found arch-install-scripts-8.tar.gz.sig
    ==> Validating source files with md5sums...
    arch-install-scripts-8.tar.gz ... Passed
    arch-install-scripts-8.tar.gz.sig ... Passed
    ==> Verifying source file signatures with gpg...
    arch-install-scripts-8.tar.gz ... FAILED (unknown public key 1EB2638FF56C0C53)
    ==> WARNING: Warnings have occurred while verifying the signatures.
    Please make sure you really trust them.
    ==> Extracting Sources...
    -> Extracting arch-install-scripts-8.tar.gz with bsdtar
    ==> Starting build()...
    make: Entering directory `/build/src/arch-install-scripts-8'
    GEN arch-chroot
    GEN genfstab
    GEN pacstrap
    make: Leaving directory `/build/src/arch-install-scripts-8'
    ==> Entering fakeroot environment...
    ==> Starting package()...
    make: Entering directory `/build/src/arch-install-scripts-8'
    install -dm755 /build/pkg/usr/bin
    install -m755 arch-chroot genfstab pacstrap /build/pkg/usr/bin
    install -Dm644 zsh-completion /build/pkg/usr/share/zsh/site-functions/_archinstallscripts
    make: Leaving directory `/build/src/arch-install-scripts-8'
    ==> Tidying install...
    -> Purging unwanted files...
    -> Compressing man and info pages...
    -> Stripping unneeded symbols from binaries and libraries...
    ==> Creating package...
    -> Generating .PKGINFO file...
    -> Compressing package...
    ==> Leaving fakeroot environment.
    ==> Finished making: arch-install-scripts 8-1 (Fri Oct 19 23:45:54 BST 2012)
    ==> Installing package arch-install-scripts with pacman -U...
    loading packages...
    resolving dependencies...
    looking for inter-conflicts...
    Targets (1): arch-install-scripts-8-1
    Total Installed Size: 0.03 MiB
    Proceed with installation? [Y/n]
    (1/1) checking package integrity [######################################################################] 100%
    (1/1) loading package files [######################################################################] 100%
    (1/1) checking for file conflicts [######################################################################] 100%
    (1/1) installing arch-install-scripts [######################################################################] 100%
    resolving dependencies...
    looking for inter-conflicts...
    Targets (5): elfutils-0.155-1 pyalpm-0.5.3-2 python-3.3.0-1 python-pyelftools-0.20-2 namcap-3.2.4-2
    Total Installed Size: 99.58 MiB
    Proceed with installation? [Y/n]
    (5/5) checking package integrity [######################################################################] 100%
    (5/5) loading package files [######################################################################] 100%
    (5/5) checking for file conflicts [######################################################################] 100%
    (1/5) installing python [######################################################################] 100%
    Optional dependencies for python
    tk: for tkinter
    sqlite
    (2/5) installing pyalpm [######################################################################] 100%
    (3/5) installing elfutils [######################################################################] 100%
    (4/5) installing python-pyelftools [######################################################################] 100%
    (5/5) installing namcap [######################################################################] 100%
    Checking PKGBUILD
    Checking arch-install-scripts-8-1-any.pkg.tar.xz
    arch-install-scripts W: Dependency bash included but already satisfied
    arch-install-scripts W: Dependency included and not needed ('coreutils')
    arch-install-scripts W: Dependency included and not needed ('pacman')
    arch-install-scripts W: Dependency included and not needed ('util-linux')
    ==> Compilation complete, installing...
    Password:
    loading packages...
    warning: arch-install-scripts-8-1 is up to date -- reinstalling
    resolving dependencies...
    looking for inter-conflicts...
    Targets (1): arch-install-scripts-8-1
    Total Installed Size: 0.03 MiB
    Net Upgrade Size: 0.00 MiB
    Proceed with installation? [Y/n] % build@sakura[pts/10]:~/builds/arch-install-scripts$
    That "%" is inverted, just like what you get when you run
    echo -n "text"
    in zsh. Incidentally, here is my .zshrc: https://github.com/WorMzy/Config-files/ … ter/.zshrc, however, the problem persists with a new user with an unconfigured zsh.
    Here is my sudoers too:
    ## sudoers file.
    ## This file MUST be edited with the 'visudo' command as root.
    ## Failure to use 'visudo' may result in syntax or file permission errors
    ## that prevent sudo from running.
    ## See the sudoers man page for the details on how to write a sudoers file.
    ## Host alias specification
    ## Groups of machines. These may include host names (optionally with wildcards),
    ## IP addresses, network numbers or netgroups.
    # Host_Alias WEBSERVERS = www1, www2, www3
    ## User alias specification
    ## Groups of users. These may consist of user names, uids, Unix groups,
    ## or netgroups.
    # User_Alias ADMINS = millert, dowdy, mikef
    ## Cmnd alias specification
    ## Groups of commands. Often used to group related commands together.
    # Cmnd_Alias PROCESSES = /usr/bin/nice, /bin/kill, /usr/bin/renice, \
    # /usr/bin/pkill, /usr/bin/top
    ## Defaults specification
    ## You may wish to keep some of the following environment variables
    ## when running commands via sudo.
    ## Locale settings
    # Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET"
    ## Run X applications through sudo; HOME is used to find the
    ## .Xauthority file. Note that other programs use HOME to find
    ## configuration files and this may lead to privilege escalation!
    # Defaults env_keep += "HOME"
    ## X11 resource path settings
    # Defaults env_keep += "XAPPLRESDIR XFILESEARCHPATH XUSERFILESEARCHPATH"
    ## Desktop path settings
    # Defaults env_keep += "QTDIR KDEDIR"
    ## Allow sudo-run commands to inherit the callers' ConsoleKit session
    # Defaults env_keep += "XDG_SESSION_COOKIE"
    ## Uncomment to enable special input methods. Care should be taken as
    ## this may allow users to subvert the command being run via sudo.
    # Defaults env_keep += "XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER"
    ## Uncomment to enable logging of a command's output, except for
    ## sudoreplay and reboot. Use sudoreplay to play back logged sessions.
    # Defaults log_output
    # Defaults!/usr/bin/sudoreplay !log_output
    # Defaults!/usr/local/bin/sudoreplay !log_output
    # Defaults!/sbin/reboot !log_output
    Defaults timestamp_timeout=0,passwd_timeout=0,passprompt="Password:",badpass_message="Incorrect password",editor=/usr/bin/vim:/usr/bin/vi,targetpw
    ## Runas alias specification
    ## User privilege specification
    root ALL=(ALL) ALL
    build sakura=/usr/bin/pacman-color -U *,/usr/bin/pacman-color -Sy,/usr/bin/pacman-color -Syy
    build sakura=/usr/bin/pacman -U *
    build sakura=NOPASSWD: /usr/bin/extra-x86_64-build,/usr/bin/multilib-build,/usr/sbin/makechrootpkg
    ## Uncomment to allow members of group wheel to execute any command
    %wheel sakura=(ALL) ALL
    ## Same thing without a password
    #%wheel ALL=(ALL) NOPASSWD: /sbin/sdshutdown, /sbin/sdreboot
    ## Uncomment to allow members of group sudo to execute any command
    # %sudo ALL=(ALL) ALL
    ## Uncomment to allow any user to run sudo if they know the password
    ## of the user they are running the command as (root by default).
    # Defaults targetpw # Ask for the password of the target user
    # ALL ALL=(ALL) ALL # WARNING: only use this together with 'Defaults targetpw'
    ## Read drop-in files from /etc/sudoers.d
    ## (the '#' here does not indicate a comment)
    #includedir /etc/sudoers.d
    Further information will be provided on request. Suggestions for improving the script will also be appreciated.
    Thanks.

    Update: It appears that the cause is systemd's nspawn. Disabling it in mkarchroot (have_nspawn=0) resolves the problem.
    However, I don't understand why it's causing this behaviour. User input works fine for the sudo password prompt, but then fails for the pacman user prompt? Do they use different input buffers or something? Does that question even make sense?
    Anyway, I'll open a bug report on flyspray and upstream about this when I get the chance.

  • HT201401 4s with latest software update will not power off, text will only vibrate, iPod only works with earphones. When I sync it with iTunes it works until power save mode starts, then back to not powering down, making text sounds, or playing iPod out l

    4s with latest software update will not power off, text will only vibrate, iPod only works with earphones. When I sync it with iTunes it works until power save mode starts, then back to not powering down, making text sounds, or playing iPod out loud.

    The Basic Troubleshooting Steps are:
    Restart... Reset... Restore from Backup...  Restore as New...
    Restart / Reset
    http://support.apple.com/kb/ht1430
    Backing up, Updating and Restoring
    http://support.apple.com/kb/HT1414
    If you try all these steps and you still have issues... Then a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is the Next Step...
    Be sure to make an appointment first...

  • I have a problem with Safari: when it opens and I go on google, it opens a page that says: PLEASE UPDATE INTERNET EXPLORERE.   What should I do?

    I have a problem with Safari: when it opens and I go on google, it opens a page that says: please update internet explorer!
    What should I do?

    It's a scam. Have a look at this thread:
    https://discussions.apple.com/thread/6058094?tstart=0

  • Before when I clicked on a hyperlink in a Pages document Pages immediately opened the link.  Now Pages ask if I want to "Edit or Open" the link.  Is this an option that I can turn or off or is this just a change with the latest update?  Thi

    Before when I clicked on a hyperlink in a Pages document Pages immediately opened the link.  Now Pages ask if I want to "Edit or Open" the link.  Is this an option that I can turn or off or is this just a change with the latest update?  This only started in the last six months or so.
    iWorks "09"  Pages ver 5.2

    Use Pages '09 which should still be in your Applications/iWork folder.
    Peter

  • Good evening I would please help me, IGood evening I would please help me, I have problems with flash player when update on my computer Flash Player for windows 8, gives me error in the installation that is not apply on my computer. Please help. Thank You

    Good evening I would please help me, IGood evening I would please help me, I have problems with flash player when update on my computer Flash Player for windows 8, gives me error in the installation that is not apply on my computer. Please help. Thank You

    First, confirm that ActiveX Filtering is configured to allow Flash content:
    https://forums.adobe.com/thread/867968
    Internet Explorer 11 introduces a number of changes both to how the browser identifies itself to remote web servers, and to how it processes JavaScript intended to target behaviors specific to Internet Explorer. Unfortunately, this means that content on some sites will be broken until the content provider changes their site to conform to the new development approach required by modern versions of IE.
    You can try to work around these issues by using Compatibility View:
    http://windows.microsoft.com/en-us/internet-explorer/use-compatibility-view#ie=ie-11
    If that is too inconvenient, using Google Chrome may be a preferable alternative.

Maybe you are looking for