mozilla / fireplay-sublime

A fantastic plugin connecting your favorite editor with your favorite web debugger
47 stars 9 forks source link

Look for FirefoxNightly, FirefoxAurora and Firefox binaries #58

Open nicola opened 10 years ago

nicola commented 10 years ago

Maybe using mozrunner?

nicola commented 10 years ago

Nope, wrong. Profiles are all under Firefox..

sole commented 10 years ago

yeah this will be needed because we can't assume it's Firefox-I'm getting this error:

Traceback (most recent call last):
  File "./sublime_plugin.py", line 362, in run_
  File "./fireplay.py", line 384, in run
  File "./fireplaylib/b2g_helper.py", line 37, in find_b2gs
OSError: [Errno 2] No such file or directory: '/Users/sole/Library/Application Support/Firefox/Profiles/6ubqqf1n.default2-chrome-debugger/extensions'

I guess it's because I have the simulator installed in FirefoxNightly but not in my stable Firefox.

nicola commented 10 years ago

This is because it assumes you have a profile which HAS an extension, while there could be profiles with no extensions. Instead of assuming, we have to check first if it is a folder. #65— Typed with hands

On Mon, Aug 11, 2014 at 3:43 PM, sole notifications@github.com wrote:

yeah this will be needed because we can't assume it's Firefox-I'm getting this error:

Traceback (most recent call last):
  File "./sublime_plugin.py", line 362, in run_
  File "./fireplay.py", line 384, in run
  File "./fireplaylib/b2g_helper.py", line 37, in find_b2gs
OSError: [Errno 2] No such file or directory: '/Users/sole/Library/Application Support/Firefox/Profiles/6ubqqf1n.default2-chrome-debugger/extensions'

I guess it's because I have the simulator installed in FirefoxNightly but not in my stable Firefox.

Reply to this email directly or view it on GitHub: https://github.com/mozilla/fireplay-sublime/issues/58#issuecomment-51851033