Comments (29)
Can you check the Console.app
program? Errors and whatnot should show up in there.
Did you install using rake install
?
from dotjs.
Yep, I used rake install
to install it, there's some stuff related to chrome in Console.app but I'm not sure it's relevant:
from dotjs.
Can you paste the output of this command:
launchctl list | grep github
from dotjs.
nothin:
[jon@local:~] $ launchctl list | grep github
[jon@local:~] $
from dotjs.
D'oh.
How about this: ls -l /usr/local/bin/djsd
Also: rake install:daemon && rake install:agent
then try launchctl list | grep github
again.
from dotjs.
hot damn!
Not sure what it all means but that stuff did the trick, also great respect for properly apostrophizing "d'oh".
from dotjs.
I have the exact same problem. Running the commands with install:daemon
and install:agent
didn't help.
I'm installing using sudo. I also get this issue even though I uninstalled and reinstalled using sudo: #11
from dotjs.
Can you please paste the output of launchctl list | grep github
and ls -l /usr/local/bin/djsd
from dotjs.
[email protected]:$ launchctl list | grep github$ ls -l /usr/local/bin/djsd
[email protected]:
-rwxr-xr-x 1 littke staff 918 Apr 12 10:22 /usr/local/bin/djsd
from dotjs.
+1'ing littke's experience.
ae% sudo rake install:daemon && sudo rake install:agent
(in /Users/jehlke/workspace/sandbox/dotjs)
cp -p bin/djsd /usr/local/bin
(in /Users/jehlke/workspace/sandbox/dotjs)
cp com.github.dotjs.plist /Users/jehlke/Library/LaunchAgents/com.github.dotjs.plist
chmod 644 /Users/jehlke/Library/LaunchAgents/com.github.dotjs.plist
starting djdb...
launchctl load -w /Users/jehlke/Library/LaunchAgents/com.github.dotjs.plist
com.github.dotjs: Already loaded
ae% launchctl list | grep github
ae% ls -l /usr/local/bin/djsd
-rwxr-xr-x 1 jehlke 918 May 2 13:51 /usr/local/bin/djsd*
When I first tried installing, I forgot to use sudo, so it failed. Maybe it didn't fail cleanly?
from dotjs.
Can you check Console.app
for any errors?
Also try running this manually and let us know the output: /usr/local/bin/djsd
from dotjs.
I've just submitted a pull request to fix this issue (#24). The issue seems to be that the HOME environment variable is not available (possibly because the daemon is launched using sudo). You can see if this is the problem in your case by visiting (for example, if you have ~/.js/github.com.js): http://localhost:3131/github.com.js
Also, in this case
launchctl list | grep githubdoes not show anything. You need to do a
sudo launchctl list | grep github
from dotjs.
Looks like @arvindsv nailed it. I don't install with sudo so I don't have this problem:
$ launchctl list | grep github
185 - com.github.dotjs
from dotjs.
@aehlke @littke Please try again using the latest. If it works, thank @arvindsv!
from dotjs.
$ launchctl list | grep github
12228 - com.github.dotjs
Webkit inspector shows the call to http://localhost:3131/github.com.js
but returns a 204 - no content. I tried all of above with no luck. I installed dotjs manually and without sudo.
from dotjs.
204 means the server is running but no file was found: http://github.com/defunkt/dotjs/blob/master/bin/djsd#L25
You have ~/.js/github.com.js
?
from dotjs.
You have
~/.js/github.com.js
?
Yes.
from dotjs.
Shady!
Does cat ~/Library/LaunchAgents/com.github.dotjs.plist
have the expected value for WorkingDirectory
?
from dotjs.
Expected value being <string>/Users/chris/.js</string>
where chris
is your username.
from dotjs.
Yes, it does. I appreciate your help.
from dotjs.
I had the same problem. I uninstalled dotjs and installed it again (both using sudo), and it worked... strange.
from dotjs.
Reinstalling solved the problem. Weird. Thanks for the help guys.
from dotjs.
My guess is dotjs didn't cleanly shut down and used the wrong working directory, but I'm not 100% sure.
Thanks for updating us!
from dotjs.
@defunkt, I had the same problem as @honza and @arnav. What it is is that djsd is running using
and /.js/.js
is not created at the time of installation. To remedy this, I created ~/.js
and launchctl stop com.github.dotjs
and poof all is well.
I suggest creating the ~/.js
dir during installation prior to loading the dotjs.plist
Check pull request #34
from dotjs.
Having the same issue. Tried installing/reinstalling several times. It seems to work for a little bit after installing, but then can't find the server even though I see /usr/local/bin/djsd running. Using Lion and Chrome 13.0.782.107 beta.
from dotjs.
I fixed this via the suggestion @cobracmder posted. Just restarted the service using launchctl and it started working.
from dotjs.
I had a similar issue and dotjs was running fine. The problem was that Chrome had lost the SSL cert so I just had to visit https://localhost:3131 and revalidate it again.
from dotjs.
@cobracmder's solution (launchctl stop com.github.dotjs
) worked for me. ๐
from dotjs.
๐ @bionicpill that solved the isse! :)
from dotjs.
Related Issues (20)
- Use data URIs to avoid SSL HOT 2
- make httpOnly cookies accessable
- Denying load of chrome-extension://.../jquery.min.map. Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension. HOT 10
- SSL: Can the dotjs certificate be used to sign other certificates? HOT 2
- dotjs no longer runs in non-https mode. HOT 1
- Doesn't work with Symlink
- Install failed on Yosemite HOT 21
- Custom libs
- Add a showcase page for people to share dot.js scripts HOT 1
- ัะฐะฝัะตะปะพ
- http://localhost:3131/ not loading
- apple.xpc.launchd[1]: (com.github.dotjs) This service is defined to be constantly running and is inherently inefficient.@defunkt Is this project still being maintained?
- Pyy2468 vrrsinnn
- Pppp2212
- Mmww tccccgcc334 mmmwww dhtpythaagooettthesusi pyy bbmggcc ei. Tรฉlรฉ mmwwwtteneuunidnd ututuit mouhomama no www ttn idhh nnn pyyfffff7 fffffg fff f fgccgc 788888 HOT 1
- Pppueoo xxxx HOT 1
- M'attendait///77880
- Iiiiuddettnntthhhdtttttueeecapacyyyypppeoaidyp3365336 bmmhtttttchduytiyhwdieodht HOT 1
- 322222
- Upppppppy HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dotjs.