New Module: GWT Organise

davert

Joined: 2009-01-22
Posts: 81
Posted: Thu, 2010-03-25 12:55

The problem I've been having is simply that moving photos does not work, not in Safari, not in Mac/Firefox, not in IE7/Windows. I don't have any error messages, it gives the "moving" thing, and then it restores the screen and nothing has moved. I can log out and log back in and verify that there'sbeen no actual activity

 
huebi

Joined: 2008-03-03
Posts: 58
Posted: Thu, 2010-03-25 14:53

Did you set the order mechanism for the album to manually? Check the option with "Edit album". If this is the case, pick the thumb and move it slowly between two others - a blue line apperaing between the new neighbours indicates that you can drop the picture. I too had the same "problem". If the blue line is not shown the picture will not be moved to the new place.

http://reisetraeume.com

 
davert

Joined: 2009-01-22
Posts: 81
Posted: Thu, 2010-03-25 15:05

I'm not trying to reorder, I'm trying to move pictures into an album. Am I just doing it wrong? I assumed that dragging photos onto an album so that the album turns blue would work. I can't figure out how I'd move photos into an album with the blue line showing.

 
huebi

Joined: 2008-03-03
Posts: 58
Posted: Thu, 2010-03-25 15:39

sorry i thought you wanna reorder the pictures in an album, took some time for me to figure out how this works.

Just tried that out, works fine for me. Grabbed the thumb and moved it over an album which got a blue background und dropped it there.

Maybe google gears is necessary for that, did you install this addon to your browser?

http://reisetraeume.com

 
davert

Joined: 2009-01-22
Posts: 81
Posted: Thu, 2010-03-25 15:33

Yes, I installed Google Gears in Firefox. Not sure if I did in IE7.

 
Glooper

Joined: 2005-09-21
Posts: 225
Posted: Thu, 2010-03-25 18:08

Did you get the latest version of this module from the previous page...

http://gallery.menalto.com/files/gwtorganise_10.zip

This version does not require google gears and has a couple of fixes to work better in IE. Gears is only used when uploading files so is not used when moving the files around. If you update to this version you may need to refresh your browsers cache (depending on the modules you have installed in apache).

Try this version if it doesn't work still then let me know and If you can send me a link to your gallery maybe with a login (PM it to me if you like) then I can see if I can identify the problem.

Ben

Benjamin Albert Smith - Photography
Pikitia - New Zealand Photography

 
davert

Joined: 2009-01-22
Posts: 81
Posted: Thu, 2010-03-25 18:14

I took the latest version, yes, but I'll try re-uploading and then will send you relevant info.

 
Glooper

Joined: 2005-09-21
Posts: 225
Posted: Thu, 2010-03-25 18:17
 
davert

Joined: 2009-01-22
Posts: 81
Posted: Thu, 2010-03-25 20:15

Sent you a PM... hope you have the same problems as I did, otherwise troubleshooting might be harder...

 
Glooper

Joined: 2005-09-21
Posts: 225
Posted: Sun, 2010-10-10 01:42

Here's a new version..

Added the ability to delete multiple items and rotate multiple items at once. Just select lots of items using the ctrl key then the popup menu will have the new menu options to delete or rotate all selected items

@Davert. I'm struggling to find out why it's not working on your version. I might have fixed your problem with this version.. but failing that I've but some more debug in so I might be able to find out why it's not working on yours if you use this version.

Ben

Benjamin Albert Smith - Photography
Pikitia - New Zealand Photography

 
SeverePlains

Joined: 2010-03-14
Posts: 6
Posted: Fri, 2010-03-26 01:38

I actually cannot re-order the galleries from the gwtorganise module either, I can select and move the album in between two others, getting the blue line, and attempt to drop... Get the loading contents and arranging contents script... Then it reloads and nothing has changed. Tried in both IE and FF, have the latest version (11), any suggestions?

Note: I don't have google gears installed on the current computer I am on. I will try again with gears installed when I arrive home.

 
Glooper

Joined: 2005-09-21
Posts: 225
Posted: Fri, 2010-03-26 01:44

You seem to be having the same problem as davert

Have you installed gallery3 RC1? Or have you updated to a later version / I have not tested on anything beyond the RC1 release

Ben

Benjamin Albert Smith - Photography
Pikitia - New Zealand Photography

 
SeverePlains

Joined: 2010-03-14
Posts: 6
Posted: Fri, 2010-03-26 01:58

I installed as G3RC1 and the only updating I have done is with modules and themes.

 
Glooper

Joined: 2005-09-21
Posts: 225
Posted: Fri, 2010-03-26 02:02

hmmm... What modules do you have installed.. I wonder if another module is causing problems (though I'm not sure how!)

Ben
Benjamin Albert Smith - Photography
Pikitia - New Zealand Photography

 
davert

Joined: 2009-01-22
Posts: 81
Posted: Fri, 2010-03-26 12:31

In my case, NoRightClick,Askismet,CalendarView,COmments, Digibug,Exif, export_facebook, imageblock,info,latestupdates,minislideshow, nobots, organize, photowidges, html purifiers, recaptcha, registration (duh), remote (though I don't know where to find the client), rescue, REST, RSS, rWinfo, search, slideshow, tags, tagfaces, watermarks.

I'll try disabling them all...

 
davert

Joined: 2009-01-22
Posts: 81
Posted: Fri, 2010-03-26 12:33

...still a no go.

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2436
Posted: Fri, 2010-03-26 12:46

@glooper: as I mentioned before, moving albums between levels is breaking links. I did not find how to rearrange items.
may be an option to swap between two selected?

PS. yes, it could be related to IE... but still

 
Glooper

Joined: 2005-09-21
Posts: 225
Posted: Fri, 2010-03-26 19:48

tis very strange.. I have three installations and all three are working fine on IE, Firefox and chrome. When I connected to your gallery davert I was using chrome and it wasn't working on that browser. so it's definitely something that is different between my installations and yours. I just can't think what!?..

I'll try with a fresh install on monday and see if I can replicate it on that. The only other thing I can think of in the meantime is to delete the gwtorganize directory in the modules directory on the install. Then copy the latest version back over again... I can't see why it will fix it... but it is something that I always do when I am upgrading my severs so maybe that's the difference between my install and yours.

@serge
As mentioned before, I fixed the issues with IE. the problem you were having was just cosmetic. It should be working fine on that now if you download the latest version here..

http://gallery.menalto.com/files/gwtorganise_11.zip

Ben

Benjamin Albert Smith - Photography///
Pikitia - New Zealand Photography

 
davert

Joined: 2009-01-22
Posts: 81
Posted: Fri, 2010-03-26 20:20

I've tried deleting the module directory and reinstalling. Not sure what to do next. I wish the versioning of Gallery itself was a little clearer. That said, maybe I'll wait a little while and try upgrading the Gallery installation...

 
Glooper

Joined: 2005-09-21
Posts: 225
Posted: Fri, 2010-03-26 20:31

k...

Well I'll try some more investigating on monday and let you know how i get on. Hopefully I can eventually find out whats going on! as at the moment It's making no sense to me!! :S

you can check the versions of g3's database at least by going to

http://yourdomain.com/gallery3/index.php/upgrader

which will show the versions currently installed... mine is the following

Shopping Basket | 3 | 3
contact | 1 | 1
Gallery 3 | 30 | 30
GWT Organise | 1 | 1
Organize | 1 | 1
Users and Groups | 3 | 3
User Homes | 1 | 1

Ben

Benjamin Albert Smith - Photography
Pikitia - New Zealand Photography

 
huebi

Joined: 2008-03-03
Posts: 58
Posted: Sat, 2010-03-27 19:54

What about all these cache files in the zip file for version 11?

http://reisetraeume.com

 
Glooper

Joined: 2005-09-21
Posts: 225
Posted: Sat, 2010-03-27 21:15

the cache files are the actual javascript code created by the GWT compiler. GWT names them *.cache as to allow them to be cached by the browser, to speed up downloads. Each time I build the application it creates new names for each of the cached files to ensure that the browser will download the new versions rather than using the cached versions. This is why there is a file called *.nocache.js which is the only file that should not be cached by the browser and is downloaded every time.

Ben

Benjamin Albert Smith - Photography
Pikitia - New Zealand Photography

 
davert

Joined: 2009-01-22
Posts: 81
Posted: Mon, 2010-03-29 14:19

It would probably help if we had more precise version numbers across the board in this project. There are numerous RC1 builds... numerous GWT Organize builds showing as "1" ...

 
Glooper

Joined: 2005-09-21
Posts: 225
Posted: Mon, 2010-03-29 18:26

yeah, agreed. That version number I mentioned above is the database version number for each of the module... to ensure database changes occur correctly. There isn't any versioning of the code.

I'll see if I can add a build number into gwt organise (I'll see if there is a way to automate this) and the other modules I've written.

Ben

Benjamin Albert Smith - Photography
Pikitia - New Zealand Photography

 
davert

Joined: 2009-01-22
Posts: 81
Posted: Mon, 2010-03-29 18:33

Okay, that makes more sense.

 
mamouneyya

Joined: 2009-11-02
Posts: 337
Posted: Thu, 2010-04-08 12:03

- Problems:
(1) When I try to expand/open one of the albums I have (a particular one), this error keeps appearing:

a Unexpected Error 
java.lang.Throwable: java.lang.IllegalArgumentException: empty argument - http://127.0.0.1/~mamoun/_gallery_rest/index.php/json_album/children/24
 Unknown.R0(Unknown source:0) 
 Unknown.uI(Unknown source:0) 
 Unknown.Yt(Unknown source:0) 
 Unknown.SF(Unknown source:0) 
 Unknown.xG(Unknown source:0) 
 Unknown.<anonymous>(Unknown source:0) 
 Unknown.gx(Unknown source:0)

From the log:

2010-04-08 04:50:35 -07:00 --- error: ORM_Validation_Exception [ 44 ]: ORM Validation has failed for items model
/Users/mamoun/Sites/_gallery_rest/system/libraries/ORM_Validation_Exception.php [ 20 ]
#0 /Users/mamoun/Sites/_gallery_rest/system/libraries/ORM.php(755): ORM_Validation_Exception_Core::handle_validation('items', Object(Validation))
#1 /Users/mamoun/Sites/_gallery_rest/modules/gallery/models/item.php(761): ORM_Core->validate(NULL)
#2 /Users/mamoun/Sites/_gallery_rest/system/libraries/ORM.php(778): Item_Model->validate()
#3 /Users/mamoun/Sites/_gallery_rest/modules/gallery/libraries/MY_ORM.php(23): ORM_Core->save()
#4 /Users/mamoun/Sites/_gallery_rest/modules/gallery/libraries/ORM_MPTT.php(79): ORM->save()
#5 /Users/mamoun/Sites/_gallery_rest/modules/gallery/models/item.php(487): ORM_MPTT_Core->save()
#6 /Users/mamoun/Sites/_gallery_rest/modules/gallery/models/item.php(270): Item_Model->save()
#7 /Users/mamoun/Sites/_gallery_rest/modules/gallery/models/item.php(202): Item_Model->relative_path()
#8 /Users/mamoun/Sites/_gallery_rest/modules/gwtorganise/controllers/json_album.php(28): Item_Model->thumb_url()
#9 /Users/mamoun/Sites/_gallery_rest/modules/gwtorganise/controllers/json_album.php(40): Json_Album_Controller->child_json_encode(Object(Item_Model))
#10 /Users/mamoun/Sites/_gallery_rest/modules/gwtorganise/controllers/json_album.php(61): Json_Album_Controller->child_elements('24')
#11 [internal function]: Json_Album_Controller->children('24')
#12 /Users/mamoun/Sites/_gallery_rest/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Json_Album_Controller), Array)
#13 [internal function]: Kohana_Core::instance(NULL)
#14 /Users/mamoun/Sites/_gallery_rest/system/core/Event.php(208): call_user_func_array(Array, Array)
#15 /Users/mamoun/Sites/_gallery_rest/application/Bootstrap.php(67): Event_Core::run('system.execute')
#16 /Users/mamoun/Sites/_gallery_rest/index.php(91): require('/Users/mamoun/S...')
#17 {main}

(2) The context menu of the interface as well as the message appears in the bottom asking you to install Google Gears to be able to upload, are both not translatable.

- Suggestion:
It will be more consistent with RTL mode, if the organize interface of this module get flipped, just like how Gallery organize looks in RTL.

Thanks! :)

 
davert

Joined: 2009-01-22
Posts: 81
Posted: Thu, 2010-06-17 12:42

Just thought I'd update. Today I got a blank screen and ended up simply wiping out the entire apps directory (in other words all but /modules and /var) and re-uploading with the latest nightly RC1 build. The problem remains. Quite annoying not to be able to move pictures out (at least not at a rate greater than 1/minute using the built in tools).

Edit: Used git to update to latest version on 6/16/2010 with same result.

 
jsimonis
jsimonis's picture

Joined: 2010-08-07
Posts: 2
Posted: Sat, 2010-08-07 10:47

Wanted to test this out, but it does not work on the latest release candidate for Gallery 3. I get an error page when I click on the GWT Organise tab.

Jenni Simonis
Gresham, OR
http://www.forwardsupport.com

 
Glooper

Joined: 2005-09-21
Posts: 225
Posted: Tue, 2010-08-10 04:04

Hi Jenni,

Working on an updated version for rc2 now. Hopefully shouldn't take long to fix :-)

Ben

Benjamin Albert Smith - Photography
Pikitia - New Zealand Photography

 
Glooper

Joined: 2005-09-21
Posts: 225
Posted: Tue, 2010-08-10 04:15

Just noticed that RC2 has the new Flash organize module installed in, as such is there a need for a GWT organise module anymore?

Ben

Benjamin Albert Smith - Photography
Pikitia - New Zealand Photography

 
Glooper

Joined: 2005-09-21
Posts: 225
Posted: Tue, 2010-08-10 04:21

Hi Jenni,

Seems to be working for me? I pulled the latest g3 from github. The version of GWT Organise I am using is

"GWT Organise version built on Fri, 16-April-2010 14:55:28 NZST"

Ben

Benjamin Albert Smith - Photography
Pikitia - New Zealand Photography

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7985
Posted: Tue, 2010-08-10 04:51

@Glooper: there's still lots of people unhappy with the flash based solution so if you're motivated to keep working on the GWT version, I think that'd be a really great idea. If the GWT version catches up to the Flash one, we should definitely advance it as an alternative choice.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git

 
emcquaid

Joined: 2010-08-27
Posts: 1
Posted: Sun, 2010-08-29 06:04

Has anyone noticed bizarre behaviour re: rotation? I batch rotated about 20 of 60 photos in an album. They all needed to be 90 Counter clockwise once. When I selected "Rotate All Counter-Clockwise" they rotated Clockwise. So I had to repeat that operation 3 times to get the correct orientation. Very repeatable, happened many times. Then, when I go into the album and try to click to see the full size image, the image never shows. The images that have been rotated in GWT cannot be viewed in full size(all unrotated images show fullsize fine). This is Firefox 3.6.8.

Rotating one photo works correctly for the resized image, but again cannot be viewed in full size.

I have Downloadfullsize also installed.

Now the weird part. The full size images show up just fine when I switch to IE7. Spooky huh?

Any ideas?

Thanks for the awesome G3 and the super helpful module GWT Organise.

Eric

 
jklobo

Joined: 2009-10-24
Posts: 6
Posted: Tue, 2010-08-31 00:48

Yes, Eric. I noticed the same behavior while using Chrome.

 
pking100

Joined: 2005-08-29
Posts: 39
Posted: Sat, 2010-09-04 20:25

I can't move photo's within an album with this either. I got the new version and installed it. I have the album in manual sort - see the blue line when I move a highlighted photo but it doesn't change the position it was in. I'm using firefox, have google gears installed.

 
Glooper

Joined: 2005-09-21
Posts: 225
Posted: Sat, 2010-09-04 21:05

I imagine there are some interop problems with the latest gallery3. I'll try and update when we are close to the next official release.

Benjamin Albert Smith - Photography
Pikitia - New Zealand Photography

 
ravana

Joined: 2006-06-23
Posts: 5
Posted: Sat, 2010-10-09 21:15

Hey Glooper, I've been following this thread for a while & finally upgraded to g3 today.

Is the version in your first post the updated version (11 or whatever) in the later posts?

 
Glooper

Joined: 2005-09-21
Posts: 225
Posted: Sun, 2010-10-10 01:19

Just checked and the version on Gallery Modules is the latest version.

Cheers
Ben

Benjamin Albert Smith - Photography
Pikitia - New Zealand Photography

 
nextgencharity

Joined: 2010-11-23
Posts: 1
Posted: Wed, 2010-11-24 05:26

Hi there. I am able to see the photos, but when I go to move a photo between albums, I get the following error (from the logs). I'm happy to PM login / SSH info to debug. Thanks!:

2010-11-23 21:16:19 -08:00 --- error: ErrorException [ 0 ]: Undefined index: sourceids
/nfs/c03/h04/mnt/49751/domains/domain.com/html/gallery/modules/gwtorganise/controllers/json_album.php [ 84 ]
#0 /nfs/c03/h04/mnt/49751/domains/domain.com/html/gallery/modules/gwtorganise/controllers/json_album.php(84): gallery_error_Core::error_handler('389')
#1 [internal function]: Json_Album_Controller->move_to(Object(Json_Album_Controller), Array)
#2 /nfs/c03/h04/mnt/49751/domains/domain.com/html/gallery/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(NULL)
#3 [internal function]: Kohana_Core::instance(Array, Array)
#4 /nfs/c03/h04/mnt/49751/domains/domain.com/html/gallery/system/core/Event.php(208): call_user_func_array('system.execute')
#5 /nfs/c03/h04/mnt/49751/domains/domain.com/html/gallery/application/Bootstrap.php(67): Event_Core::run()
#6 /nfs/c03/h04/mnt/49751/domains/domain.com/html/gallery/index.php(97): require('/nfs/c03/h04/mn...')
#7 {main}

The above is regarding GWT Organise. For "Organize" I just see a blank box with no photos, and no errors or logs.

 
disrupter
disrupter's picture

Joined: 2008-03-14
Posts: 34
Posted: Wed, 2010-12-08 12:48

How can you activate this module for non-admins?

 
mystavash

Joined: 2004-09-12
Posts: 69
Posted: Wed, 2010-12-15 03:16

I experience this same problem with rotating (though not with viewing the full size images). I have gwtorganise version 1, Firefox 3.6.13, Google Gears 0.5.36.0, and Gallery 3 (santa fe). As emcquaid says, it's very repeatable.

In addition, I recently had a problem when the drag and drop stopped working in an album. I don't really know why it didn't work. There were already several images in the album, 60 or so, and I was adding 9 images. However, the album window didn't turn blue, as it should have, when I dragged the images to it, and when I dropped, the window just disappeared. More specifically, it acted like any other browser window would if you dragged and dropped an image in it, the location bar showed the file location of the image.

Anisa.

emcquaid wrote:
Has anyone noticed bizarre behaviour re: rotation? I batch rotated about 20 of 60 photos in an album. They all needed to be 90 Counter clockwise once. When I selected "Rotate All Counter-Clockwise" they rotated Clockwise. So I had to repeat that operation 3 times to get the correct orientation. Very repeatable, happened many times. Then, when I go into the album and try to click to see the full size image, the image never shows. The images that have been rotated in GWT cannot be viewed in full size(all unrotated images show fullsize fine). This is Firefox 3.6.8.

Rotating one photo works correctly for the resized image, but again cannot be viewed in full size.

I have Downloadfullsize also installed.

Now the weird part. The full size images show up just fine when I switch to IE7. Spooky huh?

Any ideas?

Thanks for the awesome G3 and the super helpful module GWT Organise.

Eric

 
federicorango

Joined: 2010-12-17
Posts: 20
Posted: Sun, 2010-12-26 10:07

I have install module "GWT Organize", this module is on the menu admin, there is the possibility to insert this option on menu "album option" for all user ?

Tanks

 
alik99
alik99's picture

Joined: 2006-07-01
Posts: 52
Posted: Mon, 2010-12-27 15:33

uploading pictures stopped working
at the end gives upload error (pop-up box) and nothing else

anyone else has this problem?

 
alik99
alik99's picture

Joined: 2006-07-01
Posts: 52
Posted: Wed, 2010-12-29 13:50
alik99 wrote:
uploading pictures stopped working
at the end gives upload error (pop-up box) and nothing else

anyone else has this problem?

I figured it out.

in my .htaccess page I had enabled rewrite mode to get rid of index.php page.
This caused GWT Organize module to stop uploading images.

Would've liked to get rid of index.php page for cleaner URLs but uploading via the module is much more critical since it allows me to resize the images before upload.

 
gregschneider

Joined: 2005-05-06
Posts: 51
Posted: Sun, 2011-01-02 16:47

Is there a way to rearrange items using GWT Organise?

 
undagiga

Joined: 2010-11-26
Posts: 643
Posted: Tue, 2011-01-04 09:09
alik99 wrote:
in my .htaccess page I had enabled rewrite mode to get rid of index.php page.
This caused GWT Organize module to stop uploading images.

I'm having a problem in that whenever I use GWT Organise my web server seems to hang. I wonder if it has the same cause. I could test if by changing my .htaccess but that will affect URLs that people use.

U-G

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25940
Posted: Tue, 2011-01-04 13:56

Just a FYI on the organize front... we are redoing the flash version as well:
http://gallery.menalto.com/node/99939#comment-364458

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
alik99
alik99's picture

Joined: 2006-07-01
Posts: 52
Posted: Tue, 2011-01-04 15:37
floridave wrote:
Just a FYI on the organize front... we are redoing the flash version as well:
http://gallery.menalto.com/node/99939#comment-364458

Dave

can it prettly please have an option to resize pictures before upload?

 
Glooper

Joined: 2005-09-21
Posts: 225
Posted: Tue, 2011-01-04 19:02

@gregschneider ... you can rearrange the album using GWT Organise. You first have to edit the album and change it to manual sort. You can then drag and drop the items around to arrange them.

Benjamin Albert Smith - Photography
Pikitia - New Zealand Photography

 
wise_mike

Joined: 2008-10-21
Posts: 149
Posted: Wed, 2011-01-19 04:03

is there a way to remove that /index.php/ that shows in the generated URL using .htaccess without affecting how GWT Organize works?

Thanks,