there is an error with my code becuase of the file name of my pictures i have changed the name a lot of times - python-turtle

so the problem with my code is that when I try to run the program it says there is an error with one of the file names. I have saved the pictures as a gif but it still doesn't work.
turtle.register_shape("user.gif")
turtle.register_shape("points.gif")
turtle.register_shape("wall.gif")
this is the code for the pictures I have used.
can someone please help me thanks.

Related

Uploading App Images: "Invalid GeoJSON: Your routing app coverage file is invalid."

This question is not a duplicate to another question that asks about the same message, but in another context. The context of this question is just about uploading screenshot images and getting the message.
Today, I had a new message when uploading images to App Store Connect:
Invalid GeoJSON: Your routing app coverage file is invalid.
This makes absolutely no sense since, at this time, I had not even chosen a build for the upload.
Retrying to upload the images, it worked. But unfortunately, the message appeared for each language and format.
Is this a bug by Apple or am I missing something? I would guess that uploading images has nothing to do with GeoJSON.
I used Safari. Others seem to have the problem with Chrome. So it occasionally seems to happen on all browsers.
I had this same problem today while uploading App Store Icon on Preparing for submission page. Solved it by removing "-" from my image name.
This is an unusual bug. Apple might be already working on it. It's not coming on any specific browser. It occurs mostly when we are trying to upload more than one images at once.
Apple always keeps their live site maintenance work active, so this is most likely a bug occurring in their live site maintenance. It will be fixed soon.
For now, if you are finding difficulties handling screenshot uploads, you can try to upload them one by one rather than uploading in a bulk.
Important Note:
I am stating this on basis of the last few uploads I have experienced. Also, the solution I have given is tried from my side and it worked for me well. So, you can just try it out and I'm sure that it's not a browser issue. It can occur on any browser.
It did not work for me even if I provided English file names. It kept giving the above error.
Only thing that worked for me was to remove all underscores. So instead of iphone_xs_max_1.png, it worked when I renamed it to iphone1.png and uploaded.
Make sure screenshot files name in English.
Make sure screenshot files all the directory path(and folder name) in English.
it worked for me.
I had the same bug today. Some of the images uploaded without problems, others didn't.
I was uploading in Chrome when I got the issue. Opening the site in Safari and uploading the images there, solved the problem.
What solved this for me was removing strings of numbers and periods from the filenames. It appears the system is running the filenames through some kind of geocoder, and if there are strings of characters that could be interpreted as locations, it will error out.
Make sure after editing the image you save the file with an extension like myimage.png or myimage.jpg
In my case, I forgot to save the file with extension after removing alpha and transparency properties and no need to change browser etc.

I get an error when I try to upload deobfuscation file

I'm trying to upload the mapping.txt to my new release. This isn't the first time I'm doing this, but I'm not a great expert at this either. I'd appreciate if someone could help me understand what's happening.
The outputs->mapping->release-> folder only has one file: mapping.txt
I found the answer. The app needs to be published before the mapping files could be uploaded. But the files should be uploaded immediately. The reason being that any crashes that occur before the mapping file is uploaded will not be deobfuscated.
I hope this helps someone. If I'm wrong, please correct me on this.

can someone help me about these errors

enter image description here
I am getting some errors as shown in the screenshot, can someone help me solve the errors.please let me know if any further information regarding this issue is required shall post them in detail.
It looks like it can't find the file you're specifying. I'm not sure what you're trying to do, but perhaps your target file isn't in the correct directory. Try finding it in the Explorer first then copy and paste the address into the code. Hope this helps!

cannot add certain images [duplicate]

This question already has answers here:
Cannot add any images
(2 answers)
Closed 9 years ago.
Every time i add an image for i get the error below. For some reason even if i rename it it still doesn't work, this problem was happening before on another project so i deleted it and started again. i have already checked for duplicate images that did get rid of the error however once i built the project the the picture was blank and i get a message saying
2013-11-07 16:45:28.613 Chiswick W4[1812:60b] Could not load the "1frivoli.png" image referenced from a nib in the bundle with identifier "Studentathome.Chiswick-W4"
need some help urgently!!
Also i would like to add i can take a screen shot of that image and input it however i will have to do this is a worst case scenario i just want to know why my images don't work.
thank you
Often you can try to open the file with Preview, and if it opens resave it as a different file, and use the saved file in your project. It handles more png variations than iOS but usually writes files that can be read. Photoshop is just one of many sources that can create pngs unreadable by ios.

Get error info from cvCaptureFromAVI

I'm working with a program, which I need to document and review, but which I did not write, nor did anyone I can easily reach. One of the problems I've run into is that it is supposed to read and work with .avi files, but every time I try, it fails. The file is an avi converted from an MTS format. The computer seems to think that it is an avi file, and it runs it without incident, but I don't know why the cvCaptureFromAVI is having trouble.
The function cvCaptureFromAVI simply returns null. I can't seem to get any deeper in the code to see what in cvCaptureFromAVI is causing the error, and I haven't been able to get any error information about why it won't read the file.
I was struggling with this problem for two days!
If you've double checked all other possible causes (file is in correct directory and inside your code the path to that file is in correct format) and still cvCaptureFromAVI returns null, the problem is your computer codecs.
I suggest you installing K-Lite Codec Pack. Remember to restart your computer if you are using Windows.

Resources