TimJuni / raspistillWeb

Little python web interface for raspistill to take photos with the RaspberryPi
GNU General Public License v3.0
20 stars 11 forks source link

path fix #2

Closed phreack closed 10 years ago

phreack commented 10 years ago

Thanks for your updates.

I still had some errors, and it wasn't making any image files. On a whim, I pointed 'RASPISTILL_DIRECTORY' and 'THUMBNAIL_DIRECTORY' variables in views.py to a known good samba share, just to see what would happen. It made the files fine, but of course wouldn't display them in the web interface. I then tried adding the full path of the pictures and thumbnails directories into the views.py variables, and it fixed my issues. It's now working perfectly for me.

I started to fork and add my changes, but I didn't use the "~/Development/" directory as you suggested in your directions, so I didn't want to add my path and screw everybody who followed directions up. I'm no coder, so I'll let you handle it. :)

Thanks again.

TimJuni commented 10 years ago

Great that you've found a way to fix that. One thing i noticed is, that you must start the program within the raspistillWeb directory. If you're starting the program from another directory than no image will be taken.

Can you try to start the original program from the raspistillWeb directory? It would be great to know if there are any system related bugs, because as long as i am in the right directory my program is working properly on my system.

Thank you!

phreack commented 10 years ago

Yup, if I start it within the raspistillWeb directory, full path isn't needed. I wanted it to start at boot, so I had to script it out, which made the full path necessary.