Windows XP issues and workarounds


#21

Im not really sure how you got into this state.... as depends what you did.
but basically, you have ended up on the master branch of the libraries rather than 1.0.12

if your online (which you'll need to be to sync with the libraries), then you simply need to do preferences->reset all

(if you search on this forum, you will see others have had similar issues at times)


#22

I'm not sure how I got into Master Branch either, lol, but I've been super-careful about all this, done exactly as suggested. I've gotten the machine online now, even tested it first just to make sure it's connected to the internet. So now I've gone into Preferences and pressed the Reset All button, and now I get this. It's notably different from last time (so Reset All did change something), but sadly it's still not working ...

init repo FAILED : factory
org.eclipse.jgit.api.errors.TransportException: https://github.com/axoloti/axoloti-factory.git: cannot open git-upload-pack
org.eclipse.jgit.api.errors.TransportException: https://github.com/axoloti/axoloti-factory.git: cannot open git-upload-pack
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:134)
at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:201)
at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:135)
at axoloti.utils.AxoGitLibrary.init(AxoGitLibrary.java:136)
at axoloti.utils.Preferences.ResetLibraries(Preferences.java:440)
at axoloti.dialogs.PreferencesFrame.jResetLibActionPerformed(PreferencesFrame.java:572)
at axoloti.dialogs.PreferencesFrame.access$1000(PreferencesFrame.java:41)
at axoloti.dialogs.PreferencesFrame$12.actionPerformed(PreferencesFrame.java:309)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: org.eclipse.jgit.errors.TransportException: https://github.com/axoloti/axoloti-factory.git: cannot open git-upload-pack
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:518)
at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:296)
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1179)
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:128)
... 43 more
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
at sun.security.ssl.Handshaker.processLoop(Unknown Source)
at sun.security.ssl.Handshaker.process_record(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
at org.eclipse.jgit.transport.http.JDKHttpConnection.getResponseCode(JDKHttpConnection.java:98)
at org.eclipse.jgit.util.HttpSupport.response(HttpSupport.java:174)
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:469)
... 48 more
Caused by: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed
at sun.security.validator.PKIXValidator.doValidate(Unknown Source)
at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
at sun.security.validator.Validator.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
... 65 more
Caused by: java.security.cert.CertPathValidatorException: timestamp check failed
at sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(Unknown Source)
at sun.security.provider.certpath.PKIXCertPathValidator.validate(Unknown Source)
at sun.security.provider.certpath.PKIXCertPathValidator.validate(Unknown Source)
at sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(Unknown Source)
at java.security.cert.CertPathValidator.validate(Unknown Source)
... 71 more
Caused by: java.security.cert.CertificateNotYetValidException: NotBefore: Tue Oct 22 13:00:00 BST 2013
at sun.security.x509.CertificateValidity.valid(Unknown Source)
at sun.security.x509.X509CertImpl.checkValidity(Unknown Source)
at sun.security.provider.certpath.BasicChecker.verifyTimestamp(Unknown Source)
at sun.security.provider.certpath.BasicChecker.check(Unknown Source)
... 76 more

init repo FAILED : community
org.eclipse.jgit.api.errors.TransportException: https://github.com/axoloti/axoloti-contrib.git: cannot open git-upload-pack
org.eclipse.jgit.api.errors.TransportException: https://github.com/axoloti/axoloti-contrib.git: cannot open git-upload-pack
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:134)
at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:201)
at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:135)
at axoloti.utils.AxoGitLibrary.init(AxoGitLibrary.java:136)
at axoloti.utils.Preferences.ResetLibraries(Preferences.java:440)
at axoloti.dialogs.PreferencesFrame.jResetLibActionPerformed(PreferencesFrame.java:572)
at axoloti.dialogs.PreferencesFrame.access$1000(PreferencesFrame.java:41)
at axoloti.dialogs.PreferencesFrame$12.actionPerformed(PreferencesFrame.java:309)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: org.eclipse.jgit.errors.TransportException: https://github.com/axoloti/axoloti-contrib.git: cannot open git-upload-pack
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:518)
at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:296)
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1179)
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:128)
... 43 more
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
at sun.security.ssl.Handshaker.processLoop(Unknown Source)
at sun.security.ssl.Handshaker.process_record(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
at org.eclipse.jgit.transport.http.JDKHttpConnection.getResponseCode(JDKHttpConnection.java:98)
at org.eclipse.jgit.util.HttpSupport.response(HttpSupport.java:174)
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:469)
... 48 more
Caused by: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed
at sun.security.validator.PKIXValidator.doValidate(Unknown Source)
at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
at sun.security.validator.Validator.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
... 65 more
Caused by: java.security.cert.CertPathValidatorException: timestamp check failed
at sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(Unknown Source)
at sun.security.provider.certpath.PKIXCertPathValidator.validate(Unknown Source)
at sun.security.provider.certpath.PKIXCertPathValidator.validate(Unknown Source)
at sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(Unknown Source)
at java.security.cert.CertPathValidator.validate(Unknown Source)
... 71 more
Caused by: java.security.cert.CertificateNotYetValidException: NotBefore: Tue Oct 22 13:00:00 BST 2013
at sun.security.x509.CertificateValidity.valid(Unknown Source)
at sun.security.x509.X509CertImpl.checkValidity(Unknown Source)
at sun.security.provider.certpath.BasicChecker.verifyTimestamp(Unknown Source)
at sun.security.provider.certpath.BasicChecker.check(Unknown Source)
... 76 more


#23

This is the issue , is your clock correct?


#24

Aha!

No, time is not correct cause I remember now, I need a new BIOS backup battery!
Thanks, I'll give it a go, fingers crossed!


#25

Hey Mark, check it out ... :sunglasses:

Repo initialised Successfully : factory (1.0.12,anon)
Sync Successful : factory (1.0.12,anon)
Repo initialised Successfully : community (1.0.12,anon)
Sync Successful : community (1.0.12,anon)

Thanks so much to all who helped out, this is great!


#26

Damn, it still isn't working, I thought it was!

The patcher is working, it connects and disconnects perfectly, recognises the Axoloti etc. But I just tried to upload a patch to it and it keeps throwing up an error, the part highlighted in red basically telling me that it cannot find the file "xpatch.bin". I've checked the directory it says it's looking for it, and the file is there!

Any idea what's causing this?

I thought I was finally in a position to take a look at that Sample Scrubber and VHS patch Lokki and Krikor made, and now this, damn stubborn thing!


#27

You'll need to post the whole log , perhaps more clues there


#28

Cheers Mark, I'll split it into two parts so you can see what happens when I first start the Axoloti Patcher, and then what happens when I try to upload a patch to it.

When I first start the Axoloti Patcher I get this ...

Axoloti version : 1.0.12-0-g80370d2 build time : 02/02/2017 20:39:14 CET
Link to firmware CRC E95BAC96
Status: factory (1.0.12,anon) : OK ( 1.0.12,clean )
Status : home : OK
Status: community (1.0.12,anon) : OK ( 1.0.12,clean )
USB device found
connected
Authentic Axoloti Core

But when I try to upload a patch to it, I get this, and it disconnects ...

