Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21587 Discussions

Cant open project

Altera_Forum
Honored Contributor II
7,056 Views

Hi, 

 

I am new to this software but have been asked to modify a .qfp file. 

 

When I try to open the file I am told: cant open project--you dont have permission to write to all the files or create new files in the projects database directory. 

 

Can anyone offer any advice on how to overcome this? 

 

Thanks in advance.
0 Kudos
7 Replies
Altera_Forum
Honored Contributor II
5,237 Views

the .qpf file is modified by quartus and usually only contains revision information. 

Are you sure you werent asked to modify a .qsf file? that has all of the project settings, like pinout, file lists and so on. 

 

Either way, for either file, I would suggest you close the project and modify the files in some other text editor (they are just text files). Trying to modify them with the project open could cause issues.
0 Kudos
Altera_Forum
Honored Contributor II
5,237 Views

Hi Tricky, Thanks for the response. 

 

The .qpf files contain program information for a machine I have started using. Standard programs are transferred from the manufacturer via USB to the machine. Only visible files in this transfer are .qpf. I have been asked to open the file to use it as a template from which I can create a new program. 

 

Regarding opening from a text editor this leaves me with a page of what appears to be Chinese text, is this normal?
0 Kudos
Altera_Forum
Honored Contributor II
5,237 Views

No. .qpf should just be a small text file - usually without much in it. 

Is it really a .qar file (which is an archived project).
0 Kudos
Altera_Forum
Honored Contributor II
5,237 Views

The you don't have permission message suggests that the problem is a windows file protection issue. You need to have write access to all the files in the project in order to do useful work. Consult an expert in your CM system or a windows expert for help on getting this resolved.

0 Kudos
Altera_Forum
Honored Contributor II
5,237 Views

I am having a similar problem, when I try to compile a schematic, I get the message "Error (132005): Can't open project -- at least one file is read-only or you do not have permission to create new files in the project's database directory". I'm just trying the tutorial in the Quartus II Introduction called 'light', don't know why I'm getting this error. I was set up as an administrator for this computer.

0 Kudos
Altera_Forum
Honored Contributor II
5,237 Views

Well, I just discovered that the actual problem was due to me not completing the schematic, I had an unattached gate and output pin. Why didn't it just say so?

0 Kudos
dperea_usc
Beginner
1,605 Views

If anyone finds this later, this is an error with how the attributes are set with the project files.  See following link:

https://www.intel.com/content/www/us/en/support/programmable/articles/000084612.html

 

To solve this:

   1. Open a command shell (Start menu -> Run... -> Enter cmd and press OK).

   2. Change to the project directory, i.e. cd <project path> and press Enter.

   3. Run the one of the following commands:

      attrib -R /S /D *

 

This should clear the write protection flags for all the files and subdirectories in this project direcotry.

It is not necessary to delete or reinstall any files or directories.

0 Kudos
Reply