-
Notifications
You must be signed in to change notification settings - Fork 90
Cannot save/modify edited templates #123
Comments
Hey ! seems like this is always the same 'job' or actions that triggers this error. could you tell me which one this is ? I mean which InstaPy function this is in the frontend ? That would help me a lot identifying this problem :) |
@Rzbck can you also tell me which specific job this is? which function name ? |
i don't really know if its help , i don't have for now the exact original issues |
@breuerfelix do you have any idea when you'll be able to tackle this issue? I've investigated a bit further and this doesn't seem related to the JSON payloads being malformed. The error says it's a bad JSON payload but I've checked a few of them and they are valid JSON. Unless, this is the server-side not being able to parse the JSON for some reason. I'm suspicious once the templates reach a certain size/number of actions/number of parameters in certain actions this error happens. For example, I got a large template with many actions and every single one of them gives this error. On the other hand, I've got a small template with one of the same actions as the large one, and this error doesn't happen. If there's any other info you need to debug this please do tell! Thank you for your efforts |
@sashaafm since i am currently moving i barely open my laptop at all. i finally got some free time in november again :) |
Hello again @breuerfelix, I realize this is an open-source project and we're not entitled to your efforts. I'd just like to ask if there's any chance of this issue being tackled in the near future? I know some people who are depending on this project and we'd like to continue using it. Is maintenance and support for this project still expected? Thank you for your time and efforts Felix! Stay safe. |
hey @sashaafm thanks for getting back to me since i really can't find the time right now to tackle this even though you helped a lot with all this information! and i am sure i will tackle this 100% during the next weeks :) well yeah this is open source and i made it open source in hope that when i have other stuff to do, some other people would go on with this project but sadly i am still the only programmer of this whole project... so chances that someone else is digging into this, fixing it, are pretty low right now. but even though i do not plan on adding new features, i still plan on fixing existing bugs and this IS a huge existing bug i really wanna fix! also if people reading this who are depending on this project because they need it to make money / more money / more efficient money, let me know because finding time for a project like this is easier if you also get smth from the cake because then i can dump some time from other project where i earn some money. |
@sashaafm i just debugged a little bit but i am not able to recreate this issue ... do you still have a template that is not working ? if yes could you provide me with the template name ? and maybe your instapy.io username ? you can also send me these things private via email: [email protected] that way i can copy that template to my dev environment to make some further investigations :) |
@breuerfelix thank you so much for your attention to this matter! I've just sent you an email with the data you requested. |
it is a bug when copying a template... really damn stupid but that should be fixed now! |
also fixed all existing documents! everything should work as expected now :) thanks for the detailed information! without this, i wouldn't be able to fix it that fast :) |
Thank you so much for your effort. I'll post some feedback once I've confirmed everything's fine now :) |
Hello again @breuerfelix, I'm running into a problem regarding editing templates which seems to be somewhat similar as this old issue. When trying to edit certain templates they are not being saved.
Right now I've got a suspicion which is on a malformed payload or some "weird" character breaking the JSON parsing (on the server-side maybe?). Here are a couple of screenshots from the JS console:
I'm not sure what other information to give to help debug this. It's happening on Firefox (and I believe also on Chrome, but I'll try to doublecheck). I've gone through the actions and values in the template and I couldn't find any JSON breaking characters.
Any idea on how to solve this or how to debug the problem to work around it?
The text was updated successfully, but these errors were encountered: