Page 1 of 1

Windows Install - Syntax Error

Posted: Wed Oct 16, 2013 6:49 pm
by rhuffmant3
I am looking into using OpenEMM for my company, and I have been trying to get OpenEMM installed on my local Windows machine. When I try to run setup.bat, I get the following error:

Code: Select all

C:\OpenEMM>setup.bat
  File "C:\OpenEMM\bin\openemm.py", line 146
    except (WindowsError, OSError), e:
                                  ^
SyntaxError: invalid syntax
I installed MySQL 5 and Python 2.7, and added both to my PATH variable (and confirmed both are working by running a sample command). I confirmed that MySQL Server was running locally before running the batch file. I am running Windows 7 via Parallels for Mac.

Any help would be appreciated, I am very interested in this software and would love to get it working locally so I can ultimately justify running it on our server(s).

Thanks,
-RHuffman, T3 Direct Developer

Re: Windows Install - Syntax Error

Posted: Wed Oct 16, 2013 7:48 pm
by maschoff
Which version of OpenEMM did you install?

Re: Windows Install - Syntax Error

Posted: Thu Oct 17, 2013 3:09 pm
by rhuffmant3
I attempted to install OpenEMM 2013.

Filename: OpenEMM-2013-win32.zip
From URL: http://sourceforge.net/projects/openemm ... MM%202013/

Thanks,
-RHuffman

Re: Windows Install - Syntax Error

Posted: Thu Oct 17, 2013 3:30 pm
by maschoff
My hunch: OpenEMM tried to create directories temp and var/tmp in OpenEMM's home directory. That seems to have failed and the exception was thrown.

Re: Windows Install - Syntax Error

Posted: Fri Oct 18, 2013 4:54 pm
by rhuffmant3
How would I test to see if that's the case? (Look for a particular set of directories in temp?)

And if that is the case, what would be the fix?

Thanks,
-RHuffman

Re: Windows Install - Syntax Error

Posted: Wed May 28, 2014 11:55 pm
by ananael
I an having the same problem.

Windows vista home basic w/sp2
JVM 1.7.0_06-b24
Python 3.4.1
Installed with XAMPP 1.8.3
Tomcat 7.0.42
MySQL 5.6.16

Re: Windows Install - Syntax Error

Posted: Fri May 30, 2014 4:26 pm
by maschoff
OpenEMM does not work with Python 3.x, you need 2.x.