Home Forums
|
syntax error in compilation (0 viewing)
Favoured: 0
|
|
|
TOPIC: syntax error in compilation
|
vishal (User)
Fresh Boarder
Posts: 2
|
|
syntax error in compilation 1 Year, 6 Months ago
|
|
|
I am getting the following syntax error when compiling a simple b2bua machine (generated by appgen with no further changes whatsoever). Python version is 2.6.1, OS is Windows XP, ECharts package is EChartsSipServlet_DK_2.4-beta.
EDK_HOME is set to correct directory.
Any pointers please?
-------------------------------------------------- C:EChart-appstest>ant fatsar Buildfile: build._xml_
compile_ech: [exec] Traceback (most recent call last): [exec] File "F:Program FilesEChartsEChartsSipServlet_DK_2.4-beta/bin/e ch2java", line 13, in <module> [exec] import ech2x [exec] File "F:Program FilesEChartsEChartsSipServlet_DK_2.4-betabine ch2x.py", line 26, in <module> [exec] import AbstractMachine [exec] File "F:Program FilesEChartsEChartsSipServlet_DK_2.4-betalibA bstractMachine.py", line 15, in <module> [exec] import echarts_l, echarts_p, echarts_w [exec] File "F:Program FilesEChartsEChartsSipServlet_DK_2.4-betalibe charts_w.py", line 990 [exec] as = self.actionStatement(_t) [exec] ^ [exec] SyntaxError: invalid syntax
BUILD FAILED F:Program FilesEChartsEChartsSipServlet_DK_2.4-betaetctop-level-build._xml_:7 5: exec returned: 1
Total time: 0 seconds
--------------------------------------------------
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|
|
|
Re:syntax error in compilation 1 Year, 6 Months ago
|
|
|
hi
as you may or may not know, we haven't tested E4SS on Windows (just Mac and Linux) but a number of us just tried it out on Windows and it looks like the problem is the version of Python you are using - we typically use 2.4.x here although one of us is using 2.5.2 on a Mac with no problems
here is what we've found for Windows so far: Python 2.4.3 works but 2.5.4 (and higher?) doesn't
so using 2.4.3 should suffice as a workaround - we'll take a closer look at what's going on with the incompatibility using higher versions
greg
|
|
|
|
|
|
|
The administrator has disabled public write access. |
vishal (User)
Fresh Boarder
Posts: 2
|
|
Re:syntax error in compilation 1 Year, 5 Months ago
|
|
|
Many thanks, Greg!
Compilation worked after I used Python 2.4.4 in place of Python 2.6.1.
However I had to copy servlet.jar and sipservlet.jar from JCP site into ECharts lib dir for compilation to go through.
-vishal
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|
|
|
|
|