GitZilla version 1.9 is out. This is a RC for version 2.0, which comes after this gets some wider testing. If you're using it and have a problem, use the issues page at github.
New features and changes:
My old git-bugzilla integration scripts were more of a one-off attempt at some glue code and was very hackish. No wonder it accumulated bitrot.
So now, there's GitZilla! It's hosted on GitHub and there's a .deb available. Note that (for now at least), you would have to install the pybugz module separately, even if you install the GitZilla .deb.
Using GitZilla is extremely easy. You can get started by symlinking (or copying) a couple of files and creating a 4 line configuration file. (See the 'simple ready scripts' usage mode).
Python makes it easy to write Windows services (via pywin32 extensions). That part is easy. The problems sometimes happen when you try to run them, with a commonly reported error - "The service did not respond to the control...", which is error 1503.
If one runs the service compiled as an exe (via py2exe for example), there are a bunch of issues like the module import paths changing. I haven't had the time to dig really deep into that. But this might strike even if the service is being run uncompiled (from a .py file).
One of the first things to check is whether pythonservice.exe (from the win32 module) executes cleanly - this is the binary responsible for actually loading your service script/module. If pywin32 was installed in the usual way, it should be located at C:\Python26\Lib\site-packages\win32\pythonservice.exe
Running this should give an immediate idea of what's going wrong. It usually turns out to be a "msvcr90.dll" or a "python26.dll" error. (Of course, all this is Python 2.6). When that is running alright, then it's time for some debug fun.
To debug the python service, just run pythonservice.exe with the '-debug' option and the service name as the argument. This attaches the stdout/stderr to the terminal. For example, if the service uses BaseHTTPServer, all the request/response logs will show up.
As part of a cleanup of someone's notebook, I created a non-admin account and copied the docs/shortcuts. Thankfully, the data was already in a separate drive. Trouble is, the non-admin user would see all of it as read-only.
I tried changing the perms on the content (via the gui as well as via attrib.exe), but the non-admin user still wasn't able to write.
It turned out that the issue was file ownership. I'm not too sure what the patchlevel of the XP system was, but a right click -> properties menu didn't bring up any tab where I could see or change file ownership.
The solution: download and install Cygwin, and then a simple "chown -R <NonAdminUser> /cygdrive/<driveletter>/*".
Reinforces my opinion that one really *needs* cygwin to make Windows usable!
$ apt-get source mysql-server .... [will download the source and apply the diffgz etc] .... $ cd mysql-dfsg-5.0-5.0.1a $ patch -p1 < /path/to/mysql-dfsg-5.0_5.0.51a-3ubuntu5-sphinx1.debdiff .... [messages about files patched] .... $ dpkg-buildpackage -rfakeroot -us -uc .... [builds and unsigned package. Takes *really* long] ....update: It turns out that the MySQL error messages didn't change after all. I should have noticed earlier, but the difference in error messages is because the build machine was using OpenDNS, which wasn't returning a NXDOMAIN for invalid/nonexistent hosts. The debdiff is now fixed and the unnecessary dpatch has been removed. But the thing to learn from this is that if your build machine is using OpenDNS in its default configuration (it's possible to fix OpenDNS' behaviour) - the MySQL test suite *WILL FAIL*.
... the phase every programmer goes through during which he overestimates his abilities, has no sense of scale, and lacks sense for robustness. In short, he's proud, ignorant, and dangerous. He believes that libraries are bloated and slow, that he can out-perform standard implementations. He optimized prematurely, avoids function calls, abuses the ternary operator, and doesn't use a profiler. Eventually, these programmers grow up, but in the meantime, they've written a significant amount of horrible code. I've seen this pattern again and again. As the parent mentioned, software developers have no "engineering culture." I imagine that in more established engineering disciplines, students have the above attitude beaten out of them before they graduate.Very very true. And I'm guilty as charged, but I have reformed (or at least I like to believe so).
An old (but original) joke:
Q: What coffee does an opportunist drink?
A: Mochaccino
And a limerick:
There was this guy, a hun,
Who gave up all his fun;
He wasn't supposed to use tricks,
Nor to write any limericks,
Therefore this is not a limerick.
As opposed to 'Therefore this isn't one'.