Quantcast

Wiki updates for MS Windows

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Wiki updates for MS Windows

Tim Lyons
Administrator
Could someone please help with providing some more information about  
the MS Windows AIO package?


I have updated the 4.0 wiki sections on the Main Window, and also on  
starting Gramps. I am trying to separate out normal user information  
(mainly GUI) from the developer and specialist (mainly CLI) information.

In particular, for:
http://www.gramps-project.org/wiki/index.php?title=Gramps_4.0_Wiki_Manual_-_Getting_started#Start_Gramps
http://www.gramps-project.org/wiki/index.php?title=Gramps_4.0_Wiki_Manual_-_Command_Line#Start_Gramps_through_the_Command_Line

I have put some questions in the text in the wiki.

For MS Windows, can someone please tell me the names of all the items  
installed by the AIO installer? can they be installed in any user  
chosen directory? in the start menu, what group is Gramps put in? is  
there always one or two or more Gramps icons, what are they called?  
why are there two different Gramps? when would you use one or the  
other? (noting that sometimes the console window disappears before you  
can note what it says), how would you determine what to type to start  
Gramps from a cmd.exe CLI? what is the label on the properties box for  
the start directory and the command line to be typed? could someone  
upload an example of the properties box to be put in  
Start_Gramps_through_the_Command_Line? What is a typical cmd.exe set  
of commands for Gramps in MS Windows in gramps40/trunk?

For the Languages section
http://www.gramps-project.org/wiki/index.php?title=Gramps_4.0_Wiki_Manual_-_Getting_started#Languages
is MS Windows AIO fully integrated with the standard MS Windows  
language control panel (is that the right name?)?

Regards
Tim.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Wiki updates for MS Windows

Helge.Herz-2
Tim,
I'll give answer from the users point of view. I hope I it's helpfull.
But be careful all available GrampsAIO installer runs up to Gramps 3.4.x.
For Gramps 4.0 is - so far I know - no installer available yet.  And I don't know about coming changes regarding the installer. It seems to me dangerous to mix GrampsAIO for 3.4.2 and the handling of 4.0.
Am 14.03.2013 19:26, schrieb Tim Lyons:
Could someone please help with providing some more information about  
the MS Windows AIO package?


I have updated the 4.0 wiki sections on the Main Window, and also on  
starting Gramps. I am trying to separate out normal user information  
(mainly GUI) from the developer and specialist (mainly CLI) information.

In particular, for:
http://www.gramps-project.org/wiki/index.php?title=Gramps_4.0_Wiki_Manual_-_Getting_started#Start_Gramps
http://www.gramps-project.org/wiki/index.php?title=Gramps_4.0_Wiki_Manual_-_Command_Line#Start_Gramps_through_the_Command_Line

I have put some questions in the text in the wiki.

For MS Windows, can someone please tell me the names of all the items  
installed by the AIO installer? 
It's a complete Python including all packages and also all binaries (also graphviz and ghost)
Installed structure from GRAMPSAOI64_342:
 <DIR>          bin                 -->  GTK and other Windows binaries
<DIR>          DLLs               --> python binaries
<DIR>          etc
    <DIR>          dbus-1
    <DIR>          fonts
    <DIR>          gtk-2.0
    <DIR>          pango
<DIR>          lib                    --> python lib
    <DIR>          share
    <DIR>          enchant
     <DIR>          glib-2.0
     <DIR>          gramps        --> Gramps sources and python objects
     <DIR>          gtk-engines
     <DIR>          icons
     <DIR>          locale
     <DIR>          pixmaps
     <DIR>          source
     <DIR>          themes
     <DIR>          webkitgtk-1.0
AUTHORS
COPYING
FAQ
NEWS
uninstall.exe
can they be installed in any user chosen directory? 
Yes, it's possible to install any where. For developer on Win7 it's to prefer to don't use the defaults
     C:\Program Files                            --> for 64 bit GrampsAOI
     C:\Program Files (x86)                    --> for 32 bit GrampsAOI
  because these folders have write access with admin rights only.
in the start menu, what group is Gramps put in? 
Group name is on WIn7: GrampsAOI
several different installations uses the same group
==> I just see there is an issue: all uninstallers have the same name. So the uninstaller of the last installed version is available there only.
is there always one or two or more Gramps icons, what are they called?
There are always two icons having a name adapted to the Gramps version, e.g.:
GrampsAIO64 3.4.2-1 Console   --> runs with console (cmd.exe) in the background to catch messages
                                                            with this install path: C:\ProgrammeNeutral\GrampsAIO32_3.4.2
                                                           to start from: C:\ProgrammeNeutral\GrampsAIO32_3.4.2\bin
                                                           C:\ProgrammeNeutral\GrampsAIO32_3.4.2\bin\python.exe -EO ..\share\gramps\gramps.py
GrampsAIO64 3.4.2-1                  --> runs without console (cmd.exe) in the background
                                                            with this install path: C:\ProgrammeNeutral\GrampsAIO32_3.4.2
                                                            C:\ProgrammeNeutral\GrampsAIO32_3.4.2\bin
                                                            C:\ProgrammeNeutral\GrampsAIO32_3.4.2\bin\pythonw.exe -EO ..\share\gramps\gramps.py
  
why are there two different Gramps?
see above
 when would you use one or the other? (noting that sometimes the console window disappears before you can note what it says), how would you determine what to type to start  
The messages could copied before the shut down of Gramps, but I don't use any of these two versions.
I always build my own batch file to control at least GRAMPSHOME. To tell about issues I use my batch to switch Gramps into English to provide better descriptions for issues.
And I use always a PAUSE cmd command at the end ;-)
BTW I use also the GrampsAOI by an other batch run trunk versions of the same Gramps major version using pytzhon and all the other stuff from the AOI package. (Of course it doesn't work currently for the trunk 4.0 using AOI from 3.4.x)
Gramps from a cmd.exe CLI? what is the label on the properties box for  
the start directory and the command line to be typed? 
I hope the answer is already written above
could someone upload an example of the properties box to be put in Start_Gramps_through_the_Command_Line? 
I would always prefer a batch file - no single command line.
What is a typical cmd.exe set of commands for Gramps in MS Windows in gramps40/trunk?
see http://www.gramps-project.org/wiki/index.php?title=Gramps_4.0_from_source_for_Windows_using_Python_2.7.3
as told before, later on if a AOI4.0 will be available it's a good idea to use a batch using the AOI environment.
For Gramps 3.4.x you may also look there http://www.gramps-project.org/wiki/index.php?title=Gramps_and_Windows (I know I should have renewed this page. But it's a question of time...). But as told before this doesn't work for the current trunk any more. And using trunk it's also necessary to handle translations for po files, as described in http://www.gramps-project.org/wiki/index.php?title=Gramps_4.0_from_source_for_Windows_using_Python_2.7.3

For the Languages section http://www.gramps-project.org/wiki/index.php?title=Gramps_4.0_Wiki_Manual_-_Getting_started#Languages
is MS Windows AIO fully integrated with the standard MS Windows  
language control panel (is that the right name?)?
There is a build-in automatic selection of the language following the language of the windows.
To control the language up to Gramps 3.4.2 one needs this, e.g. for German:
LANG=de_DE
LANGUAGE=de_DE
LC_TIME=de_DE    --> There was a discussion http://gramps.1791082.n4.nabble.com/Local-settings-and-reports-tc4658498.html

it will be solved for Gramps3.4.3
For Gramps4.0 I didn't test it up to now.

Regards
Tim.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Wiki updates for MS Windows

Paul Franklin-5
On 3/14/13, Helge.Herz <[hidden email]> wrote:
>> can they be installed in any user chosen directory?
> Yes, it's possible to install any where. For developer on Win7 it's to
> prefer to don't use the defaults
>       C:\Program Files                            --> for 64 bit GrampsAOI
>       C:\Program Files (x86)                    --> for 32 bit GrampsAOI
>    because these folders have write access with admin rights only.

It's been a year or two since I installed a GrampsAIO but I vaguely
recall that when I did it as just an "ordinary" user (one with no admin
rights), that the installer put it into user-space somewhere.  It wasn't
in either of the two "Program Files" directories.

Just FYI.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Wiki updates for MS Windows

Helge.Herz-2
Am 14.03.2013 22:34, schrieb Paul Franklin:

> On 3/14/13, Helge.Herz <[hidden email]> wrote:
>>> can they be installed in any user chosen directory?
>> Yes, it's possible to install any where. For developer on Win7 it's to
>> prefer to don't use the defaults
>>        C:\Program Files                            --> for 64 bit GrampsAOI
>>        C:\Program Files (x86)                    --> for 32 bit GrampsAOI
>>     because these folders have write access with admin rights only.
> It's been a year or two since I installed a GrampsAIO but I vaguely
> recall that when I did it as just an "ordinary" user (one with no admin
> rights), that the installer put it into user-space somewhere.  It wasn't
> in either of the two "Program Files" directories.
>
> Just FYI.
Thank you, I forgot: I always did run Gramps using administrator rights.
I don't have any experiences without this right.
My experiences are that without using GRAMPSHOME the gramps data and
database are placed there:
C:\Users\<windows username>\AppData\Roaming\gramps\
C:\Users\<windows username>\AppData\Roaming\gramps\grampsdb --> databases
C:\Users\<windows username>\AppData\Roaming\gramps\grampsxx     -->  xx
in ['33', '34', '40'] for plugins
C:\Users\<windows username>\AppData\Roaming\gramps\maps            -->
geographic maps
C:\Users\<windows username>\AppData\Roaming\gramps\temp\geoview
            --> geoview temp information
C:\Users\<windows username>\AppData\Roaming\gramps\temp\mozembed_gramps  
--> I don't know
C:\Users\<windows username>\AppData\Roaming\gramps\thumb          -->
thumbnails

- Helge


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Wiki updates for MS Windows

Tim Lyons
Administrator
In reply to this post by Helge.Herz-2
Helge,

Thanks very much for the detailed reply.

I was trying to get answers for Aunt Martha (for putting in the Wiki) rather than answers for myself, so I am afraid I have got some more questions.

Helge.Herz-2 wrote
> For MS Windows, can someone please tell me the names of all the items
> installed by the AIO installer?
What I actually meant was: I know (now) that under the "GrampsAIO" group there are:
GrampsAIO64 3.4.2-1 Console
GrampsAIO64 3.4.2-1

But I think there is also an uninstaller and a readme file (or something similar) what are they called?
Helge.Herz-2 wrote
>   when would you use one or the other? (noting that sometimes the console window disappears before you can note what it says), how would you determine what to type to start
The messages could copied before the shut down of Gramps, but I don't
use any of these two versions.
I always build my own batch file to control at least GRAMPSHOME. To tell
about issues I use my batch to switch Gramps into English to provide
better descriptions for issues.
And I use always a PAUSE cmd command at the end ;-)
BTW I use also the GrampsAOI by an other batch run trunk versions of the
same Gramps major version using pytzhon and all the other stuff from the
AOI package. (Of course it doesn't work currently for the trunk 4.0
using AOI from 3.4.x)
I want to be able to tell Aunt Martha when she should use one icon/menu item and when the other. At the moment it seems to me that you (and perhaps other people) never use the "GrampsAIO64 3.4.2-1 Console" icon or menu item, because it doesn't quite do the right thing. So I ask again, when should the average user use one and when the other?

