Author Topic: Why is "File not found"? (hopefully a one off freak thing)  (Read 2877 times)

0 Members and 1 Guest are viewing this topic.

Offline Cobalt

  • QB64 Developer
  • Forum Resident
  • Posts: 878
  • At 60 I become highly radioactive!
    • View Profile
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.
« Last Edit: May 16, 2021, 09:34:54 pm by Cobalt »
Granted after becoming radioactive I only have a half-life!

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Why is "File not found"?
« Reply #1 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.
« Last Edit: May 16, 2021, 03:07:44 pm by bplus »

Offline SpriggsySpriggs

  • Forum Resident
  • Posts: 1145
  • Larger than life
    • View Profile
    • GitHub
Re: Why is "File not found"?
« Reply #2 on: May 16, 2021, 02:39:06 pm »
I shall have to give this a go when I get home
Shuwatch!

FellippeHeitor

  • Guest
Re: Why is "File not found"?
« Reply #3 on: May 16, 2021, 03:07:09 pm »
Is that the latest version of QB64?

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Why is "File not found"?
« Reply #4 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.
« Last Edit: May 16, 2021, 03:11:10 pm by bplus »

FellippeHeitor

  • Guest
Re: Why is "File not found"?
« Reply #5 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.

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Why is "File not found"?
« Reply #6 on: May 16, 2021, 03:15:10 pm »
Can you tell something from error number?

FellippeHeitor

  • Guest
Re: Why is "File not found"?
« Reply #7 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.

Offline Cobalt

  • QB64 Developer
  • Forum Resident
  • Posts: 878
  • At 60 I become highly radioactive!
    • View Profile
Re: Why is "File not found"?
« Reply #8 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.
« Last Edit: May 16, 2021, 03:40:56 pm by Cobalt »
Granted after becoming radioactive I only have a half-life!

Offline TempodiBasic

  • Forum Resident
  • Posts: 1792
    • View Profile
Re: Why is "File not found"?
« Reply #9 on: May 16, 2021, 04:34:13 pm »
I cannot duplicate the result in QB64 IDE version 1.5
Programming isn't difficult, only it's  consuming time and coffee

Offline Cobalt

  • QB64 Developer
  • Forum Resident
  • Posts: 878
  • At 60 I become highly radioactive!
    • View Profile
Re: Why is "File not found"? (hopefully a one off freak thing)
« Reply #10 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.
Granted after becoming radioactive I only have a half-life!

FellippeHeitor

  • Guest
Re: Why is "File not found"? (hopefully a one off freak thing)
« Reply #11 on: May 16, 2021, 09:47:13 pm »
Glad to hear, @Cobalt. Thanks for digging further.