New GrampsAIO for Windows

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

New GrampsAIO for Windows

Josip
Hi all,
as preparation for soon to be released 4.1.1 version i put current
snapshot in Unstable section on ours sf page.
Think of it as beta release ;-)

C:\GrampsAIO-4.1.1\bin>gramps -v
Gramps Settings:
----------------
  python    : 2.7.8
  gramps    : 4.1.1-a868efd
  gtk++     : 3.14.0
  pygobject : 3.14.0
  pango     : 1.36.8
  Not using bsddb3
  bsddb     : 6.0.1
  bsddb.db  : 6.0.30
  cairo     : 1.14.0
  pycairo   : 1.10.0
  osmgpsmap : 1.0
  GExiv2    : 0.10
  ICU       : 53.1
  PyICU     : 1.8
  o.s.      : win32
Non-python dependencies:
------------------------
  Graphviz  : 2.38
  Ghostscr. : 9.15

--
Josip

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: New GrampsAIO for Windows

Helge.Herz-2
Hi Josip,

good to hear about a beta.
Would you like to get all responses, comments or issue here by mail or
by the issue tracker?

First comment:
Running this version I get a lot of warnings during the start up:
C:\ProgrammeNeutral\GrampsAIO-4.1.1\bin>gramps.exe
C:\ProgrammeNeutral\GrampsAIO-4.1.1\lib\python2.7\site-packages/gramps/gui/viewm
anager.py:840: Warning: The property GtkSettings:gtk-menu-images is
deprecated and shouldn't be used anymore. It will be removed in a future
version.
  self.uimanager.ensure_update()
C:\ProgrammeNeutral\GrampsAIO-4.1.1\lib\python2.7\site-packages/gramps/gui/viewmanager.py:459:
Warning: The property GtkToolButton:stock-id is deprecated and shouldn't
be used anymore. It will be removed in a future version.
  openbtn = Gtk.MenuToolButton.new_from_stock('gramps-db')
C:\ProgrammeNeutral\GrampsAIO-4.1.1\lib\python2.7\site-packages/gramps/gui/glade.py:125:
Warning: The property GtkImage:stock is deprecated and shouldn't be used
anymore. It will be removed in a future version.
  self.add_from_file(uni_to_gui(path))
C:\ProgrammeNeutral\GrampsAIO-4.1.1\lib\python2.7\site-packages/gramps/gui/glade.py:125:
Warning: The property GtkButton:use-stock is deprecated and shouldn't be
used anymore. It will be removed in a future version.
  self.add_from_file(uni_to_gui(path))
C:\ProgrammeNeutral\GrampsAIO-4.1.1\lib\python2.7\site-packages/gramps/gui/glade.py:125:
Warning: The property GtkSettings:gtk-button-images is deprecated and
shouldn't be used anymore. It will be removed in a future version.
  self.add_from_file(uni_to_gui(path))
C:\ProgrammeNeutral\GrampsAIO-4.1.1\lib\python2.7\site-packages/gramps/gui/glade.py:125:
Warning: The property GtkAlignment:xscale is deprecated and shouldn't be
used anymore. It will be removed in a future version.
  self.add_from_file(uni_to_gui(path))
C:\ProgrammeNeutral\GrampsAIO-4.1.1\lib\python2.7\site-packages/gramps/gui/glade.py:125:
Warning: The property GtkAlignment:yscale is deprecated and shouldn't be
used anymore. It will be removed in a future version.
  self.add_from_file(uni_to_gui(path))
C:\ProgrammeNeutral\GrampsAIO-4.1.1\lib\python2.7\site-packages/gramps/gui/glade.py:125:
Warning: The property GtkAlignment:right-padding is deprecated and
shouldn't be used anymore. It will be removed in a future version.
  self.add_from_file(uni_to_gui(path))
C:\ProgrammeNeutral\GrampsAIO-4.1.1\lib\python2.7\site-packages/gramps/gui/glade.py:125:
Warning: The property GtkAlignment:left-padding is deprecated and
shouldn't be used anymore. It will be removed in a future version.
  self.add_from_file(uni_to_gui(path))

(gramps.exe:6356): Gtk-WARNING **: Error loading theme icon 'gtk-apply'
for stock: Icon 'gtk-apply' not present in theme

