Cannot open output file

Go To Last Post
9 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello,

I'm stumped.
Finally got myself a laptop.
Downloaded AVR Studio into the laptop.
Copied an ASM file from desktop into a new project.
Hitting F7 to assemble.

Get this message: FATAL ERROR Cannot open output file.
Followed by the complete and correct search path ending with:
optifire_baseunit_12_0.hex: No such file or directory.

This have never happened to me before.
I have installed Studio in different versions a number of times.
After starting a new project and pasting an ASM file into editor screen, hitting F7 have always PRODUCED a number of files.
The .hex file being one of them.

What am I missing?
Suggestions?
This drives me nuts...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Are you running with Admin privileges? Has the horrendous UAC rubbish been turned off yet?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
Get this message: FATAL ERROR Cannot open output file.
Followed by the complete and correct search path ending with:
optifire_baseunit_12_0.hex: No such file or directory.

One thing to test is if you at all have rights/privileges to write to that directory/folder: Just take any small text file and try to copy it to the troubling folder in Windoze Explorer.

Also: What path is it? Is at or "below" your user folder in Documents and Settings?

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
One thing to test is if you at all have rights/privileges to write to that directory/folder: Just take any small text file and try to copy it to the troubling folder in Windoze Explorer.

Also: What path is it? Is at or "below" your user folder in Documents and Settings?

I'll start with the easy questions...
Yes, I can copy a text file.
The complete path is C:\Documents and Settings\Ägaren\Skrivbord\Optifier\optifire_baseunit_12_0.asm
"Ägaren" is left from the former owner of the laptop. Stupid.
Have to change that eventually...
Quote:
Are you running with Admin privileges?
Don't know, just bought the laptop and a lot of things look odd and unfamiliar, such as all Windoze text in Swedish.
Quote:
Has the horrendous UAC rubbish been turned off yet?
No clue what that is. My knowledge of PC's is NOT GOOD. Have a son that normally fix things in such a speed that I never can follow what he does.
Unmanned Artificial Crap?
I'll try to find out if I have admin rights...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Lennart!

I notice there is a swedish Ä character in that path. Tried to create the file in another location w/o any "special national characters"?

Tried running AVR Studio as Administrator? (Right click on Studio exe file and choose Run as..).

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

If you can find your way to "Control Panel" go to "Security Center". Under "Other security settings" you will hopefully find a thing called "User account control". When it's on it pops up alerts when programs attempt things it considers might be a security violation. That in itself might be considered a "good thing". But it seems to do some "hidden control" that you don't seem to get any options to allow/prevent. For example, while enabled, files simply cannot be written to the root directory of the drive which is beyond annoying. It's often the thing that will prevent software installing or operating.

While in Control Panel also look at "User Accounts". Where your login account name is listed does the word "Administrator" appear (I imagine it's probably a different word in Swedish) If it's not there then there should be an option to "Change your account type"

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'll answer the easy stuff first again.
"Ägaren" (me) seem to be Datoradministratör(computer administrator).

Quote:
Tried running AVR Studio as Administrator? (Right click on Studio exe file and choose Run as..).

Done that. "Ägaren" have the right to use Studio.
I'll keep on digging on the other suggestions.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I DO NOT LIKE WINDOWS.
Changed the administrator name to something else than "Ägaren".
When I log on the new name appear.
Starting Studio again I see the folder "Ägaren" still remain in the search path.
Got the brilliant idea to change the name of that folder.
Of course Windows won't let me do this...
Need some food, I'm getting dizzy.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Food is an amazing thing.
Created a new folder under C: to avoid passing "Ägaren" in the search path.
Now the project assemble as normal.
Need to change a lot of settings in Windows before I feel familiar, but that's another story
Thanks for the support.