Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[15516:2307:363868554385888:ERROR:process_singleton_mac.cc(102)] Unable to obtain profile lock. #705

Closed
DartBot opened this issue Dec 6, 2011 · 2 comments
Labels
closed-not-planned Closed as we don't intend to take action on the reported issue

Comments

@DartBot
Copy link

DartBot commented Dec 6, 2011

This issue was originally filed by ocampesato...@gmail.com


What steps will reproduce the problem?

  1. try launching sunflower-js.html from the command line
    2.
    3.

What is the expected output? What do you see instead?
An error message (see details below).

What version of the product are you using? On what operating system?
Mac OSX 10.6.8

Please provide any additional information below.
On my Macbook OSX 10.6.8 (and Chrome 15.0.874.121) I succesfully completed the instructions for running Dart on a Macbook.

I launched this command from the command line:
$ /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome out/client/samples/sunflower/sunfl
ower-js.html

This is the error message:
"[15516:2307:363868554385888:ERROR:process_singleton_mac.cc(102)] Unable to obtain profile lock."

Nothing similar is available in the forum. I did a Google search and found the same error with different issues involving a lock file in /Library/Application Support/... but there is no Google subdirectory (and no lock files).

Suggestions are welcome~

@devoncarew
Copy link
Member

This is more of a Chrome issue - it will not start up a new Chrome process if there's one already running. You can either open a new window or tab in the currently running copy of Chrome, and open the sunflower example there, or try telling Chrome to use a separate directory for its profile lock. You can do this by adding:

--user-data-dir=foo

to the command line used to launch it.


Added WontFix label.

@DartBot
Copy link
Author

DartBot commented Dec 6, 2011

This comment was originally written by ocamp...@gmail.com


Thanks for the speedy response...and the embarrassingly simple solution~

@kevmoo kevmoo added closed-not-planned Closed as we don't intend to take action on the reported issue and removed resolution-wont_fix labels Mar 1, 2016
copybara-service bot pushed a commit that referenced this issue Jun 14, 2022
Changes:
```
> git log --format="%C(auto) %h %s" 2993ea5..0c22930
 https://dart.googlesource.com/http.git/+/0c22930 Add browser support for response header tests. (#716)
 https://dart.googlesource.com/http.git/+/9f1416e A browser tests for request headers. (#715)
 https://dart.googlesource.com/http.git/+/557d9a3 Support executing tests when run as a package (#714)
 https://dart.googlesource.com/http.git/+/2b4f988 Set async min version to match pinned flutter version (#713)
 https://dart.googlesource.com/http.git/+/a479221 Add browser tests for the response body. (#712)
 https://dart.googlesource.com/http.git/+/0e20ff9 Run the request body tests against the browser client. (#711)
 https://dart.googlesource.com/http.git/+/c09fb1d Run the redirect tests against the browser client. (#708)
 https://dart.googlesource.com/http.git/+/2f723b0 Use the Uri.http constructor in docs and tests (#707)
 https://dart.googlesource.com/http.git/+/346f25d add a LICENSE file; tweaks to the readmes (#709)
 https://dart.googlesource.com/http.git/+/9700bb0 Add a conformance test package for http Clients (#706)
 https://dart.googlesource.com/http.git/+/ae8a9a8 Fix the repository page for monorepoization (#705)
 https://dart.googlesource.com/http.git/+/06649af Mono (#704)

```

Diff: https://dart.googlesource.com/http.git/+/2993ea5dff5ffb066b4a35c707e7a2b8dcfa17c2~..0c2293062d7c1fa472f299da764a7dbb3895ee22/
Change-Id: I967ccd6cc1fda757696099ededc53dbbf942e6a0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/248351
Commit-Queue: Devon Carew <devoncarew@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-not-planned Closed as we don't intend to take action on the reported issue
Projects
None yet
Development

No branches or pull requests

3 participants