![]() |
#31 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22
Karma: 3094
Join Date: Sep 2021
Device: KOA2
|
|
![]() |
![]() |
![]() |
#32 |
Enthusiast
![]() Posts: 35
Karma: 10
Join Date: Apr 2022
Device: Kindle Basic 11th Gen
|
Here's the error msg in log: ./mailpush.sh: line 61: python3: not found While seemed to be installed in the device. What am i doing wrong? |
![]() |
![]() |
Advert | |
|
![]() |
#33 |
Enthusiast
![]() Posts: 35
Karma: 10
Join Date: Apr 2022
Device: Kindle Basic 11th Gen
|
https://drive.google.com/file/d/1NqB...ew?usp=sharing
The picture shows the content of the folder "mrpackage" and "python3" on the device Here's the error msg in log: ./mailpush.sh: line 61: python3: not found While python seemed to be installed in the device. What am i doing wrong? Last edited by QBit99; 05-10-2022 at 02:20 PM. |
![]() |
![]() |
![]() |
#34 |
Member
![]() Posts: 10
Karma: 10
Join Date: May 2022
Device: paperwhite 10
|
got the same issue:
./mailpush.sh: line 61: python3: not found kill: can´t kill pid 6695: No such process |
![]() |
![]() |
![]() |
#35 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22
Karma: 3094
Join Date: Sep 2021
Device: KOA2
|
It still seems that Python3 is not installed properly.
a. If you have kterm or any ssh client, what is the result of entering `python3` (then press enter) into it? It should return something like: Python 3.9.6 (defalut, Aug 9 2021, 05:24:20) Tips: enter `exit()` then `exit` to exit the kterm.[GCC 11.2.0] on linux Type "help", ... >>> b. This contains the log of installing Python3: extensions/MRInstaller/log/mrinstaller.log You can check it to see the installation status. Have you installed the correct version of Python3? There are [Packages targeting the Kindle 2/DX/DXG/3/4] and [Packages targeting the Kindle 5 (Touch/PW1/PW2/KT2/KV/PW3/KOA/KT3/KOA2/PW4/KT4/KOA3/PW5)]. And there may be [...pw2_and_up.bin] and [...touch_pw.bin] in one package. |
![]() |
![]() |
Advert | |
|
![]() |
#36 |
Member
![]() Posts: 10
Karma: 10
Join Date: May 2022
Device: paperwhite 10
|
Thanks for the help. I just reinstalled python and changed the name of the "config.json" file to "config". That did the trick for me
![]() |
![]() |
![]() |
![]() |
#37 |
Member
![]() Posts: 10
Karma: 10
Join Date: May 2022
Device: paperwhite 10
|
Another thing. Does anyone has a suggestion for a way to surpass the 25 mb limit of sending files (.epub) via email. I tried we transfer, but that wont work cause it just attaches a download link instead of the file itself so mailpush doesnt recognizes it.
|
![]() |
![]() |
![]() |
#38 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22
Karma: 3094
Join Date: Sep 2021
Device: KOA2
|
You should click or right-click the download button or the file in the downloading task bar in your web browser to find something like "Copy download link". That is the true file link. By the way, you may need to use "saveto mybook.epub" to specify the name of the saved file.
Last edited by guoyongzhi; 05-12-2022 at 09:58 AM. |
![]() |
![]() |
![]() |
#39 |
Enthusiast
![]() Posts: 35
Karma: 10
Join Date: Apr 2022
Device: Kindle Basic 11th Gen
|
I sent a 15 Mb book earlier today. It says fetch successful on the kindle but the book ain't showing up in the Downloads folder. I look into the log file and i'm getting this:
** 2022-05-15 13:52:51 ** Traceback (most recent call last): File "/mnt/us/extensions/MailPushRU-1.2-RU/src/mailpush.py", line 22, in <module> files = fetch_files(**config) File "/mnt/us/extensions/MailPushRU-1.2-RU/src/fetchfiles.py", line 93, in fetch_files msg = email.message_from_bytes(msg_data[0][1]) File "/mnt/us/python3/lib/python3.9/email/__init__.py", line 46, in message_from_bytes return BytesParser(*args, **kws).parsebytes(s) File "/mnt/us/python3/lib/python3.9/email/parser.py", line 123, in parsebytes return self.parser.parsestr(text, headersonly) File "/mnt/us/python3/lib/python3.9/email/parser.py", line 67, in parsestr return self.parse(StringIO(text), headersonly=headersonly) File "/mnt/us/python3/lib/python3.9/email/parser.py", line 56, in parse feedparser.feed(data) File "/mnt/us/python3/lib/python3.9/email/feedparser.py", line 176, in feed self._call_parse() File "/mnt/us/python3/lib/python3.9/email/feedparser.py", line 180, in _call_parse self._parse() File "/mnt/us/python3/lib/python3.9/email/feedparser.py", line 385, in _parsegen for retval in self._parsegen(): File "/mnt/us/python3/lib/python3.9/email/feedparser.py", line 469, in _parsegen self._cur.set_payload(EMPTYSTRING.join(lines)) MemoryError I have absolutely no clue what to do next |
![]() |
![]() |
![]() |
#40 | |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22
Karma: 3094
Join Date: Sep 2021
Device: KOA2
|
Quote:
If you fetched multiple emails at once or attached multiple files to one email, you can send them separately. And in this case, I can optimize the code (release memory more diligently) to relieve memory pressure. So, please let me know. If not, you can send large file by download link instead of attaching it. This approach avoids reading the file at once into memory but download it in chunks. |
|
![]() |
![]() |
![]() |
#41 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17
Karma: 1002
Join Date: Apr 2022
Device: AuraE2, Poke 3, PW5, Libra 2
|
Thank you very much for this. In case anyone is interested and hadn't thought of it, you can run the script directly from koreader terminal. I've just put the command in the "/koreader/scripts/profile.user" file so it runs as soon as the terminal opens (or you could make an alias), and then made a corner tap gesture in the main menu to open terminal.
1 click to fetch new books, very cool. :-) |
![]() |
![]() |
![]() |
#42 | |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22
Karma: 3094
Join Date: Sep 2021
Device: KOA2
|
Quote:
Last edited by guoyongzhi; 01-17-2023 at 10:38 AM. |
|
![]() |
![]() |
![]() |
#43 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Sep 2022
Device: Kindle PW5
|
![]()
Would books “mailpush-ed” with this extention still sync across devices (via whispersync, or whatever)
|
![]() |
![]() |
![]() |
#44 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,055
Karma: 12000038
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW5, Kobo Libra 2, Kindle PW1
|
Nope.
|
![]() |
![]() |
![]() |
#45 |
Enthusiast
![]() Posts: 33
Karma: 10
Join Date: Sep 2020
Device: Kindle Voyage
|
I improved the English translation a little, and am trying to get MailPush to work on my Kindle(s) in 2024, but my log keeps saying "/tmp/klauncher_background-803463509291224482.sh: line 2: mailpush.sh: not found" - I've hacked half-a-dozen Kindles, so I think I know what I'm doing and have put all files in the right places.... Anyone have any ideas what that error could mean?
Last edited by Darthagnon; 09-01-2024 at 06:50 PM. Reason: add link |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Chrome 73 and Send To Kindle extension | hius07 | Amazon Kindle | 2 | 03-15-2019 02:54 PM |
xmahjongg for Kindle as Kual extension | Hanspeter | Kindle Developer's Corner | 86 | 12-02-2016 08:06 PM |
Kindle DX memory extension | nergal11 | Kindle Developer's Corner | 3 | 11-10-2014 09:34 AM |
[Kindle Touch]Extension of Mplayer, sdmplayer-kt | SotongDJ | Kindle Developer's Corner | 7 | 11-03-2012 03:47 AM |