Create Package: GTKRawgallery 0.9.3

Bug #298891 reported by RubenRebelo
6
Affects Status Importance Assigned to Milestone
GetDeb Software Portal
Fix Released
Medium
Christoph Korn

Bug Description

Homepage: http://sourceforge.net/projects/gtkrawgallery/

About: GTKRawgallery is a python based program for photographers that integrate a RAW developer and organizer. It supports IPTC keywords, dcraw with 16 bits per channel, and some basic tools to retouch or enhance pictures.

Revision history for this message
Christoph Korn (c-korn) wrote :

Starting packageing process from the beginning.
Means no already build debian package has been found.

Changed in getdeb.net:
assignee: nobody → c-korn
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Christoph Korn (c-korn) wrote :

Package has been built for intrepid.

Changed in getdeb.net:
status: In Progress → Fix Committed
Revision history for this message
Guilherme Salgado (salgado) wrote :

Is there anywhere I could get this package from? I couldn't find it on getdeb.net.

Revision history for this message
Christoph Korn (c-korn) wrote :

It is here
http://abs.getdeb.net/post_build/intrepid/

But has __not__ been tested.

Revision history for this message
Guilherme Salgado (salgado) wrote : Re: [Bug 298891] Re: Create Package: GTKRawgallery 0.9.3

I gave it a try and it first complained about a missing dependecy
(pythom-numpy).

After installing it I got this:

(gtkrawgallery.py:18608): libglade-WARNING **: could not find glade file
'splash.glade'
Traceback (most recent call last):
  File "/usr/share/gtkrawgallery/gtkrawgallery.py", line 50, in <module>
    splash_tree = gtk.glade.XML('splash.glade')
RuntimeError: could not create GladeXML object

The splash.glade file was installed and is
in /usr/share/gtkrawgallery/splash.glade

Revision history for this message
Christoph Korn (c-korn) wrote :

I have reuploaded the package.

It has been built in the same directory.

Revision history for this message
RubenRebelo (mundano) wrote :

Today's package is not working fully...

The first time i ran it, I got this:

ruben@localhost:~$ gtkrawgallery
gtkrawgallery.py:89: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  self.wtree = gtk.glade.XML('gtkrg.glade')
Traceback (most recent call last):
  File "gtkrawgallery.py", line 9852, in <module>
    gtkrawgallery = Gallery()
  File "gtkrawgallery.py", line 508, in __init__
    os.mkdir('.thumbnails')
OSError: [Errno 13] Permissão negada: '.thumbnails'
ruben@localhost:~$

But after I ran it as sudo the program now opens, but it is allways complaining about missing directories in:
/usr/share/gtkrawgallery/*

I think the programs is trying to use that folder and it doesn't have permission to write in it...

Revision history for this message
Christoph Korn (c-korn) wrote :

The package has been rebuilt.

The program now is copied into ~/.gtkrawgallery at first startup.

Please tell me which directories the program misses.

Revision history for this message
RubenRebelo (mundano) wrote :

The program at first startup is copying the files to

~/.gtkrawgallery/gtkrawgallery

and not to:

~/.gtkrawgallery/

But, after that, with this commands it works great:

ruben@localhost:~$ cd /home/ruben/.gtkrawgallery/gtkrawgallery
ruben@localhost:~/.gtkrawgallery/gtkrawgallery$ ./gtkrawgallery.py

No more complains about missing folders or misbehavior, because in the home folder of the user, the program has permissions to create the folders and files it need to run properly..

So, now it just needs some fixing in the command you used to copy the files..

One last thing. I think the icon should go to the Graphics section of the menu, and not to the Accessories.. But that is just my opinion.

Revision history for this message
Christoph Korn (c-korn) wrote :

Package has been rebuilt.

Thanks for testing and being diligent.

Revision history for this message
RubenRebelo (mundano) wrote :

Last build is working great in my machine (Intrepid 32bits)..

Revision history for this message
RubenRebelo (mundano) wrote :

After some testing I found some functions off the program are nor working due to missing dependencies...

gtkrawgallery to work fully needs:

python-gtk2
libgtk2.0-0
python-imaging
python-numpy
imagemagick
libimage-exiftool-perl
libglade2-0
dcraw
sox

All of them are in Ubuntu repositories, but many are not installed by default, so the package should require this dependencies to ensure it will run properly...

After installed the missing dependencies (only exiftool in my case), the program works great.

Revision history for this message
Christoph Korn (c-korn) wrote :

The package has been rebuilt.

Thanks for following up on this.

Revision history for this message
João Pinto (joaopinto) wrote :

  File "gtkrawgallery.py", line 13, in <module>
    import gtk.glade
ImportError: No module named glade

Changed in getdeb.net:
status: Fix Committed → In Progress
Revision history for this message
Christoph Korn (c-korn) wrote :

I added python-glade2 to the runtime dependency list.

Changed in getdeb.net:
status: In Progress → Fix Committed
Revision history for this message
João Pinto (joaopinto) wrote :

File -> Exit does not work, it's a show stopper bug ;(

Changed in getdeb.net:
status: Fix Committed → In Progress
Revision history for this message
Christoph Korn (c-korn) wrote :

Well that's a source bug.

Can you have a look at it?

You are more fimilar with python.

Revision history for this message
João Pinto (joaopinto) wrote :

I am not familiar with Python and GTK yet, we need to report this to the author.

Revision history for this message
Christoph Korn (c-korn) wrote :
Changed in getdeb.net:
status: In Progress → Triaged
Revision history for this message
Christoph Korn (c-korn) wrote :

There has been an answer in the bug report:
http://sourceforge.net/tracker/index.php?func=detail&aid=2373179&group_id=199135&atid=968274

> Please, start gtkrawgallery from the command line and report the error.
> Sorry, I am not able to reproduce your error.

Changed in getdeb.net:
status: Triaged → In Progress
Revision history for this message
Christoph Korn (c-korn) wrote :

Added at-spi to the runtime dependencies.

Revision history for this message
Christoph Korn (c-korn) wrote :

Package has been built for intrepid.

Changed in getdeb.net:
status: In Progress → Fix Committed
Revision history for this message
João Pinto (joaopinto) wrote :

Waiting for the "File -> Exit" bug to be fixed.

Changed in getdeb.net:
status: Fix Committed → In Progress
Revision history for this message
Christoph Korn (c-korn) wrote :

Don't know how to fix this.

Changed in getdeb.net:
status: In Progress → Triaged
Revision history for this message
Christoph Korn (c-korn) wrote :

My work so far.

Revision history for this message
João Pinto (joaopinto) wrote :

No update containing the required bug fix, was on hold for enough time.

Changed in getdeb.net:
status: Triaged → Incomplete
Revision history for this message
Christoph Korn (c-korn) wrote :

There was just the .temp directory missing.

Changed in getdeb.net:
status: Incomplete → In Progress
Revision history for this message
Christoph Korn (c-korn) wrote :

Package has been built for intrepid and hardy.

Changed in getdeb.net:
status: In Progress → Fix Committed
description: updated
Revision history for this message
Christoph Korn (c-korn) wrote :

Released for intrepid.

Revision history for this message
Christoph Korn (c-korn) wrote :

Published.

Thanks.

Changed in getdeb.net:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.