Giter Club home page Giter Club logo

Comments (5)

childnode avatar childnode commented on July 18, 2024

P.S: saw: repo was in state:

  • uncommitted but already staged change
  • git pull --ff-only returned ```Die Datenbank des Repositories wird für eine optimale Performance im
    Hintergrund komprimiert.
    Siehe "git help gc" für manuelles Aufräumen.
    error: Die letzte Ausführung von "gc run" enthielt die folgenden Meldungen.
    Bitte beheben Sie das Hauptproblem und löschen Sie .git/gc.log.
    Ein automatischer Cleanup wird nicht ausgeführt, bis diese Datei entfernt
    wurde.

warning: Es gibt zu viele unerreichbare lose Objekte; führen Sie 'git prune' aus, um diese zu löschen.```

from git-repo-updater.

richardmodis avatar richardmodis commented on July 18, 2024

I have the same issue (version: 0.5.dev0):

Traceback (most recent call last):
  File "/usr/local/bin/gitup", line 9, in <module>
    load_entry_point('gitup==0.5.dev0', 'console_scripts', 'gitup')()
  File "build/bdist.linux-x86_64/egg/gitup/script.py", line 137, in run
  File "build/bdist.linux-x86_64/egg/gitup/script.py", line 129, in main
  File "build/bdist.linux-x86_64/egg/gitup/update.py", line 254, in update_directories
  File "build/bdist.linux-x86_64/egg/gitup/update.py", line 240, in _dispatch
  File "build/bdist.linux-x86_64/egg/gitup/update.py", line 178, in _update_repository
  File "/usr/local/lib/python2.7/dist-packages/GitPython-2.1.5-py2.7.egg/git/repo/base.py", line 245, in heads
    return Head.list_items(self)
  File "/usr/local/lib/python2.7/dist-packages/GitPython-2.1.5-py2.7.egg/git/util.py", line 932, in list_items
    out_list.extend(cls.iter_items(repo, *args, **kwargs))
  File "/usr/local/lib/python2.7/dist-packages/GitPython-2.1.5-py2.7.egg/git/refs/symbolic.py", line 599, in _iter_items
    for path in sorted(rela_paths):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 44: ordinal not in range(128)

from git-repo-updater.

glachancecmaisonneuve avatar glachancecmaisonneuve commented on July 18, 2024

setting PYTHONIOENCODING (set PYTHONIOENCODING=utf8 for windows, export PYTHONIOENCODING=utf8 for linux) should fix the problem for both of you.

from git-repo-updater.

childnode avatar childnode commented on July 18, 2024

@glachancecmaisonneuve thanks for pointing out .. will try it on next fail ;)

regarding homebrew, I assume that might be set in general by the script beeing created? https://github.com/Homebrew/homebrew-core/blob/master/Formula/gitup.rb#L45

btw. seems to be related but fixed in the meantime: #25

from git-repo-updater.

ogok avatar ogok commented on July 18, 2024

I have the same issue (version 0.5.1_3)

Traceback (most recent call last):
File "/usr/local/bin/gitup", line 33, in
sys.exit(load_entry_point('gitup==0.5.1', 'console_scripts', 'gitup')())
File "/usr/local/Cellar/gitup/0.5.1_3/libexec/lib/python3.9/site-packages/gitup/cli.py", line 146, in run
main()
File "/usr/local/Cellar/gitup/0.5.1_3/libexec/lib/python3.9/site-packages/gitup/cli.py", line 138, in main
update_directories(args.directories_to_update, args)
File "/usr/local/Cellar/gitup/0.5.1_3/libexec/lib/python3.9/site-packages/gitup/update.py", line 305, in update_directories
_dispatch(path, _update_repository, args)
File "/usr/local/Cellar/gitup/0.5.1_3/libexec/lib/python3.9/site-packages/gitup/update.py", line 283, in _dispatch
callback(Repo(path), name, args)
File "/usr/local/Cellar/gitup/0.5.1_3/libexec/lib/python3.9/site-packages/gitup/update.py", line 189, in _update_repository
_fetch_remotes(remotes, args.prune)
File "/usr/local/Cellar/gitup/0.5.1_3/libexec/lib/python3.9/site-packages/gitup/update.py", line 81, in _fetch_remotes
results = remote.fetch(progress=_ProgressMonitor(), prune=prune)
File "/usr/local/Cellar/gitup/0.5.1_3/libexec/lib/python3.9/site-packages/git/remote.py", line 789, in fetch
res = self._get_fetch_info_from_stderr(proc, progress)
File "/usr/local/Cellar/gitup/0.5.1_3/libexec/lib/python3.9/site-packages/git/remote.py", line 675, in _get_fetch_info_from_stderr
proc.wait(stderr=stderr_text)
File "/usr/local/Cellar/gitup/0.5.1_3/libexec/lib/python3.9/site-packages/git/cmd.py", line 402, in wait
stderr = force_bytes(stderr)
File "/usr/local/Cellar/gitup/0.5.1_3/libexec/lib/python3.9/site-packages/gitdb/utils/encoding.py", line 16, in force_bytes
return data.encode(encoding)
UnicodeEncodeError: 'ascii' codec can't encode character '\xe7' in position 228134: ordinal not in range(128)

from git-repo-updater.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.