V5.36 - Feedback

JA-Translator

Moderator
@JA-Translator I have found a case where the variable does not get set correctly even when the email sends. Is this what you are seeing?

No, even if I typed an email address directly in the TO box, the email is not sent out.

See the screenshot.
I tested it twice with directly typing the email address not via the variable.

The first one is SMTP.
The second one is Gmail.
In either way, the emails are not sent.

I hope it could be helpful to figure out the problem.

Screenshot_20230821_203331.png

I tested with my actual email address,
but I just changed it to a fake one right before sharing it here.
 

Attachments

  • email_test (1).macro
    2.3 KB · Views: 5
Last edited:

JA-Translator

Moderator
@JA-Translator I've not been able to recreate any issue sending email either via the gmail option or via STMP server.

Oh... well,
What about the error?
What does it say?
I mean, what would be causing the error as I can't understand what it means by "java.net.ConnectException"?

And the first log has no error, but no email is sent or receiced.

Screenshot_20230821_203331.png
 

MacroDroidDev

Administrator
Staff member
@JA-Translator Yes the error comes from their SMTP server. I've never tried to use Gmail via SMTP but as suggested I don't think it will work because it's too locked down.

I really don't know why you are not seeing the email send with the standard Gmail option. I haven't changed anything here and I am able to send on multiple devices without issue. Maybe try revoking permission for MacroDroid via your Google account and then try regranting the permission from the app?
 

Endercraft

Moderator (& bug finder :D)
@MacroDroidDev same thing for me. I only get this log but no email ever comes...
Screenshot_2023-08-21-23-02-08-912_com.arlosoft.macrodroid-edit.jpg
I do get the success notification.
Screenshot_2023-08-21-23-04-24-946_com.teslacoilsw.launcher-edit.jpg
(email address doesn't appear because I removed it from screenshot)
 

MacroDroidDev

Administrator
Staff member
Hmm, that is strange. I wonder why it works ok for me. i have just released a new beta so that issue will still be the same so I will look into it for the next update.
 

JA-Translator

Moderator
. Maybe try revoking permission for MacroDroid via your Google account and then try regranting the permission from the app?

Yes I tried. I removed MD from third party apps on my Google account. And granted the permission again.
But it's still the same...

Hmmm strange... :cool:
 

MacroDroidDev

Administrator
Staff member
@JA-Translator Could you go back to the current production release and check that email is working there for you. I currently have no idea how the gmail libraries are returning to me a status that the email was sent ok but the actual email is not being received. I don't think there are any changes in the beta that should effect this and I don't believe the target sdk should be relevant here.
 

JA-Translator

Moderator
@MacroDroidDev

Android13
MD 5.36.4 (download from Google Play)
Helper 1.9
via Gmail

Successfully
done!

I am not sure what happened before,
but anyway, thank you!
Now it's working well. :)(y)



Screenshot_20230822_165524.png
Successfully sent and received.
 
Last edited:

MacroDroidDev

Administrator
Staff member
Hmmmmm, Thanks for fixing it........ :giggle:

Not to sure what has been happening here, but I will be alert for more reports as the beta rolls out more widely.
 

sampleuserhere

Active member
I have an action block that translates text by parsing the result from translate.google.com.

The action block is attached below. It retrieves the translated text from div.result-container. I have to reserve line break and & character, otherwise the block would fail. Also, the site reserves line break with "bcdef" by default.

On my short test, the translation seems a bit better. Is it gonna be a problem if Macrodroid's translate text action use the same method instead? User doesn't have to install additional file as well.
 

Attachments

  • Google_Translate (1).ablock
    5.7 KB · Views: 8

MacroDroidDev

Administrator
Staff member
@sampleuserhere It's not likely to be robust to do this in the long term, if they change their return it will break everything for all users. Also it may get some attention if a very large number of users start doing this (and they identify the traffic as MacroDroid). Google offer paid APIs to do this web translation and I suspect they will have bots looking for this kind of workaround just ready to jump on anyone who tries it.
 

sampleuserhere

Active member
@sampleuserhere It's not likely to be robust to do this in the long term, if they change their return it will break everything for all users. Also it may get some attention if a very large number of users start doing this (and they identify the traffic as MacroDroid). Google offer paid APIs to do this web translation and I suspect they will have bots looking for this kind of workaround just ready to jump on anyone who tries it.

That makes sense.
 

alexhee

Member
It seems latest beta 5.36.5 broke the Shell Script action which is running fine in 5.35.12. I have to revert back to 5.35.12 in order to get it running, no MD helper installed.
 

MacroDroidDev

Administrator
Staff member
@alexhee I don't think it's broken as such, because if I run the following commands it works fine:

cd /sdcard
ls -l

However it's possible that the new target SDK has further limited what can be done via the shell script (and this may also depend on the API level of your device). It's most likely that you will now need to use the helper file option if something is no longer running.

Please use report a bug in troubleshooting and include your macro that is causing issues and I will take a look if that is the cause.
 

alexhee

Member
@alexhee I don't think it's broken as such, because if I run the following commands it works fine:

cd /sdcard
ls -l

However it's possible that the new target SDK has further limited what can be done via the shell script (and this may also depend on the API level of your device). It's most likely that you will now need to use the helper file option if something is no longer running.

Please use report a bug in troubleshooting and include your macro that is causing issues and I will take a look if that is the cause.
OK. Noted. Bug report has been submitted.
 
Top