Windows Install - Syntax Error

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

rhuffmant3
Posts: 3
Joined: Wed Oct 16, 2013 6:22 pm

Windows Install - Syntax Error

Post 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
maschoff
Site Admin
Posts: 2608
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: Windows Install - Syntax Error

Post by maschoff »

Which version of OpenEMM did you install?
OpenEMM Maintainer
rhuffmant3
Posts: 3
Joined: Wed Oct 16, 2013 6:22 pm

Re: Windows Install - Syntax Error

Post by rhuffmant3 »

I attempted to install OpenEMM 2013.

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

Thanks,
-RHuffman
maschoff
Site Admin
Posts: 2608
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: Windows Install - Syntax Error

Post 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.
OpenEMM Maintainer
rhuffmant3
Posts: 3
Joined: Wed Oct 16, 2013 6:22 pm

Re: Windows Install - Syntax Error

Post 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
ananael
Posts: 1
Joined: Wed May 28, 2014 11:27 pm

Re: Windows Install - Syntax Error

Post 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
maschoff
Site Admin
Posts: 2608
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: Windows Install - Syntax Error

Post by maschoff »

OpenEMM does not work with Python 3.x, you need 2.x.
OpenEMM Maintainer
Post Reply