[Pipet Devel] Attempt at Constructing the Command Line

Brad Chapman chapmanb at arches.uga.edu
Sun Jan 16 23:29:25 EST 2000

>Brad Chapman wrote:
>> 2. Change into the top level directory and type "./testgui.py" to fire up
>> the Loci workspace. You probably want to resize the workspace to be larger
>> for everything that follows.
>  File "./locixml/setupXML.py", line 47, in makeDir
>    os.makedirs(os.path.join(self.makedir, self.name))
>AttributeError: makedirs
>What version of Python are you using, Brad?  Or is your os module different?

I'm using the latest version (1.5.2). I took a look at the lib
documentation for os.makedirs and found the following:

makedirs(path[, mode ])
Recursive directory creation function. Like mkdir(), but makes all
intermediate-level directories needed to
contain the leaf directory. Throws an error exception if the leaf directory
already exists or cannot be created.
The default mode is 0777 (octal). New in version 1.5.2.

So it appears as if this will require 1.5.2 to run. My setup for python is
the default so hopefully the problem should only be a 1.5.2 versus older
versions problem. I know there was mention of a RedHat issue with 1.5.2
versus 1.5 on the omniORBpy mailing list. I think some versions of RedHat
ship with 1.5 by default, so sometimes even if people had 1.5.2 installed,
1.5 would still be in their path.
	If it is a problem to use 1.5.2 only stuff, let me know and I'll
think of a workaround here. I like os.makedirs() over os.mkdir() because
the former will put in all intermediate directories when making
directories, but I can do something different.
	Let me know if you can't get it working, or if you get more errors.
Sorry about that!

>I didn't get past that attribute error, but just a note about windowlet sizes:
>They will be adjustable like ordinary X windows.  I plan on making a routine
>for resizing when the windowlet borders are dragged.

I figured this would feature would be coming around sometime, so I haven't
been worrying about it too much.

>BTW Brad, we're gonna have to call you "The Beaver" because of how much work
>you've been doing.  You're making me look even lazier than usual ;-)

Hey, it's easy to be a programming monkey, but much more difficult to be
thinking up the ideas/keeping things together. You should give yourself
more credit, Jeff!


More information about the Pipet-Devel mailing list