Ticket #268 (closed defect: fixed)

Opened 1 week ago

Last modified 1 week ago

WindowsError: [Error 2] The system cannot find the path specified

Reported by: Terry Bonds Assigned to: johann
Priority: low Milestone:
Component: shotfactory Version:
Severity: minor Keywords:
Cc:

Description

Getting the following error when trying to do screenshots via firefox 2 and 3 (installed in c:\program files\mozilla firefox\firefox.exe on two virtual PCs) but IE7 & IE8 work fine.

Traceback (most recent call last):
  File "C:\Documents and Settings\IETest\Desktop\shotfactory\shotfactory.py", l
ne 368, in <module>
    _main()
  File "C:\Documents and Settings\IETest\Desktop\shotfactory\shotfactory.py", l
ne 345, in _main
    bytes = browsershot(options, server, config, options.password)
  File "C:\Documents and Settings\IETest\Desktop\shotfactory\shotfactory.py", l
ne 147, in browsershot
    gui.start_browser(config, url, options)
  File "C:\Documents and Settings\IETest\Desktop\shotfactory\shotfactory04\gui\
indows\firefox.py", line 63, in start_browser
    subprocess.Popen([command, url])
  File "C:\Python25\lib\subprocess.py", line 593, in __init__
    errread, errwrite)
  File "C:\Python25\lib\subprocess.py", line 793, in _execute_child
    startupinfo)
WindowsError: [Error 2] The system cannot find the path specified
Press any key to continue . . .

I've been able to get round most of the errors through the setup of a server/factory but this has foxed me (no pun intended).

Change History

2008-05-09 23:19:29 changed by johann

  • status changed from new to closed.
  • resolution set to fixed.

Terry wrote email to say:

This can be shut - walking away and coming back to it allowed me to see the problem!

I had to specifically name the mozilla firefox folder in full rather than "mozill~1" within the firefox.py script to get this to work.