Helge.Herz-2 wrote
> could someone upload an example of the properties box to be put in Start_Gramps_through_the_Command_Line?
I would always prefer a batch file - no single command line.
I want to provide clear instructions on how to determine the command lines to type to start Gramps from cmd.exe, so as to get all the console output. Because Gramps can be installed in different places, I can't give a single set of instructions, so I need to tell Aunt Martha how to find out the command to type. Having a screen capture of the properties box seems to me to be the best way for her to find out exactly the command to type.

If a different batch file is actually the best thing, then perhaps that should be provided instead?

Thanks again for your very comprehensive response - just sorry I have got more questions.

Tim.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Wiki updates for MS Windows

Peter Landgren
Den Monday 18 March 2013 15.55.50 skrev Tim Lyons:

> Helge,
>
> Thanks very much for the detailed reply.
>
> I was trying to get answers for Aunt Martha (for putting in the Wiki)
> rather than answers for myself, so I am afraid I have got some more
> questions.
>
>
> Helge.Herz-2 wrote
>
> >> For MS Windows, can someone please tell me the names of all the items
> >> installed by the AIO installer?
>
> What I actually meant was: I know (now) that under the "GrampsAIO" group
> there are:
> GrampsAIO64 3.4.2-1 Console
> GrampsAIO64 3.4.2-1
>
> But I think there is also an uninstaller and a readme file (or something
> similar) what are they called?
>
> Helge.Herz-2 wrote
>
> >>   when would you use one or the other? (noting that sometimes the
> >>   console
> >>
> >> window disappears before you can note what it says), how would you
> >> determine what to type to start
> >
> > The messages could copied before the shut down of Gramps, but I don't
> > use any of these two versions.
> > I always build my own batch file to control at least GRAMPSHOME. To tell
> > about issues I use my batch to switch Gramps into English to provide
> > better descriptions for issues.
> > And I use always a PAUSE cmd command at the end ;-)
> > BTW I use also the GrampsAOI by an other batch run trunk versions of the
> > same Gramps major version using pytzhon and all the other stuff from the
> > AOI package. (Of course it doesn't work currently for the trunk 4.0
> > using AOI from 3.4.x)
>
> I want to be able to tell Aunt Martha when she should use one icon/menu
> item and when the other. At the moment it seems to me that you (and
> perhaps other people) never use the "GrampsAIO64 3.4.2-1 Console" icon or
> menu item, because it doesn't quite do the right thing. So I ask again,
> when should the average user use one and when the other?
What is the problem with "GrampsAIO64 3.4.2-1 Console"?


>
>
> Helge.Herz-2 wrote
>
> >> could someone upload an example of the properties box to be put in
> >> Start_Gramps_through_the_Command_Line?
> >
> > I would always prefer a batch file - no single command line.
I use two batch files for geting the Gramps versions as small textfiles on the desktop:
They use the same method as starting gramps with console. I have only added
"-v > C:\USERS\%USERNAME%\desktop\grampsversions64.txt"

cd "C:\Program Files\GrampsAIO64\bin"
"C:\Program Files\GrampsAIO64\bin\python.exe" -EO ..\share\gramps\gramps.py -v > C:
\USERS\%USERNAME%\desktop\grampsversions64.txt

cd "C:\Program Files (x86)\GrampsAIO32\bin"
"C:\Program Files (x86)\GrampsAIO32\bin\python.exe" -EO ..\share\gramps\gramps.py -v > C:
\USERS\%USERNAME%\desktop\grampsversions32.txt

Peter


> I want to provide clear instructions on how to determine the command lines
> to type to start Gramps from cmd.exe, so as to get all the console output.
> Because Gramps can be installed in different places, I can't give a single
> set of instructions, so I need to tell Aunt Martha how to find out the
> command to type. Having a screen capture of the properties box seems to me
> to be the best way for her to find out exactly the command to type.
>
> If a different batch file is actually the best thing, then perhaps that
> should be provided instead?
>
> Thanks again for your very comprehensive response - just sorry I have got
> more questions.
>
> Tim.
>
>
>
> --
> View this message in context:
> http://gramps.1791082.n4.nabble.com/Wiki-updates-for-MS-Windows-tp4659348p
> 4659448.html Sent from the GRAMPS - Dev mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------------
> --- Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
> _______________________________________________
> Gramps-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gramps-devel

