QB64.org Forum

Active Forums => QB64 Discussion => Topic started by: Cobalt on May 16, 2021, 02:18:46 pm

Title: Why is "File not found"? (hopefully a one off freak thing)
Post by: Cobalt on May 16, 2021, 02:18:46 pm
So went to open a BAS file in the IDE and this error pops up. Double checked to make sure file was there, and even opened in a text editor to make sure it wasn't broken. Nope all looks good but the QB64 IDE will not find it, even though it shows up in the file browser within the IDE.

What is up with this.

Steps to reproduce,
Have a file open in the IDE
Go to the open dialog
Change directory
Select new file
Hit OK

errors every time.

see video:


Any Ideas?
Heres a screen capture showing the file is really there and even opened in a text editor.
Title: Re: Why is "File not found"?
Post by: bplus on May 16, 2021, 02:38:44 pm
Try loading files after Screen statement.

Update: I was flustered by same thing, it's because you are using 32 in _LOADIMAGE before the screen knows it can do 32 color processing.


Update: just tested that's not it, sorry.

Quote
Steps to reproduce,
Have a file open in the IDE
Go to the open dialog
Change directory
Select new file
Hit OK



Are you changing directory in the Open Dialog?
I mean I do this all the time Open a file, check it out, then Open a file in another directory from the Open Dialog box.
Title: Re: Why is "File not found"?
Post by: SpriggsySpriggs on May 16, 2021, 02:39:06 pm
I shall have to give this a go when I get home
Title: Re: Why is "File not found"?
Post by: FellippeHeitor on May 16, 2021, 03:07:09 pm
Is that the latest version of QB64?
Title: Re: Why is "File not found"?
Post by: bplus on May 16, 2021, 03:09:50 pm
Oh looks like he is changing drives in video.

Update: But it's the same drive he is already in, it looks like.
Title: Re: Why is "File not found"?
Post by: FellippeHeitor on May 16, 2021, 03:14:19 pm
Watching the video again this is definitely not the latest version. Please confirm the issue is reproducible in the latest stable version.
Title: Re: Why is "File not found"?
Post by: bplus on May 16, 2021, 03:15:10 pm
Can you tell something from error number?
Title: Re: Why is "File not found"?
Post by: FellippeHeitor on May 16, 2021, 03:20:47 pm
Can’t tell which build he’s using, line numbers won’t match latest version. I need @Cobalt to confirm the issue exists in the latest stable build so we can proceed from there.
Title: Re: Why is "File not found"?
Post by: Cobalt on May 16, 2021, 03:36:56 pm
1.4 ver.(0f49b2c)

1.5ver hasn't done this in my testing so far, but also doesn't give me access to all my drives.
DVD drives and Removable drives aren't showing up.

Edit...
and actually mine wont let me open any file at all, no matter what. so I think I crapped it doing something earlier and just noticed when I went to open a new file, question is what did I do? Cause I will have to try and redo every thing I did prior to the error starting with 1.5 to confirm that its not going to happen.
even the recent file links are not working and keeps asking to remove them.
Title: Re: Why is "File not found"?
Post by: TempodiBasic on May 16, 2021, 04:34:13 pm
I cannot duplicate the result in QB64 IDE version 1.5
Title: Re: Why is "File not found"? (hopefully a one off freak thing)
Post by: Cobalt on May 16, 2021, 09:44:52 pm
Have tried and tried but cant get it to freak out again.  tried to recreate every error that I managed to get today, retyped the last program again, recreated the errors in the order I remembered them.  the only thing I could not recreate was the help not working, then having to use the update all pages it. Why the help stopped working I don't know. worked fine after updating all pages.

So it might exist in 1.5 but until I can start the ide fresh and cause it to happen again we'll never know.

In conclusion; This hopefully was just a one off fluke.
Title: Re: Why is "File not found"? (hopefully a one off freak thing)
Post by: FellippeHeitor on May 16, 2021, 09:47:13 pm
Glad to hear, @Cobalt. Thanks for digging further.