lichess-org / lila Goto Github PK
View Code? Open in Web Editor NEW♞ lichess.org: the forever free, adless and open source chess server ♞
Home Page: https://lichess.org
License: GNU Affero General Public License v3.0
♞ lichess.org: the forever free, adless and open source chess server ♞
Home Page: https://lichess.org
License: GNU Affero General Public License v3.0
Hi,
I just installed lila on my server, and seems everithing is supposed to work. But there's an issue I can't solve. When the second player in PvP game trying to join, both players got an error in the browser.
[NoSuchElementException: Either.right.value on Left]
In /home/lila/modules/db/src/main/Tube.scala at line 22.
Also in the logs I'm getting this error all time:
[error] application -
! @6fg3b9bmp - Internal server error, for (GET) [/3v624ve2pnme] ->
play.api.Application$$anon$1: Execution exception[[NoSuchElementException: Either.right.value on Left]]
at play.api.Application$class.handleError(Application.scala:289) ~[play_2.10.jar:2.1.2]
at play.api.DefaultApplication.handleError(Application.scala:383) [play_2.10.jar:2.1.2]
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$play$core$server$netty$PlayDefaultUpstreamHandler$$handle$1$1.apply(PlayDefaultUpstreamHandler.scala:143) [play_2.10.jar:2.1.2]
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$play$core$server$netty$PlayDefaultUpstreamHandler$$handle$1$1.apply(PlayDefaultUpstreamHandler.scala:139) [play_2.10.jar:2.1.2]
at play.api.libs.concurrent.PlayPromise$$anonfun$extend1$1.apply(Promise.scala:113) [play_2.10.jar:2.1.2]
at play.api.libs.concurrent.PlayPromise$$anonfun$extend1$1.apply(Promise.scala:113) [play_2.10.jar:2.1.2]
java.util.NoSuchElementException: Either.right.value on Left
at scala.util.Either$RightProjection.get(Either.scala:454) ~[scala-library.jar:na]
at play.api.libs.json.DefaultReads$$anon$2$$anonfun$reads$6.apply(Reads.scala:470) ~[play_2.10.jar:2.1.2]
at play.api.libs.json.DefaultReads$$anon$2$$anonfun$reads$6.apply(Reads.scala:470) ~[play_2.10.jar:2.1.2]
at scala.collection.immutable.Stream.foreach(Stream.scala:547) ~[scala-library.jar:na]
at play.api.libs.json.DefaultReads$$anon$2.reads(Reads.scala:470) ~[play_2.10.jar:2.1.2]
at play.api.libs.json.PathReads$$anonfun$at$1$$anonfun$apply$2.apply(JsConstraints.scala:33) ~[play_2.10.jar:2.1.2]
Please, help. Thanks in advance.
Hi,
A get a fresh copy of master branch and when I try to update git submodules I receive the error:
git submodule update --init
Submodule 'scalachess' (git://github.com/ornicar/scalachess) registered for path 'modules/chess'
Submodule 'play' (git://github.com/playframework/Play20) registered for path 'play'
Cloning into 'modules/chess'...
remote: Counting objects: 2271, done.
remote: Compressing objects: 100% (819/819), done.
remote: Total 2271 (delta 1156), reused 2142 (delta 1027)
Receiving objects: 100% (2271/2271), 260.38 KiB | 285 KiB/s, done.
Resolving deltas: 100% (1156/1156), done.
fatal: reference is not a tree: e9429742c27227b618b7bb3bf1075636d1839c1b
Cloning into 'play'...
remote: Counting objects: 40063, done.
remote: Compressing objects: 100% (14742/14742), done.
remote: Total 40063 (delta 21031), reused 38109 (delta 19409)
Receiving objects: 100% (40063/40063), 57.15 MiB | 1.84 MiB/s, done.
Resolving deltas: 100% (21031/21031), done.
Submodule path 'play': checked out '04b86bf6d9e7daa7ac6cb08b95d30de5327563a9'
Unable to checkout 'e9429742c27227b618b7bb3bf1075636d1839c1b' in submodule path 'modules/chess'
After, when I try to build-play2, I receive the following error:
[warn] there were 2 deprecation warnings; re-run with -deprecation for details
[warn] one warning found
[info] Set current project to Root (in build file:/home/alesilva/projetos/play/lila/play/framework/)
[error] Not a valid command: build-repository
[error] Expected '/'
[error] Expected ':'
[error] Not a valid key: build-repository (similar: local-repository, pom-include-repository, pom-all-repositories)
[error] build-repository
[error] ^
and cannot resolve dependencies
[info] Resolving org.scala-sbt#precompiled-2_10_1;0.12.3 ...
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: play#sbt-plugin;2.2-SNAPSHOT: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes.
[warn] play:sbt-plugin:2.2-SNAPSHOT (sbtVersion=0.12, scalaVersion=2.9.2)
[
I would love to have the possibility of enhanced comments like the engine already does, when you want to see it. But also a bit more. Here is a little description:
Furthermore there can be introduced for each move a List of alternatives (effect: history is like a tree)
Just as on chess.com, where you can set 1 to 14 days per move.
Basically, just more time control options.
Would love to use lichess instead of chess.com for corr chess.
With some pointers perhaps I can help out with this
Need to add locale to the following strings:
"No message!", "To:", "Subject:", "Send" (from inbox)
"View PGN", "Download PGN", "Request a computer analysis", "Game %s time stats" etc.
And, of course, strings from the translation form itself.
It would be cool if people could selft host UCI engines (similar to FICS, or ICC). Accounts that are self hosted engines should be marked as computers, and there should be tournaments available for engines.
And, perhaps people could even mark their engines as available for analysis (ie, other players could enlist the self hosted engines to automatically analyze games when the account is free, rather than always relying on the builtin stockfish).
/setting/bg
/setting/sound
and also Signin, change colour, change language
GET http://localhost:9000/assets/compiled/big.js?v=16 404 (Not Found) sound:229
and the button is only small button (no text) on create game, play game with machine, and play with a friend
log from console:
MacBook-White-Unibody:lila admin$ bin/play
[info] Loading project definition from /Users/admin/Sites/home/lila/project
[info] Set current project to lila (in build file:/Users/admin/Sites/home/lila/)
[lila] $ run
--- (Running the application from SBT, auto-reloading is enabled) ---
{backlog=65536, child.receiveBufferSize=1048576, child.tcpNoDelay=true, receiveBufferSize=1048576, tcpNoDelay=true}
[info] play - Listening for HTTP on port 9000...
(Server started, use Ctrl+D to stop and go back to the console...)
Configured as development
Enable cron tasks
[info] play - Starting application default Akka system.
Start cron mode Dev
schedule effect fisherman: cleanup every 2 seconds -> 2020756836 nanoseconds
schedule effect lobby: cleanup every 10 seconds -> 9895334961 nanoseconds
schedule effect search: index finished games every 5 minutes -> 313912656250 nanoseconds
schedule effect search: optimize index every 2 hours -> 7617963500 microseconds
[info] play - Application started (Dev)
Sun Nov 11 10:55:40 [initandlisten] connection accepted from 127.0.0.1:58881 #13 (1 connection now open)
Sun Nov 11 10:55:40 [initandlisten] connection accepted from 127.0.0.1:58882 #14 (2 connections now open)
Sun Nov 11 10:55:40 [initandlisten] connection accepted from 127.0.0.1:58883 #15 (3 connections now open)
Sun Nov 11 10:55:41 [initandlisten] connection accepted from 127.0.0.1:58884 #16 (4 connections now open)
Sun Nov 11 10:55:41 [initandlisten] connection accepted from 127.0.0.1:58885 #17 (5 connections now open)
Sun Nov 11 10:55:41 [initandlisten] connection accepted from 127.0.0.1:58886 #18 (6 connections now open)
Sun Nov 11 10:55:42 [initandlisten] connection accepted from 127.0.0.1:58887 #19 (7 connections now open)
Sun Nov 11 10:55:48 [initandlisten] connection accepted from 127.0.0.1:58895 #20 (8 connections now open)
Sun Nov 11 10:55:49 [initandlisten] connection accepted from 127.0.0.1:58896 #21 (9 connections now open)
Sun Nov 11 11:00:41 [initandlisten] connection accepted from 127.0.0.1:59330 #23 (10 connections now open)
[info] o.e.plugins - [Blockbuster] loaded [], sites []
Start ElasticSearch
[CRON ERROR](search: index finished games) No node available
Sun Nov 11 11:00:59 [initandlisten] connection accepted from 127.0.0.1:59347 #24 (11 connections now open)
[info] o.e.plugins - [Tartarus] loaded [], sites []
Start ElasticSearch
[CRON ERROR](search: index finished games) No node available
[warn] n.c.s.n.NioClientSocketPipelineSink - Unexpected exception in the selector loop.
java.nio.channels.CancelledKeyException: null
at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55) ~[na:1.6.0_37]
at sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) ~[na:1.6.0_37]
at java.nio.channels.SelectionKey.isConnectable(SelectionKey.java:318) ~[na:1.6.0_37]
at org.elasticsearch.common.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.processSelectedKeys(NioClientSocketPipelineSink.java:365) ~[elasticsearch-0.19.9.jar:na]
at org.elasticsearch.common.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.run(NioClientSocketPipelineSink.java:282) ~[elasticsearch-0.19.9.jar:na]
at org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:102) [elasticsearch-0.19.9.jar:na]
[info] o.e.plugins - [Blevins, Sally] loaded [], sites []
Start ElasticSearch
[CRON ERROR](search: index finished games) No node available
Hi. I see this error when i run bin/build-play2:
Error occurred during initialization of VM
The size of the object heap + VM data exceeds the maximum representable size
I've googled a lot but could not fix it. I use Debian 6 x86_64 with 512 mb RAM and 900 mb. swap space. I used sun java runtime.
"Not the best chekmate analysis" should be "Not the best checkmate analysis" of course.
I have not found any way to recover forgotten password. I think there should be such option. Correct?
Hi, chess.
Problem. The same files downloaded from different hosts is not cached in the browser -- an extra load on the server and user traffic (the server sends the user to a domain, and user sees that it is not language version and selects another, static files will be loaded twice).
Decision. Specify (non-linguistic) sub-domain, for example, static.lichess.org for static resources.
"The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software." is part of the MIT license :)
Commit f000e76 breaks lichess for Opera users due to a simple typo.
self.options.baseUrls = self.options.baseUrls.reverse;
should be
self.options.baseUrls = self.options.baseUrls.reverse();
As the intent surely is to call the function and not to assign it and thereby overwriting the array of URLs
It would be nice to have a graph showing your puzzle rating over time.
I autistically gathered every quirk I have found with the frontend of Lila. Still haven't had time to learn Java or Scala (and getting familiar with the codebase will likely take even longer considering there's no doc file), so that will have to wait, hehe.
s/ELO/Elo
should do the trick.Sometimes when creating a tournament (example with the default settings), the tournament page with the text "Waiting for 7 players " is showed, but then quickly reloads and displays "Waiting for 8 players". The user is automatically withdrawn, and the tournament deleted. This only happens some times.
If the tournament is created and the player correctly added, a page refresh also results in an automatic withdraw. This happens every time.
I'm guessing this second behavior may be "by design", being the user withdrawn when the connection with the web socket is broken due to the page refresh, but the first behavior is certainly undesirable and may result from occasional delay establishing the web socket connection.
A possible solution to this would be a delay to allow for connection recovery before the automatic withdraw.
Sometimes its interesting for the player to view comments in the chat and know, which turn a comment was made at.
In my dreams I see it like that: a button with a turn number on it near each comment. When clicked, the board switches to the state of that turn (when in "Replay and analyse").
After "play run", open browser to access http://localhost:9000 or http://localhost:9000/forum etc, the following error appears:
ExceptionInInitializerError: null
No source available, here is the exception stack trace:
->java.lang.ExceptionInInitializerError:
Routes$$anonfun$routes$1$$anonfun$apply$161$$anonfun$apply$162.apply(routes_routing.scala:1113)
Routes$$anonfun$routes$1$$anonfun$apply$161$$anonfun$apply$162.apply(routes_routing.scala:1113)
play.core.Router$HandlerInvoker$$anon$3.call(Router.scala:1167)
play.core.Router$Routes$class.invokeHandler(Router.scala:1344)
Routes$.invokeHandler(routes_routing.scala:15)
Routes$$anonfun$routes$1$$anonfun$apply$161.apply(routes_routing.scala:1113)
Routes$$anonfun$routes$1$$anonfun$apply$161.apply(routes_routing.scala:1113)
play.core.Router$Routes$class.call(Router.scala:1212)
Routes$.call(routes_routing.scala:15)
Routes$$anonfun$routes$1.apply(routes_routing.scala:1112)
Routes$$anonfun$routes$1.apply(routes_routing.scala:468)
scala.PartialFunction$$anon$3.apply(PartialFunction.scala:67)
scala.PartialFunction$$anon$3.apply(PartialFunction.scala:66)
play.core.Router$Routes$class.handlerFor(Router.scala:1340)
Routes$.handlerFor(routes_routing.scala:15)
play.api.GlobalSettings$$anonfun$onRouteRequest$1$$anonfun$apply$1.apply(Global.scala:64)
play.api.GlobalSettings$$anonfun$onRouteRequest$1$$anonfun$apply$1.apply(Global.scala:63)
scala.Option.flatMap(Option.scala:146)
play.api.GlobalSettings$$anonfun$onRouteRequest$1.apply(Global.scala:63)
play.api.GlobalSettings$$anonfun$onRouteRequest$1.apply(Global.scala:63)
scala.Option.flatMap(Option.scala:146)
play.api.GlobalSettings$class.onRouteRequest(Global.scala:63)
play.api.DefaultGlobal$.onRouteRequest(Global.scala:120)
play.core.server.Server$$anonfun$sendHandler$1$1.apply(Server.scala:60)
play.core.server.Server$$anonfun$sendHandler$1$1.apply(Server.scala:59)
scala.Either$RightProjection.map(Either.scala:285)
play.core.server.Server$class.sendHandler$1(Server.scala:59)
play.core.server.Server$$anonfun$getHandlerFor$4.apply(Server.scala:89)
play.core.server.Server$$anonfun$getHandlerFor$4.apply(Server.scala:88)
scala.Either$RightProjection.flatMap(Either.scala:277)
play.core.server.Server$class.getHandlerFor(Server.scala:88)
play.core.server.NettyServer.getHandlerFor(NettyServer.scala:41)
play.core.server.netty.PlayDefaultUpstreamHandler.messageReceived(PlayDefaultUpstreamHandler.scala:234)
org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75)
org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:563)
org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
org.jboss.netty.handler.codec.http.HttpContentDecoder.messageReceived(HttpContentDecoder.java:100)
org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75)
org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:563)
org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
org.jboss.netty.handler.codec.http.HttpContentEncoder.messageReceived(HttpContentEncoder.java:79)
org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:95)
org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:563)
org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:366)
org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:568)
org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:506)
org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75)
org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:563)
org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:558)
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)
org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:91)
org.jboss.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(AbstractNioWorker.java:373)
org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:247)
org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:35)
org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:102)
org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
java.lang.Thread.run(Thread.java:662)
..сan set a delay of 1.5 -- 2 seconds to change of number of players online, the current parties and the waiting list, and it's ugly, and most importantly very quickly jump blocks -- do not have time to read and understand the information on the main page.
Hi! Nice site.
I can't set castling or en-passant abilities in the board editor.
If I manually tweak the FEN string in the board editor to allow castling or en-passant abilities, those are not passed to the "Play with a friend / the machine" window.
However, if I pass a full FEN string in the "Play with a friend / the machine" window castling is recognized by the engine but en-passant is not.
Here, en-passant is not accepted, and should:
rnbqkbnr/ppp1p1pp/8/3pPp2/8/8/PPPP1PPP/RNBQKBNR w KQkq f6 0 2
Here, en-passant is not allowed on either side (and is ambiguous as to which side it should):
rnbqkbnr/ppp1p1pp/8/3pPp2/8/8/PPPP1PPP/RNBQKBNR
There's so many of them, and most is either merged or seems abandoned. I thought they might use a lil' cleanup :)
50 moves rule forcing a draw isn't correct implemented. The draw is forced only in 25 moves. I wrote also in the feedback forum at lichess.org
http://en.lichess.org/forum/lichess-feedback/50-moves-rule
my account name is sshilovsky.
I've read all messages but I still see an orange "1" at link to /inbox
Hi,
I downloaded a fresh copy of project and when I try to compile I received the following error:
error sbt.ResolveException: unresolved dependency: scalastic#scalastic_2.10;0.90.0-thib: not found
Regards,
Alexandre
"eclipsify" only generate eclipse configurations for cli and scalachess projects, not for lila project.
I can currently start game with myself the following way:
If the game is created by white, I can even make first half a turn. Then I can only cancel the game.
Instead of disabling such behaviour, it may be useful to enable self-to-self game for educational purposes. Sometimes I want to replay a real game since a definite turn with myself or test some debut.
Thank you.
PS: I've lost password to account called 'sshilovsky'. Can I restore it some way? Really want this account name
Neither http://lichess.org/ nor http://en.lichess.org/ would load in google chrome. Subpages like my profile page or match histories load just fine. The page also loads in Firefox.
If I delete all cookies related to lichess, everything works fine, I just have to log in again.
Sometimes I want to print out my best games, hang up on my wall and admire. But! I just can't do this because printed sheet looks awful. Can you do something with it?
Sometimes it is desirable to pause to clock for a given time, usually because some unexpected event happing during the game. It would be a nice feature to be able to request clock pause. After request has been accepted the clock is paused and the same cycle (request -> accept) must be fulfilled when un-pausing the clock.
Hi,
I am trying to run everything locally by following the README file and have elasticsearch and mongodb running according to the conf file. When I ran the app, there is not error in the console:
.........
........
[info] o.e.plugins - [Maggott] loaded [], sites []
[info] lila - [boot] Preloading complete
[info] play - Application started (Dev)
[info] lila - [boot] monitor
[info] lila - [search] Start indexer
[info] lila - [search] Indexer is running
But the page is blank saying there is a problem showing the page. Is there anything that needs to be setup? Thanks for your help.
Because jQuery 2.0 drops support for IE6...8, browser does get an error while parsing script http://static.lichess.org/assets/javascripts/deps.min.js and can't loads and displays the message from the page /assets/browser.html due to error parsing next scripts.
The simplest solution is to write conditional comment likes
<!--[if lt IE 10]><script>location.href="/assets/browser.html";</script><![endif]-->
in HEAD, but /assets/browser.html isn't full web page.
Likely requires an integrated approach, for example, include the message blocks on the page and show/hide via display properties.
Hello ornicar:
Https://github.com/ornicar/lila display installation configuration method is relatively simple here, I totally do not understand. You can help me? Thank you very much.
http://en.wikipedia.org/wiki/Bughouse_chess
It has many names (basically two game boards side by side), but have you considered supporting it?
Hi,
it would be nice to see a long-term chart of the training progress.
Best
Stephan
I love lichess.org! I think it would be really great to see other variants of chess available to play.
Perhaps Loser's Chess? http://en.wikipedia.org/wiki/Antichess
3-Checks Chess? http://en.wikipedia.org/wiki/Three-check_chess
I understand that this would entail a lot of work. This is merely a suggestion, and I will understand if you do not have the time to implement these.
Sorry, I've put there a wrong error. Please, look at the new one.
[NoSuchElementException: Either.right.value on Left]
In /home/lila/modules/db/src/main/Tube.scala at line 22.
Also in the logs I'm getting this error all time:
[error] application -
! @6fg3b9bmp - Internal server error, for (GET) [/3v624ve2pnme] ->
play.api.Application$$anon$1: Execution exception[[NoSuchElementException: Either.right.value on Left]]
at play.api.Application$class.handleError(Application.scala:289) ~[play_2.10.jar:2.1.2]
at play.api.DefaultApplication.handleError(Application.scala:383) [play_2.10.jar:2.1.2]
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$play$core$server$netty$PlayDefaultUpstreamHandler$$handle$1$1.apply(PlayDefaultUpstreamHandler.scala:143) [play_2.10.jar:2.1.2]
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$play$core$server$netty$PlayDefaultUpstreamHandler$$handle$1$1.apply(PlayDefaultUpstreamHandler.scala:139) [play_2.10.jar:2.1.2]
at play.api.libs.concurrent.PlayPromise$$anonfun$extend1$1.apply(Promise.scala:113) [play_2.10.jar:2.1.2]
at play.api.libs.concurrent.PlayPromise$$anonfun$extend1$1.apply(Promise.scala:113) [play_2.10.jar:2.1.2]
java.util.NoSuchElementException: Either.right.value on Left
at scala.util.Either$RightProjection.get(Either.scala:454) ~[scala-library.jar:na]
at play.api.libs.json.DefaultReads$$anon$2$$anonfun$reads$6.apply(Reads.scala:470) ~[play_2.10.jar:2.1.2]
at play.api.libs.json.DefaultReads$$anon$2$$anonfun$reads$6.apply(Reads.scala:470) ~[play_2.10.jar:2.1.2]
at scala.collection.immutable.Stream.foreach(Stream.scala:547) ~[scala-library.jar:na]
at play.api.libs.json.DefaultReads$$anon$2.reads(Reads.scala:470) ~[play_2.10.jar:2.1.2]
at play.api.libs.json.PathReads$$anonfun$at$1$$anonfun$apply$2.apply(JsConstraints.scala:33) ~[play_2.10.jar:2.1.2]
Found a bug.
When clicking the button (for example) "Create a game" directly, was opened a new page http://en.lichess.org/setup/hook (if you click on the link happened earlier than has been loaded and executed javascript script file).
Solution. Аdd an attribute onclick="return false"
to all links of a similar type. This attribute also prevent the opening URL when you hold "Ctrl" and then click left mouse button (opening in a new tab, usually).
I was trying to import a PGN of the Immortal Game found here (third link down). As Wikipedia notes, it has a small factual error, but this does not make the PGN invalid. I have successfully imported it into PyChess, for instance.
Here is a direct link to the faulty PGN file in question.
I removed all the comments from the file yet it still failed to import. Mephostophilis suggested that the header contains nonstandard variables. If so, it would be preferable that Lichess would ignore them so PGN files from the web can easily be imported and replayed through Lichess's superior interface.
when i try to run the command
git submodule update --init
I get the following eror:
Resolving deltas: 100% (1156/1156), done.
fatal: reference is not a tree: e9429742c27227b618b7bb3bf1075636d1839c1b
Unable to checkout 'e9429742c27227b618b7bb3bf1075636d1839c1b' in submodule path 'scalachess'
I am runnning under linux mint 64 bit. A few days ago I could build on the same machine without problems.
i would like to see chess puzzles added to this site
http://www.shredderchess.com/daily-chess-puzzle.html
here is a site that has a lot of puzzles you can use
http://wtharvey.com/
code you can use from a android app
Hi,
Thank you for answer the last question about error when buiild play framework. Now, when I try to compile the project, I'm receiving the following error:
error Compilation failed
[error] Total time: 562 s, completed 22/04/2013 11:57:36
[error] Not a valid key: Dscalac (similar: scala-source, ivy-scala, scala-home)
[error] Dscalac.patmat.analysisBudget=off
Regards,
Hi.
I installed lila on my ubuntu server.
This work fine but i have a one trouble.
User how is after registration want to sing in that are they unable to do it.
I not find any error in log files or on screen my PC.
So please help me. Thanks a lot.
I'm not really interested in watching bullet-time games and they look to be the only kind of games that a shown. Possible cause is that bullet-timers' ratings are averagely larger
This is what I see: http://i.imm.io/190zw.jpeg
Are you by chance using localStorage? If that's the case, you should degrade gracefully to cookies or something.
Hi!
Let start a game from simple position. The first game has the move turn in accordance with FEN. But after the acceptance of rematch, the move turn of the initial position becomes wrong and remains to be wrong for every next rematch.
Best wishes, Vladimir.
Lately it has been a pain to play on lichess. All the time I get this red message "Reconnecting..." which rarely reconnects, and most often than not it just opens an annoying, bigger message that says that my browser supports websockets but it can't get a connection. Some times it reloads the page automatically, but most of the times I have to do it manually (and accept the js alert "leave page"). It also rolls back your last move, understandably, but it's so annoying. Some times I have to make the same move + reload the page 5 or 6 times (could be fixed with a cookie for the last move?).
This doesn't seem to be a problem with my particular setup. I can see my opponent going gray and green all the time, and also a french guy told me he was having connectivity problems too.
So is this something that changed in the code, or just server issues?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.