Switching Jobs
I moved to a new task. I'm modifying the stsci_python package so that it runs under python 2 and 3. So far I've got the code set up and converted the code in the top directory. More
Converting Code
I've been converting the stsci_python code so it works under python 2 and 3. So far I finishedwfpc2tools, wfc3tools, and most of stwcs. More
First Things First
It turns out that before I can test any of the migrated code, I need to first convert pandokia so it runs under 2 and 3. So I am doing that first. More
Pandokia converted
I finished making code changes to Pandokia. The changes have been checked into aa new branch om subversion, version 2.0. I am now trying to get it to pass the tests. More
Import Woes
I spent the day trying to debug problems with the database tests. There were some unicode problems, but the main issue was relative import problems. More
Half and Half
I got the database tests to pass for sqlite. Tried to run the pdkrun tests next, Had problems with the pdk_db import again. Went back and made the remaining rlative imports conditional. More
More Progress
Got some more tests to work with Python 2 and 3. More
More Testing
Went back and ran the python 3 tests directory by directory, as running them all at once doesn't report the errors. Found two errors in the nose runner. More
Still Testing
Tried to get the main tests for pdkrun to work. Was not successful, as there are problems reading the database that I cannot rsolve. I committed yesterday's changes to subversion. More
Up and Running
Was able to run the pdk tests. Most tests passed, with the exception of some pycode and shunit tests. The first seem to have their location set incorrectly, which crashes them when they are run. The second are not in the database at all. So I am investigating. More
Stumbling Around
I am spending more time figuring out (more often not) how pandokia runs than solving problems. Will need to get some help to move forward. More
Half and half
I found the reason why location was not set correctly. It was tring to retrieve it from the stack frame and couldn't. I haven't had a chance to look at the shunit2 error. More
Knock 'em Down
I got all the python 2 tests to work and checked in changes. I ran the python 3 tests and am looking at the errors. More
Call it Quits
All the Python 2 and 3 tests I planned on Pandokia now pass and I checked in the changes. More
Documentation Time
I wrote some documentation for the Python 2 to 3 conversion process and put it on the SSB wiki. I returned to converting the python code.. I lokked at d2to1 and saw it had already been converted. I am now looking at converting stsci.distutils. More
Back to the Mines
I'm back to converting the stsci_python code to Python 3. Today I converted stsci.distutils and I am working on stsci.tools. More
Halfway
I finished converting all the stsci.tools files to the letter l, which is halfway through the alphabet and more than halfway through the list. More
Finished
I finished converting the stsci.tools package and everything passes the minimal self-test. Will have to figure out how to do more extensive tests tomorrow. More
World War 2to3
I tested the stsci.tools conversion under Python 2.7. There were a few typos to fix, as well as some obsolete code in the geis handling functions that needed to ve updated to get the tests to pass. I haven't tested under Python 3 yet. More