--
Peter Landgren
Talken Hagen
671 94  BRUNSKOG
0570-530 21
070-345 0964
[hidden email]
Skype: pgl4820.2

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Wiki updates for MS Windows

enno
In reply to this post by Tim Lyons
Tim,
What I actually meant was: I know (now) that under the "GrampsAIO" group
there are:
GrampsAIO64 3.4.2-1 Console
GrampsAIO64 3.4.2-1
 
But I think there is also an uninstaller and a readme file (or something
similar) what are they called?
I hope to report exact names when 3.4.3 AIO is available. In 3.4.2, most entries are pretty obvious for users, I think, so I’m not sure whether they need detailed explanation on the wiki. I mean, they’re web links to home page and bug report, and the uninstaller, all perfectly clear.
 
The one that does need explanation is the one that was named GrampsAIO 3.4.2.1 Env. It opens a cmd window with all the right settings, in a folder that contains a gramps.cmd file that accepts extra options from the command line, so that gramps can be started in debug mode and so forth.
 
Like Helge, I don’t fully understand what you meant with your comment about console.
 
regards,
 
Enno
 

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Wiki updates for MS Windows

Tim Lyons
Administrator

On 19 Mar 2013, at 13:57, Enno Borgsteede wrote:

Like Helge, I don’t fully understand what you meant with your comment about console.
 

(Actually, I think it was Peter who also asked about the possible Console problem). I said that
sometimes the console window disappears before you can note what it says

Helge seems to confirm this may be a problem when he says:


but I don't use any of these two versions.
I always build my own batch file to control at least GRAMPSHOME. To tell about issues I use my batch to switch Gramps into English to provide better descriptions for issues.
And I use always a PAUSE cmd command at the end ;-)

The PAUSE command seems to confirm that the window can close too early, confirming that this may be a problem. I am not really bothered about whether it is a problem or not, just trying to understand what to write in the Wiki.


But that wasn't really the point that I wanted guidance on. I wanted to understand why there was an icon/menu item that used 'python.exe' and another that used 'pythonw.exe'.

I wanted to understand what we should tell Aunt Martha about when to use one and when to use the other. I don't necessarily agree that it is all pretty obvious to users! It may not need a detailed explanation, maybe just a casual mention that "web links to home page and bug report, and the uninstaller are included with the normal effect"

Regards,
Tim.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Wiki updates for MS Windows

Peter Landgren

Den Tuesday 19 March 2013 15.57.56 skrev Tim Lyons:

> On 19 Mar 2013, at 13:57, Enno Borgsteede wrote:

> > Like Helge, I don’t fully understand what you meant with your

> > comment about console.

>

> (Actually, I think it was Peter who also asked about the possible

> Console problem). I said that

>

> >> sometimes the console window disappears before you can note what it

> >> says

>

> Helge seems to confirm this may be a problem when he says:

> > but I don't use any of these two versions.

> > I always build my own batch file to control at least GRAMPSHOME. To

> > tell about issues I use my batch to switch Gramps into English to

> > provide better descriptions for issues.

> > And I use always a PAUSE cmd command at the end ;-)

>

> The PAUSE command seems to confirm that the window can close too

> early, confirming that this may be a problem. I am not really bothered

> about whether it is a problem or not, just trying to understand what

> to write in the Wiki.

>

>

> But that wasn't really the point that I wanted guidance on. I wanted

> to understand why there was an icon/menu item that used 'python.exe'

> and another that used 'pythonw.exe'.

>