(gramps.exe:6356): Gtk-WARNING **: Error loading theme icon 'gtk-apply'
for stock: Icon 'gtk-apply' not present in theme
Gtk-Message: GtkDialog mapped without a transient parent. This is
discouraged.

I'll go ahead for trials.
-Helge
Am 19.10.2014 00:46, schrieb Josip:
> Hi all,
> as preparation for soon to be released 4.1.1 version i put current
> snapshot in Unstable section on ours sf page.
> Think of it as beta release ;-)
>
>

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: New GrampsAIO for Windows

Josip
19.10.2014. u 13:23, Helge.Herz je napisao/la:
> Hi Josip,
>
> good to hear about a beta.
> Would you like to get all responses, comments or issue here by mail or
> by the issue tracker?
>

Thanks for trying,
you can post things AIO related to list and everything else to bug-tracker.

> First comment:
> Running this version I get a lot of warnings during the start up

I don't know how to shut-up those warnings.
This one is good for bug ticket as gramps have lot of deprecated code
(gtk-3.10 and now gtk-3.14)

--
Josip

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: New GrampsAIO for Windows

Helge.Herz-2
I'm not sure, but these issues are really not AIO related:
(gramps.exe:6356): Gtk-WARNING **: Error loading theme icon 'gtk-apply'
for stock: Icon 'gtk-apply' not present in theme

(gramps.exe:6356): Gtk-WARNING **: Error loading theme icon 'gtk-apply'
for stock: Icon 'gtk-apply' not present in theme

- Helge

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: New GrampsAIO for Windows

Josip
19.10.2014. u 18:30, Helge.Herz je napisao/la:
> I'm not sure, but these issues are really not AIO related:
> (gramps.exe:6356): Gtk-WARNING **: Error loading theme icon 'gtk-apply'
> for stock: Icon 'gtk-apply' not present in theme
>
> (gramps.exe:6356): Gtk-WARNING **: Error loading theme icon 'gtk-apply'
> for stock: Icon 'gtk-apply' not present in theme
>

It is not AIO related, in sense what is or not and how is packed in it.
It is gtk deprecation problem.
see:
http://lazka.github.io/pgi-docs/Gtk-3.0/constants.html#Gtk.STOCK_APPLY
Basically that icon not longer exists (hence the warning).

To fix it change line 196 in file:
lib\python2.7\site-packages\gramps\gui\glade\dbman.glade
from:
<property name="stock">gtk-apply</property>
to:
<property name="icon_name">document-open</property>

There is a lot of deprecated stuff in ours glade files...

--
Josip

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: New GrampsAIO for Windows

Paul Franklin-5
In reply to this post by Helge.Herz-2
On 10/19/14, Helge.Herz <[hidden email]> wrote:
> I'm not sure, but these issues are really not AIO related:
> (gramps.exe:6356): Gtk-WARNING **: Error loading theme icon 'gtk-apply'
> for stock: Icon 'gtk-apply' not present in theme
>
> (gramps.exe:6356): Gtk-WARNING **: Error loading theme icon 'gtk-apply'
> for stock: Icon 'gtk-apply' not present in theme

Hi Helge,

I'd suggest you add those two to your 8126 bug, and also
change its name to something more general (maybe change
"properties" to "warnings"?).  I'd also add Josip's fix to the bug.

Just a thought.

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: New GrampsAIO for Windows

Helge.Herz-2
In reply to this post by Josip
Hi Josip,

I've found a special issues regarding the add-ons
A) Edit Exif Metadata:
2014-10-26 15:33:11.229: WARNING: _manager.py: line 290: Plugin error
(from 'editexifmetadata'): No module named pyexiv2
2014-10-26 15:33:11.239: WARNING: grampletpane.py: line 188: Error
loading gramplet 'Edit Image Exif Metadata': skipping content

B) Image Metadata
This gramplet doesn't show any content even I see metadat using Gramps
3.4.9 for the same image

I don't know if these are both issues for the bug tracker or for the AIO.
Regards
Helge



------------------------------------------------------------------------------
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: New GrampsAIO for Windows

