On Tue, Sep 22, 2015 at 12:51:53AM +1000, Rick Walsh wrote: > Here's the output from ./subsurface -v > > [rick@notyourcomputer build]$ ./subsurface -v > git storage: update local repo > sync with remote > https://cloud.subsurface-divelog.org//git/rickmwa...@gmail.com[rickmwa...@gmail.com] > Cloud storage: checking connection to cloud server > git storage: fetch remote > git storage: check remote status > git storage: try to update > git storage: update remote > > Then Subsurface freezes.
So it looks like it might be the git_remote_push() that hangs. Which is odd, given that the fetch above seems to have worked. I guess I need to add timestamps... how long did this take? I mean how long from start to the "update remote" and hang? A second? Five? Thirty? Can you run a traceroute to cloud.subsurface-divelog.org ? What are your ping times? If you access the server over https with a browser, is it responsive? > I tried again, this time making a small change: > > [rick@notyourcomputer build]$ ./subsurface -v > Map theme file does not exist: "" > QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No > such file or directory > git storage: update local repo > sync with remote > https://cloud.subsurface-divelog.org//git/rickmwa...@gmail.com[rickmwa...@gmail.com] > Cloud storage: checking connection to cloud server > Cloud storage: unable to connect to cloud server Now this is interesting. Because above this worked. But it does have a relatively short timeout. I'm wondering... if that's the issue. A really slow connection that times out sometimes and doesn't in others instances. > git storage: do git save Now it's only saving to your local cache because it wasn't able to reach the remote. > removed reference to non-existant dive site with uuid ebc33231 > removed reference to non-existant dive site with uuid 9d62ab69 > removed reference to non-existant dive site with uuid fb3df0ad > removed reference to non-existant dive site with uuid 9d62ab69 > removed reference to non-existant dive site with uuid 13f22db5 > ---many more lines like the above---- I wonder why that happens. Is this the first time you've successfully saved in a while? > This time Subsurface didn't freeze, but an error appears at the bottom of > the screen: "Cannot connect to cloud server, working with local copy" Yep, that's the correct behavior. Even when offline you still can work with it. /D _______________________________________________ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface