Re: Problems with GNUe under Vista 64

Duane Kaufman <[email protected]> Tue, 19 Jan 2010 09:39:43 -0500
Newsgroups gmane.comp.gnu.enterprise.general
Message-ID <[email protected]>
Hi,

Thanks for helping out.

Quoting Reinhard Mueller <[email protected]>:

> Hi, Duane,
>
> Am Montag, den 18.01.2010, 12:27 -0500 schrieb Duane Kaufman:
>> I installed the Windows binaries (Question: is this the _only_
>> sanctioned way to install this, or can I install source, if I meet the
>> dependencies?)
>
> You can of course install source. You can look at
> gnue-common/packaging/win32/README.runtime for a list of dependencies,
> where of course you won't need all of them, depending on the components
> of GNUe you'll use and the database backend.
>
> Having said that, installing the binaries is much easier.
>
>> I have installed:
>> gnue-common-0.6.9.win32-py2.5.exe
>> gnue-forms-0.6.3.win32-py2.5.exe
>> gnue-runtime-environment-2009.10.31.win32-py2.5.exe
>
> This should be ok. However, you'll need a form definition.
>
> GNUe Forms is a flexible user interface generator: how the user
> interface should look like and how it should link to a database is
> defined in an XML file usually called something.gfd.
>
> Since you've already managed to download svn, you might want to look at
> the gnue-sample directory.
>
> I guess it would be a good idea to include a complete prebuilt example
> in gnue-forms. I'll consider that for the next releases.
>
I am now using a pull from subversion.

I did try to use gnue-forms with a definition file =20
d(...\GNUe\share\gnue\forms\defaults\default.gfd), but I got the same =20
error as before:

Traceback (most recent call last):
   File "gnue-forms", line 34, in <module>
     client.run ()
   File =20
"c:\Users\dkaufman\gnue\Lib\site-packages\gnue\forms\GFClient.py", =20
line 197, in run
     instance.run_from_file(formfile, userParameters)
   File =20
"c:\Users\dkaufman\gnue\Lib\site-packages\gnue\forms\GFInstance.py", =20
line 276, in run_from_file
     self.__run(form, parameters)
   File =20
"c:\Users\dkaufman\gnue\Lib\site-packages\gnue\forms\GFInstance.py", =20
line 365, in __run
     form.initialize(self.__default_form)
   File =20
"c:\Users\dkaufman\gnue\Lib\site-packages\gnue\forms\GFForm.py", line =20
327, in initialize
     self.phaseInit()
   File =20
"c:\Users\dkaufman\gnue\Lib\site-packages\gnue\common\definitions\GObjects.p=
y", line 166, in =20
phaseInit
     self._phaseInit (phase)
   File =20
"c:\Users\dkaufman\gnue\Lib\site-packages\gnue\common\definitions\GObjects.p=
y", line 338, in =20
_phaseInit
     inits [phase] ()
   File =20
"c:\Users\dkaufman\gnue\Lib\site-packages\gnue\forms\GFForm.py", line =20
390, in phase_3_init
     self._currentPage =3D self._layout._pageList[0]
AttributeError: 'GFForm' object has no attribute '_layout'

Thanks,
Duane

> Thanks,
> Reinhard
>