| ivazquez | delphinen: Which file are you checking? |
| Blackhawk5193 | So 2.5 includes pySQLite and SQLite or just SQLite? |
| ko12upt | deltab i just wanted the url but ill work with it and have error codes in the text along with url :) |
| delphinen | oh damn |
| ko12upt | so i know if the url has a error then ill skip it should work okay |
| marienz | it should include both, but 2.5's pysqlite is called sqlite3, not pysqlite2, which your software may not support. |
| delphinen | I was checking the wrong file |
| deltab | ko12upt: eh? why do you need to do that? |
| ko12upt | :P |
| deltab | ko12upt: problem with indentation? |
| marienz | Blackhawk5193: if you're trying to import pysqlite2 you'll need to install pysqlite or tell your code to use sqlite3 instead. |
| ko12upt | deltab yeah |
| delphinen | ok the text is printed to the logfile but still the daemon dies |
| ivazquez | Of course it does. |
| delphinen | why? |
| ivazquez | You're using shell constructs without invoking the shell. |
| delphinen | what? im using the same structure for other daemon and its working |
| deltab | delphinen: isn't that part of the process, so that the daemon is orphaned? |
| ivazquez | You don't get | unless you run a shell. |
| delphinen | I dont understand, you mean the pipe? |
| ivazquez | Yes. |
| delphinen | whats the problem with it? deltab, yes if I run the python interpreter |
| ivazquez | It doesn't mean anything unless you're running a shell. |
| delphinen | the code works ok |
| deltab | ivazquez: os.popen starts a shell |
| delphinen | yes |
| ko12upt | http://www.pastebin.ca/490561 deltab this look right |
| ivazquez | It does? I'd think it uses the system calls. |
| ko12upt | html too far back i just moved it forward a bit |
| deltab | ko12upt: 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 |
| action | jsoftw feels bloated |
| jsoftw | feels bloated |
| ko12upt | uh still nothing did write anything to the text document its skipping everything |
| deltab | ko12upt: is it your intention that the file is only written to when there's an error? |