Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2014-05

File Access Problems in Linux

7 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Gordon Cooper

Several days ago I posted a request about filing conventions, a request that had no response. I am asking this again, as I am having file access problems. Am attempting to use Lazarus on Linux, specifically Kubuntu 12.04.

Having set a separate folder for this, my first Lazarus project, all went well with form design, addition of components, and compilation until I added a Tdbf. I was able to define index and memo items, but any attempt to activate was rejected, the error saying that the predefined project folder could not be opened.

This had always worked for me over several years of TP and then Delphi on Windows, so there is obviously something I am missing in the Linux implementation. I have tested this several times to the extent of completely
deleting all of the project's files and starting again with a blank form.

Regards,
Gordon

Reply by email

Michael Van Canneyt
to Gordon Cooper
Gordon Cooper wrote 10 lines
Several days ago I posted a request about filing conventions, a request that had no response. I am asking this again, as I am having file access problems. Am attempting to use Lazarus on Linux, specifically Kubuntu 12.04. Having set a separate folder for this, my first Lazarus project, all went well with form design, addition of components, and compilation until I added a Tdbf. I was able to define index and memo items, but any attempt to activate was rejected, the error saying that the predefined project folder could not be opened.

Can you post the exact error message, please ?

Michael.

Reply by email

Allan E. Registos
to Gordon Cooper: Several days ago I posted a request about filing conventions, a request that had no…
Gordon Cooper wrote 11 lines
Several days ago I posted a request about filing conventions, a request that had no response. I am asking this again, as I am having file access problems. Am attempting to use Lazarus on Linux, specifically Kubuntu 12.04. Having set a separate folder for this, my first Lazarus project, all went well with form design, addition of components, and compilation until I added a Tdbf. I was able to define index and memo items, but any attempt to activate was rejected, the error saying that the _predefined __ __project folde_r could not be opened.

Have you tried chmod or chown commands?

Show quoted text 16 lines
This had always worked for me over several years of TP and then Delphi on Windows, so there is obviously something I am missing in the Linux implementation. I have tested this several times to the extent of completely deleting all of the project's files and starting again with a blank form. Regards, Gordon -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140517/77ad68b6/attachment.html> -------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4267 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140517/77ad68b6/attachment.bin>

Reply by email

Mattias Gaertner
to Gordon Cooper
The error message reads: 'Unable to open file "/usr/lib/lazarus/0.9.30.2/"

0.9.30 is a pretty old version.

Note: this is the default file in the Environment Settings.

What version did you install?
How did you install it? deb, zip, svn, ...?

Mattias

Reply by email

Gordon Cooper
to Mattias Gaertner

Mattias,

This is the version packaged in the repository for the Kubuntu version I am using. A straight download and install.

Yes it is old, repository packages tend to be behind the times. I will install a newer version later today, but doubt if it will make any difference
in this case.

Also, it is certainly my mistakes or missing steps in my useage. Have quickly set up a Win version of Lazarus 1.2 on a machine running XP. Repeated the design sequence and received the same error message about being unable to open the file for saving. So will be checking all paths and steps.

First thought was that the problem is something related to Linux file systems. Second thought, it is me!

Gordon

Mattias Gaertner wrote
What version did you install? How did you install it? deb, zip, svn, ...?

Reply by email