#python - Wed 16 May 2007 between 00:27 and 00:34



ivazquezdelphinen: Which file are you checking?
Blackhawk5193So 2.5 includes pySQLite and SQLite or just SQLite?
ko12uptdeltab i just wanted the url but ill work with it and have error codes in the text along with url :)
delphinenoh damn
ko12uptso i know if the url has a error then ill skip it should work okay
marienzit should include both, but 2.5's pysqlite is called sqlite3, not pysqlite2, which your software may not support.
delphinenI was checking the wrong file
deltabko12upt: eh? why do you need to do that?
ko12upt:P
deltabko12upt: problem with indentation?
marienzBlackhawk5193: if you're trying to import pysqlite2 you'll need to install pysqlite or tell your code to use sqlite3 instead.
ko12uptdeltab yeah
delphinenok
the text is printed to the logfile
but still the daemon dies
ivazquezOf course it does.
delphinenwhy?
ivazquezYou're using shell constructs without invoking the shell.
delphinenwhat?
im using the same structure for other daemon and its working
deltabdelphinen: isn't that part of the process, so that the daemon is orphaned?
ivazquezYou don't get | unless you run a shell.
delphinenI dont understand, you mean the pipe?
ivazquezYes.
delphinenwhats the problem with it?
deltab, yes
if I run the python interpreter
ivazquezIt doesn't mean anything unless you're running a shell.
delphinenthe code works ok
deltabivazquez: os.popen starts a shell
delphinenyes
ko12upthttp://www.pastebin.ca/490561 deltab this look right
ivazquezIt does? I'd think it uses the system calls.
ko12upthtml too far back i just moved it forward a bit
deltabko12upt: lines 16 and 17 appear to have the same indentation as lines 14 and 15, so they'll only run in the same situation (an IOError with a code)
ko12upt:)
http://www.pastebin.ca/490565
actionjsoftw feels bloated
jsoftwfeels bloated
ko12uptuh still nothing did write anything to the text document its skipping everything
deltabko12upt: is it your intention that the file is only written to when there's an error?

Page: 5 12 19 26 33 40 47 54 61 68 75 82 89 

IrcArchive