Comments (19)
uhh what language is your computer ? your git ?
because i changed the git library and i have to parse the git output and that is only done for english !
from xdm.
French computer
from xdm.
i pushed some updated including what i think might be the french translation i need to get the git status
but it would help if you could give me the output from "git status -uno"
(you might need to do a "git remote update")
i am looking for something like (but in french)
# On branch master
# Your branch is ahead of 'origin/master' by 1 commit.
#
# On branch master
# Your branch is behind 'origin/master' by 4 commits, and can be fast-forwarded.
#
from xdm.
On branch master
Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded.
(use "git pull" to update your local branch)
nothing to commit (use -u to show untracked files)
from xdm.
the git pull command worked but i kept having i dont know what the status of your git is in the app before. Will see on next update now
from xdm.
if it is still not working even with the newest versions (might need to git pull again)
i will need some debug log ...
- open the page xdm_url/logs/
- click on live update
- open a new tab and go to xdm_url/about/ ... you can do this by simply clicking "About" at the end of the log page (but open it in a new tab)
- check the output on the log page
- you can then click on on the little blue github icon (the 4th icon) in the log line this will open a dialog with a nicely formated message that you can paste here
i have stuff like
This is what happend:
Please write a short story of what the issue is.
(well we both know what the issue is ^^)
Raw log message:
{
"msg": "Needupdate: False; current version: Zim 0.5.5.70; external version: Zim 0.5.5.70;\nExtra info: \nNo update available",
"lvl": "INFO",
"caller": {
"line": 47,
"file": "/Applications/XDM.app/Contents/Resources/xdm/tasks.py",
"fn": "coreUpdateCheck"
},
"data": {},
"time": "2013-08-28 10:08:04.099225"
}
System info:
- XDM version: Zim 0.5.5.70
- Updater version: Zim 0.5.5.70
- Install type: Mac App
- System: Darwin
- Release: 10.8.0
- Machine: i386
- Python_version: 2.7.1
- Python_implementation: CPython
from xdm.
this should be fixed with #51 and this is in version 0.5.6
from xdm.
seems to work well now thanks.
I have just one isssue but dont now if it is code related.
If I shutdown or restart XDM. The pid still exists and i have a socket error during the next relaunch (port 8085 is already in use) I have to manually kill the pid related to XDM. Do you have any idea
from xdm.
do you use the -p PIDFILE
option ? if so XDM should restart with it again... on shutdown it might not be removed ...
from xdm.
Ah no i dont should i
De: lad1337
Envoyé: ven., 30/08/2013 15:10
A: lad1337/XDM [email protected]
CC: sarakha63 [email protected]
Objet: Re: [XDM] I dont know what the status of your git is (#45)
do you use the -p PIDFILE option ? if so XDM should restart with it again... on shutdown it might not be removed ...
—
Reply to this email directly or view it on GitHub.
from xdm.
if you do xdm will place the pid in the file path you provided and should update the pid when restarted ... again on shutdown the pid file might remain ... i never used pid files so i didn't know what should happen
from xdm.
ll give it a try
from xdm.
this didn't solve the issue
here is my sh script : nohup /volume1/@appstore/python/bin/python /volume1/documents/XDM/XDM.py -p PIDFILE &
and here is the log
�[32;1mINFO�[0m| 2013-08-30 15:35:03.468909: Executing actions 'shutdown'. Called from RebootAction
�[32;1mINFO�[0m| 2013-08-30 15:35:03.471245: Stopping all tasks
�[32;1mINFO�[0m| 2013-08-30 15:35:03.473300: Stopping scheduled task download status
�[32;1mINFO�[0m| 2013-08-30 15:35:03.475413: Stopping scheduled task searcher
�[32;1mINFO�[0m| 2013-08-30 15:35:03.477481: Stopping scheduled task media adder
�[32;1mINFO�[0m| 2013-08-30 15:35:03.479578: Stopping scheduled task news feed
�[32;1mINFO�[0m| 2013-08-30 15:35:03.481648: Stopping scheduled task repository cache
�[32;1mINFO�[0m| 2013-08-30 15:35:03.483700: Stopping scheduled task garbage collector
�[32;1mINFO�[0m| 2013-08-30 15:35:03.485739: Stopping scheduled task core updater
�[32;1mINFO�[0m| 2013-08-30 15:35:03.487673: Shutting down. Bye bye and good luck!
�[32;1mINFO�[0m| 2013-08-30 15:35:03.577991: Starting XDM Zim 0.5.6
�[32;1mINFO�[0m| 2013-08-30 15:35:03.579647: Logfile path is /volume1/documents/XDM/xdm.log
�[32;1mINFO�[0m| 2013-08-30 15:35:03.581101: Set PIDfile to PIDFILE
�[32;1mINFO�[0m| 2013-08-30 15:35:03.702233: Loading/searching system plugins
�[32;1mINFO�[0m| 2013-08-30 15:35:09.298556: Pylint Score for SystemConfig is 9.28
�[32;1mINFO�[0m| 2013-08-30 15:35:09.486696: Using i18n path /volume1/documents/XDM/i18n
�[32;1mINFO�[0m| 2013-08-30 15:35:09.491683: Instaling language "en_US [email protected]"
�[32;1mINFO�[0m| 2013-08-30 15:35:09.495032: CoreUpdate is working with version 0.5.6 on Git
�[32;1mINFO�[0m| 2013-08-30 15:35:09.536736: Loading/searching all plugins
�[32;1mINFO�[0m| 2013-08-30 15:35:10.298557: Pylint Score for SystemConfig is 9.28
�[32;1mINFO�[0m| 2013-08-30 15:35:11.062960: Pylint Score for BoxcarMonitor is 7.93
�[32;1mINFO�[0m| 2013-08-30 15:35:11.585241: Pylint Score for Boxcar is 7.56
�[32;1mINFO�[0m| 2013-08-30 15:35:12.307384: Pylint Score for XBMC is 9.68
�[32;1mINFO�[0m| 2013-08-30 15:35:12.588015: Pylint Score for Movies is 9.73
�[32;1mINFO�[0m| 2013-08-30 15:35:13.409764: Pylint Score for Books is 7.71
�[32;1mINFO�[0m| 2013-08-30 15:35:13.831818: Pylint Score for Music is 8.73
�[32;1mINFO�[0m| 2013-08-30 15:35:14.254252: Pylint Score for Games is 9.25
�[32;1mINFO�[0m| 2013-08-30 15:35:15.651780: Pylint Score for Sabnzbd is 8.82
�[32;1mINFO�[0m| 2013-08-30 15:35:16.587344: Pylint Score for RegEx is 9.69
�[32;1mINFO�[0m| 2013-08-30 15:35:16.831785: Pylint Score for Replace is 10.00
�[32;1mINFO�[0m| 2013-08-30 15:35:16.986704: Pylint Score for Umlaute is 10.00
�[32;1mINFO�[0m| 2013-08-30 15:35:18.206643: Pylint Score for Newznab is 9.36
�[32;1mINFO�[0m| 2013-08-30 15:35:19.331701: Pylint Score for Discogs is 8.43
�[32;1mINFO�[0m| 2013-08-30 15:35:20.553944: Pylint Score for Tmdb is 9.56
�[32;1mINFO�[0m| 2013-08-30 15:35:21.765097: Pylint Score for Goodreads is 9.57
�[32;1mINFO�[0m| 2013-08-30 15:35:23.398283: Pylint Score for TheGamesDB is 8.02
�[32;1mINFO�[0m| 2013-08-30 15:35:23.918332: Pylint Score for GameMover is 9.53
�[32;1mINFO�[0m| 2013-08-30 15:35:24.114488: Pylint Score for Torrent is 10.00
�[32;1mINFO�[0m| 2013-08-30 15:35:24.238714: Pylint Score for NZB is 10.00
�[32;1mINFO�[0m| 2013-08-30 15:35:26.102703: Stopping all tasks
�[32;1mINFO�[0m| 2013-08-30 15:35:26.105411: Checking migrate functions with last known version: (0, 5, 6) and cur version: (0, 5, 6)
�[32;1mINFO�[0m| 2013-08-30 15:35:26.107481: Setting up download status checker scheduler every 180 seconds
�[32;1mINFO�[0m| 2013-08-30 15:35:26.112181: Setting up search scheduler every 43200 seconds
�[32;1mINFO�[0m| 2013-08-30 15:35:26.115826: Setting up mediaadder scheduler every 180 seconds
�[32;1mINFO�[0m| 2013-08-30 15:35:26.118218: Setting up news feed scheduler every 14400 seconds
�[32;1mINFO�[0m| 2013-08-30 15:35:26.121877: Setting up plugin repo / plugin update scheduler every 43200 seconds
�[32;1mINFO�[0m| 2013-08-30 15:35:26.125518: Setting up garbage collector scheduler every 86400 seconds
�[32;1mINFO�[0m| 2013-08-30 15:35:26.127679: Setting up core update scheduler every 43200 seconds
�[32;1mINFO�[0m| 2013-08-30 15:35:26.134719: Generating CherryPy configuration
�[32;1mINFO�[0m| 2013-08-30 15:35:26.139421: Starting the XDM http web server
�[32;1mINFO�[0m| 2013-08-30 15:35:26.141872: Removeing temp elements DONE
Exception in thread HTTPServer Thread-10:
Traceback (most recent call last):
File "/volume1/@appstore/python/lib/python2.7/threading.py", line 808, in __bootstrap_inner
self.run()
File "/volume1/@appstore/python/lib/python2.7/threading.py", line 761, in run
self.__target(_self.__args, *_self.__kwargs)
File "/volume1/documents/XDM/rootLibs/cherrypy/process/servers.py", line 187, in _start_http_thread
self.httpserver.start()
File "/volume1/documents/XDM/rootLibs/cherrypy/wsgiserver/wsgiserver2.py", line 1824, in start
raise socket.error(msg)
error: No socket could be created
�[31;1mERROR�[0m| 2013-08-30 15:35:26.869312: Unable to start web server, is something else running on port 8085?
Traceback:
Traceback (most recent call last):
File "/volume1/documents/XDM/XDM.py", line 270, in main
app.startWebServer()
File "/volume1/documents/XDM/XDM.py", line 251, in startWebServer
cherrypy.server.start()
File "/volume1/documents/XDM/rootLibs/cherrypy/_cpserver.py", line 151, in start
ServerAdapter.start(self)
File "/volume1/documents/XDM/rootLibs/cherrypy/process/servers.py", line 174, in start
self.wait()
File "/volume1/documents/XDM/rootLibs/cherrypy/process/servers.py", line 208, in wait
raise self.interrupt
error: No socket could be created
from xdm.
secondly with the presence of the PIDFILE. The git check results on "youre running a dirty git installation blablablbla
from xdm.
@socket erro: some xdm is still running
@pidfile/git: and you should create the PIDFILE somewhere outside the XDM dir and delete the current PIDFILE
from xdm.
I bet something is deadlocking on the sqlite database and that's why it
won't exit. I'm hoping to get a chance to pore over the database
connection code soon but I don't know if I'll end up having time.
On Fri, Aug 30, 2013 at 10:01 AM, lad1337 [email protected] wrote:
@socket https://github.com/socket erro: some xdm is still running
@pidfile/git: and you should create the PIDFILE somewhere outside the XDM
dir and delete the current PIDFILE—
Reply to this email directly or view it on GitHubhttps://github.com//issues/45#issuecomment-23562898
.
from xdm.
@mjc i don't think thats why XDM won't exit but i agree the db access is not clean because many threads read and write on it and the sqlite python drivers aren't thread safe
peewee is supposed to have a connection / query / pooling in place but best would be to manage it ourselves
i guess the XDM is still running simple in a new process since thats what it does when restarting and then if you ctrl+c it in the shell you don't stop it since its no longer attached to the shell
from xdm.
is this still an issue ?
from xdm.
closing because of no response ... assuming its working ^^
from xdm.
Related Issues (20)
- TypeError on Windows
- Searching for music gives only errors HOT 1
- GoodReads Want To Read
- Cannot open settings HOT 4
- XDM don't start HOT 4
- Trakt.tv do not work HOT 1
- Errors and such will you be updating this package? HOT 2
- Installing with Py 2.7.3 on Win 8 x64 HOT 1
- XDM won't start HOT 3
- Can't search nzbgeek.info newznab service
- Can you update this to work for ebooks?
- Plugins require version that's not available HOT 13
- unable to use any of the providers HOT 1
- TraktTV and Discogs issue HOT 8
- XDM.app is damaged and cant be opened.
- Newznab(Default) - Get categories: Internal Error in plugin HOT 1
- Multiple searches at same time = Internal Error?
- XDM is dead? HOT 2
- Anyone have any working MediaAdder plugins - music preferably
- XDM already exists
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xdm.