Closed GoogleCodeExporter closed 9 years ago
And we are able to run same setup on XP without the win32gui error. We are only
getting it on windows 7
Original comment by wachk...@gmail.com
on 1 Apr 2013 at 2:41
This doesn't seem to be a problem in the framework itself but in environment
configuration. For some reason the library you use doesn't find your win32gui
module. One reason could be that you are running tests on Jython which doesn't
support all same modules that Python (basically C-based modules are not
supported).
Original comment by pekka.klarck
on 23 Apr 2013 at 11:01
Hi Pekka
I am getting the same problem while running robot framework on Windows 7. where
as I am able to run successfully on Windows XP
Below are error details -
[ ERROR ] Invalid syntax in file
'c:\python27\robot\sbps-main\implementation\resources\libraries\selenium2
automation library.html' in table 'Settings': Importing test library
'..\..\..\..\lib\selenium2library-1.2.0\Selenium2Library\' failed: ImportError:
Import by filename is not supported.
PYTHONPATH: ['C:\\Python27\\lib\\site-packages\\robot\\libraries',
'C:\\Python27', 'C:\\Python27\\Scripts\\ C:\\Python27\\Scripts',
'C:\\Python27\\firefox', 'C:\\Python27\\ie', 'C:\\Python27\\DLLs',
'C:\\Python27\\Lib', 'C:\\Python27\\Lib\\lib-tk',
'C:\\Python27\\Scripts\\robot\\sbps-main\\execution\\lib',
'C:\\Windows\\system32\\python27.zip', 'C:\\Python27\\lib\\plat-win',
'C:\\Python27\\lib\\site-packages',
'C:\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode', '.']
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\robot\utils\importing.py", line 88, in _import
imported = __import__(modname, {}, {}, fromlist)
[ ERROR ] Invalid syntax in file
'c:\python27\robot\sbps-main\implementation\resources\libraries\object
repository library.html' in table 'Settings': Importing test library
'ObjectRepositoryLibrary' failed: ImportError: No module named sbps
PYTHONPATH: [u'c:\\python27\\robot\\sbps-main\\execution\\lib',
'C:\\Python27\\lib\\site-packages\\robot\\libraries', 'C:\\Python27',
'C:\\Python27\\Scripts\\ C:\\Python27\\Scripts', 'C:\\Python27\\firefox',
'C:\\Python27\\ie', 'C:\\Python27\\DLLs', 'C:\\Python27\\Lib',
'C:\\Python27\\Lib\\lib-tk',
'C:\\Python27\\Scripts\\robot\\sbps-main\\execution\\lib',
'C:\\Windows\\system32\\python27.zip', 'C:\\Python27\\lib\\plat-win',
'C:\\Python27\\lib\\site-packages',
'C:\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode', '.']
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\robot\utils\importing.py", line 88, in _import
imported = __import__(modname, {}, {}, fromlist)
File "c:\python27\robot\sbps-main\execution\lib\ObjectRepositoryLibrary.py", line 1, in <module>
from sbps import *
Original comment by smitapha...@gmail.com
on 28 May 2013 at 11:37
Original issue reported on code.google.com by
wachk...@gmail.com
on 28 Mar 2013 at 8:41Attachments: