Mac software - no menus or windows


#1

Hello - just received my Axoloti and I'm attempting to get it going.

Mac OS 10.10.4
Axoloti 1.0.3

Followed the installation instructions. When I run the Axoloti application, there's no windows that open. The only items in the menu bar are the apple menu and the Axoloti menu (which has "About Axoloti", Hide, Quit and not much else).

I'm thinking maybe something got screwed up when I attempted to reinstall... I can't find any folder that has example patches. That should be under Applications, right?


Connection With Patcher/Mac lost
#2

I am just a user, not developer and just thought I'd share a few thought since I am on Mac too.

To see the examples you have to right click on Axoloti app and "show content". They are in a folder called "patches".

ABout installation:
Check also your documents folder. Is there a folder called Axoloti with a pref. file and a folder called build? I dont know what to do with these files, but if they are NOT there it could be an indication that Axoloti is not installed right.

Did you try to reinstall?


#3

Thanks for the help. I didn't know about "Show Contents".

It seems like just leaving the computer for an hour or two and coming back has fixed my issue. Odd. I got a demo running and now I've got sound! Excited this is working.

I did have a connection issue - resolved by pulling the USB cable and then replugging...

Control transfer failed: -7
Control transfer failed: -7
connected
java.lang.Exception: cpuserial has wrong length
at axoloti.HWSignature.Verify(HWSignature.java:96)
at axoloti.USBBulkConnection.connect(USBBulkConnection.java:321)
at axoloti.MainFrame.jCheckBoxConnectActionPerformed(MainFrame.java:812)
at axoloti.MainFrame.access$400(MainFrame.java:89)
at axoloti.MainFrame$7.actionPerformed(MainFrame.java:453)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
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:6525)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6290)
at java.awt.Container.processEvent(Container.java:2234)
at java.awt.Component.dispatchEventImpl(Component.java:4881)
at java.awt.Container.dispatchEventImpl(Container.java:2292)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
at java.awt.Container.dispatchEventImpl(Container.java:2278)
at java.awt.Window.dispatchEventImpl(Window.java:2750)
at java.awt.Component.dispatchEvent(Component.java:4703)
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$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
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$1.doIntersectionPrivilege(ProtectionDomain.java:75)
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)

Control transfer failed: -7
Ping: WaitSync Timeout, disconnecting now
Disconnect request
Control transfer failed: -7
Control transfer failed: -7


#4

yeah, you should not need this though, as they will appear in the file/library

@Mood_Organ, did you have the axoloti plugged in, when you started Axoloti for the first time?

Im just trying to think why it didn't display the app the first time, Im thinking perhaps an initial connection problem.... if you have another problem, can you try with a different USB cable.

I assume the "java.lang.Exception: cpuserial has wrong length" error is not coming up each time you start? just the once?


#5

I think it was plugged in the first time I ran the software. Not 100% sure.

No further problems since it started working. No more 'cpuserial has wrong length' yet.


#6

ok, seems like a one-off glitch. I suspect the UI tried to connect to the Axoloti, and had an issue doing so.

currently, if there is an issue connecting to the board during app start up this can 'block' the UI - until it has a timeout (which is quite long)... at which point it will bring up the console window. we need to reverse this flow, so that the user always gets the console, and so sees the error and also knows the app is actually running properly.

EDIT: ok, I've raised an issue, covering this scenario... its pretty easy to fix IIRC


#7

Tonight after a few months working regularly with Axoloti software I am experiencing a similar problem. I was trying my first subpatch and following the instructions fro the guide when the console started giving red java error. I exit the editor and now it never opens completely. I only get the
Axoloti menu without any other option.
I have reinstalled everything, updated java and rebooted many times with no success, with or without board connected. Any suggestion ?


#8

from terminal enter:

/Applications/Axoloti.app/Contents/MacOS/Axoloti

running if from the command line will start it and show some log messages, which we can take a look at to see whats up.

what version of OS X are you running?, what machine?
are you running 1.0.3 if axoloti?

its very odd that the software should stop working without anything changing, and it cannot be the board, if the error occurs when the board is disconnected

one thing you could try to do is remove ~/Documents/axoloti/axoloti.prefs


#9

Thank you Technobear. Running the command from terminal i get this output:

Oct 22, 2015 2:14:57 PM axoloti.utils.Preferences LoadPreferences
GRAVE: null
javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
Message: Fine del file anticipata.
at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:601)
at com.sun.xml.internal.stream.XMLEventReaderImpl.nextEvent(XMLEventReaderImpl.java:83)
at org.simpleframework.xml.stream.StreamReader.read(StreamReader.java:110)
at org.simpleframework.xml.stream.StreamReader.read(StreamReader.java:122)
at org.simpleframework.xml.stream.StreamReader.next(StreamReader.java:94)
at org.simpleframework.xml.stream.NodeReader.readElement(NodeReader.java:111)
at org.simpleframework.xml.stream.NodeReader.readRoot(NodeReader.java:85)
at org.simpleframework.xml.stream.NodeBuilder.read(NodeBuilder.java:84)
at org.simpleframework.xml.stream.NodeBuilder.read(NodeBuilder.java:58)
at org.simpleframework.xml.core.Persister.read(Persister.java:543)
at org.simpleframework.xml.core.Persister.read(Persister.java:521)
at org.simpleframework.xml.core.Persister.read(Persister.java:426)
at axoloti.utils.Preferences.LoadPreferences(Preferences.java:149)
at axoloti.Axoloti.initProperties(Axoloti.java:194)
at axoloti.Axoloti.main(Axoloti.java:50)

