Failed to send some changes (Ubuntu 12.04) #799

Closed
antonyanimator opened this Issue Jun 23, 2012 · 9 comments

Projects

None yet

2 participants

@antonyanimator

When adding files to a new project I recieve the following "Failed to send some changes".
I am using the most current sparkleshare repo

@hbons
Owner
hbons commented Jun 23, 2012

can you post a log?

@antonyanimator

doesn't seem to be anything in /var/log/syslog or xsession

@antonyanimator

any other places I should look?

@hbons
Owner
hbons commented Jun 23, 2012

~/.xsession-errors or ~/.config/sparkleshare.debug.log

@antonyanimator

the sparkleshare.debug.log doesn't exist on my system

xsession-errors:

(nautilus:1905): Gtk-CRITICAL **: gtk_ui_manager_add_ui: assertion `name != NULL || type == GTK_UI_MANAGER_SEPARATOR' failed

(nautilus:1905): Gtk-CRITICAL **: gtk_action_get_name: assertion `GTK_IS_ACTION (action)' failed

(nautilus:1905): Gtk-CRITICAL **: gtk_action_get_name: assertion `GTK_IS_ACTION (action)' failed

(nautilus:1905): Gtk-CRITICAL **: gtk_ui_manager_add_ui: assertion `name != NULL || type == GTK_UI_MANAGER_SEPARATOR' failed
compiz (decor) - Warn: failed to bind pixmap to texture
compiz (decor) - Warn: failed to bind pixmap to texture
compiz (decor) - Warn: failed to bind pixmap to texture

@hbons
Owner
hbons commented Jun 23, 2012

Sorry, ~/.config/sparkleshare/debug.log

@hbons hbons closed this Jun 24, 2012
@antonyanimator

I removed some of my ssh details from the following. I found that the file was debug.txt and not debug.log

09:15:24 | Cmd | check | git rev-parse HEAD
09:15:25 | Cmd | check | git log -150 --raw -M --date=iso --format=medium --no-color --no-merges
09:15:25 | Cmd | check | git status --porcelain
09:15:25 | ListenerFactory | Issued new tcp listener for tcp://notifications.sparkleshare.org:80/
09:15:30 | SyncUp | check | Initiated
09:15:30 | Cmd | check | git status --porcelain
09:15:30 | Cmd | check | git push --progress "/home/e-smith/files/ibays/mystorage/files/check" master
09:15:34 | Git | check | Counting objects: 10, done.
09:15:34 | Git | check | Delta compression using up to 4 threads.
09:15:34 | Git | check | Total 10 (delta 2), reused 0 (delta 0)
09:15:35 | Git | check | remote: error: refusing to update checked out branch: refs/heads/master
09:15:35 | Git | check | remote: error: By default, updating the current branch in a non-bare repository
09:15:35 | Git | check | remote: error: is denied, because it will make the index and work tree inconsistent
09:15:35 | Git | check | remote: error: with what you pushed, and will require 'git reset --hard' to match
09:15:35 | Git | check | remote: error: the work tree to HEAD.
09:15:35 | Git | check | remote: error:
09:15:35 | Git | check | remote: error: You can set 'receive.denyCurrentBranch' configuration variable to
09:15:35 | Git | check | remote: error: 'ignore' or 'warn' in the remote repository to allow pushing into
09:15:35 | Git | check | remote: error: its current branch; however, this is not recommended unless you
09:15:35 | Git | check | remote: error: arranged to update its work tree to match what you pushed in some
09:15:35 | Git | check | remote: error: other way.
09:15:35 | Git | check | remote: error:
09:15:35 | Git | check | remote: error: To squelch this message and still keep the default behaviour, set
09:15:35 | Git | check | remote: error: 'receive.denyCurrentBranch' configuration variable to 'refuse'.
09:15:35 | Git | check | To home/e-smith/files/ibays/mystorage/files/check
09:15:35 | Git | check | ! [remote rejected] master -> master (branch is currently checked out)
09:15:35 | Git | check | error: failed to push some refs to '/home/e-smith/files/ibays/mystorage/files/check'
09:15:35 | Cmd | check | git log -150 --raw -M --date=iso --format=medium --no-color --no-merges
09:15:35 | SyncUp | check | Error
09:15:35 | SyncDown | check | Initiated
09:15:35 | Cmd | check | git rev-parse HEAD
09:15:35 | Cmd | check | git fetch --progress "/home/e-smith/files/ibays/mystorage/files/check" master
09:15:35 | Git | check | fatal: Couldn't find remote ref master
09:15:35 | Git | check | fatal: The remote end hung up unexpectedly
09:15:35 | Cmd | check | git log -150 --raw -M --date=iso --format=medium --no-color --no-merges
09:15:35 | SyncDown | check | Error
09:16:29 | Listener | Trying to reconnect to tcp://notifications.sparkleshare.org:80/
09:16:29 | Listener | Disconnected from tcp://notifications.sparkleshare.org:80/: Connection timed out
09:16:29 | check | Falling back to polling
09:17:32 | Listener | Disconnected from tcp://notifications.sparkleshare.org:80/: Connection timed out
09:17:32 | check | Falling back to polling
09:17:32 | Listener | Trying to reconnect to tcp://notifications.sparkleshare.org:80/
09:18:35 | Listener | Trying to reconnect to tcp://notifications.sparkleshare.org:80/
09:18:35 | Listener | Disconnected from tcp://notifications.sparkleshare.org:80/: Connection timed out
09:18:35 | check | Falling back to polling
09:18:36 | Listener | Listening for announcements on tcp://notifications.sparkleshare.org:80/
09:18:36 | Git | check | Checking for remote changes...
09:18:36 | Cmd | check | git rev-parse HEAD
09:18:36 | Cmd | check | git ls-remote --exit-code "/home/e-smith/files/ibays/mystorage/files/check" master
09:18:38 | SyncUp | check | Initiated
09:18:38 | Cmd | check | git status --porcelain
09:18:38 | Cmd | check | git push --progress "/home/e-smith/files/ibays/mystorage/files/check" master
09:18:40 | Git | check | Counting objects: 10, done.
09:18:40 | Git | check | Delta compression using up to 4 threads.
09:18:40 | Git | check | Total 10 (delta 2), reused 0 (delta 0)
09:18:41 | Git | check | remote: error: refusing to update checked out branch: refs/heads/master
09:18:41 | Git | check | remote: error: By default, updating the current branch in a non-bare repository
09:18:41 | Git | check | remote: error: is denied, because it will make the index and work tree inconsistent
09:18:41 | Git | check | remote: error: with what you pushed, and will require 'git reset --hard' to match
09:18:41 | Git | check | remote: error: the work tree to HEAD.
09:18:41 | Git | check | remote: error:
09:18:41 | Git | check | remote: error: You can set 'receive.denyCurrentBranch' configuration variable to
09:18:41 | Git | check | remote: error: 'ignore' or 'warn' in the remote repository to allow pushing into
09:18:41 | Git | check | remote: error: its current branch; however, this is not recommended unless you
09:18:41 | Git | check | remote: error: arranged to update its work tree to match what you pushed in some
09:18:41 | Git | check | remote: error: other way.
09:18:41 | Git | check | remote: error:
09:18:41 | Git | check | remote: error: To squelch this message and still keep the default behaviour, set
09:18:41 | Git | check | remote: error: 'receive.denyCurrentBranch' configuration variable to 'refuse'.
09:18:41 | Git | check | To /home/e-smith/files/ibays/mystorage/files/check
09:18:41 | Git | check | ! [remote rejected] master -> master (branch is currently checked out)
09:18:41 | Git | check | error: failed to push some refs to 'home/e-smith/files/ibays/mystorage/files/check'
09:18:41 | Cmd | check | git log -150 --raw -M --date=iso --format=medium --no-color --no-merges
09:18:41 | SyncUp | check | Error
09:18:41 | SyncDown | check | Initiated
09:18:41 | Cmd | check | git rev-parse HEAD
09:18:41 | Cmd | check | git fetch --progress "/home/e-smith/files/ibays/mystorage/files/check" master
09:18:44 | Git | check | fatal: Couldn't find remote ref master
09:18:44 | Git | check | fatal: The remote end hung up unexpectedly
09:18:44 | Cmd | check | git log -150 --raw -M --date=iso --format=medium --no-color --no-merges
09:18:44 | SyncDown | check | Error
09:23:44 | ListenerTcp | Pinging tcp://notifications.sparkleshare.org:80/
09:23:44 | Listener | Disconnected from tcp://notifications.sparkleshare.org:80/: Ping timeout: Connection reset by peer
09:23:44 | check | Falling back to polling
09:23:49 | Git | check | Checking for remote changes...
09:23:49 | Cmd | check | git rev-parse HEAD
09:23:49 | Cmd | check | git ls-remote --exit-code "home/e-smith/files/ibays/mystorage/files/check" master
09:24:25 | Listener | Trying to reconnect to tcp://notifications.sparkleshare.org:80/
09:24:30 | Listener | Disconnected from tcp://notifications.sparkleshare.org:80/: Operation on non-blocking socket would block
09:24:30 | check | Falling back to polling
09:25:25 | Listener | Trying to reconnect to tcp://notifications.sparkleshare.org:80/
09:25:31 | Listener | Disconnected from tcp://notifications.sparkleshare.org:80/: Operation on non-blocking socket would block
09:25:31 | check | Falling back to polling
09:26:25 | Listener | Trying to reconnect to tcp://notifications.sparkleshare.org:80/
09:27:28 | Listener | Trying to reconnect to tcp://notifications.sparkleshare.org:80/
09:27:28 | Listener | Disconnected from tcp://notifications.sparkleshare.org:80/: Connection timed out
09:27:28 | check | Falling back to polling
09:27:33 | Listener | Disconnected from tcp://notifications.sparkleshare.org:80/: Operation on non-blocking socket would block
09:27:33 | check | Falling back to polling
09:28:25 | Listener | Trying to reconnect to tcp://notifications.sparkleshare.org:80/
09:28:30 | Listener | Disconnected from tcp://notifications.sparkleshare.org:80/: Operation on non-blocking socket would block
09:28:30 | check | Falling back to polling
09:28:49 | Git | check | Checking for remote changes...
09:28:49 | Cmd | check | git rev-parse HEAD
09:28:49 | Cmd | check | git ls-remote --exit-code "home/e-smith/files/ibays/mystorage/files/check" master
09:29:25 | Listener | Trying to reconnect to tcp://notifications.sparkleshare.org:80/
09:29:30 | Listener | Disconnected from tcp://notifications.sparkleshare.org:80/: Operation on non-blocking socket would block
09:29:30 | check | Falling back to polling
09:30:25 | Listener | Trying to reconnect to tcp://notifications.sparkleshare.org:80/
09:30:30 | Listener | Disconnected from tcp://notifications.sparkleshare.org:80/: Operation on non-blocking socket would block
09:30:30 | check | Falling back to polling
09:31:25 | Listener | Trying to reconnect to tcp://notifications.sparkleshare.org:80/
09:32:28 | Listener | Trying to reconnect to tcp://notifications.sparkleshare.org:80/
09:32:28 | Listener | Disconnected from tcp://notifications.sparkleshare.org:80/: Connection timed out
09:32:28 | check | Falling back to polling
09:32:34 | Listener | Disconnected from tcp://notifications.sparkleshare.org:80/: Operation on non-blocking socket would block
09:32:34 | check | Falling back to polling
09:33:25 | Listener | Trying to reconnect to tcp://notifications.sparkleshare.org:80/
09:33:30 | Listener | Disconnected from tcp://notifications.sparkleshare.org:80/: Operation on non-blocking socket would block
09:33:30 | check | Falling back to polling
09:33:49 | Git | check | Checking for remote changes...
09:33:49 | Cmd | check | git rev-parse HEAD
09:33:49 | Cmd | check | git ls-remote --exit-code "home/e-smith/files/ibays/mystorage/files/check" master
09:34:25 | Listener | Trying to reconnect to tcp://notifications.sparkleshare.org:80/
09:34:30 | Listener | Disconnected from tcp://notifications.sparkleshare.org:80/: Operation on non-blocking socket would block
09:34:30 | check | Falling back to polling
09:35:25 | Listener | Trying to reconnect to tcp://notifications.sparkleshare.org:80/
09:35:31 | Listener | Disconnected from tcp://notifications.sparkleshare.org:80/: Operation on non-blocking socket would block
09:35:31 | check | Falling back to polling
09:36:25 | Listener | Trying to reconnect to tcp://notifications.sparkleshare.org:80/

@hbons
Owner
hbons commented Jun 25, 2012

You are trying to push to a non-bare repository. You'll need to create the repository with --bare.

@antonyanimator

Thanks that worked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment