The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > Native iPhone / iPod Touch App Discussion
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 02-18-2008, 10:25 AM
What's Jailbreak?
 
Join Date: Feb 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Pericam not working under 1.1.3 - HELP

Yo guys,

i really want this Pericam (http://www.iamas.ac.jp/~aka/iphone/#picomemo.app) app on my iphone 1.1.3. I totally followed the instructions on this page which wasn't a problem http://www.iamas.ac.jp/~aka/iphone/Pericam.html but i still get Error "Can't start interval shooting" when i press the button which should start the interval photo shoot.

Anyone got the same problem? Maybe someone figured how to fix this?!

Thanks in advance.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #2  
Old 02-18-2008, 10:53 AM
iBlade's Avatar
My iPhone is a Part of Me
 
Join Date: Oct 2007
Device + Firmware: 1.gen 1.1.4 16 GB, white 3G original unlocked by apple now 2.1
Operating System: Windows XP, Ubuntu 7.04 with Beryl
Posts: 815
Thanks: 43
Thanked 356 Times in 212 Posts

Same here I can not get it running no matter what I try. It works with no problem on my 1.1.1 but on my 1.1.3 it gives the same error. I hope it gets updated to work on 1.1.3.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3  
Old 02-18-2008, 12:46 PM
iPhoneaholic
 
Join Date: Sep 2007
Device + Firmware: iPhone 3GS, 3G & 2G
Operating System: OSX 10.5.x & Windows XP
Posts: 365
Thanks: 14
Thanked 63 Times in 52 Posts

I had a really hard time getting this one to work as well. But I finally did it, and then I was able to make a HUGE improvement as well: I figured out how to get it to save (OK, well really to move) the pictures to the Camera Roll as well. It rocks now.

Here's what I did:

• Install Pericam.app, give it 777 privs recursively.

• chmod +s /Applications/Pericam.app/Pericam

• Install /usr/bin/reduceJPG with 777 privs

• Install /var/root/bin/picSnap with 777 privs

• CRITICAL STEP: Manually create a folder called PERICAM here:
/var/mobile/Media/DCIM/100APPLE/PERICAM
Give it 777 privs as well.
For me, this was the step that did the trick initially.

This assumes that you have a symlink going from /var/root/Media to the real folder located in /var/mobile/Media . Not every Jailbreak does this, but it solves lots of older app problems for me.

Now, test Pericam. If it works, you can go on to the next step. If it doesn't, you have some other issue. The way I solved this was to SSH in from Terminal on my Mac and launch Pericam from there. The messages are very informative. It's possible it can run that way and still not run on your phone, because it's running as root.

My Little Hack:
(DON'T DO THIS UNTIL YOU HAVE Pericam running 'normally', it will only complicate troubleshooting!)

I was excited to get Pericam running at last, but looking at the pictures was too much work. In fact, the instructions said that they'd show up in iPhoto, but that didn't work, so I initially had to manually copy them off the phone.

It turns out to be pretty easy to add them to the Camera Roll! No restart necessary, it's all automatic, and they behave exactly like pictures you had taken any other way. This makes Pericam much more useful to me.

Just replace the pericam.sh script (inside the Pericam.app folder) with the one attached here (of course, unzip it first!) and give it 755 permissions.

Now when you take pictures with Pericam, they will automatically be added to the Camera Roll like any other picture you've taken.

Enjoy!
Attached Files
File Type: zip pericam.sh.zip (430 Bytes, 209 views)

Last edited by DaveiPhone; 02-20-2008 at 12:30 AM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4  
Old 02-18-2008, 01:21 PM
What's Jailbreak?
 
Join Date: Feb 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

What do you mean with a Symlink? How to do that? Maybe you could explain that a bit more detailed. (Besides I have some difficulties with english language if it gets to complicated lol...sorry).

I created that folder and set permissions but it's still not working for me =(
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #5  
Old 02-19-2008, 01:56 PM
What's Jailbreak?
 
Join Date: Feb 2008
Device + Firmware: iPhone 1.1.3
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts

Thanks for your post man,

I have set the permissions on each of those files to 777 and created the hard folder in the directory specified, I believe my symbolic link is working as I see:

# cd /var/mobile/Media
# ls -la
total 16
drwxr-xr-x 9 mobile mobile 442 Feb 19 23:26 .
drwxr-x--- 4 mobile mobile 170 Feb 9 13:44 ..
-rw-r--r-- 1 mobile mobile 1568 Feb 8 21:11 AppSnapp.log
drwxr-xr-x 4 mobile mobile 170 Feb 19 23:22 DCIM
drwxr-xr-x 2 mobile mobile 102 Feb 10 12:59 Documents
drwxr-xr-x 2 mobile mobile 102 Feb 9 18:03 Downloads
lrwxr-xr-x 1 root mobile 15 Feb 19 23:26 Media -> /var/root/Media
drwxr-xr-x 3 mobile mobile 136 Feb 19 19:55 Photos
drwxr-xr-x 2 mobile mobile 102 Feb 10 12:59 Recordings
-rw-r--r-- 1 mobile mobile 0 Feb 9 10:24 com.apple.itunes.lock_sync
crw-r--r-- 1 mobile mobile 14, 1 Feb 9 10:33 disk
drwxr-xr-x 6 mobile mobile 204 Feb 10 14:01 iTunes_Control
drwxr-xr-x 4 mobile mobile 884 Feb 9 10:35 touchFree

---------
since i am new to this I am not sure if that is correct, but does the Media -> /var/root/Media line in this folder mean that is right?

I still get the same error message as the rest of the posters when I try to start Pericam - any other ideas?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #6  
Old 02-19-2008, 02:26 PM
iPhoneaholic
 
Join Date: Sep 2007
Device + Firmware: iPhone 3GS, 3G & 2G
Operating System: OSX 10.5.x & Windows XP
Posts: 365
Thanks: 14
Thanked 63 Times in 52 Posts

Quote:
lrwxr-xr-x 1 root mobile 15 Feb 19 23:26 Media -> /var/root/Media
Your symlink is not correct. This line indicates you created a symlink INSIDE the /var/mobile/Media folder going back to root, which won't help in any way.

The idea is to have a symlink called Media in /var/root/ that points to a real folder called Media in /var/mobile/
Older firmware had the Media folder located inside root. By putting a symlink there, pointing to the new location inside mobile, old and new apps will effectively look in the same place.

So if you do this in terminal:

cd /var/root/
ls -la

You should see:
lrwxr-xr-x 1 root wheel 17 Feb 1 12:52 Media -> /var/mobile/Media

In addition, if you do this:

cd /var/root/Media/DCIM/100APPLE
ls -la

You should see this:
drwxrwxrwx 2 mobile mobile 68 Feb 19 10:53 PERICAM

Then, at least you know you have the folder and symlink in the right spots.

If you still have trouble after that, try launching Pericam from Terminal by entering:

/Applications/Pericam.app/Pericam

The output in Terminal will be very helpful in determining where the problem lies.

Last edited by DaveiPhone; 02-19-2008 at 02:45 PM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to DaveiPhone For This Useful Post:
pechorin (02-19-2008)
  #7  
Old 02-19-2008, 04:33 PM
What's Jailbreak?
 
Join Date: Feb 2008
Device + Firmware: iPhone 1.1.3
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts

rmdir: /var/root/Media/DCIM/100APPLE/PERICAM/*: No such file or directory
Dave, I really appreciate your reply. I know that I had it all wrong, and thanks for confirming! I ran the app and the output in terminal is:

picSnap is /var/root/bin/picSnap
reduceJPEG is /usr/bin/reduceJPEG
2008-02-20 02:22:01.999 Pericam[131:d03] pericam.sh is not running.
2008-02-20 02:22:02.844 Pericam[131:d03] updateTimer
2008-02-20 02:22:03.844 Pericam[131:d03] updateTimer
2008-02-20 02:22:04.844 Pericam[131:d03] updateTimer

ad infinitum

Now, if we wanted to fix our symlinks, could you tell us what to type and where to set them up right and make those two ls -la commands show the right results?

Once again man, much appreciated. I dont want to take the risk in charging in myself and wrecking the whole thing!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #8  
Old 02-19-2008, 05:01 PM
iPhoneaholic
 
Join Date: Sep 2007
Device + Firmware: iPhone 3GS, 3G & 2G
Operating System: OSX 10.5.x & Windows XP
Posts: 365
Thanks: 14
Thanked 63 Times in 52 Posts

pechorin:

From your output, it looks like you didn't press the "Start Interval Shooting" button on the phone. Pressing that should give different output that will give us the info we need to see what's going wrong.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #9  
Old 02-20-2008, 12:01 AM
What's Jailbreak?
 
Join Date: Feb 2008
Device + Firmware: iPhone 1.1.3
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts

ah, ok: (ps. another stupid q; how do i turn it off? do i have to do that in terminal too? i cant quit the program on the iphone without power cycling it)

# /Applications/Pericam.app/Pericam
rmdir: /var/root/Media/DCIM/100APPLE/PERICAM/*: No such file or directory
picSnap is /var/root/bin/picSnap
reduceJPEG is /usr/bin/reduceJPEG
2008-02-20 09:58:46.228 Pericam[79:d03] pericam.sh is not running.
2008-02-20 09:58:47.067 Pericam[79:d03] updateTimer
2008-02-20 09:58:47.846 Pericam[79:d03] command = echo "0-59/60 * * * * /Applications/Pericam.app/pericam.sh 160 20" | crontab
0-59/60 * * * * /Applications/Pericam.app/pericam.sh 160 20
2008-02-20 09:58:48.062 Pericam[79:d03] pericam.sh is running.
2008-02-20 09:58:48.111 Pericam[79:d03] updateTimer
2008-02-20 09:58:49.067 Pericam[79:d03] updateTimer
2008-02-20 09:58:50.067 Pericam[79:d03] updateTimer
2008-02-20 09:58:51.067 Pericam[79:d03] updateTimer
2008-02-20 09:58:52.067 Pericam[79:d03] updateTimer
2008-02-20 09:58:53.067 Pericam[79:d03] updateTimer
2008-02-20 09:58:54.067 Pericam[79:d03] updateTimer
2008-02-20 09:58:55.067 Pericam[79:d03] updateTimer
2008-02-20 09:58:56.067 Pericam[79:d03] updateTimer
2008-02-20 09:58:57.067 Pericam[79:d03] updateTimer
2008-02-20 09:58:58.067 Pericam[79:d03] updateTimer
2008-02-20 09:58:59.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:00.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:01.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:02.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:03.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:04.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:05.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:06.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:07.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:08.067 Pericam[79:d03] updateTimer
crontab: no crontab for root
2008-02-20 09:59:09.005 Pericam[79:d03] pericam.sh is not running.
2008-02-20 09:59:09.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:10.637 Pericam[79:d03] updateTimer
2008-02-20 09:59:12.138 Pericam[79:d03] updateTimer
2008-02-20 09:59:13.334 Pericam[79:d03] updateTimer
2008-02-20 09:59:14.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:15.070 Pericam[79:d03] updateTimer
2008-02-20 09:59:16.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:16.587 Pericam[79:d03] command = echo "0-59/5 * * * * /Applications/Pericam.app/pericam.sh 160 20" | crontab
0-59/5 * * * * /Applications/Pericam.app/pericam.sh 160 20
2008-02-20 09:59:16.802 Pericam[79:d03] pericam.sh is running.
2008-02-20 09:59:17.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:18.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:19.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:20.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:21.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:22.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:23.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:24.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:25.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:26.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:27.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:28.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:29.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:30.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:31.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:32.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:33.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:34.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:35.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:36.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:37.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:38.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:39.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:40.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:41.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:42.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:43.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:44.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:45.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:46.067 Pericam[79:d03] updateTimer
crontab: no crontab for root
2008-02-20 09:59:46.942 Pericam[79:d03] pericam.sh is not running.
2008-02-20 09:59:47.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:48.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:49.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:50.071 Pericam[79:d03] updateTimer
2008-02-20 09:59:51.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:52.068 Pericam[79:d03] updateTimer
2008-02-20 09:59:53.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:54.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:55.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:56.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:57.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:58.067 Pericam[79:d03] updateTimer
2008-02-20 09:59:59.067 Pericam[79:d03] updateTimer
2008-02-20 10:00:00.067 Pericam[79:d03] updateTimer
2008-02-20 10:00:01.067 Pericam[79:d03] updateTimer
2008-02-20 10:00:02.067 Pericam[79:d03] updateTimer
2008-02-20 10:00:03.067 Pericam[79:d03] updateTimer
2008-02-20 10:00:04.067 Pericam[79:d03] updateTimer
2008-02-20 10:00:05.067 Pericam[79:d03] updateTimer
2008-02-20 10:00:06.067 Pericam[79:d03] updateTimer
2008-02-20 10:00:07.067 Pericam[79:d03] updateTimer
2008-02-20 10:00:08.067 Pericam[79:d03] updateTimer
2008-02-20 10:00:09.068 Pericam[79:d03] updateTimer
2008-02-20 10:00:10.067 Pericam[79:d03] updateTimer
2008-02-20 10:00:11.067 Pericam[79:d03] updateTimer
2008-02-20 10:00:12.067 Pericam[79:d03] updateTimer
2008-02-20 10:00:13.067 Pericam[79:d03] updateTimer
2008-02-20 10:00:14.067 Pericam[79:d03] updateTimer
2008-02-20 10:00:15.067 Pericam[79:d03] updateTimer
2008-02-20 10:00:16.067 Pericam[79:d03] updateTimer
2008-02-20 10:00:17.067 Pericam[79:d03] updateTimer
2008-02-20 10:00:18.067 Pericam[79:d03] updateTimer
2008-02-20 10:00:19.067 Pericam[79:d03] updateTimer
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #10  
Old 02-20-2008, 12:27 AM
iPhoneaholic
 
Join Date: Sep 2007
Device + Firmware: iPhone 3GS, 3G & 2G
Operating System: OSX 10.5.x & Windows XP
Posts: 365
Thanks: 14
Thanked 63 Times in 52 Posts

Quote:
Originally Posted by pechorin View Post
ah, ok: (ps. another stupid q; how do i turn it off? do i have to do that in terminal too? i cant quit the program on the iphone without power cycling it)
To quit the app from Terminal, just press Control-C

From your output, it looks like you were able to start and stop interval shooting by pressing the button on the phone, and should have some pictures saved (assuming you let it run at some point for at least the length of the timer setting-- 1 = 1 minute).

Check that from Terminal by entering:

ls /var/mobile/Media/DCIM/100APPLE/PERICAM

If there are pictures there, you're nearly done, there's just some little permission issue to fix.

Try this:

chmod +s /Applications/Pericam.app/Pericam

and try running the app from the phone. If that still doesn't work, try this (and send the Terminal output back):
ls -la /Applications/Pericam.app/
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #11  
Old 02-20-2008, 12:59 AM
What's Jailbreak?
 
Join Date: Feb 2008
Device + Firmware: iPhone 1.1.3
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
it works

nice work dave, really appreciate the time you put in helping out. excellent!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #12  
Old 02-20-2008, 01:10 AM
iPhoneaholic
 
Join Date: Sep 2007
Device + Firmware: iPhone 3GS, 3G & 2G
Operating System: OSX 10.5.x & Windows XP
Posts: 365
Thanks: 14
Thanked 63 Times in 52 Posts

Cool, glad it's working. It was by far the hardest app to get going for me, so I figured the effort ought to help as many as possible.

Now you're ready for the real fun (if you haven't already). Check out my replacement script that sends the pics directly to the camera roll.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #13  
Old 02-20-2008, 10:23 AM
iBlade's Avatar
My iPhone is a Part of Me
 
Join Date: Oct 2007
Device + Firmware: 1.gen 1.1.4 16 GB, white 3G original unlocked by apple now 2.1
Operating System: Windows XP, Ubuntu 7.04 with Beryl
Posts: 815
Thanks: 43
Thanked 356 Times in 212 Posts

Hi Dave, how are you?
I really need your help. I am trying to get Pericam working. Had no problems on my 1.1.1 but on my 1.1.3 otb unlocked jailbreacked activated with ziphone 2.0 and ibrickr fix got a problem. If I start it with putty it works but it does save the pics to var/root/Media/DCIM/100APPLE/PERICAM/ however if I run it on the phone it starts and stops normally but no pictures are saved. When I run it from putty I get also a (crontab: no crontab for root) line like this:

# /Applications/Pericam.app/Pericam
rmdir: /var/root/Media/DCIM/100APPLE/PERICAM/*: No such file or directory
picSnap is /var/root/bin/picSnap
reduceJPEG is /usr/bin/reduceJPEG
crontab: no crontab for root
2008-02-20 16:19:46.228 Pericam[516:d03] pericam.sh is not running

I tried so many diff. things, I got smoke comming out of my ears.
Thank you soo much, I hope you can help me out.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #14  
Old 02-20-2008, 10:50 AM
iPhone? More like MyPhone
 
Join Date: Aug 2007
Posts: 243
Thanks: 6
Thanked 19 Times in 15 Posts

im having problems trying to get it to work here are my results....any help will be appreciatted thanks

# /Applications/Pericam.app/Pericam
rmdir: /var/root/Media/DCIM/100APPLE/PERICAM/*: No such file or directory
picSnap is /var/root/bin/picSnap
reduceJPEG is /usr/bin/reduceJPEG
0-59/1 * * * * /Applications/Pericam.app/pericam.sh 480 60
2008-02-20 11:47:51.469 Pericam[2431:d03] pericam.sh is running.
2008-02-20 11:47:52.233 Pericam[2431:d03] updateTimer
2008-02-20 11:47:53.233 Pericam[2431:d03] updateTimer
2008-02-20 11:47:54.233 Pericam[2431:d03] updateTimer
2008-02-20 11:47:55.233 Pericam[2431:d03] updateTimer
2008-02-20 11:47:56.233 Pericam[2431:d03] updateTimer
2008-02-20 11:47:57.234 Pericam[2431:d03] updateTimer
2008-02-20 11:47:58.233 Pericam[2431:d03] updateTimer
2008-02-20 11:47:59.233 Pericam[2431:d03] updateTimer
2008-02-20 11:48:00.233 Pericam[2431:d03] updateTimer
2008-02-20 11:48:01.233 Pericam[2431:d03] updateTimer
2008-02-20 11:48:02.233 Pericam[2431:d03] updateTimer
2008-02-20 11:48:03.233 Pericam[2431:d03] updateTimer
2008-02-20 11:48:04.233 Pericam[2431:d03] updateTimer
2008-02-20 11:48:05.233 Pericam[2431:d03] updateTimer
2008-02-20 11:48:06.233 Pericam[2431:d03] updateTimer
2008-02-20 11:48:07.233 Pericam[2431:d03] updateTimer
crontab: no crontab for root
2008-02-20 11:48:08.343 Pericam[2431:d03] pericam.sh is not running.
2008-02-20 11:48:08.372 Pericam[2431:d03] updateTimer
2008-02-20 11:48:09.233 Pericam[2431:d03] updateTimer
2008-02-20 11:48:10.233 Pericam[2431:d03] updateTimer
2008-02-20 11:48:11.233 Pericam[2431:d03] updateTimer
2008-02-20 11:48:11.555 Pericam[2431:d03] command = echo "0-59/1 * * * * /Applications/Pericam.app/pericam.sh 480 60" | crontab
0-59/1 * * * * /Applications/Pericam.app/pericam.sh 480 60
2008-02-20 11:48:11.778 Pericam[2431:d03] pericam.sh is running.
2008-02-20 11:48:12.234 Pericam[2431:d03] updateTimer
2008-02-20 11:48:13.233 Pericam[2431:d03] updateTimer
2008-02-20 11:48:14.233 Pericam[2431:d03] updateTimer
2008-02-20 11:48:15.233 Pericam[2431:d03] updateTimer
2008-02-20 11:48:16.233 Pericam[2431:d03] updateTimer
2008-02-20 11:48:17.233 Pericam[2431:d03] updateTimer
2008-02-20 11:48:18.233 Pericam[2431:d03] updateTimer
2008-02-20 11:48:19.233 Pericam[2431:d03] updateTimer
2008-02-20 11:48:20.233 Pericam[2431:d03] updateTimer
2008-02-20 11:48:21.233 Pericam[2431:d03] updateTimer
^C
# ls /var/mobile/Media/DCIM/100APPLE/PERICAM
# ls -la /Applications/Pericam.app/
total 480
drwxrwxr-x 2 root admin 714 Feb 19 18:33 .
drwxrwxr-x 55 root admin 1972 Feb 20 11:28 ..
-rw-r--r-- 1 root admin 82 Feb 20 11:28 ._Default.png
-rw-r--r-- 1 root admin 54499 Feb 20 11:28 ._background.png
-rw-r--r-- 1 root admin 57261 Feb 20 11:28 ._grating.png
-rw-r--r-- 1 root admin 82 Feb 20 11:28 ._icon.png
-rwxr-xr-x 1 root admin 82 Feb 20 11:28 ._pericam.sh
-rwxr-xr-x 1 root admin 82 Feb 20 11:28 ._pericam_cleanup.sh
-rw-r--r-- 1 root admin 108 Dec 30 08:33 Default.png
-rw-r--r-- 1 root admin 601 Dec 30 08:33 Info.plist
-rwsrwsrwx 1 root admin 38704 Dec 30 11:10 Pericam
-rw-r--r-- 1 root admin 10497 Dec 29 00:00 background.png
-rw-r--r-- 1 root admin 1007 Dec 27 22:26 button_black.png
-rw-r--r-- 1 root admin 1336 Dec 27 22:25 button_green.png
-rw-r--r-- 1 root admin 1254 Dec 27 22:25 button_green_pressed.png
-rw-r--r-- 1 root admin 1578 Dec 27 22:25 button_red.png
-rw-r--r-- 1 root admin 1474 Dec 27 22:25 button_red_pressed.png
-rw-r--r-- 1 root admin 14905 Dec 28 09:10 grating.png
-rw-r--r-- 1 root admin 7858 Dec 30 08:33 icon.png
-rwxrwxrwx 1 root admin 380 Dec 30 10:02 pericam.sh
-rwxrwxrwx 1 root admin 91 Dec 30 10:02 pericam_cleanup.sh
#
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #15  
Old 02-20-2008, 01:36 PM
iPhoneaholic
 
Join Date: Sep 2007
Device + Firmware: iPhone 3GS, 3G & 2G
Operating System: OSX 10.5.x & Windows XP
Posts: 365
Thanks: 14
Thanked 63 Times in 52 Posts

Quote:
Originally Posted by kpace1 View Post
im having problems trying to get it to work here are my results....any help will be appreciatted thanks

kpace1, Your permissions look OK, and these lines indicate that Pericam is ready to start taking pictures:

2008-02-20 11:48:11.555 Pericam[2431:d03] command = echo "0-59/1 * * * * /Applications/Pericam.app/pericam.sh 480 60" | crontab
0-59/1 * * * * /Applications/Pericam.app/pericam.sh 480 60
2008-02-20 11:48:11.778 Pericam[2431:d03] pericam.sh is running.

However, it looks like you didn't let it run long enough to actually take a picture, and you didn't include the info as to whether you created the symlink properly.

It must run at least 1 minute (with the timer set to 1) before any pictures will be taken.

If you enter into Terminal:

ls -la /var/root/

You should see as part of the output:
lrwxr-xr-x 1 root wheel 17 Feb 1 12:52 Media -> /var/mobile/Media

This indicates the symlink to Media has been created properly.

If you enter:
ls -la /var/mobile/Media/DCIM/100APPLE/

You should see this line:

drwxrwxrwx 2 mobile mobile 68 Feb 19 22:30 PERICAM

That indicates you've manually created the PERICAM folder in the right spot (and it has proper permissions).

BTW, this line is NOT an indication of a problem, it's just part of the cleanup routine in Pericam:
rmdir: /var/root/Media/DCIM/100APPLE/PERICAM/*: No such file or directory

------------------
Quote:
Originally Posted by iBlade View Post
If I start it with putty it works but it does save the pics to var/root/Media/DCIM/100APPLE/PERICAM/ however if I run it on the phone it starts and stops normally but no pictures are saved.
iBlade, You haven't given me enough info to help, although I appreciate the abbreviated output. See the comments above to see the specific info needed. It sounds to me like you haven't created the symlink, which would give you the results you describe, since mobile doesn't have privileges to write to the root folder or subfolders.

One other interesting discovery:

If you launch Pericam from Terminal, start interval shooting from the phone, and then Control-C to end the app, Pericam will continue to take pictures forever, EVEN AFTER REBOOTING THE PHONE!

It runs a cron job that can't be terminated by the mobile user, so to stop it, you'll need to launch the app from Terminal again (as root), and toggle the interval button on the phone to stop it. Then exit Terminal with Control-C and all should be right with the world.

Last edited by DaveiPhone; 02-20-2008 at 12:19 PM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to DaveiPhone For This Useful Post:
iBlade (02-20-2008)
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > Native iPhone / iPod Touch App Discussion

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 06:04 PM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Privacy Statement / Top