dya2 / android-scripting

Automatically exported from code.google.com/p/android-scripting
0 stars 0 forks source link

NullpointerException with use of PythonForAndroid? #678

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What device(s) are you experiencing the problem on?
Nexus 4
What firmware version are you running on the device?
4.2.1
What steps will reproduce the problem?
1. Running the following task in Tasker:

Task: Take Silent Photo (14)
    A1: Take Photo X  [ Camera:Front Filename:suspect Naming Sequence:Chronological Insert In Gallery:Off Discreet:On Resolution:1280x960 Scene Mode:Auto White Balance:Auto Flash Mode:Auto ] 
    A2: Notify [ Title:Photo Taken Text: Icon:<icon> Number:0 Permanent:Off Priority:3 ] 
    A3: Send SMS X  [ Number:%REQUESTER Message:%FOTO Store In Messaging App:Off ] 
    A4: Variable Set [ Name:%EMAIL_ATTACH To:%FOTO Do Maths:Off Append:Off ] 
    A5: Variable Set [ Name:%EMAIL_USER To:markstrom.martin Do Maths:Off Append:Off ] 
    A6: Variable Set [ Name:%EMAIL_PSWD To:xxxxxxxxxx Do Maths:Off Append:Off ] 
    A7: Variable Set [ Name:%EMAIL_TO To:markstrom.martin@gmail.com Do Maths:Off Append:Off ] 
    A8: Run SL4A Script [ Name:sendemailA.py Terminal:Off Pass Variables:%EMAIL_NAME,%EMAIL_USER,%EMAIL_PSWD,%EMAIL_TO,%EMAIL_SUBJECT,%EMAIL_BODY,%EMAIL_ATTACH ]

What is the expected output? What do you see instead?
An email is expected to be sent.
Instead I get a popup "Unfortunately, SL4A has stopped.", this popup
reappears a few seconds later again as seen in the logcat.

What version of the product are you using? On what operating system?
sl4a_r6.apk
PythonForAndroid_r5.apk
Tasker 1.3.3u2
downloaded 2013-02-06:
http://tasker.wikidot.com/local--files/sl4a/sendemailA.py
OS: android 4.2.1

Please provide any additional information below.

Original issue reported on code.google.com by markstro...@gmail.com on 6 Feb 2013 at 6:10

Attachments: