• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X PCB Editor
  3. [SOLVED] A number of "permission denied", "failed to open...

Stats

  • Replies 2
  • Subscribers 159
  • Views 6809
  • Members are here 0
More Content

[SOLVED] A number of "permission denied", "failed to open file", "cannot save parameters in that file name" errors due to Avast

wwwMKRDinfo
wwwMKRDinfo over 5 years ago

Folks, I am seeing a boatload of "file access" issues with a PCB design that I took all the way to artwork generation, and I have done VERY MINOR edits in the schematic, updated the netlist, went back into PCB editor, did minor changes to reflect schematic changes, and then I am trying to re-create manufacturing files, this is where I am seeing multiple issues all seemingly claiming that previously-generated files can no longer be overwritten!!!:

1. I have taken multiple designs before to completion of artwork and manufacturing files generation. Never before I had issues with unrouted connections. Now that I have replaced a few symbols by the ECO operation from schematic entry, and re-positioned them, I see "unrouted" connections show up around these newly placed parts. The "unrouted" connections are super short, I have no idea what Allegro PCB Designer wants, I clearly see copper on top of pin, and I have even "reran" some more copper traces on top of old traces. Allegro PCB Designer stupidly claims that I have missing connection here.

2. If Allegro PCB Designer claims that I have 1% of "unrouted" connections, then how possibly can DRC status be GREEN???

But the absolute show-stopper for me is NC drill files regeneration. I HAVE ALREADY generated these files for previous revision of the design, now re-creating then is impossible!

3. Trying to re-create Artwork apertures I get "Failed to open file". Well, the file IS MOST DEFINITELY THERE, AT THE SPECIFIED LOCATION, AND IT CONTAINS DATA PREVIOUSLY GENERATED IN PREVIOUS REVISION OF THIS DESIGN.

4. TRYING TO RE-CREATE DRILL LEGEND, I GET ERROR "*Error* deleteFile: permission denied - "./nc_param.txt"". Again, this file was already generated during previous manufacturing files generation, it DOES exist, it is in a normal location (my project file, in folder called allegro). OrCAD tries to create a file called nc_param.txt.new.

5. Trying to use NC Parameters window, I get error "Cannot save parameters in that file name".

6. Trying to generate NC Drill files, pressing on Drill button I get NOTHING. Why wouldn't at least a meaningful log be generated? The log that is available is for the previous design iteration, when I was able to generate all manufacturing files successfully.

Also I have a bizarre error in nclegend.log. Claims that a colum does not exist but then again I CAN DIRECTLY OPEN THAT FILE AND THE COLUM DOES INDEED EXIST!!!

Did a single setting get garbled up? Paths setting of some sort? Why can it no longer understand files both within my project, and default templates in its own installation folder??? I am DIRECTLY pointing Allegro PCB Designer to configuration files, and yet it still claims that it cannot write to those files!

Allegro PCB Designer 17.2-2016 S051 [1/28/2019] Windows SPB 64-bit Edition

Fullscreen 1856.art_aper.txt Download
INPUT-UNITS     INCHES

WHEEL     1

LINE               4            D211
LINE               6            D212
LINE               8            D213
LINE              10            D214
LINE              16            D230
LINE              20            D221
LINE              25            D215
LINE              30            D223
LINE              40            D218
LINE              50            D217
LINE              60            D226
LINE              70            D220
LINE              80            D233
LINE              90            D216
LINE             100            D229
LINE             120            D237
LINE             150            D224
LINE             170            D238
LINE             180            D228
LINE             190            D240
LINE             200            D227
LINE             250            D232
LINE             300            D235
LINE             350            D222
LINE             400            D231
LINE             450            D225
LINE             460            D239
LINE             470            D234
LINE             490            D236
LINE             500            D219
CIRCLE            24            D37
CIRCLE            30            D38
CIRCLE            38            D36
CIRCLE            44            D47
CIRCLE            50            D11
CIRCLE            55            D27
CIRCLE          59.1            D53
CIRCLE            64            D54
CIRCLE            70            D26
CIRCLE            75            D29
CIRCLE            79            D82
CIRCLE            80            D51
CIRCLE            85            D28
CIRCLE            90            D59
CIRCLE            95            D61
CIRCLE           100            D79
CIRCLE           105            D80
CIRCLE           115            D73
CIRCLE           120            D74
CIRCLE           125            D57
CIRCLE           135            D58
CIRCLE           140            D50
CIRCLE           150            D34
CIRCLE           160            D35
CIRCLE           170            D33
CIRCLE           175            D55
CIRCLE           176            D14
CIRCLE           180            D10
CIRCLE           190            D46
CIRCLE           200            D12
CIRCLE           250            D70
CIRCLE           255            D71
CIRCLE           270            D68
CIRCLE           300            D18
CIRCLE           350            D31
CIRCLE           360            D32
CIRCLE           370            D30
CIRCLE           400            D20
CIRCLE           405            D49
CIRCLE           410            D21
CIRCLE           420            D19
CIRCLE           450            D39
CIRCLE           455            D66
CIRCLE           500            D16
CIRCLE           505            D40
CIRCLE           510            D17
CIRCLE           520            D15
SQUARE            75   0.00000            D64
SQUARE            79   0.00000            D84
SQUARE            80   0.00000            D65
SQUARE            85   0.00000            D63
SQUARE            90   0.00000            D67
SQUARE           100   0.00000            D83
SQUARE           115   0.00000            D76
SQUARE           120   0.00000            D77
SQUARE           150   0.00000            D43
SQUARE           155   0.00000            D75
SQUARE           160   0.00000            D44
SQUARE           200   0.00000            D42
RECTANGLE         15        70   0.00000  D96
RECTANGLE         16        71   0.00000  D92
RECTANGLE         18        73   0.00000  D94
RECTANGLE         23        78   0.00000  D90
RECTANGLE         24        79   0.00000  D86
RECTANGLE         29        84   0.00000  D88
RECTANGLE         30        30   0.00000  D169
RECTANGLE         30        34   0.00000  D141
RECTANGLE         30        38   0.00000  D165
RECTANGLE         31        31   0.00000  D167
RECTANGLE         31        35   0.00000  D137
RECTANGLE         31        39   0.00000  D161
RECTANGLE         33        41   0.00000  D163
RECTANGLE         34        30   0.00000  D142
RECTANGLE         34        34   0.00000  D210
RECTANGLE         35        31   0.00000  D138
RECTANGLE         35        35   0.00000  D208
RECTANGLE         36        36   0.00000  D168
RECTANGLE         36        40   0.00000  D139
RECTANGLE         38        30   0.00000  D166
RECTANGLE         39        31   0.00000  D162
RECTANGLE         39        59   0.00000  D119
RECTANGLE       39.4      59.1   0.00000  D115
RECTANGLE         40        36   0.00000  D140
RECTANGLE         40        40   0.00000  D209
RECTANGLE         41        33   0.00000  D164
RECTANGLE         42        62   0.00000  D117
RECTANGLE         46        46   0.00000  D133
RECTANGLE         46       136   0.00000  D110
RECTANGLE         47        47   0.00000  D131
RECTANGLE         47       137   0.00000  D106
RECTANGLE         49        64   0.00000  D206
RECTANGLE         49        80   0.00000  D190
RECTANGLE         50        60   0.00000  D126
RECTANGLE         50        65   0.00000  D202
RECTANGLE         50        81   0.00000  D186
RECTANGLE         51        61   0.00000  D122
RECTANGLE         52       142   0.00000  D108
RECTANGLE         53        53   0.00000  D132
RECTANGLE         55        70   0.00000  D204
RECTANGLE         55        86   0.00000  D188
RECTANGLE         56        66   0.00000  D124
RECTANGLE         56        94   0.00000  D153
RECTANGLE         59        39   0.00000  D120
RECTANGLE       59.1      39.4   0.00000  D116
RECTANGLE         60        50   0.00000  D125
RECTANGLE         60       200   0.00000  D144
RECTANGLE         61        51   0.00000  D121
RECTANGLE         61        99   0.00000  D155
RECTANGLE         62        42   0.00000  D118
RECTANGLE         64        49   0.00000  D207
RECTANGLE         65        50   0.00000  D203
RECTANGLE         65       200   0.00000  D148
RECTANGLE         65       205   0.00000  D146
RECTANGLE         66        56   0.00000  D123
RECTANGLE         67        98   0.00000  D128
RECTANGLE         70        15   0.00000  D95
RECTANGLE         70        55   0.00000  D205
RECTANGLE         71        16   0.00000  D91
RECTANGLE         72       103   0.00000  D130
RECTANGLE         73        18   0.00000  D93
RECTANGLE       74.8    110.24   0.00000  D22
RECTANGLE         76       125   0.00000  D97
RECTANGLE         77       168   0.00000  D184
RECTANGLE         78        23   0.00000  D89
RECTANGLE         78       169   0.00000  D180
RECTANGLE         79        24   0.00000  D85
RECTANGLE         80        49   0.00000  D191
RECTANGLE         80       115   0.00000  D24
RECTANGLE         81        50   0.00000  D187
RECTANGLE         81       130   0.00000  D99
RECTANGLE         83       174   0.00000  D182
RECTANGLE         84        29   0.00000  D87
RECTANGLE         86        55   0.00000  D189
RECTANGLE         87       146   0.00000  D111
RECTANGLE         89       109   0.00000  D178
RECTANGLE         90        90   0.00000  D136
RECTANGLE         90       110   0.00000  D174
RECTANGLE         90       149   0.00000  D113
RECTANGLE         91        91   0.00000  D134
RECTANGLE         94        56   0.00000  D154
RECTANGLE         95       100   0.00000  D170
RECTANGLE         95       115   0.00000  D176
RECTANGLE         96        96   0.00000  D135
RECTANGLE         98        67   0.00000  D127
RECTANGLE         99        61   0.00000  D156
RECTANGLE        100        95   0.00000  D171
RECTANGLE        103        72   0.00000  D129
RECTANGLE        105       110   0.00000  D172
RECTANGLE        105       219   0.00000  D197
RECTANGLE        106       220   0.00000  D193
RECTANGLE        109        89   0.00000  D179
RECTANGLE        110        90   0.00000  D175
RECTANGLE        110       105   0.00000  D173
RECTANGLE     110.24      74.8   0.00000  D23
RECTANGLE        111       225   0.00000  D195
RECTANGLE        115        80   0.00000  D25
RECTANGLE        115        95   0.00000  D177
RECTANGLE        120       215   0.00000  D198
RECTANGLE        125        76   0.00000  D98
RECTANGLE        125       220   0.00000  D200
RECTANGLE        130        81   0.00000  D100
RECTANGLE        136        46   0.00000  D109
RECTANGLE        137        47   0.00000  D105
RECTANGLE        142        52   0.00000  D107
RECTANGLE        146        87   0.00000  D112
RECTANGLE        149        90   0.00000  D114
RECTANGLE        168        77   0.00000  D185
RECTANGLE        169        78   0.00000  D181
RECTANGLE        174        83   0.00000  D183
RECTANGLE        200        60   0.00000  D143
RECTANGLE        200        65   0.00000  D147
RECTANGLE        205        65   0.00000  D145
RECTANGLE        215       120   0.00000  D199
RECTANGLE        215       235   0.00000  D101
RECTANGLE        219       105   0.00000  D196
RECTANGLE        220       106   0.00000  D192
RECTANGLE        220       125   0.00000  D201
RECTANGLE        220       240   0.00000  D103
RECTANGLE        225       111   0.00000  D194
RECTANGLE        235       215   0.00000  D102
RECTANGLE        240       220   0.00000  D104
RECTANGLE        244       256   0.00000  D157
RECTANGLE        249       261   0.00000  D159
RECTANGLE        256       244   0.00000  D158
RECTANGLE        261       249   0.00000  D160
RECTANGLE        372       500   0.00000  D150
RECTANGLE        377       505   0.00000  D152
RECTANGLE        500       372   0.00000  D149
RECTANGLE        505       377   0.00000  D151
FLASH     AB00                 0.00000  D13
FLASH     THERMALRELIEF_100_79_12_4   0.00000  D81
FLASH     THERMALRELIEF_120_100_18_4   0.00000  D78
FLASH     THERMALRELIEF_155_115_20_4   0.00000  D72
FLASH     THERMALRELIEF_175_125_19_4   0.00000  D56
FLASH     THERMALRELIEF_200_150_23_4   0.00000  D41
FLASH     THERMALRELIEF_200_180_27_4   0.00000  D45
FLASH     THERMALRELIEF_270_250_40_4   0.00000  D69
FLASH     THERMALRELIEF_350_400_85_4   0.00000  D48
FLASH     THERMALRELIEF_75_85_20_4   0.00000  D62
FLASH     THERMALRELIEF_80_59_12_4   0.00000  D52
FLASH     THERMALRELIEF_90_75_12_4   0.00000  D60

Fullscreen 8308.nclegend.log Download
(---------------------------------------------------------------------)
(                                                                     )
(    DRILL LEGEND                                                     )
(                                                                     )
(    Drawing          : RELSSW.brd                                    )
(    Software Version : 17.2S051                                      )
(    Date/Time        : Sun Jul 12 23:10:45 2020                      )
(                                                                     )
(---------------------------------------------------------------------)


Begin processing of drill legend template file 'c:/cadence/spb_17.2/share/pcb/text/nclegend/default-mil.dlt' ...
WARNING(SPMHSK-47): Column type 'HoleSize' does not exist.
WARNING(SPMHSK-47): Column type 'PlateStatus' does not exist.
End of drill legend template file processing.
Begin processing of drill legend template file 'c:/cadence/spb_17.2/share/pcb/text/nclegend/default-mil.dlt' ...
WARNING(SPMHSK-47): Column type 'HoleSize' does not exist.
WARNING(SPMHSK-47): Column type 'PlateStatus' does not exist.
End of drill legend template file processing.
Drill Legend command cancelled.

3.

  • Sign in to reply
  • Cancel
  • wwwMKRDinfo
    wwwMKRDinfo over 5 years ago

    Anyone familiar with what is going on here regarding file access/write issues??? I don't care so much anymore regarding no-connect (some of which I have resolved by re-doing ALL sections of the trace, I guess it did not really snap in place as promised / visually expected, and the DRC nonsense).

    I just tried to create a brand-new, super-simple project, and it is having the same issue. So my issue with NOT project-related. It is either OrCAD or OS or third-party software. I looked into my AV virus chest, nothing got trapped there. I can access the file with a text editor. It is not made read-only in the OS. I checked several things already, and no major events transpired in two weeks between when I did the exact same operation, and a few days ago when NC drill files, configuration, and artwork configuration are all broken and non-functional.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wwwMKRDinfo
    wwwMKRDinfo over 5 years ago

    Son of a! Something possessed (literally) Avast to start blocking Allegro PCB Designer from being able to access SOME files but not ALL files!!! (As I can still save designs, etc, etc). It is only blocking configuration files!!! It still allows OrCAD to save designs and make log files. WTH?!?

    As soon as I disabled Avast shields, the problem evaporated!!!

    The reason I thought about Avast was that about four years ago, when I just installed OrCAD on my laptop, it was taking OrCAD half an hour to start. I thought that OrCAD was extraordinarily taxing on my old and beat-up laptop, until my co-worker said "non-sense!". Upon further investigation, somehow after a week of troubleshooting, I happened to peek inside Avast's Virus Quarantine sandbox. Sure as heck, as soon as OrCAD on launch was trying to access a file, Avast would steal and hide that file right under from OrCAD's nose! The bizarre part was that OrCAD would still start, even with now half-dozen files being stolen from it. I told Avast to knock it off, and for years I did not see any further issues, until now... Developers should look into this. See for yourself, it still is in Avast's history:

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information