NMGRL / pychron

Data acquisition and processing framework for Ar-Ar geochronology and noble gas mass spectrometry
http://pychron.readthedocs.org/en/latest/
Apache License 2.0
26 stars 26 forks source link

Failed to Sync repository #2190

Closed nelsiverson closed 1 year ago

nelsiverson commented 1 year ago

I am not able to push changes to the Morgan01099 repository from my laptop. Preferences<DVC< says that I am connected.

Below is the log error

Repositories : 2023-01-04 13:58:41,044 DEBUG (MainThread) find changes. names=('Morgan01099',) DVC : 2023-01-04 13:58:46,645 DEBUG (MainThread) push repository <pychron.git_archive.repo_manager.GitRepoManager object at 0x00000216BBF90648> DVC : 2023-01-04 13:58:46,645 DEBUG (MainThread) pushing to remote=origin, url=https://github.com GitRepoManager : 2023-01-04 13:58:47,263 DEBUG (MainThread) Traceback (most recent call last): File "C:\Users\Nels.pychron.0\pychron\pychron\git_archive\repo_manager.py", line 819, in push self._repo.git.push(remote, branch) File "c:\Users\Nels.conda\envs\pychron3\lib\site-packages\git\cmd.py", line 542, in return lambda *args, *kwargs: self._call_process(name, args, kwargs) File "c:\Users\Nels.conda\envs\pychron3\lib\site-packages\git\cmd.py", line 1005, in _call_process return self.execute(call, exec_kwargs) File "c:\Users\Nels.conda\envs\pychron3\lib\site-packages\git\cmd.py", line 822, in execute raise GitCommandError(command, status, stderr_value, stdout_value) git.exc.GitCommandError: Cmd('git') failed due to: exit code(128) cmdline: git push origin master stderr: 'remote: Invalid username or password. fatal: Authentication failed for 'https://github.com/NMGRLData/Morgan01099.git/''

GitRepoManager : 2023-01-04 13:58:47,263 WARNING (MainThread) Morgan01099 push failed. See log file for more details Repositories : 2023-01-04 13:58:49,909 DEBUG (MainThread) find changes. names=('Morgan01099',)

jirhiker commented 1 year ago

Are you using the latest version? If so try reseting your github authentication manually by deleting the file

Pychron/.appdata/oauth.json

then restart pychron. on startup the browser should open and allow you to sign into github

nelsiverson commented 1 year ago

Fixed! Thanks

On Wed, Jan 4, 2023 at 2:07 PM Jake Ross @.***> wrote:

Are you using the latest version? If so try reseting your github authentication manually by deleting the file

Pychron/.appdata/oauth.json

— Reply to this email directly, view it on GitHub https://github.com/NMGRL/pychron/issues/2190#issuecomment-1371419232, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH4EOXCNJVFXXSLZSGDFVGLWQXRAJANCNFSM6AAAAAATRG5UNQ . You are receiving this because you were assigned.Message ID: @.***>

-- Dr. Nels A. Iverson Research Scientist II New Mexico Bureau of Geology and Mineral Resources New Mexico Tech Socorro, NM, 87801 509-595-8879 (mobile) @.***