Giter VIP home page Giter VIP logo

Comments (12)

lad1337 avatar lad1337 commented on July 21, 2024

okay it appears you actually need git installed and i assume it must be in the PATH
edit: i was under the impression that the git library i used has its own implementation :/

from xdm.

Zeffuro avatar Zeffuro commented on July 21, 2024

I put git in my PATH and now it tells me:

Needupdate: None; current version: e1b1b3daa5711113e596f0779f288f36505b819b; external version: e1b1b3daa5711113e596f0779f288f36505b819b;
Extra info: dirty_git
Running on a dirty git installation! No real check was done.

from xdm.

lad1337 avatar lad1337 commented on July 21, 2024

okay did you change any files in the source ? ... if you dont now try "git status" in the terminal ...that should tell you what has changed

from xdm.

Zeffuro avatar Zeffuro commented on July 21, 2024

I've checked it, data.db-journal is the "untracked file".
Which probably means it should be in .gitignore :)

from xdm.

lad1337 avatar lad1337 commented on July 21, 2024

data.db-journal

ah okay this should only be there while changes are made to the db and then its deleted but sure it could survive if something goes wrong ...
i will add *db-journal to gitignore and add a config/data folder to the config ... right now it defaults to the root or the user global config folder (implemented on mac only)

from xdm.

lad1337 avatar lad1337 commented on July 21, 2024

Is this issue still valid?

from xdm.

sarakha63 avatar sarakha63 commented on July 21, 2024

i still have the issue of the dirty install

from xdm.

sarakha63 avatar sarakha63 commented on July 21, 2024

corrected with a git stash , no problem now. Just waiting your next commit to see if it works

from xdm.

schumi2004 avatar schumi2004 commented on July 21, 2024

Got the same error on my Ubuntu VM

INFO| 2013-09-24 20:10:50.665225: Generating CherryPy configuration
INFO| 2013-09-24 20:10:50.680302: Starting the XDM http web server
INFO| 2013-09-24 20:10:50.842718: Removeing temp elements DONE
INFO| 2013-09-24 20:10:51.064463: XDM web server running
INFO| 2013-09-24 20:10:51.066588: launch Browser 0.0.0.0:8085
INFO| 2013-09-24 20:10:55.666030: Checking if Git needs an update

CRITICAL�[49| 2013-09-24 20:10:56.316390:

RAN: '/usr/bin/git symbolic-ref --short --quiet HEAD'

STDOUT:

STDERR:
error: unknown option `short'
usage: git symbolic-ref [options] name [ref]

-q, --quiet           suppress error message for non-symbolic (detached) refs
-m <reason>           reason of the update

ERROR| 2013-09-24 20:10:56.366344: Error in the scheduler thread of core updater. 1 fails so far.
Traceback:
Traceback (most recent call last):
File "/home/openelec/XDM/xdm/scheduler.py", line 80, in run
self._action()
File "/home/openelec/XDM/xdm/tasks.py", line 61, in coreUpdateCheck
updateResponse = common.UPDATER.check()
File "/home/openelec/XDM/xdm/updater.py", line 124, in check
self.info = self.updater.need_update()
File "/home/openelec/XDM/xdm/updater.py", line 309, in need_update
branch = self._getBranch()
File "/home/openelec/XDM/xdm/updater.py", line 300, in _getBranch
branch = self.git('symbolic-ref','--short','--quiet','HEAD',_cwd=xdm.APP_PATH,_ok_code=[0,1])
File "/home/openelec/XDM/lib/sh.py", line 726, in call
return RunningCommand(cmd, call_args, stdin, stdout, stderr)
File "/home/openelec/XDM/lib/sh.py", line 291, in init
self.wait()
File "/home/openelec/XDM/lib/sh.py", line 295, in wait
self._handle_exit_code(self.process.wait())
File "/home/openelec/XDM/lib/sh.py", line 309, in _handle_exit_code
self.process.stderr
ErrorReturnCode_129:

RAN: '/usr/bin/git symbolic-ref --short --quiet HEAD'

STDOUT:

STDERR:
error: unknown option `short'
usage: git symbolic-ref [options] name [ref]

-q, --quiet           suppress error message for non-symbolic (detached) refs
-m <reason>           reason of the update



INFO| 2013-09-24 20:11:00.662697: Checking if repo at https://raw.github.com/lad1337/XDM-main-plugin-repo/master/meta.json
INFO| 2013-09-24 20:11:00.729617: Removeing temp elements DONE
INFO| 2013-09-24 20:11:01.430477: 0 Plugins have an update

I just cloned repo and launched it using ./XDM.py

from xdm.

lad1337 avatar lad1337 commented on July 21, 2024

Looks like the "--short" Option was introduced later... (Later respectively to your git version)
Try to Upgrade your git ... I can't find when it was introduced

from xdm.

schumi2004 avatar schumi2004 commented on July 21, 2024

I updated git to 1.8.1.2 but it's a different system and generates this error now

http://pastebin.com/f3uKSsNa

Edit:
Got it fixed using: export LC_ALL=en_US.utf8
Updating Python seems to work also.
Now find out how it works on my Synology NAS.

from xdm.

schumi2004 avatar schumi2004 commented on July 21, 2024

solved on my end btw.

from xdm.

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.