commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnue/gnuef FAQ README client/gfclient samples/l...


From: Jason Cater
Subject: gnue/gnuef FAQ README client/gfclient samples/l...
Date: Fri, 25 May 2001 01:17:41 -0700

CVSROOT:        /home/cvs
Module name:    gnue
Changes by:     Jason Cater <address@hidden>    01/05/25 01:17:10

Modified files:
        gnuef          : FAQ README 
        gnuef/client   : gfclient 
        gnuef/samples/location/forms: zipcode_maint.gfd 
        gnuef/src      : GFParser.py 

Log message:
        Made minor changes to documentation

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/FAQ.diff?cvsroot=OldCVS&tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/README.diff?cvsroot=OldCVS&tr1=1.16&tr2=1.17&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/client/gfclient.diff?cvsroot=OldCVS&tr1=1.41&tr2=1.42&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/samples/location/forms/zipcode_maint.gfd.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/src/GFParser.py.diff?cvsroot=OldCVS&tr1=1.26&tr2=1.27&r1=text&r2=text

Patches:
Index: gnue/gnuef/FAQ
diff -u gnue/gnuef/FAQ:1.4 gnue/gnuef/FAQ:1.5
--- gnue/gnuef/FAQ:1.4  Tue Apr 17 18:39:24 2001
+++ gnue/gnuef/FAQ      Fri May 25 01:17:10 2001
@@ -5,16 +5,49 @@
 
 A:  You need to install the gnue-common package.  Available at www.gnue.org 
 
-Q:  I want to run the cvs copy of gnuef but have a copy already installed on 
the machine.
-    gfclient always seems run the installed code base.  How do I override this 
with effecting
-    the installed copy.
 
+
+Q:  I want to run the cvs copy of gnuef but have a copy already installed 
+    on the machine.  gfclient always seems run the installed code base.
+    How do I run the cvs copy without affecting the installed copy?
+
 A:  Run setup_cvs_devel.sh from the top level gnuef directory.  This creates 
     symlinks in the client directory to trick gfclient into using the CVS 
     version of GNUE Forms.  You must then run gfclient from the client 
     directory for this to work.  Executing gfclient any where else still 
results
-    in the installed copy properly being executed. If you want to use a CVS 
gfclient 
-    against installed sources, just [re]move the gnue directory in the client 
directory.
+    in the installed copy properly being executed. If you want to use a CVS 
+    gfclient against installed sources, just [re]move the gnue directory 
+    in the client directory.
+
+    NEW!  Now, setup_cvs_devel.sh creates a script in the client directory 
+    called gfcvs.  You can run gfcvs from any directory and the cvs 
+    version of GNUe Forms will be executed.  If you will be doing much 
+    testing of CVS Forms, you may want to symlink gfcvs into your 
+    /usr/local/bin or /usr/bin directory.  
+
+
+
+Q:  I am using the PostgreSQL drivers and an getting an ImportError on pgdb. 
+
+A:  Try reinstalling the PygreSQL package.  Sometimes, PyGreSQL's installation
+    script fails to copy this file. 
+
+
+
+Q:  I am getting an ImportError on DateTime. 
+
+A:  You are using a database driver that uses the mxDateTime package. 
+    You can download this package at 
+
+        http://www.lemburg.com/files/python/mxDateTime.html
+
+    Note that Lemburg recently changed the directory structure of his 
+    packages.  If you have installed mxDateTime and are still getting 
+    this error, you may need to grab the development version of 
+    PyGreSQL as the stable version (as of 05/01) still references the 
+    old structure. 
+
+
 
 Q:  I need more help!
 
@@ -25,6 +58,6 @@
 
     http://lists.gnue.org/mailman/listinfo
 
-    Or via IRC at irc.openprojects.net #gnue. 
+    Or via IRC at irc.openprojects.net #gnuenterprise. 
 
 
Index: gnue/gnuef/README
diff -u gnue/gnuef/README:1.16 gnue/gnuef/README:1.17
--- gnue/gnuef/README:1.16      Mon Apr 16 12:40:58 2001
+++ gnue/gnuef/README   Fri May 25 01:17:10 2001
@@ -48,7 +48,9 @@
   This allows you to keep both an installed version on the
   system for production use while allowing you to use your 
   development code base by switching to the client dir and 
-  running ./gfclient from there
+  running ./gfclient from there. This also creates a gfcvs 
+  script which can be called from any directory (mainly 
+  useful for developers).  
 
 
 Running samples:
@@ -66,9 +68,9 @@
 
   Other samples can be found under samples 
   
-  To run data aware scripts you must make sure the database tags
-  have the host name your database lives on as it is currently 
-  defaulted to gnue.
+  To run data aware scripts you must make sure your GNUE_CONNECTIONS
+  environment variable is set to point to a connections file. See 
+  doc/Connections.txt in the gnue-common package for more information. 
 
   Also you must have the tables created for samples that are data
   aware.  You can do this by running the associated .sql script for
Index: gnue/gnuef/client/gfclient
diff -u gnue/gnuef/client/gfclient:1.41 gnue/gnuef/client/gfclient:1.42
--- gnue/gnuef/client/gfclient:1.41     Tue May 15 08:13:22 2001
+++ gnue/gnuef/client/gfclient  Fri May 25 01:17:10 2001
@@ -16,7 +16,7 @@
 #
 # Copyright (c) 2000 Free Software Foundation
 #
-# $Id: gfclient,v 1.41 2001/05/15 15:13:22 jcater Exp $
+# $Id: gfclient,v 1.42 2001/05/25 08:17:10 jcater Exp $
 #
 
 import pstats
@@ -495,11 +495,10 @@
     #
     # Build the form tree
     #
-    self._form = loadForm (fileHandle, self.connections) 
+    self._form = loadForm (fileHandle, self) 
     fileHandle.close()
 
     control = GFController()
-    self._form._app = self
 
     #
     # extract DB info and init datasources
Index: gnue/gnuef/samples/location/forms/zipcode_maint.gfd
diff -u gnue/gnuef/samples/location/forms/zipcode_maint.gfd:1.1 
gnue/gnuef/samples/location/forms/zipcode_maint.gfd:1.2
--- gnue/gnuef/samples/location/forms/zipcode_maint.gfd:1.1     Thu Jan 11 
16:29:15 2001
+++ gnue/gnuef/samples/location/forms/zipcode_maint.gfd Fri May 25 01:17:10 2001
@@ -8,7 +8,7 @@
     <width>50</width>
   </options>
 
-  <database name="gnue" provider="postgresql" dbname="gnue" host="gnue"/>
+  <!--database name="gnue" provider="postgresql" dbname="gnue" host="gnue"/-->
   <datasource name="zips" database="gnue" table="zipcode"/>
  
   <datasource name="validator" database="gnue" table="state" prequery="" />
Index: gnue/gnuef/src/GFParser.py
diff -u gnue/gnuef/src/GFParser.py:1.26 gnue/gnuef/src/GFParser.py:1.27
--- gnue/gnuef/src/GFParser.py:1.26     Fri May 18 08:53:59 2001
+++ gnue/gnuef/src/GFParser.py  Fri May 25 01:17:10 2001
@@ -47,9 +47,10 @@
 #  not want the loaded form to connect to databases, etc)
 #######################################################
 
-def loadForm(URL, connections, initialize=1):
+def loadForm(URL, app, initialize=1):
   return loadXMLObject (URL, xmlFormsHandler, 'GFForm', 'form', 
-           initialize, attributes={"_connections": connections})  
+           initialize, attributes={"_app": app, 
+                               "_connections": app.connections})  
 
 
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]