Discussion:
[GNUe] Problems with GNUe under Vista 64
Duane Kaufman
2010-01-18 17:27:01 UTC
Permalink
Hello,

My name is Duane Kaufman, and I am new to GNUe. I thought I would give
it a test drive on a Vista64 machine here at work.

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?)

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

When I attempt to run gnue-forms (by double-clicking on C:\Program
Files (x86)\GNUe\bin\gnue-forms.exe, I get the following error:

Traceback (most recent call last):
File "gnue-forms", line 34, in <module>
File "C:\Program Files (x86)\GNUe\bin\gnue\forms\GFClient.py",
line 197, in run
File "C:\Program Files (x86)\GNUe\bin\gnue\forms\GFInstance.py",
line 276, in run_from_file
File "C:\Program Files (x86)\GNUe\bin\gnue\forms\GFInstance.py",
line 365, in __run
File "C:\Program Files (x86)\GNUe\bin\gnue\forms\GFForm.py", line
324, in initialize
File "C:\Program Files
(x86)\GNUe\bin\gnue\common\definitions\GObjects.py", line 163, in
phaseInit
File "C:\Program Files
(x86)\GNUe\bin\gnue\common\definitions\GObjects.py", line 335, in
_phaseInit
File "C:\Program Files (x86)\GNUe\bin\gnue\forms\GFForm.py", line
389, in phase_3_init
File "C:\Program Files
(x86)\GNUe\bin\gnue\forms\uidrivers\_base\UIdriver.py", line 227, in
buildForm
File "C:\Program Files
(x86)\GNUe\bin\gnue\common\definitions\GObjects.py", line 163, in
phaseInit
File "C:\Program Files
(x86)\GNUe\bin\gnue\common\definitions\GObjects.py", line 335, in
_phaseInit
File "C:\Program Files
(x86)\GNUe\bin\gnue\forms\uidrivers\_base\widgets\_base.py", line 180,
in __primary_init
File "C:\Program Files
(x86)\GNUe\bin\gnue\forms\uidrivers\_base\widgets\_base.py", line 211,
in create_widget
File "C:\Program Files
(x86)\GNUe\bin\gnue\forms\uidrivers\wx26\widgets\form.py", line 165,
in _create_widget_
AttributeError: 'GFForm' object has no attribute '_layout'

Any ideas as to what I am doing wrong?

Thanks,
Duane
Peter Sullivan
2010-01-18 19:46:12 UTC
Permalink
Post by Duane Kaufman
Hello,
My name is Duane Kaufman, and I am new to GNUe. I thought I would give
it a test drive on a Vista64 machine here at work.
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?)
No, you can install from source if you prefer. As you say, you then have
to resolve the dependencies yourself, and without the aid of a nice
package management system like apt or rpm. But if you want to run
anything other than the most recent release version (e.g. release
candidates or even the nightly snapshots), this is the better way of
doing it. The Windows binaries are there simply as an alternative for
wusses and Windows users (bearing in mind these two groups tend to be
fairly closely co-related -- especially if I'm anything to go by!).

I would have sworn that there was a list of dependencies, along with
links to some of the harder-to-find ones, somewhere on the website. But
of course now I'm looking for it, I can't actually find it...
--
Peter Sullivan <***@burdonvale.co.uk>
Duane Kaufman
2010-01-18 21:39:23 UTC
Permalink
Hi,
Post by Peter Sullivan
Post by Duane Kaufman
Hello,
My name is Duane Kaufman, and I am new to GNUe. I thought I would
give it a test drive on a Vista64 machine here at work.
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?)
No, you can install from source if you prefer. As you say, you then
have to resolve the dependencies yourself, and without the aid of a
nice package management system like apt or rpm. But if you want to run
anything other than the most recent release version (e.g. release
candidates or even the nightly snapshots), this is the better way of
doing it. The Windows binaries are there simply as an alternative for
wusses and Windows users (bearing in mind these two groups tend to be
fairly closely co-related -- especially if I'm anything to go by!).
I would have sworn that there was a list of dependencies, along with
links to some of the harder-to-find ones, somewhere on the website. But
of course now I'm looking for it, I can't actually find it...
I have just been able to do a pull from subversion, and I believe I
have it all installed, but I continue to get the same error as previous.

The command I am using is (sorry for the long line):
c:\python25\python gnue-forms
C:\Users\dkaufman\GNUe\share\gnue\forms\defaults\default.gfd

Am I mis-using gnue-forms?

Thanks,
Duane
Post by Peter Sullivan
--
_______________________________________________
Gnue mailing list
http://lists.gnu.org/mailman/listinfo/gnue
Reinhard Mueller
2010-01-18 22:17:11 UTC
Permalink
Hi, Duane,
Post by 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.
Post by Duane Kaufman
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.

Thanks,
Reinhard
Duane Kaufman
2010-01-19 14:39:43 UTC
Permalink
Hi,

Thanks for helping out.
Post by Reinhard Mueller
Hi, Duane,
Post by 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.
Post by Duane Kaufman
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
d(...\GNUe\share\gnue\forms\defaults\default.gfd), but I got the same
error as before:

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

Thanks,
Duane
Post by Reinhard Mueller
Thanks,
Reinhard
Reinhard Mueller
2010-01-19 15:17:20 UTC
Permalink
Hi, Duane!
Post by Duane Kaufman
I did try to use gnue-forms with a definition file
d(...\GNUe\share\gnue\forms\defaults\default.gfd), but I got the same
default.gfd is not a complete, proper form definition file, it contains
only the standard menu and toolbar.

You could find some examples in svn (samples subdirectory), but some of
them require a database to be set up first.

Maybe try gauntlet/gauntlet.gfd from that directory. Or you set up the
database for gnue-sample (also in SVN) and try those forms.

Thanks,
Reinhard
Duane Kaufman
2010-01-19 15:40:39 UTC
Permalink
Hi,

Yay! gauntlet works. So now I can proceed getting a DB setup and all.

Thanks,
Duane
Post by Reinhard Mueller
Hi, Duane!
Post by Duane Kaufman
I did try to use gnue-forms with a definition file
d(...\GNUe\share\gnue\forms\defaults\default.gfd), but I got the same
default.gfd is not a complete, proper form definition file, it contains
only the standard menu and toolbar.
You could find some examples in svn (samples subdirectory), but some of
them require a database to be set up first.
Maybe try gauntlet/gauntlet.gfd from that directory. Or you set up the
database for gnue-sample (also in SVN) and try those forms.
Thanks,
Reinhard
Loading...