Next to my html and scss codes of the frontpage, jb_temp files keep generating. I've tried deleting them but nothing happens. I've tried disabling safe write and both my html and css files became completely blank (undo unsolved it).
Since these files have been here, I haven't managed to make any changes to my webpage. It does compile, but I can't see the new result, only what I wrote a day ago.
I'm wondering if anyone has the same issue and/or how I can solve it.
Related
I have just encountered an odd problem I'm trying to debug but cannot figure out what is wrong.
I have a wagtail site with images that were all working. At one point I refreshed the browser, and the images suddenly all disappeared from every page.
wagtailimages_tags is there
static is all loaded
the images are all in the correct media directory as specified and have been uploaded through the CMS
if i inspect element, the image is in fact coming through in the code perfectly.
But the site itself just does not show the image. I have checked the CSS and nothing has changed there and it is not hiding the image somehow.
My last resort - I actually started the project over completely in a new environment and added each application one by one to see if I could solve the issue ... nope. No images on the new install from scratch either!
No idea why all the images would suddenly just fail to appear in browser. Just seems super strange to me.
Any ideas on debugging appreciated.
Solved. The path to one of the js files had an extra /js in it and was not loading the file the page needed. The console showed and error and said it could not find /img.url - weird but the file in question where the error was found was the js file with the incorrect path.
This mistake caused every path to load perfectly but strategically blocked a few things globally that a little extra reading of the console would have helped me figure out sooner.
Fixed the .js file path and now all is good.
My youtube-dl keeps freezing/ stopping its download whenever my folders are loading(? not sure if that is the correct phrase for this), as shown here.
Every time this happens, I will need to restart my computer in order to fix this, is there anyway to solve this problem permanently.
I had tried going to properties of my Downloads folder, then go to customise and ticked the Also apply this template to all subfolders. And it seemed to have work currently, will be updated if the issues keep appearing.
So, I'm not sure whether this has happened to anyone else, but I'm using Rmarkdown to create a beamer presentation. For whatever reason, there are some .Rmd files that are compiling, while others constantly go into "extended mode".
For instance, if I create a brand new .Rmd file, it will compile, but if I copy the contents of the document into another file (same exact thing), it goes into extended mode looking for pgf. Any understanding of why this might be the case?
Figured out that the problem was being caused by the auxiliary and intermediate files that are created once you try to compile the document. If you delete them, this should be resolved.
I was recently trying to make my own module when I realised a copy of my module had been made but instead of ending in .py like the origional, it ended in .pyc. When I opened it, I could not understand a thing. I was using the import to make a game from pygame and the fact that the .pyc file had a bunch of question marks and weird symbols seemed to be helpful for hackers if I ever make a game good enough for release which probably wont happen. I just want to know a few things about these files:
Can other computers that download the game still read the module if I delete the original and only leave the weirder .pyc file?
Are they readable by humans and can they actually prevent hacks on downloaded game? (its not online I just don't want a easy game for people who know python)
Should I get rid of them for what I am doing? (I saw other questions asking how to do that but the answers said it was helpful)
Last but not least, will it work for .txt files (will they not just be read as a bunch of symbols)?
Thanks!
The .pyc files are not readable by humans - the python interpreter compiles the source code to these files, and they are used by the python virtual machine. You can delete these files, and when you run the .py file again, you will see a new .pyc file created.
Before anything, I will first say that I've been looking everywhere for a solution to this problem for an hour now. There are many identical problems out there but none of the solutions help me.
I'm trying to debug a small project. When I started working on the project, I could place break points wherever I wanted and I would hit them. But for some reason, now when I place breakpoints outside of the main program (in a class definition, for example), the breakpoints hollow out while the code is running and I get a message saying the source code is different from the original version.
This led me to believe it was running a previous build, so I made an obvious change by having the code output some random letters "dajfhdjhfds";
I hit F7 as usual. Got a message saying Build: 1 succeeded. Hit F5, the program runs but does not display the random letters.
I clean my solution, then build and the changes show. I 'rebuild' the solution, and the changes show. The breakpoints also work.
But then if I make further changes, the breakpoints stop working and the changes don't appear in the program. Visual Studio is always running old code. I don't want to have to clean my solution every time I want to debug new code.
I've reset my settings, I checked off "build" in the configuration manager, I even started a whole new project and copied my code into new files. Same issue.
The problem resided in the fact that I copied the code from the original project into a brand new project saved elsewhere. When I tried to build the project in the new location it would always build it in the old location (Strange since I copied code directly into brand new files).
When I tried to run the files it would look for the built code in the new location. Therefore it would always get out of date code.
Problem can be fixed by putting the new code back in the old location!
Thanks everyone
I had this problem occur also, using WinForms. I was adding message boxes to test code and nothing was happening, only the pre-existing message boxes worked. I'm not sure 'exactly' how I fixed it, but after clicking "Build Solution", "Rebuild Solution", "Clean Solution" and "Build (program name)" all under the 'Build' menu the problem went away. Unlike the previous problems I had not copied+pasted any code between solutions.
I've started running into an identical problem and I think it all started when I re-created the project under a new name.
That is, I had to copy everything.
Problem is I don't know what DIDN'T get fully copied and is now responsible for requiring a rebuild to get my code changes. Checked the solution and project files in a text editor and no signs of the old folder structure.