search path : C:\Documents and Settings\User 1\Documents\axoloti\axoloti-factory\objects
file error: FR_NO_FILE, filename:"/START.BIN"
search path : C:\Documents and Settings\User 1\Documents\axoloti\objects
search path : C:\Documents and Settings\User 1\Documents\axoloti\axoloti-contrib\objects
Firmware version: 1.0.0.1, crc=0xE95BAC96, entrypoint=0x20011000
finished loading objects
Generate code complete
Creating directory on sdcard : /untitled
Done creating directory
Changing working directory on sdcard : /untitled
Done changing working directory
Start compiling patch
BDIR = C:\DOCUME~1\USER1~1\DOCUME~1\axolotiments\axoloti/build
FIRMWARE = .
make: *** No rule to make target C:\DOCUME~1\USER1~1\DOCUME~1\axolotiments\axoloti/build/xpatch.cpp', needed byC:\DOCUME~1\USER1~1\DOCUME~1\axolotiments\axoloti/build/xpatch.bin'. Stop.
Done compiling patch
Start uploading patch
bin path: C:\Documents and Settings\User 1\Documents\axoloti\build\xpatch.bin
FileNotFoundException,java.io.FileNotFoundException: C:\Documents and Settings\User 1\Documents\axoloti\build\xpatch.bin (The system cannot find the file specified)
java.io.FileNotFoundException: C:\Documents and Settings\User 1\Documents\axoloti\build\xpatch.bin (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.(Unknown Source)
at qcmds.QCmdUploadPatch.Do(QCmdUploadPatch.java:65)
at axoloti.USBBulkConnection$Transmitter.run(USBBulkConnection.java:885)
at java.lang.Thread.run(Unknown Source)

Disconnect request
Done uploading patch


#29

so it cant find the generated source file.
is it there?
(path looks incorrect to me)

I guess something to do with the spaces in the filenames and xp...
one possibility is to move the home directory to somewhere else, without spaces in it.
the override the environment variable HOME_DIR AXOLOTI_HOME to point to the new location.


#30

Wow, that's really odd. I've absolutely no idea why it made a folder called "axolotiments", and I assure you, it certainly wasn't me :open_mouth:

Regards the space in the path name, that part is my fault cause when I installed Windows XP, I called the default user "User 1". But ok then, I'll look into changing that variable, and if it works I'll reinstall Windows XP again and use a name without spaces next time. Tell you what though, that "axolotiments" path was not there last time, because I followed the path it was complaining about, and yes, the file is there.

I think I've aquired an Axoloti with a mind of her own - she wants to play games?
Right, I'll give her games, I'll tame her ...


#31

Don't bother with the username, that's probably not going to help

Use axoloti_home variable this is what it's for, to be able to override the default home directory.

As for the oddity, could be any number of things, I can't know for sure without running it myself - this is why we test software on different versions of OSs, and why we don't support older versions.

also bare in mind , older OSs do have bugs that have been fixed in newer versions, and behavior that has been altered - hence compatibility issues.


#32

It has happened, I have tamed her, she's on her knees begging for patches now!

That was the first time I ever had anything to do with a system variable. I found the panel where all the variables are handled, but neither of those variables were listed, they simply were not there to start with, so nothing to edit. Anyway, I added a new one and named it AXOLOTI_HOME, and gave it the value by copy/pasting the correct path.

After that, I had to remove, reconnect, reset all, sync libraries again, and now it works. I've even tested the card this time by uploading that formatter object to it, and even that works.

Thanks again for sticking with me on this :sunglasses:


#33

Maybe a 'How to install on XP" user guide is in order. :star_struck:


#34

Hello,

just installed Axoloti patcher in a Windows XP VM using this thread as a reference.
Everything seems to work fine.


#35

Did you also have to set axoloti_home to make it work? or did it work without?


#36

It seems to work without. At least I did not get any error messages. :wink:


#37

@Gavin
No point really, cause this thread serves to cover the various scenarios. I could write a step-by-step but it still wouldn't work for some - so might as well just use what is here.

@thetechnobear
Wouldn't it be up to the Axoloti installer to setup that variable? If so, bear in mind I only copied the folders across cause it was originally installed on the Windows 7 machine. If it were up to the installer to set-up that variable, that might explain it not being there on the Windows XP machine (cause the Axoloti Patcher installer was never run on that machine).

@wincent
I'm curious which version of Windows XP you're using, is it SP1, 2, or 3?
I used the offline SP3 installer on my system before attempting this.


#38

no, as I stated, these are override variables... to allow users to change the default behaviour.
within the code, we already use defaults.. but that defaulting appeared to not work in your scenario (and is one of the reasons we are not support XP, since it might have different operating system defaults, so requires different code)

also, just to note... id already documented these custom variables in the user guide.


#39

This is Windows XP Professional Version 2002 SP3.


#40

@thetechnobear
Well at least I have a better understanding of how an Axoloti Installation works now. And like I said, I've never had any need to touch a system variable before. I mean literally, never, during my entire time using computers. But I get what they're used for now, thanks for the explanation.

@wincent
Windows XP Home Edition SP3 here.