> I wanted to understand what we should tell Aunt Martha about when to

> use one and when to use the other. I don't necessarily agree that it

> is all pretty obvious to users! It may not need a detailed

> explanation, maybe just a casual mention that "web links to home page

> and bug report, and the uninstaller are included with the normal effect"

>

> Regards,

> Tim.

This is from python manual:

3.3.4. Executing scripts

Python scripts (files with the extension .py) will be executed by python.exe by default. This executable opens a terminal, which stays open even if the program uses a GUI. If you do not want this to happen, use the extension .pyw which will cause the script to be executed by pythonw.exe by default (both executables are located in the top-level of your Python installation directory). This suppresses the terminal window on startup.

Regards,

Peter


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Wiki updates for MS Windows

enno
In reply to this post by Tim Lyons
Hi Tim,
 
First, about the console window disappearing. That’s a logical thing, because it’s a Python window, so if Gramps quits, so will the window, leaving no time to grab any error message whatsoever. Because of that, its use is limited to expert users who may want to see warnings while Gramps is running, nothing else.
 
Knowing that the average user does not make his/her own batch files, like Helge does, I think we can better concentrate on the Gramps Env, which like I wrote earlier is a genuine cmd window, with everything in place to run gramps in a terminal. You type gramps, just like you do that in Linux, and add command line options where needed, as instructed by our help crew or the Wiki. No need to add pause or anything, because that cmd window will still be there when anything goes wrong, unless someone is smart enough to crash cmd itself.
 
Since I already uninstalled 3.4.2 AIO, assuming that 3.4.3 AIO would be available, I can’t give you all menu options, but I will give them once 3.4.3 AIO is there.
 
cheers,
 
Enno
 

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Wiki updates for MS Windows

Nick Hall-6
Why don't we divert warning message to the NTEventLogHandler in Windows?

http://docs.python.org/2/library/logging.handlers.html#nteventloghandler

Nick.


On 19/03/13 18:19, Enno Borgsteede wrote:
Hi Tim,
 
First, about the console window disappearing. That’s a logical thing, because it’s a Python window, so if Gramps quits, so will the window, leaving no time to grab any error message whatsoever. Because of that, its use is limited to expert users who may want to see warnings while Gramps is running, nothing else.
 
Knowing that the average user does not make his/her own batch files, like Helge does, I think we can better concentrate on the Gramps Env, which like I wrote earlier is a genuine cmd window, with everything in place to run gramps in a terminal. You type gramps, just like you do that in Linux, and add command line options where needed, as instructed by our help crew or the Wiki. No need to add pause or anything, because that cmd window will still be there when anything goes wrong, unless someone is smart enough to crash cmd itself.
 
Since I already uninstalled 3.4.2 AIO, assuming that 3.4.3 AIO would be available, I can’t give you all menu options, but I will give them once 3.4.3 AIO is there.
 
cheers,
 
Enno
 


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar


_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Wiki updates for MS Windows

Paul Franklin-5
On 3/19/13, Nick Hall <[hidden email]> wrote:
> Why don't we divert warning message to the NTEventLogHandler in Windows?

I remember this was mentioned or asked or discussed before,
but I don't remember what was said nor did I use Google, etc.
FYI.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Wiki updates for MS Windows

Tim Lyons
Administrator
In reply to this post by Nick Hall-6
Nick Hall-6 wrote
Why don't we divert warning message to the NTEventLogHandler in Windows?

http://docs.python.org/2/library/logging.handlers.html#nteventloghandler
The problem really is when something goes wrong, and you may need to look at the console to see things that don't appear on your skillfully crafted log reports.

See
http://www.gramps-project.org/wiki/index.php?title=Gramps_4.0_Wiki_Manual_-_Main_Window#Seeing_all_the_error_messages
for examples of missing messages. http://www.gramps-project.org/bugs/view.php?id=6536 covers this example, but with the best will in the world, not everything will always be captured.

