Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

observations on setup #126

Open
g-sam opened this issue Jul 20, 2016 · 5 comments
Open

observations on setup #126

g-sam opened this issue Jul 20, 2016 · 5 comments

Comments

@g-sam
Copy link

g-sam commented Jul 20, 2016

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.

  1. 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.
  2. 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.
  3. 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?
  4. 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.
  5. 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.
@mzizzi
Copy link
Contributor

mzizzi commented Jul 20, 2016

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!

@tbenst
Copy link

tbenst commented Aug 9, 2016

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.

@calmofthestorm
Copy link
Member

I'll take a look; should be an easy fix. Can't comment on the mac specific issues unfortunately.

@tbenst
Copy link

tbenst commented Aug 10, 2016

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.

@calmofthestorm
Copy link
Member

Thanks for fixing the import issues. I'll have to look into the other suggestions another time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants