Register   Login
     
  Latest Posts  
custom field type:url
by aviavia on 11/23/2008 7:13 PM
Module Development Techniques
by hchattaway on 11/23/2008 5:14 PM
Customizing the URL a little further
by tmahmud on 11/23/2008 4:11 PM
RE: Google Maps
by smcculloch on 11/23/2008 10:29 AM
RE: I cant get rss feeds to work correctly
by smcculloch on 11/23/2008 10:27 AM
captcha still proken
by StatisticsIO on 11/23/2008 6:11 AM
RE: Comments RSS feeds
by StatisticsIO on 11/23/2008 6:09 AM
Regions and Copuntry List scripts for Location Types
by rodneyjoyce on 11/23/2008 4:56 AM
RE: BUG: Sort by: Price
by usheen on 11/23/2008 1:23 AM
RE: News Articles 301 Redirect
by mcox on 11/22/2008 11:16 PM
  Forums  
Subject: SimpleGallery 2.3.4 Syncronize Error
Prev Next
You are not authorized to post a reply.

Author Messages
Ezra KlugUser is Offline
Gold Membership
Nuke Active Member
Nuke Active Member
Posts:41

3/07/2008 5:59 PM  

DNN: 4.8.1
SimpleGallery: 2.3.4

Logged in as HOST.

While Syncronizing an Album that has no images and no sub-folders (an empty physical folder) yet has sub-albums in the SimpleGallery interface; I get the following error:

Error: Edit Album is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Out of memory. ---> System.OutOfMemoryException: Out of memory. at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement) at System.Drawing.Image.FromFile(String filename) at Ventrian.SimpleGallery.EditAlbum.SynchAlbum(Int32 albumID) at Ventrian.SimpleGallery.EditAlbum.cmdSynchronize_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---

Here is the error produced in the Logs:

ModuleId: 407
ModuleDefId: 98
FriendlyName: Edit Album
ModuleControlSource: DesktopModules/SimpleGallery/EditAlbum.ascx
AssemblyVersion: 04.08.01
PortalID: 0
PortalName: MySite
UserID: 1
UserName: host
ActiveTabID: 60
ActiveTabName: Photo
RawURL: /imagery/Photo/tabid/60/ctl/EditAlbum/mid/407/AlbumID/5/Default.aspx?ReturnUrl=%2fimagery%2fPhoto%2ftabid%2f60%2fDefault.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://MySite/imagery/Photo/tabid/60/ctl/EditAlbum/mid/407/AlbumID/5/Default.aspx?ReturnUrl=%2fimagery%2fPhoto%2ftabid%2f60%2fDefault.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 511f2111-56ed-40b9-81dc-ebb27c770706
InnerException: Out of memory.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Drawing.Image.FromFile
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Out of memory. ---> System.OutOfMemoryException: Out of memory. at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement) at System.Drawing.Image.FromFile(String filename) at Ventrian.SimpleGallery.EditAlbum.SynchAlbum(Int32 albumID) at Ventrian.SimpleGallery.EditAlbum.cmdSynchronize_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Server Name: AServer

Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12450


3/10/2008 5:44 AM  
Thanks, I'll try to reproduce.

Scott McCulloch
Site Administrator
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12450


3/11/2008 5:00 AM  
Hmm, I can't reproduce this.

Here is what I did:-

Created a new album called "Test Album", manually created the folder that it was pointed to because no photos had been uploaded. Added a sub folder called SubFolder.

I then went to the album and hit synch, and it came back with:-

2 album(s) and 0 photo(s) synchronized.

I did find an error when synching an album where the file path didn't exist yet though (no photos uploaded).

Scott McCulloch
Site Administrator
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12450


3/11/2008 6:02 AM  
The synching an album when the physical folder doesn't exist will no longer throw an error in the latest release.

Scott McCulloch
Site Administrator
Ezra KlugUser is Offline
Gold Membership
Nuke Active Member
Nuke Active Member
Posts:41

3/11/2008 10:13 AM  

Correct, the error was thrown when you create the Albums in the SimpleGallery interface and you don't actually go and create a physical folder.

I will get the new version and see if I can reproduce my issue.

Thanks.

Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12450


3/12/2008 3:36 AM  
OK, let me know how you go

Scott McCulloch
Site Administrator
Ezra KlugUser is Offline
Gold Membership
Nuke Active Member
Nuke Active Member
Posts:41

3/12/2008 9:59 AM  
Looks good. I tested with albums that would through that error and created a few new ones for testing.

I did discover that one album still had the error even after the update, but it contained 4 strange 64k images that I could not open or preview in any program...so I deleted them through the OS.

Issue resolved.

Thanks!
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12450


3/14/2008 3:30 AM  
Thanks Ezra for helping out with the debugging.

Scott McCulloch
Site Administrator
UncaYimmyUser is Offline
Registered Users
Nuke Newbie
Nuke Newbie
Posts:8

9/11/2008 11:57 PM  
I received the same error message. Turns out it was a permissions problem on the server.
You are not authorized to post a reply.
Forums > General > Bugs & Problems > SimpleGallery 2.3.4 Syncronize Error



ActiveForums 3.7