Josip
In reply to this post by Josip
A is outdated and should't be used in 4.x
Please report B to bug tracker ( i think to know rrason but can't checkit now)


Josip


-------- Original message --------
From: "Helge.Herz" <[hidden email]>
Date:
To: [hidden email]
Subject: Re: [Gramps-devel] New GrampsAIO for Windows


Hi Josip,

I've found a special issues regarding the add-ons
A) Edit Exif Metadata:
2014-10-26 15:33:11.229: WARNING: _manager.py: line 290: Plugin error
(from 'editexifmetadata'): No module named pyexiv2
2014-10-26 15:33:11.239: WARNING: grampletpane.py: line 188: Error
loading gramplet 'Edit Image Exif Metadata': skipping content

B) Image Metadata
This gramplet doesn't show any content even I see metadat using Gramps
3.4.9 for the same image

I don't know if these are both issues for the bug tracker or for the AIO.
Regards
Helge



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

------------------------------------------------------------------------------

_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: New GrampsAIO for Windows

Helge.Herz-2
In reply to this post by Josip
Josip,

during the check of the new gramps.exe and grampsw.exe I did a complete
check of the behaviour for all .exe:
new gramps.exe  --> no "Warnings: deprecated Gtk...."
                        (that's OK)
                --> some addons forcing a warning because of missing
                    translation and will use English
                        (that's OK or are issues for the addons)
                --> possible language control by LANG
                        (that's OK)
new grampsw.exe --> no "Warnings: deprecated Gtk...."
                        (that's OK)
                --> no warning because of missing translations
                        (that's OK)
                --> possible language control by LANG
                        (that's OK)
grampsd.exe --> "Warnings: deprecated Gtk...."
                --> some addons forcing a warning because of missing
                    translation and will use English
                        (that's OK or are issues for the addons)
                --> NOT possible: language control by LANG
                        (that seems to be bad)

As you can see, it looks mostly OK. But I didn't find a way to force
grampsd.exe to an other than English language. This could be bad for
some trials in my opinion.
What's your idea?

- Helge

------------------------------------------------------------------------------
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: New GrampsAIO for Windows

Josip
In reply to this post by Josip
grampsd.exe is hardcoded to use English.
For debuging we need|like error mesages and step to reproduce to be in English


Josip


-------- Original message --------
From: "Helge.Herz" <[hidden email]>
Date:
To: [hidden email]
Subject: Re: [Gramps-devel] New GrampsAIO for Windows


Josip,

during the check of the new gramps.exe and grampsw.exe I did a complete
check of the behaviour for all .exe:
new gramps.exe  --> no "Warnings: deprecated Gtk...."
(that's OK)
                --> some addons forcing a warning because of missing
    translation and will use English
(that's OK or are issues for the addons)
                --> possible language control by LANG
(that's OK)
new grampsw.exe --> no "Warnings: deprecated Gtk...."
(that's OK)
                --> no warning because of missing translations
(that's OK)
                --> possible language control by LANG
(that's OK)
grampsd.exe --> "Warnings: deprecated Gtk...."
                --> some addons forcing a warning because of missing
    translation and will use English
(that's OK or are issues for the addons)
                --> NOT possible: language control by LANG
(that seems to be bad)

As you can see, it looks mostly OK. But I didn't find a way to force
grampsd.exe to an other than English language. This could be bad for
some trials in my opinion.
What's your idea?

- Helge

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

------------------------------------------------------------------------------

_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: New GrampsAIO for Windows

Josip
In reply to this post by Helge.Herz-2
26.10.2014. u 15:40, Helge.Herz je napisao/la:
> B) Image Metadata
> This gramplet doesn't show any content even I see metadat using Gramps
> 3.4.9 for the same image

Please test with "libmetadata.patch" attached to ticket:
https://gramps-project.org/bugs/view.php?id=8157

--
Josip

------------------------------------------------------------------------------
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: New GrampsAIO for Windows

Helge.Herz-2
Am 03.11.2014 23:43, schrieb Josip:
> 26.10.2014. u 15:40, Helge.Herz je napisao/la:
>> B) Image Metadata
>> This gramplet doesn't show any content even I see metadat using Gramps
>> 3.4.9 for the same image
>
> Please test with "libmetadata.patch" attached to ticket:
> https://gramps-project.org/bugs/view.php?id=8157
>
The patch runs well based on gramps 4.1.1-a868efd from AIO4.1.1.
BTW: Do you know how to run / activate a GIT patch on Win using
TortoiseGIT on a non-GIT folder as the gramps AIO4.1.1 folders?
Currently I do all changes by hand because GIT merge tells some thing
like "sorry, no GIT repository ... I won't work!"

- Helge

------------------------------------------------------------------------------
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: New GrampsAIO for Windows

Josip
6.11.2014. u 22:30, Helge.Herz je napisao/la:

> The patch runs well based on gramps 4.1.1-a868efd from AIO4.1.1.
> BTW: Do you know how to run / activate a GIT patch on Win using
> TortoiseGIT on a non-GIT folder as the gramps AIO4.1.1 folders?
> Currently I do all changes by hand because GIT merge tells some thing
> like "sorry, no GIT repository ... I won't work!"
>

I don't use TortoiseGIT but they depend on msysGit according to:
https://code.google.com/p/tortoisegit/wiki/SetupHowTo
so you can just use their tools from command line.
That way you can get help for diff, patch, sed, grep and git from linux
users also.


--
Josip

------------------------------------------------------------------------------
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: New GrampsAIO for Windows

John Ralls-2

On Nov 7, 2014, at 9:59 AM, Josip <[hidden email]> wrote:

> 6.11.2014. u 22:30, Helge.Herz je napisao/la:
>
>> The patch runs well based on gramps 4.1.1-a868efd from AIO4.1.1.
>> BTW: Do you know how to run / activate a GIT patch on Win using
>> TortoiseGIT on a non-GIT folder as the gramps AIO4.1.1 folders?
>> Currently I do all changes by hand because GIT merge tells some thing
>> like "sorry, no GIT repository ... I won't work!"
>>
>
> I don't use TortoiseGIT but they depend on msysGit according to:
> https://code.google.com/p/tortoisegit/wiki/SetupHowTo
> so you can just use their tools from command line.
> That way you can get help for diff, patch, sed, grep and git from linux
> users also.
>

Git doesn’t quite work with stock MSys, so you need to use a shell created with the MSys environment in the Git directory, not the one you use for development.

That said, git won’t work in a directory that isn’t a git repo; I’d think that the reason would be pretty obvious. Git patches are completely compatible with patch, and need -p1 if applied from the root directory. So if you’ve got a directory gramps-4.1.1 that you made from a tarball, just cd into it and say `patch -p1 < 0001-patch-made-with-git.patch`.

But better, turn your tarball directory into a git repo before you do anything. You can open a git shell, cd into the directory and say
  git init
  git add .
  git commit -m “gramps-4.1.1 from the tarball”
(or the TortoiseGit GUI equivalent) before making any changes. Then you can apply patches directly with git and you also have all of the other nice change management features git provides.

Regards,
John Ralls
------------------------------------------------------------------------------
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: New GrampsAIO for Windows

Helge.Herz-2
John,
thanks a lot for all these information. I 'googled' today regarding this
issue and found at least the same result: The best way seems to be to
turn the related directory into a git repro.
Thank you again.
Helge
Am 07.11.2014 20:55, schrieb John Ralls:

>
> Git doesn’t quite work with stock MSys, so you need to use a shell created with the MSys environment in the Git directory, not the one you use for development.
>
> That said, git won’t work in a directory that isn’t a git repo; I’d think that the reason would be pretty obvious. Git patches are completely compatible with patch, and need -p1 if applied from the root directory. So if you’ve got a directory gramps-4.1.1 that you made from a tarball, just cd into it and say `patch -p1 < 0001-patch-made-with-git.patch`.
>
> But better, turn your tarball directory into a git repo before you do anything. You can open a git shell, cd into the directory and say
>   git init
>   git add .
>   git commit -m “gramps-4.1.1 from the tarball”
> (or the TortoiseGit GUI equivalent) before making any changes. Then you can apply patches directly with git and you also have all of the other nice change management features git provides.
>
> Regards,
> John Ralls
> ------------------------------------------------------------------------------
> _______________________________________________
> Gramps-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gramps-devel
>


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