Cant delete file!

Having issues not related to a specific Sandbox game mode? Get help here!
Please also read the when posting support requests.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
owenisred
Member
Member
Posts: 452
Joined: August 9th, 2010, 9:33 am
Name: Owen
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Cant delete file!

Postby owenisred » October 23rd, 2010, 8:48 am

OK this is very very strange. Basically, I put all the sandbox 2.5 files on my laptop onto a memory stick, to the put it onto a desktop; thats all done now. I wanted to delete sandbox folder from my memory stick. Every time I selected the folder and hit delete it said the usual, "are you sure you want to delete this file?" and I choose yes. Nothing happens. So i think there must be a corrupt file in sandbox. I open the folder up and delete each folder in turn - the only one i cant delete was the packages folder. So I tried the same technique again, and I found it was the music folder.

I opened the music folder and all *heck* broke loose.

I was confronted with this monstrosity:

Image

Basically these files or folders cant be deleted, renamed, moved or anything.

I know I could simply take all the other things off my memory stick and then format it, but I'm curious - anyone have any idea?

Thanks,
owen.
I'm taking modelling requests again - any models you want created,skinned or animated (or all 3) leave a post here:



My tutorial site - still under construction, but lots of good stuff there:


owenisred
Member
Member
Posts: 452
Joined: August 9th, 2010, 9:33 am
Name: Owen
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Cant delete file!

Postby owenisred » October 23rd, 2010, 8:52 am

oh and did i mention - the folder cant be opened because the file name, directory name, or volume label syntax is incorrect

Edit: Although these files appear to have a size, when I right click and properties, they dont. Also more worringly, they are opened with windows shell command.
I'm taking modelling requests again - any models you want created,skinned or animated (or all 3) leave a post here:



My tutorial site - still under construction, but lots of good stuff there:


User avatar
InHumanUnit
Member
Member
Posts: 1450
Joined: May 22nd, 2010, 7:23 am
Name: Ian, Haiku, I got alot ;)
Location: Toyko, Japan. Currently in Illonis, Round Lake in America for secret purposes
Contact:

Re: Cant delete file!

Postby InHumanUnit » October 23rd, 2010, 8:59 am

Hmmmm...I think the roblem may be your memory stick, it can only hold up to a certain amount and PAS has more then 3,000 items...
Image
Image

XEON BOX GAMES - XBG is a blast from the past of a pirate mast to a cars thats fast.
You dare challenge me to Halo:Reach? You must die!

daltonds1
Member
Member
Posts: 368
Joined: September 13th, 2010, 12:26 am
Name: Dalton
IRC Username: Daltonds1
Location: Tomball, Texas
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Cant delete file!

Postby daltonds1 » October 23rd, 2010, 9:14 am

1 Is the file in use? It sounds obvious but it happens. If it is being used or open, close the file and the application that opened it. For example, if it is a Word document, close Microsoft Word.
2 If the file was opened in an application (and subsequently closed), but the program is still running, try quitting the program. Windows will lock a file because the application hasn't yet released it. This is not always Windows fault and can be the fault of the program.
3 If the file is an AVI, in particular a DivX AVI, try renaming it and then deleting it. DivX files don't get on very well with Windows XP and sometimes renaming the file can trick Windows into releasing it.
4 Reboot your PC and don't start any programs. Go directly to the file and delete it.
5 In Windows Explorer, switch to View-Details and then select View-Choose Details. Uncheck everything except the file name. This stops Windows XP trying to read the file - this problem affects many video, audio and graphics files.
6 Still no luck? OK, here is the best trick of all. Most sites give you cryptic Windows registry and DOS commands to remove a file, but the answer is so much simpler. Get a copy of MoveOnBoot or . both are free these simple tools will allow you to Move, Copy or Delete files before Windows can lock or alter the files. There are no messy boot or DOS commands, just a simple 3-step process.

Hirato
Developer
Developer
Posts: 689
Joined: May 30th, 2009, 1:23 pm
IRC Username: hirato
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Cant delete file!

Postby Hirato » October 23rd, 2010, 9:47 am

I had something similar happen on my portable music player when I unplugged it after playing a few songs from it (how exclusive read operations can do this is beyond me) - basically most of the music disappeared and and odd 1GB + files appeared (so this 1 GB thingie was holding 21.2GB, according to itself)

your best bet is to either
1) run a disk check on the drive, then delete any corrupt files after repairs
2) format the disk
This is not a url, clicking it is pointless

owenisred
Member
Member
Posts: 452
Joined: August 9th, 2010, 9:33 am
Name: Owen
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Cant delete file!

Postby owenisred » October 23rd, 2010, 10:23 am

hirato - yea this sounds similar to my situation these things should be tiny but claim to hold something like 9GB in total. I guess ill just format the drive tho its annoying - I'm quite interested as to how this could have happened.

Thanks anyway guys :)
I'm taking modelling requests again - any models you want created,skinned or animated (or all 3) leave a post here:



My tutorial site - still under construction, but lots of good stuff there:


User avatar
Leo_V117
Support Team
Support Team
Posts: 1640
Joined: February 16th, 2010, 8:00 pm
Name: Leo
IRC Username: Leo_V117
Location: That one place...
Contact:

Re: Cant delete file!

Postby Leo_V117 » October 23rd, 2010, 10:46 pm

Actually... Ive had the exact same problem... Luckily Windows 7 has a method of removing such files. Whats happened is, you've removed the memory stick during transfer of the files, if you go back to the source (the computer the files came from) and copy the files that were there to start with, you can repair the corrupted files. Or as Hirato suggested:
1) Run a disk check on the drive, then delete any corrupt files after repairs.
2) Format the disk.




owenisred
Member
Member
Posts: 452
Joined: August 9th, 2010, 9:33 am
Name: Owen
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Cant delete file!

Postby owenisred » October 24th, 2010, 7:35 am

I'm taking modelling requests again - any models you want created,skinned or animated (or all 3) leave a post here:



My tutorial site - still under construction, but lots of good stuff there:


User avatar
Leo_V117
Support Team
Support Team
Posts: 1640
Joined: February 16th, 2010, 8:00 pm
Name: Leo
IRC Username: Leo_V117
Location: That one place...
Contact:

Re: Cant delete file!

Postby Leo_V117 » October 24th, 2010, 9:03 am

No problem! And by glancing at the screenshot, I can tell youre using Windows 7 (I use it too) or I may be wrong (and you could be using Vista)




owenisred
Member
Member
Posts: 452
Joined: August 9th, 2010, 9:33 am
Name: Owen
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Cant delete file!

Postby owenisred » October 24th, 2010, 9:29 am

vista... dont make me laugh lol

yea im using win7 although im a linux guy too :)
I'm taking modelling requests again - any models you want created,skinned or animated (or all 3) leave a post here:



My tutorial site - still under construction, but lots of good stuff there:



[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “Sandbox General Support”

Who is online

Users browsing this forum: No registered users and 8 guests