File: FAQ

package info (click to toggle)
gnue-forms 0.5.11-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,384 kB
  • ctags: 1,577
  • sloc: python: 12,904; sql: 579; makefile: 28
file content (81 lines) | stat: -rw-r--r-- 3,121 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
Installation
------------

 Q: I want to run the cvs copy of gnue-forms, but have a copy already
    installed on the machine.  gnue-forms always seems run the installed
    code base. How do I run the cvs copy without affecting the installed
    copy?

 A: Run setup-cvs.py from the gnue-common/ directory.  This creates
    symlinks in the client directory to trick gnue-forms into using the CVS
    version of GNUE Forms.  You must then run gnue-forms from the client
    directory for this to work.  Executing gnue-forms any where else still
    results in the installed copy properly being executed. If you want to use
    CVS gnue-forms against installed sources, just [re]move the gnue directory
    in the client directory.

 Q: When installing GNUe Forms using setup.py, the installation fails with
    a segmentation fault.

 A: If you are trying to install on an account that has the DISPLAY= variable
    set, but the install program can't actually access the X display, then
    wxPython will segfault. This happens alot of times when you "su" into
    root then try to install.

    The current solution is to "unset DISPLAY" prior to running setup.py.
    We are trying to work around the wxPython segmentation fault, but it
    happens in code that we don't have hooks into.

General
-------

 Q: What about the curses client? Other clients?

 A: The curses client is usable, but far from perfect.  Work on an HTML client
    has begun.

 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

    Users of Debian Woody can install the package using

        * apt-get install python-egenix-mxdatetime


 Q: I ran all the samples but a lot of them give me nasty errors and no
    windows pop up on the display!? Some ask me for a username and a
    password?

 A: You have to set up a sample database to use some of the forms. For
    this you must be registered as a postgres user. You must have the
    rights to create a database.

    Create a database with name gnue (issue "createdb gnue") and
    another with name test. Enter in the directory
    gnue/gnuef/samples/zipcode and issue "psql -f pg__zip_code.sql
    gnue". Make sure that in all .gfd files where databases are used
    the attribute "host" is set to "localhost" or your hostname.

    There are still bugs in the wx client, but I won't list them
    here. Ask the list, the FAQ or the Bug-report system on the gnue
    website.

 Q: I need more help!

 A: See the individual INSTALL files for more platform specific FAQs

    If that doesn't work problems and/or questions are gladly accepted
    by the GNUE Forms team.  You can reach us via our mailing list
    (gnue@gnu.org) at http://mail.gnu.org/mailman/listinfo/gnue.

    Or via IRC at irc.freenode.net #gnuenterprise.