Axoloti on mac 10.12 not working, but on 10.9


#1

hi there,
first of all, the axoloti is great and thanks for your great work. also, this is my first post and i hope to do it right.
my problem: i could not get it running on 10.12 (macSierra)!
my first laptop is running 10.9 and everything is working fine. my second laptop is running 10.12 (and following the link java1.8 is installed) but i get some errors and i can´t work on 10.12.
i used the same and up-to-date installers on both machines. strangly, on 10.9 the folder in ~/documents/axoloti ist filled with nice patches and other stuff, but on 10.12 the folder contains the same folders (axoloti-contrib,axoloti-factory,axoloti.prefs,build,objects,patches) - but all of them are empty! i manually copied the folder from the 10.9 laptop to 10.12 laptop and - magic to me - i could upload 2 or 3 patches and play live for a short while. now, it disconnects every minute or so…and after a restart i get a new error.

i would be happy about any help, because now the axoloti is not useable for me and i can not stick to the 10.9 laptop any more.

thanks,
prxtst

i copied all information, i hope it helps:


this is a fresh install from 10.12. (before coping the files from 10.9, no board connected) :

Axoloti version : 1.0.12-1-0-g4de2b632 build time : 08/02/2017 00:15:42 GMT
Link to firmware CRC E95BAC96
Current user library does not match correct version master -> 1.0.12
Stash (stash) FAILED : community (1.0.12,anon)
org.eclipse.jgit.api.errors.NoHeadException: HEAD required to stash local changes
org.eclipse.jgit.api.errors.NoHeadException: HEAD required to stash local changes
at org.eclipse.jgit.api.StashCreateCommand.getHead(StashCreateCommand.java:225)
at org.eclipse.jgit.api.StashCreateCommand.call(StashCreateCommand.java:242)
at axoloti.utils.AxoGitLibrary.createStash(AxoGitLibrary.java:247)
at axoloti.utils.AxoGitLibrary.upgrade(AxoGitLibrary.java:199)
at axoloti.MainFrame$4.run(MainFrame.java:327)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Current factory library does not match correct version, upgrading master -> 1.0.12
Stash (stash) FAILED : factory (1.0.12,anon)
org.eclipse.jgit.api.errors.NoHeadException: HEAD required to stash local changes
org.eclipse.jgit.api.errors.NoHeadException: HEAD required to stash local changes
at org.eclipse.jgit.api.StashCreateCommand.getHead(StashCreateCommand.java:225)
at org.eclipse.jgit.api.StashCreateCommand.call(StashCreateCommand.java:242)
at axoloti.utils.AxoGitLibrary.createStash(AxoGitLibrary.java:247)
at axoloti.utils.AxoGitLibrary.upgrade(AxoGitLibrary.java:199)
at axoloti.MainFrame$4.run(MainFrame.java:339)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Status: factory (1.0.12,anon) : OK ( master,clean )
Status : home : OK
Status: community (1.0.12,anon) : OK ( master,clean )
No available USB device found with matching PID/VID
search path : /Users/ichi/Documents/axoloti/axoloti-factory/objects
search path : /Users/ichi/Documents/axoloti/objects
search path : /Users/ichi/Documents/axoloti/axoloti-contrib/objects
finished loading objects


this is from 10.12 after coping the files from 10.9, now it disconnects quite often:

Axoloti version : 1.0.12-1-0-g4de2b632 build time : 08/02/2017 00:15:42 GMT
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
Can't obtain signature, upgrade firmware?
search path : /Users/ichi/Documents/axoloti/axoloti-factory/objects
search path : /Users/ichi/Documents/axoloti/objects
search path : /Users/ichi/Documents/axoloti/axoloti-contrib/objects
Ping: WaitSync Timeout, disconnecting now
Disconnect request
Ping: WaitSync Timeout, disconnecting now
finished loading objects
Ping: WaitSync Timeout, disconnecting now
Ping: WaitSync Timeout, disconnecting now
USB device found
connected
java.lang.Exception: otpinfo has wrong length
java.lang.Exception: otpinfo has wrong length
at axoloti.HWSignature.Verify(HWSignature.java:114)
at axoloti.USBBulkConnection.connect(USBBulkConnection.java:315)
at axoloti.MainFrame.jCheckBoxConnectActionPerformed(MainFrame.java:727)
at axoloti.MainFrame.access$500(MainFrame.java:89)
at axoloti.MainFrame$8.actionPerformed(MainFrame.java:521)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:308)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6533)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6298)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
at java.awt.Container.dispatchEventImpl(Container.java:2280)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Ping: WaitSync Timeout, disconnecting now
Disconnect request
USB device found
connected
Authentic Axoloti Core
Firmware version: 1.0.0.1, crc=0xE95BAC96, entrypoint=0x20011000
Ping: WaitSync Timeout, disconnecting now
Disconnect request


and after a restart this is my new error message (10.12):

Axoloti version : 1.0.12-1-0-g4de2b632 build time : 08/02/2017 00:15:42 GMT
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 )
No available USB device found with matching PID/VID
search path : /Users/ichi/Documents/axoloti/axoloti-factory/objects
search path : /Users/ichi/Documents/axoloti/objects
search path : /Users/ichi/Documents/axoloti/axoloti-contrib/objects
finished loading objects
USB device found
connected
Authentic Axoloti Core
file error: FR_NO_FILE, filename:"/START.BIN"
Firmware version: 1.0.0.1, crc=0xE95BAC96, entrypoint=0x20011000
Ping: WaitSync Timeout, disconnecting now
Disconnect request
USB device found
connected
Authentic Axoloti Core
Firmware version: 1.0.0.1, crc=0xE95BAC96, entrypoint=0x20011000
Generate code complete
Creating directory on sdcard : /01_sine_oscillator
Done creating directory
Changing working directory on sdcard : /01_sine_oscillator
Done changing working directory
Start compiling patch
Compiling patch... with /Applications/Axoloti.app/Contents/Java/firmware
BDIR = /Users/ichi/Documents/axoloti/build
FIRMWARE = .
RM
APP
! /Users/ichi/Documents/axoloti/build/xpatch.h.gch
LINK
BIN
Done compiling patch
Start uploading patch
bin path: /Users/ichi/Documents/axoloti/build/xpatch.bin
block uploaded @ 0x20011000 length 5160
Done uploading patch
Starting patch...
Done starting patch
Start locking
Done locking
Ping: WaitSync Timeout, disconnecting now
Disconnect request
java.lang.InterruptedException
java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:502)
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1315)
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1296)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1348)
at axoloti.USBBulkConnection.DistributeToDisplays(USBBulkConnection.java:1079)
at axoloti.USBBulkConnection.processByte(USBBulkConnection.java:1258)
at axoloti.USBBulkConnection$Receiver.run(USBBulkConnection.java:868)
at java.lang.Thread.run(Thread.java:745)


#2

ok, theres too many different types of errors there to be useful, and phrases like 'copying files' tends to scare me :wink:

I suggest you:
a) backup any patches you have created, that are not in the community library
(usually in ~/Documents/Axoloti/Patches)
b) delete Axoloti and Runtime from Applications
c) delete ~/Documents/Axoloti
d) reinstall Axoloti 1.0.12 and Runtime
e) plugin in your axoloti, and then start Axoloti UI.

after this, if you get errors with the Axoloti Board connecting , then reflash the firmware , with Board->Firmware->Flash

if you still get hardware error, try a new usb cable.

f) open one of the demo patches, and run it.

there is no issue with 10.12, Ive been running it ever since it was released :wink:

(... now 10.13, high sierra, thats a different matter, Ive not installed/tested that yet)


#3

hei technobear

thanks for your suggestions.
i wrote my first post after backup, deleting and reinstalling,
BUT every time i want a fresh axoloti install on 10.12 the axoloti folder (in /documents/) contains all folders, but the folders (axoloti-contrib,axoloti-factory,axoloti.prefs,build,objects,patches) are totally empty… only if i copy the content from the 10.9 machine i am able to open e.g. the tutorial patches

things like firmware-flashing scares me :wink:
after changing the usb-cabel (for the third time, even if everything was working on 10.9) and using the copied content from 10.9 it´s working right now and without an error message. horray!
without the copied content 0 patches are found
copying was my last try … i remember old os9 days, where we copied whole applications this way :wink:

i read your 10.12 story before writing my post, but it seems there is an issue with installing on 10.12. maybe it´s working on your machine because you made an update, not a fresh install. there are no files (folders yes, content no) installed - i tried it several times now! or my laptop tries to be funny...

thanks for your quick answer!
best,
prxtst


#4

if axoloti-contrib/axoloti-factory are empty, this is because the synchronisation is failing...
this should produce an error in the console... (you can also try to File->Sync Libraries)

this is the issue we should be resolving, copying files across will likely cause other issues, its not the solution to the underlying cause. (since also it will mean you later cannot sync, since that issue has not been solved)

p.s. I've 2 macs here, MBP and iMac - one a fresh install, the other an upgrade - and others have also been installing on 10.12 - we have not identified any problems specific to 10.12.


#5

hei

thanks for your suggestion.
i got it nearly working, one (for me) strange thing remains :wink:

my problem was my firewall. now the folder axoloti is installed within /documents and most (all except one) folders are filled with data. also „synq libraries“ is working now.

BUT the folder „build“ is still empty (on 10.9 it contains xpatch.bin, xpatch.cpp…..xpatch.o).

can i solve this…is this a problem?

thanks again
prxtst


#6

the build folder only contains generated/temporary files that are used when you 'go live' with a patch.
.. so no need to worry, as long as you are able to take patches like, all is working ok.


#7

thx!
problem solved thanks to you, my firewall was too paranoid :grin: