Open 1kane opened 7 years ago
I have the same issue as well. Can I expect help?
Hey, just made the TEMPLATE_DIRS a tuple, but haven't tested the interface. So not sure if you'll just hit another error. I don't have a bunch of time for this one at the moment, but I'm happy to review pull requests.
The non-web script (timelapse.py) just got a bunch of updates in December, and may be a bit less problematic.
I get a similar issue, I expect it is due to another version of django. Could you please provide the version that it worked?
My error is: ImportError: cannot import name patterns
Hello, having the same problem with the web server. But I do not mind doing everything from the command line. Would it be possible for you to add a few notes here or on the code page for this project on how to get the time lapse started from an ssh command line, or desktop (via vnc or ms Remote Desktop). I am trying to get this working on my Raspi with the new as a all sky camera.
Just running the below did not work very well.
pi@raspiHQcam2:~/pipic $ python timelapse.py
Traceback (most recent call last):
File "timelapse.py", line 3, in <module>
import Image
ImportError: No module named Image
pi@raspiHQcam2:~/pipic $ python3 timelapse.py
File "timelapse.py", line 132
print "Failed to disable LED: " + e
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Failed to disable LED: " + e)?
pi@raspiHQcam2:~/pipic $
Hi, looks like you a) don't have the Image python package, and b) are using Python 3 (which requires parentheses for print statements). This project is no longer maintained; feel free to send a pull request, though, or fork and fix.
Do you have a link for the Image python package? I had Pillow installed and was thinking that was what you were referring to or maybe PIL. So I uninstalled Pillow, as it was already installed, then tried to install PIL. That turned out to be almost impossible, at least for a guy like me of limited intellect. (it's way out of date anyway) But I was able to finish off a 12 pack, well trying to do so. In any case, it was about then as I was pondering the Norm theory on beer and brain cells that I took another look at your post and realized that I may have been moving in the wrong directing.
when i try to start the server with
/home/pi/pipic/djpilapse/manage.py runserver 192.168.0.5:8000
PS: it seems that i have a wrong version of django and celery installed. can u tell me what version i need? guess i have to downgrade, but what version?