Axoloti Directories:
Current = /Applications/Axoloti.app/Contents/Java
Jar = /Applications/Axoloti.app/Contents/Java
Release = /Applications/Axoloti.app/Contents/Java
Runtime = /Applications/axoloti_runtime
Firmware = /Applications/Axoloti.app/Contents/Java/firmware
AxolotiHome = /Users/fabriziolugli/Documents/axoloti
Oct 22, 2015 2:14:58 PM axoloti.utils.Preferences LoadPreferences
GRAVE: null
javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
Message: Fine del file anticipata.
at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:601)
at com.sun.xml.internal.stream.XMLEventReaderImpl.nextEvent(XMLEventReaderImpl.java:83)
at org.simpleframework.xml.stream.StreamReader.read(StreamReader.java:110)
at org.simpleframework.xml.stream.StreamReader.read(StreamReader.java:122)
at org.simpleframework.xml.stream.StreamReader.next(StreamReader.java:94)
at org.simpleframework.xml.stream.NodeReader.readElement(NodeReader.java:111)
at org.simpleframework.xml.stream.NodeReader.readRoot(NodeReader.java:85)
at org.simpleframework.xml.stream.NodeBuilder.read(NodeBuilder.java:84)
at org.simpleframework.xml.stream.NodeBuilder.read(NodeBuilder.java:58)
at org.simpleframework.xml.core.Persister.read(Persister.java:543)
at org.simpleframework.xml.core.Persister.read(Persister.java:521)
at org.simpleframework.xml.core.Persister.read(Persister.java:426)
at axoloti.utils.Preferences.LoadPreferences(Preferences.java:149)
at axoloti.MainFrame.(MainFrame.java:91)
at axoloti.Axoloti$1.run(Axoloti.java:299)
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$1.doIntersectionPrivilege(ProtectionDomain.java:75)
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)

Oct 22 14:15:02 fabrizio-luglis-computer.local Axoloti[293] : CGContextGetCTM: invalid context 0x0
Oct 22 14:15:02 fabrizio-luglis-computer.local Axoloti[293] : CGContextSetBaseCTM: invalid context 0x0
Oct 22 14:15:02 fabrizio-luglis-computer.local Axoloti[293] : CGContextGetCTM: invalid context 0x0
Oct 22 14:15:02 fabrizio-luglis-computer.local Axoloti[293] : CGContextSetBaseCTM: invalid context 0x0
Oct 22, 2015 2:15:02 PM axoloti.MainFrame updateLinkFirmwareID
INFORMAZIONI: Link to firmware CRC A4AA9FE1
Exception in thread "PingerThread" java.lang.NullPointerException
at qcmds.QCmdProcessor$PeriodicPinger.run(QCmdProcessor.java:52)
at java.lang.Thread.run(Thread.java:745)
Oct 22 14:15:03 fabrizio-luglis-computer.local Axoloti[293] : CGContextGetCTM: invalid context 0x0
Oct 22 14:15:03 fabrizio-luglis-computer.local Axoloti[293] : CGContextSetBaseCTM: invalid context 0x0
Oct 22 14:15:03 fabrizio-luglis-computer.local Axoloti[293] : CGContextGetCTM: invalid context 0x0
Oct 22 14:15:03 fabrizio-luglis-computer.local Axoloti[293] : CGContextSetBaseCTM: invalid context 0x0
Oct 22 14:15:04 fabrizio-luglis-computer.local Axoloti[293] : CGContextGetCTM: invalid context 0x0
Oct 22 14:15:04 fabrizio-luglis-computer.local Axoloti[293] : CGContextSetBaseCTM: invalid context 0x0
Oct 22 14:15:04 fabrizio-luglis-computer.local Axoloti[293] : CGContextGetCTM: invalid context 0x0
Oct 22 14:15:04 fabrizio-luglis-computer.local Axoloti[293] : CGContextSetBaseCTM: invalid context 0x0
Oct 22 14:15:04 fabrizio-luglis-computer.local Axoloti[293] : CGContextGetCTM: invalid context 0x0
Oct 22 14:15:04 fabrizio-luglis-computer.local Axoloti[293] : CGContextSetBaseCTM: invalid context 0x0
Oct 22 14:15:04 fabrizio-luglis-computer.local Axoloti[293] : CGContextGetCTM: invalid context 0x0
Oct 22 14:15:04 fabrizio-luglis-computer.local Axoloti[293] : CGContextSetBaseCTM: invalid context 0x0
java.lang.NullPointerException
at axoloti.MainFrame.(MainFrame.java:204)
at axoloti.Axoloti$1.run(Axoloti.java:299)
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$1.doIntersectionPrivilege(ProtectionDomain.java:75)
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)

The computer is a white Macbook from 2007 with 2 Ghz Intel Core 2 Duo
Mac OS X version is 10.7.5
Axoloti version is 1.0.3

axoloti.prefs is 0 bytes. I have removed it.
Axoloti is now starting. I don't have the board with me now. As soon as I can try it I will let you know if the issue is completely sorted. :smile:


#10

Thanks,
Hmm so the preferences file has got corrupted, we really need to catch this, and then use the defaults.
If I get time I'll have a look.


#11

Maybe this can help: the crash happened when I was loading this file that is probably corrupted. When I load it I get red java errors in Axoloti console.1stPoly.axp (247 Bytes)