Rclone Failed to sync: googleapi: Error 403: We’re sorry, but this service is not available in your location, forbidden

i want to backup my files into google drive using rclone by this command: sudo rclone sync “/media/so/ACAC8B5FAC8B2346/Company Informations/مدارک شرکت GSH/اداری (copy)” gsh:Company_Informations/office_files –checkers 3 –log-file /home/so/Desktop/trash/rclone_sync.log -v –transfers 3 so i get this eror: Failed to sync: googleapi: Error 403: We’re sorry, but this service is not available in your location, forbidden so entire…

Details

Test functions with Jest and Enzyme?

How can I test this function with Jest and Enzyme? addProducts = id => { toast.success(“Product added”, { position: toast.POSITION.TOP_RIGHT }); history.push(`/product/${id}`); }; I was using this snippet of code but it was not enough… it(“Must return added addProduct with success message”, () => { const componente = shallow(<AddProduct />); const spy = jest.spyOn(wrapper.instance(), “addProducts”);…

Details

Django models, How to make two optional fields, but when one is filled, the other one must also be filled

So, I have created a model which has some attributes, but I want to focus on these two. class Profile(models.Model): RANK_OPTIONS = ( (‘A’, ‘A’), (‘B’, ‘B’), ) related_office = models.ForeignKey(‘OtherModule.office’, related_name=’office’, on_delete=models.CASCADE ) rank = models.CharField((‘rank’),max_length=1, choices=RANK_OPTIONS) Basically, I need these two attributes to be optional, but the moment the attribute “Rank” is filled,…

Details