| Reply | « Previous Thread | Next Thread » |
|
Hi guys,
I was trying to take a picture with the front camera of my N70 using the PyS60 camera module and I got this error: >>> from camera import * >>> take_photo(position=1) Traceback (most recent call last): File "<console>", line 1, in ? File "C:\system\libs\camera.py", line 68, in take_photo position)) SymbianError: [Errno -5] KErrNotSupported Any idea? I am using the 1.3.12 release thanks |
|
Hi galaktico,
try to print the camera available for your devices: Code:
import camera print camera.cameras_available() LFD Devices: Nokia E61 3rd Edition - pys60 1.4.0 Tips and modules: http://www.lfdm.net/thesis |
|
Hi LFD,
I tried it and this is the result ![]() >>> import camera >>> print camera.cameras_available() 2 It seems I shold be able to use it, right? gpp |
|
Yes it should! And 1 is for the front one... Have you tried to set all the other parameters like the mode, size?
The default size, thanks to the documentation, seems to be 640x480. Now I'm wondering if the front camera support this size. Try to set it to the minimum i.e 160x120 Let see what it gives ![]() LFD Devices: Nokia E61 3rd Edition - pys60 1.4.0 Tips and modules: http://www.lfdm.net/thesis |
|
setting size=(160,120) Works!!!!!
![]() Thanks a lot ![]() Galaktico!! |
|
This seems to be a bug. Could you please file it in SourceForge so we remember it? I'd say that's a priority 5 bug.
|
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Nokia N-Series Complete Model Line-Up | Dopod | General Discussion | 6 | 2008-07-22 21:16 |
| N70 CAMERA PROBLEM | ahmedksal | General Discussion | 1 | 2006-10-28 20:51 |
| Camera capturing 6630 working, 6681 shows blank screen | jascco | Mobile Java Media (Graphics & Sounds) | 2 | 2006-06-18 15:49 |
| camera zoom and flash control for N70 | waqas16 | Mobile Java Media (Graphics & Sounds) | 2 | 2006-06-14 01:42 |
| Camera example not working on real phone | esanchis | General Symbian C++ | 1 | 2003-02-13 14:31 |