I have following code.
from bsddb3.db import *
from dbxml import *
myenv = DBEnv()
myenv.open("/xmldb/", DB_CREATE|DB_INIT_LOCK|DB_INIT_LOG|DB_INIT_MPOOL|DB_INIT_TXN, 0)
mymgr = XmlManager(myenv, 0)
mycont = mymgr.openContainer("xmldb.dbxml")
xmlucontext = mymgr.createUpdateContext()
xmlinput = mymgr.createLocalFileInputStream("/dbxml/item_1.xml")
mycont.putDocument("test", xmlinput, xmlucontext)
del mycont
I only get a list of available properties and methods on mymgr and not on myenv nor on mycont.
I do not understand why.
Any idea?
Paul
HELP!
My patience is just about finished. I tried Komodo 3 and thought the features were great but had so much trouble with getting debuging working that I gave up on it. Thought I would give Komodo 4 a chance and am experiencing the same ridiculous problems. This really shouldn't be this hard!
I've read all sorts of articles like this:
http://www.sysarchitects.com/node/22
I foolishly attempted to manually delete activestate python. I need to run the pydistro.py script, but of course I've haven't got it any longer. How can I get a new copy? I'm currently unable to reinstall activestate python.
Thanks in advance,
Nick
My install log:
installer[367]: Distribution: ActiveState ActivePython 2.4.3.11
installer[367]: Starting installation:
installer[367]: Preparing volume "Macintosh HD" for installation
installer[367]: Configuring volume "Macintosh HD"
installer[367]: Preparing local booted disk
I am interested in the framework support that K4 has. What is the status of Symfony support, or a symfony plugin?
Hello,
I tried the new Komodo and it looks very promising. But when I make a "check configuration" I get "syntax checking: not functional".
So Komodo shows me errors in my scripts where are no errors. And I have no Code Completion for php Functions. Code Completion for Variables and Classmembers is working.
Where is the Error here?
Greetings,
Urkman
Hi there,
Trying out Komodo for the first time and like what I see so far. However, I can't find how to turn of anti-aliasing in the editor, a must for any serious editor, I'm sure you'll agree.
Anyone found how to do this?
Thanks!
Bob.
I am in the process of converting a program originally written in Perl/Tk in a Windows environment to Perl/Tkx in a MAC OS X environment. (Thanks to jeffg for the suggestion.) The widgets and framing all work fine, but I can't seem to successfully invoke some methods and functions used in the old program, specifically:
tagConfigure
focus
raise
deiconify
withdraw
Exists (the Tk function, not the Perl function)
Any help would be appreciated.
Trying to use Tk with Mac OS X.
Program fails on immediately:
couldn't connect to display ":0" at /usr/local/ActivePerl-5.8/lib/Tk/MainWindow.pm line 55.
MainWindow->new() at tktest line 3
I see this referenced on the web, but no clear solution.
Anyone with the answer?
What do the magic status characters represent in the graphical tclapp?
For example, I see entries like this on the "Packages" tab:
-P- virtual Tcl 8.4 ... M-I Tcl 8.5 ... --I http://... tile 0.7.8 ... M-I Tk 8.4 ...
What do P, M and I stand for? And why does it think I have a dependency on 8.4 when I have an 8.5 basekit defined as my prefix file? Nowhere in my single tcl file do I explicitly require a version of tcl or tk.
Ultimately, the problem I'm trying to solve is that on the Run tab all I see is "missing packages" and don't know how to make them unmissing. The only external package I require is tile and that appears to have been found and is included in the packages to wrap.