Some kinds if failures might cause the Python interpreter to collapse, and then you might not see all the messages on an event handler.

Tim.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Wiki updates for MS Windows

Tim Lyons
Administrator
NTEventLogHandler is talked about here:
http://www.gramps-project.org/bugs/view.php?id=5785

I too thought it was a good idea, but I seem to recall that it was thought to require quite a large additional dependency (which was not thought to be worth the trouble) and it was thought that most people would not understand how to use it (I didn't think that was a problem, because people would not be using it routinely, only when they were carefully instructed in the Wiki or from the mailing list, on exactly what to do).

http://www.gramps-project.org/wiki/index.php?title=Gramps_4.0_Wiki_Manual_-_Main_Window#Seeing_all_the_error_messages is my suggestion as to what to tell users to see all the messages they may miss from the standard 'Warning button" http://www.gramps-project.org/wiki/index.php?title=Gramps_4.0_Wiki_Manual_-_Main_Window#Warnings

Tim.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Wiki updates for MS Windows

Tim Lyons
Administrator
In reply to this post by enno

On 19 Mar 2013, at 18:19, Enno Borgsteede wrote:

Hi Tim,
 
First, about the console window disappearing. That’s a logical thing, because it’s a Python window, so if Gramps quits, so will the window, leaving no time to grab any error message whatsoever. Because of that, its use is limited to expert users who may want to see warnings while Gramps is running, nothing else.
 
Knowing that the average user does not make his/her own batch files, like Helge does, I think we can better concentrate on the Gramps Env, which like I wrote earlier is a genuine cmd window, with everything in place to run gramps in a terminal. You type gramps, just like you do that in Linux, and add command line options where needed, as instructed by our help crew or the Wiki. No need to add pause or anything, because that cmd window will still be there when anything goes wrong, unless someone is smart enough to crash cmd itself.


Thanks for the extra information.

Let me suggest something, and we'll see whether that makes things clear.

What I suggest is that in MS Windows AIO there be only one icon, namely the "GrampsAIO36 <version>" or "GrampsAIO36 <version>" one. Then in that startup instructions [1], we would just tell users to click on that or on the Start->GrampsAIO menu item with the same name.

Then in "seeing all the error messages" [2] and "start Gramps from the command line" [3] we tell users to select the "GrampsAIO <version. Env" from the Start->GrampsAIO menu item.

In other words we do away with the "GrampsAIO <version> Console" altogether.

Now, if there really is some reason why Aunt Martha needs to console item, then please let me know, because I still don't know what it is for. (I know what it does, but that is not the same thing as knowing what it is for).

Good is as much about what you leave out as what you put in! (I never thought I would write that, but it is difficult to write the Wiki [1] with it there.

Regards,
Tim.


 
Since I already uninstalled 3.4.2 AIO, assuming that 3.4.3 AIO would be available, I can’t give you all menu options, but I will give them once 3.4.3 AIO is there.
 
cheers,
 
Enno
 


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Wiki updates for MS Windows

enno
On 21-03-13 01:26, Tim Lyons wrote:

> Let me suggest something, and we'll see whether that makes things clear.
>
> What I suggest is that in MS Windows AIO there be only one icon,
> namely the "GrampsAIO36 <version>" or "GrampsAIO36 <version>" one.
> Then in that startup instructions [1], we would just tell users to
> click on that or on the Start->GrampsAIO menu item with the same name.
>
> Then in "seeing all the error messages" [2] and "start Gramps from the
> command line" [3] we tell users to select the "GrampsAIO <version.
> Env" from the Start->GrampsAIO menu item.
>
> In other words we do away with the "GrampsAIO <version> Console"
> altogether.
And rename that Env to something that I understand. The current name
suggests to me that it's a tool to set environment variables, which it
is not. Why not something simple like Gramps terminal/command prompt?

regards,

Enno


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Loading...