observations on setup
g-sam opened this issue · 5 comments
Having spent days setting up (Virtualbox with Windows 7 Ultimate 64-bit, Natlink 4.1papa, Python 2.7, OSX 10.8.5), I'd like to relay some of my problems and solutions for possible inclusion in the readme.
- Natlink required installing Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package (ONLY 32 BIT VERSION WILL WORK), which isn't in the natlink documentation.
- I wasted some time trying to test the server when the VM was not running, which causes an error. Start the VM or set the ip in the server config to your ip on your LAN.
- Wrappers.py was unable to import everything from dragonfly and so was loading the mock instead, causing an error in the hellow_world_aenea script. The fix was to comment out FormatState (line 48) and Word (87). I don't know yet if this will cause problems later on. My version of dragonfly is 0.6.6b1. Do people think my solution is OK?
- The readme states you need to install pyobjc for mac, but this is already included with the native python install on 10.8.5. I actually tried to add it to my brew python as well but couldn't get that to work. Just make sure you execute the server with the Apple-installed python.
- I think the applescript commands applicable to my OSX (10.8.5) must be different as the server-test does not perform all actions correctly. I have not been able to look into this yet.
Thanks for taking the time to leave feedback.
Natlink required installing Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package (ONLY 32 BIT VERSION WILL WORK), which isn't in the natlink documentation.
I remember needing this as well. We'll happily accept a PR that updates the setup instructions with a note about this.
I wasted some time trying to test the server when the VM was not running, which causes an error. Start the VM or set the ip in the server config to your ip on your LAN.
I assume you got errors saying that you couldn't bind to IP address of your host machine's vboxnet*
interface. For me this interface isn't set up on my host machine until I boot the VM for the first time. You may be able to script having this interface come up automatically using VBoxManage
.
Wrappers.py was unable to import everything from dragonfly and so was loading the mock instead, causing an error in the hellow_world_aenea script. The fix was to comment out FormatState (line 48) and Word (87). I don't know yet if this will cause problems later on. My version of dragonfly is 0.6.6b1. Do people think my solution is OK?
I can't speak much about the Apple specific issues you were having. Hopefully another Apple user can chime in there!
Wrappers.py was unable to import everything from dragonfly and so was loading the mock instead, causing an error in the hellow_world_aenea script. The fix was to comment out FormatState (line 48) and Word (87).
Same issue on Ubuntu 16.04. I suspect the latest Dragonfly changed this around.
I'll take a look; should be an easy fix. Can't comment on the mac specific issues unfortunately.
I did a quick search of the dragonfly github and could not find a reference to FormatState. Fortunately commenting out these two does not seem to affect my aenea experience at all.
Thanks for fixing the import issues. I'll have to look into the other suggestions another time.