ofosos / scratch

public scratchpad
http://ofosos.org
44 stars 8 forks source link

Problem after rmapi update #8

Open LisaGlaser opened 4 years ago

LisaGlaser commented 4 years ago

Hi, So I guess it's not really an issue since I fixed it myself, but this seemed like the best option to let you know and document the fix. After the rmapi update (version 0.0.11) the files did no longer arrive at my remarkable properly. The solution was to add the .pdf extension to the santitized_jobtitle.

Thanks for a neat little tool, Lisa

ofosos commented 4 years ago

Thanks for the quick fix. I didn't pull out my reMarkable for some time, I'll check if I've got the same issue :)

hohu05 commented 4 years ago

Hi, So I guess it's not really an issue since I fixed it myself, but this seemed like the best option to let you know and document the fix. After the rmapi update (version 0.0.11) the files did no longer arrive at my remarkable properly. The solution was to add the .pdf extension to the santitized_jobtitle.

Thanks for a neat little tool, Lisa Hi Lisa, I have the same problem, so I downgraded to the previous version. Can you post where I have to add the extension? Thanks

LisaGlaser commented 4 years ago

Hi, Sorry it took me so long to answer. What I did was change the line sanitized jobtitle in the remarkable.sh file to

sanitizedjobtitle="$(echo ${jobtitle} | tr [[:blank:]:/%\&=+? \ \ \ \ # \ ' \ ` \ ´ \ *] ).pdf"

This adds the .pdf and then my remarkable was happy again. Hope it works for you too, Lisa

hmenzagh commented 3 years ago

@LisaGlaser @ofosos My setup would not do anything until I copy your fix, but then the files are unreadable (Rm2) do you think this could be related ?

LisaGlaser commented 3 years ago

I've got the rM2 as well, but the printing is still working for me. Only other idea is, I've also changed the print time line, because I found the long names a bit much printtime=$(date +%b-%d) Otherwise, no idea, but maybe the update already fixed it now?