On Wednesday, October 15, 2014 6:15:46 PM UTC+2, Jeremy Ruston wrote:
>
> Hi Alfonso
>
> Can you give the commands you are using the start the TiddlyWiki server?
>
> Many thanks,
>
> Jeremy.
>

@Jeremy,
Yesterday I made some experiments. Everything worked as expected, but 
suddenly I did have the same problem. 
I did build the command line with environment variables. So I started to 
check the variable creation .... wasting time. 

I did start  node tiddlywiki.js editons/de-AT-server --server  
The server starts and prints the happy message:

Serving on 127.0.0.1:80
(press ctrl-C to exit)

but the page didn't work. I got really frustrated, because it worked for 
hours, but now it's broken. 

You probably see the issue. Its a typo, it needs to be: 
editions/de-AT-server   but I was blind at that time :) 
I didn't see it, but the --server command could have told me, that the 
directory I want to serve doesn't exist. ....

So a feature request: Please add some checks to the server command. .... 
We've had about a dozen of issues here in the group and at github, 
that where based on the same issues. 

 - editions directory is not initialized ... my be user missread the docs.
 - tiddlywiki.info file is missing  
 - the edition directory doesn't exist ... may be the name has a typo. 

There should be appropriate messages.
--- If the edition directory is missing

A warning, that the directory is missing. 
Server should stop with a message: "Edition directory: "xyz"  doesn't 
exist. Check the path!"


--- - if tiddlywiki.info is missing

A warning that the file is missing. 
If it is possible to work with the system default settings, there should be 
a message:
Server is started with the default settings. .. This settings are: x, y, z

I'll create an issue with the request.

regards
mario




-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to