Recent

Author Topic: [UNSOLVED]Access Violation  (Read 3406 times)

Alf Wernersson

  • New Member
  • *
  • Posts: 17
[UNSOLVED]Access Violation
« on: November 20, 2015, 08:43:24 pm »

Hope this is the right thread for my question. My setup looks like this:

==============================================================
Ubuntu 14.04 LTS installed on:

VirtualBox Version 5.0.10 r 104061

Lazarus Version #: 1.4.4 Date:2015-11-16 FPC Version: 2.6.4
SVN Revision: Universioned directory i386-linux-gtk2
==============================================================


My problem is that when I want to save a file to my home directory,
I get the error message: "Access Violation". If I start Lazarus in a
terminal the following text is presented:


==============================================================
alf@Lazarus:~$ startlazarus %f
Adding "%f" as a parameter
 is a file
TLazarusManager.Run starting /home/alf/.lazarus/bin/lazarus ...
TMainIDE.ParseCmdLineOptions:
  PrimaryConfigPath="/home/alf/.lazarus"
  SecondaryConfigPath="/etc/lazarus"
Looking for code tools config file:  "/home/alf/.lazarus/codetoolsoptions.xml"
NOTE: codetools config file not found - using defaults
TBuildManager.SetBuildTarget Old=i386-linux-gtk2 New=i386-linux-gtk2 FPC=True LCL=False
NOTE: help options config file not found - using defaults
WARNING: command line file not found: "/home/alf/%f"
WARNING: command line file not found: "/home/alf/%f"
TApplication.HandleException Access violation
  Stack trace:
  $B687E926
==============================================================

Saving and reading files to/from an external USB-drive works fine.
Can someone tell me how to solve this problem?

Regards
Alf

« Last Edit: November 22, 2015, 08:20:36 am by awerner »

Cyrax

  • Hero Member
  • *****
  • Posts: 836
Re: Access Violation
« Reply #1 on: November 20, 2015, 10:52:22 pm »
Quote
startlazarus %f
...
Adding "%f" as a parameter

What does mean "%f" in this context?

Alf Wernersson

  • New Member
  • *
  • Posts: 17
Re: Access Violation
« Reply #2 on: November 20, 2015, 11:03:59 pm »
I "stole" it from the properties of Lazarus starting icon. It is however the same result if I only write "startlazarus"
« Last Edit: November 20, 2015, 11:07:20 pm by awerner »

Leledumbo

  • Hero Member
  • *****
  • Posts: 8835
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Access Violation
« Reply #3 on: November 21, 2015, 09:08:38 am »
Quote
startlazarus %f
...
Adding "%f" as a parameter

What does mean "%f" in this context?
http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s06.html

 

TinyPortal © 2005-2018