 |
 |
iPhoto '08, Photon & Development
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jun 2004
Status:
Offline
|
|
For those of us that use MT or Wordpress and iPhoto a plugin called Photon has become indispensable. However, the author stopped development, but he open sourced the plugin. The plugin works only on PPC and seems to crash on the latest version of iPhoto. I have tried opening the plugin in XCode and attempting to figure out something, but I come up completely short. Can anyone take a look at this: Daikini. Photon. and give me some help in
a) Compiling this for Intel
b) Fixing whatever issue it is that causes iPhoto to crash when using this plugin
Any help is much appreciated. Thanks.
|
|
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Mar 2000
Location: Salem, OR, USA
Status:
Offline
|
|
I don't use blogging software and I don't have iPhoto '08, but I was able to compile Photon into a Universal Binary.
Someone let me know if this works.
Index of /photon
Installation instructions are in the Read-Me.pdf file on the web site.
-numero
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jun 2004
Status:
Offline
|
|
The file seems to work, but exporting crashes the app. The reporter has this:
Code:
Date/Time: 2007-08-27 09:26:23.255 -0400
OS Version: 10.4.10 (Build 8R2218)
Report Version: 4
Command: iPhoto
Path: /Applications/iPhoto.app/Contents/MacOS/iPhoto
Parent: WindowServer [56]
Version: 7.0.1 (7.0.1)
Build Version: 3
Project Name: iPhotoProject
Source Version: 3340000
PID: 275
Thread: 7
Exception: EXC_BREAKPOINT (0x0006)
Code[0]: 0x00000002
Code[1]: 0x00000000
Thread 0:
0 libSystem.B.dylib 0x90009cd7 mach_msg_trap + 7
1 com.apple.CoreFoundation 0x9082d2b3 CFRunLoopRunSpecific + 2014
2 com.apple.CoreFoundation 0x9082cace CFRunLoopRunInMode + 61
3 com.apple.HIToolbox 0x92df29b8 RunCurrentEventLoopInMode + 285
4 com.apple.HIToolbox 0x92df20c2 ReceiveNextEventCommon + 385
5 com.apple.HIToolbox 0x92df1f19 BlockUntilNextEventMatchingListInMode + 81
6 com.apple.AppKit 0x93279465 _DPSNextEvent + 572
7 com.apple.AppKit 0x93279056 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 137
8 com.apple.AppKit 0x933441d4 -[NSApplication _realDoModalLoop:peek:] + 439
9 com.apple.AppKit 0x93342fab -[NSApplication runModalForWindow:] + 171
10 com.apple.iPhoto 0x000e51c7 0x1000 + 934343
11 com.apple.AppKit 0x93366d88 -[NSApplication sendAction:to:from:] + 107
12 com.apple.AppKit 0x93414ce7 -[NSMenu performActionForItemAtIndex:] + 455
13 com.apple.AppKit 0x93414a29 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 103
14 com.apple.AppKit 0x93345e16 _NSHandleCarbonMenuEvent + 477
15 com.apple.AppKit 0x932797fc _DPSNextEvent + 1491
16 com.apple.AppKit 0x93279056 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 137
17 com.apple.AppKit 0x93272ddb -[NSApplication run] + 512
18 com.apple.AppKit 0x93266d2f NSApplicationMain + 573
19 com.apple.iPhoto 0x00002b46 0x1000 + 6982
20 com.apple.iPhoto 0x00002a6d 0x1000 + 6765
Thread 1:
0 libSystem.B.dylib 0x900248c7 semaphore_wait_signal_trap + 7
1 com.apple.Foundation 0x9284b26c -[NSConditionLock lockWhenCondition:] + 39
2 com.apple.AppKit 0x93350270 -[NSUIHeartBeat _heartBeatThread:] + 377
3 com.apple.Foundation 0x927f52e0 forkThreadForFunction + 123
4 libSystem.B.dylib 0x90024227 _pthread_body + 84
Thread 2:
0 libSystem.B.dylib 0x9001a1cc select + 12
1 libSystem.B.dylib 0x90024227 _pthread_body + 84
Thread 3:
0 libSystem.B.dylib 0x90037b57 mach_wait_until + 7
1 libSystem.B.dylib 0x9003a222 usleep + 82
2 com.apple.iLifeMediaBrowser 0x01044670 -[ILMediaBrowserPathWatcher release] + 66
3 com.apple.Foundation 0x927ff4b9 __delayedPerformCleanup + 36
4 com.apple.CoreFoundation 0x90856057 CFRunLoopTimerInvalidate + 380
5 com.apple.CoreFoundation 0x9082d866 CFRunLoopRunSpecific + 3473
6 com.apple.CoreFoundation 0x9082cace CFRunLoopRunInMode + 61
7 com.apple.Foundation 0x9282ad3a -[NSRunLoop runMode:beforeDate:] + 182
8 com.apple.Foundation 0x928788e4 -[NSRunLoop runUntilDate:] + 78
9 com.apple.iLifeMediaBrowser 0x01045d05 -[ILMediaBrowserPathWatcher watcherThread:] + 608
10 com.apple.Foundation 0x927f52e0 forkThreadForFunction + 123
11 libSystem.B.dylib 0x90024227 _pthread_body + 84
Thread 4:
0 libSystem.B.dylib 0x90009cd7 mach_msg_trap + 7
1 com.apple.CoreFoundation 0x9082d2b3 CFRunLoopRunSpecific + 2014
2 com.apple.CoreFoundation 0x9082cace CFRunLoopRunInMode + 61
3 com.apple.Foundation 0x9282ad3a -[NSRunLoop runMode:beforeDate:] + 182
4 com.apple.Foundation 0x928788e4 -[NSRunLoop runUntilDate:] + 78
5 com.apple.iLifeMediaBrowser 0x01047f00 -[ILMediaBrowserPathWatcher(SpotlightSupport) spotlightWatcherThread:] + 725
6 com.apple.Foundation 0x927f52e0 forkThreadForFunction + 123
7 libSystem.B.dylib 0x90024227 _pthread_body + 84
Thread 5:
0 libSystem.B.dylib 0x90009cd7 mach_msg_trap + 7
1 com.apple.CoreFoundation 0x9082d2b3 CFRunLoopRunSpecific + 2014
2 com.apple.CoreFoundation 0x9082cace CFRunLoopRunInMode + 61
3 com.apple.Foundation 0x9282aa0f +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:] + 259
4 com.apple.Foundation 0x927f52e0 forkThreadForFunction + 123
5 libSystem.B.dylib 0x90024227 _pthread_body + 84
Thread 6:
0 libSystem.B.dylib 0x90009cd7 mach_msg_trap + 7
1 com.apple.CoreFoundation 0x9082d2b3 CFRunLoopRunSpecific + 2014
2 com.apple.CoreFoundation 0x9082cace CFRunLoopRunInMode + 61
3 com.apple.Foundation 0x92851bc2 +[NSURLCache _diskCacheSyncLoop:] + 206
4 com.apple.Foundation 0x927f52e0 forkThreadForFunction + 123
5 libSystem.B.dylib 0x90024227 _pthread_body + 84
Thread 7 Crashed:
0 com.apple.Foundation 0x9282847f _NSRaiseError + 227
1 com.apple.Foundation 0x9284f23f +[NSException raise:format:] + 57
2 com.apple.Foundation 0x928d74be -[NSObject doesNotRecognizeSelector:] + 123
3 com.apple.Foundation 0x927fb34b -[NSObject(NSForwardInvocation) forward::] + 184
4 libobjc.A.dylib 0x90a5ccc1 _objc_msgForward + 49
5 com.daikini.Photon 0x17eb6d0a -[Photon performExport:] + 1838
6 com.apple.iPhoto 0x000e5afb 0x1000 + 936699
7 com.apple.Foundation 0x927f52e0 forkThreadForFunction + 123
8 libSystem.B.dylib 0x90024227 _pthread_body + 84
Thread 8:
0 libSystem.B.dylib 0x90037b57 mach_wait_until + 7
1 libSystem.B.dylib 0x9003a222 usleep + 82
2 com.apple.iLifeMediaBrowser 0x01044670 -[ILMediaBrowserPathWatcher release] + 66
3 com.apple.Foundation 0x927f8586 __NSFinalizeThreadData + 145
4 libSystem.B.dylib 0x90025400 _pthread_tsd_cleanup + 88
5 libSystem.B.dylib 0x90024f88 pthread_exit + 83
6 com.apple.Foundation 0x927f52f8 forkThreadForFunction + 147
7 libSystem.B.dylib 0x90024227 _pthread_body + 84
Thread 7 crashed with X86 Thread State (32-bit):
eax: 0x160c6000 ebx: 0x928283aa ecx: 0x90a66b30 edx: 0x01487b00
edi: 0x1834c5b0 esi: 0x1832d420 ebp: 0xb03b3c28 esp: 0xb03b3bc0
ss: 0x0000001f efl: 0x00000246 eip: 0x9282847f cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
It won't let me post the full log, so I have cut out much of the bottom information. Thanks again for compiling this!
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Sep 2007
Status:
Offline
|
|
Just a while ago, I saw this thread, searching the web for any open source plugins for iPhoto '08 for Wordpress. Since it wasn't working for iPhoto '08, I thought I could make the plugin working, to at least remove the "Invalid plugin" messages I'm seeing in the logs.
First was to add the new iPhoto SDK headers (using Daikini.com's source code for Photon), pointed the includes to the new headers instead of the old ones (or those embedded in the source files), then added a protocol method
-(BOOL) handlesMovieFiles, and make it return "NO", and finally, to prevent the crashing, changed all of the lone ExportManager instance's calls "imageCaptionAtIndex:" to "imageTitleAtIndex:", and all "albumName" calls to "albumNameAtIndex:0". I'm not actually sure if this is the right thing to do, but at least the build managed to compile, and show up in my export dialog, export without crashing.
The only things I'm getting are XML-RPC-related errors. It always throws out "Error code -32700", and it suggests that my XML-RPC request is malformed. This is the part where it requests the "metaWeblog.newMediaObject" method. I already used XML-Nanny to make sure that the XML is in good shape. What could be causing this?
Please please do help me.
(Last edited by jofell; Sep 3, 2007 at 09:56 PM.
)
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jun 2004
Status:
Offline
|
|
I am glad someone has made progress on this! Jofell could you please post your compiled version of Photon?
I can thus test it again MT and see if I am presented with the same error, hopefully helping you figure out why the error presents itself. Thanks.
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Sep 2007
Status:
Offline
|
|
You can download my build here. But it doesn't promise anything like if it should work on other platforms, e.g. TypePad, Blojsom, or MovableType. Only tested this for Wordpress...
Here is the link
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jun 2004
Status:
Offline
|
|
A test with MT4 shows an export with no errors of any kind. This might be just a wordpress issue?
I did some searching and found this:
And let me add a great big thank you. It is absolutely wonderful to get this plugin working again.
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Sep 2007
Status:
Offline
|
|
Wait a minute... so it DID WORK for you? What's your blog and what version? Are you using PowerPC here (always thought it's an architecture thing...)?
Never really thought the build could work  My pleasure to be of help.
(Last edited by jofell; Sep 4, 2007 at 01:50 PM.
)
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jun 2004
Status:
Offline
|
|
I am using MovableType, version 4. I had to take down my photoblog recently, so I have started re-populating it and, touch wood, I have yet to have a crash or an error. All the values are passed through the XML-RPC into the entries.
Even your new feature to ignore movies works great  . Creating categories of course does not work for MT, but everything else runs. BTW you should add your name to the credits in the plugin! This has taken a while, but I am glad it works.
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Sep 2007
Status:
Offline
|
|
I was actually thinking of maintaining the project, and add a few stuff that could make photoblogging easier for me. I always post photos of events to my blog, and it kinda sucks that I have to go through the painful process of exporting each image to a size fitted for my blog, and then use the Wordpress UI for composing the post.
BTW, I'm the lead dev for Bandwagon, so you guys might want to check that out (if you don't call this SPAM).
Bandwagon - iTunes online backup + sync for music aficionados
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jun 2004
Status:
Offline
|
|
If you do maintain the project and especially add features, I would be much obliged to test them out and do any leg work necessary for making it compatible with MovableType.
Hopefully you got the XML-RPC issues with WordPress worked out and thanks again!
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Sep 2007
Status:
Offline
|
|
|
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Sep 2007
Status:
Offline
|
|
Hi guys.
Just updated my build of Photon. Please help me test this one as for this should fix a few stuff in iPhoto '06.
Thanks.
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Sep 2007
Status:
Offline
|
|
Hi again.
I just put up a blog for my build of Photon and decided to contribute to it through this blog:
Photon — Photon - iPhoto Plugin for Blogs
I won't be uploading Photon to my home blog site now, so please keep up to date using the site above.
Thanks again.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|