Failed to create directory error logs error 4 an i o problem has occurred

"Alias Warning   Failed to create directory: errlogs   Error 4 : An I/O problem has occured"   Please help. Can't open Alias Autodesk.

Alias Forum

Welcome to Autodesk’s Alias Forums. Share your knowledge, ask questions, and explore popular Alias topics.


Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.


Showing results for 


Search instead for 

Did you mean: 


  • Back to forum


  • Previous

  • Next

skim147

183 Views, 6 Replies

‎09-17-2022

07:12 PM

AliasWarning


«Alias Warning

Failed to create directory: errlogs

Error 4 : An I/O problem has occured»

Please help. Can’t open Alias Autodesk. 


  • Back to forum


  • Previous

  • Next

6 REPLIES 6

bob55

‎09-19-2022

08:50 AM

Alias tries to make an errlogs directory in «DocumentsAutodeskAlias». 

Check that you have write permission there.

skim147

‎09-19-2022

09:01 AM

Thanks for the reply, but how to give permission?

bdm25

lorenzinbeneditoa

‎12-01-2022

01:34 AM

Did you solve this? I have the same problem. I tried installing older versions and reinstalling, also I tried running alias as admin but the warning still pops up….

lorenzinbeneditoa

lorenzinbeneditoa

‎12-01-2022

01:40 AM

In the locar or roaming folder?


  • Back to forum


  • Previous

  • Next

Если пост связан с какими-либо играми, найдите и выберите их из выпадающего списка

Что делать если Dead Cells выдоёт ошибку SysError(Failed to create directory save)

SysError(Failed to create directory save)

Called from sys.$FileSystem.createDirectory (C:ProjectshaxeToolsstd/hl/_std/sys/FileSystem.hx line 81)
Called from tool.$File.saveBytes (tool/File.hx line 57)
Called from Options.save (Options.hx line 364)
Called from $Options.load (Options.hx line 157)
Called from $Options.loadAndApply (Options.hx line 252)
Called from $Main.__constructor__ (Main.hx line 74)
Called from Boot.endInit (Boot.hx line 449)
Called from haxe.$Timer.~delay.0 (C:ProjectshaxeToolsstd/haxe/Timer.hx line 143)
Called from haxe.$Timer.~__constructor__.0 (C:ProjectshaxeToolsstd/haxe/Timer.hx line 76)
Called from haxe.$MainLoop.tick (C:ProjectshaxeToolsstd/haxe/MainLoop.hx line 174)
Called from hxd.$System.runMainLoop (hxd/System.hl.hx line 126)
Called from hxd.$System.runMainLoop (hxd/System.hl.hx line 123)
Called from haxe.$Timer.~delay.0 (C:ProjectshaxeToolsstd/haxe/Timer.hx line 143)
Called from haxe.$Timer.~__constructor__.0 (C:ProjectshaxeToolsstd/haxe/Timer.hx line 76)
Called from haxe.$MainLoop.tick (C:ProjectshaxeToolsstd/haxe/MainLoop.hx line 174)
Called from haxe.$EntryPoint.processEvents (C:ProjectshaxeToolsstd/haxe/EntryPoint.hx line 99)
Called from haxe.$EntryPoint.run (C:ProjectshaxeToolsstd/haxe/EntryPoint.hx line 125)
вот эта ошибка

Новые темы

Создано Karajok 19 января 2023

Обновлено 26 января 2023

Сломались текстуры

Телефон TECNO spark 8C, несколько дней назад начались проблемы с текстурами, они то пропадают, то меняют цвет, то накладываются друг на друга и появляются непонятные вспышки всех цветов. Чистил память, проверял целостность данных, шаманил с настройками. Если решение проблемы

Виснет игра

У меня последний флагман mi 12 в остальных играх проблем нет, но с не давних пор игра начала лагать, причём лагать сильно, 15-20 fps переустановка не помогает, кто может совет дать?

Ошибка 126

Друзья, я в отчаянии прошу помощи. При запуске выдаёт ошибку Failed to load dll from the list. Error code: 126. Способы из интернета пробовал если не все, то очень многие. Подскажите, пожалуйста, что можно сделать.

Создано Fush1ka 14 января 2023

Обновлено 15 января 2023

Проблема с забеганием в eFootball 2023

Всем привет, подскажите, как можно исправить ситуацию в eFootball 2023 на PC, когда игрок твоей команды после разыгровки с ним стеночки (или прожатия спец управления после паса) начинает забегать к воротам соперника по какой то замысловатой дуге вместо того, что бы неститьс к воротам напрямую?

не воспроизводятся видеоролики в играх

помогите пожалуйста. у меня видео в играх не воспроизводится. например в gta san andreas логотипы rockstar и вступительные видео не воспроизводятся, чёрный экран. звук с котсцен идёт а видео нет. сами игры работают нормально. у меня есть k-lite codec pack, но после его удаления и переустановки ничего не поменялось. и эта проблема не только с gta sa но и с другими играми в которых есть видео. задумываюсь о полной переустановке винды. у меня windows 11 версия 21H2. помогите пожалуйста.

  • Remove From My Forums

 locked

SCUP 2011 — Unable to publish Full Content — «Operation Failed with Error: CreateDirectory failed»

  • Question

  • Hello All,

    I’m having an issue trying to publish the latest Abobe updates (Full Content) to my SCCM/WSUS environment. Metadata works just fine.

    I am running SCUP on the same box as the SCCM Primary Site

    I’ve checked certificates and they are all valid, The issue seems to be when SCUP is trying to create the directory where the update should be placed:

    «Operation Failed with Error: CreateDirectory failed»

    This update procedure has worked in the past when I published an earlier update a few months age. One major thing that happened between then and now is that the WSUSContent directory was deleted and had to be recreated manually. WSUS operations
    were able to be restored after a few permission related problmes were dealt with.

    I would look further into permissioning however I’m not entirely sure where SCUP is trying to create this directory, also I’m running SCUP with a local admin account so I would presume that would have all the permissions necessary.

    I’ve included the pertinant section of SCUP.log, any help/advice would be greatly appreciated.

    Regards,

    Tim

    Updates workspace: Starting publish wizard with 1 updates.
        Publish: Preparing list of selected updates for publishing.
        Connecting to a local update server with locally detected settings.
        Publish: Update server name: DCUSVCM1
        Publish: Publish operation starting for 1 updates.
        Publish: Publish: Verifying update server is configured with a certificate prior to publishing.
        Publish: Publish: Update server appears to be configured with a certificate.
        Building dependency graph for update 'Reader 10.1.1 Update (UpdateId:'f51bc4bd-7424-4c47-ae97-714a8e3895b5' Vendor:'Adobe Systems, Inc.' Product:'Adobe Reader')'
        No dependencies found for update 'Reader 10.1.1 Update (UpdateId:'f51bc4bd-7424-4c47-ae97-714a8e3895b5' Vendor:'Adobe Systems, Inc.' Product:'Adobe Reader')'
    Found total of 0 dependencies (may include duplicates).
    PublishItem: Update ''Reader 10.1.1 Update (UpdateId:'f51bc4bd-7424-4c47-ae97-714a8e3895b5' Vendor:'Adobe Systems, Inc.' Product:'Adobe Reader')'' has no dependencies.
    PublishItem: Publishing update 'Reader 10.1.1 Update (UpdateId:'f51bc4bd-7424-4c47-ae97-714a8e3895b5' Vendor:'Adobe Systems, Inc.' Product:'Adobe Reader')'.
    PublishItem: --- Evaluating software update 'Reader 10.1.1 Update (UpdateId:'f51bc4bd-7424-4c47-ae97-714a8e3895b5' Vendor:'Adobe Systems, Inc.' Product:'Adobe Reader')' for publishing as FullContent.
    PublishItem: Item 'Reader 10.1.1 Update (UpdateId:'f51bc4bd-7424-4c47-ae97-714a8e3895b5' Vendor:'Adobe Systems, Inc.' Product:'Adobe Reader')' is already published on the update server without content, it will need to be revised adding content.
    PublishItem: --- Software update 'Reader 10.1.1 Update (UpdateId:'f51bc4bd-7424-4c47-ae97-714a8e3895b5' Vendor:'Adobe Systems, Inc.' Product:'Adobe Reader')' needs to be revised to add full content.
    PublishItem: Retrieving content for update 'Reader 10.1.1 Update (UpdateId:'f51bc4bd-7424-4c47-ae97-714a8e3895b5' Vendor:'Adobe Systems, Inc.' Product:'Adobe Reader')'.
    PublishItem: --- Content will be saved to C:Users$stwardAppDataLocalTemp\witx4k51.xaeAdbeRdrUpd1011.msp.
    PublishItem: Download Content: file was downloaded successfully.
    PublishItem: Successfully retrieved content for software update 'Reader 10.1.1 Update (UpdateId:'f51bc4bd-7424-4c47-ae97-714a8e3895b5' Vendor:'Adobe Systems, Inc.' Product:'Adobe Reader')' to local file: C:Users$stwardAppDataLocalTemp\witx4k51.xaeAdbeRdrUpd1011.msp$$<Updates Publisher><Thu Oct 20 10:28:23.798 2011.10><thread=10>
    File C:Users$stwardAppDataLocalTemp\witx4k51.xaeAdbeRdrUpd1011.msp appears to be signed, retrieved certificate, checking signature...
    PublishItem: --- SDP XML file for publishing created at C:Users$stwardAppDataLocalTemptmpFD1A.tmp
    PublishItem: --- Calling update server API for publishing update 'Reader 10.1.1 Update (UpdateId:'f51bc4bd-7424-4c47-ae97-714a8e3895b5' Vendor:'Adobe Systems, Inc.' Product:'Adobe Reader')'
    2011-10-19 23:28:33.480 UTC	Info	Scup2011.10	ThreadEntry	_ThreadPoolWaitCallback.PerformWaitCallback
    2011-10-19 23:28:33.483 UTC	Error	Scup2011.10	Publisher.PublishPackage	PublishPackage(): Operation Failed with Error: CreateDirectory failed
       at Microsoft.UpdateServices.Internal.BaseApi.Publisher.PublishPackage(String sourcePath, String additionalSourcePath, String packageDirectoryName)
       at Scup.Wizards.PublishItem.PublishPackage(PublishReportItem reportItem, IPublisher publisher, String contentFolder)
       at Scup.Wizards.NormalPublishItem.Publish(PublishReportItem reportItem)
       at Scup.Wizards.PublishItem.PublishUpdateAndDependencies(PublishReport report)
       at Scup.Wizards.PublishOperation.Start()
       at Scup.Wizards.PublishProgressPage.DoWork(Object sender, DoWorkEventArgs e)
       at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
       at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
       at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
       at System.Threading.ThreadPoolWorkQueue.Dispatch()
       at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
    PublishItem: Exception occurred during publishing: CreateDirectory failed
    PublishProgress: Publish operation completed.
    Publish: Background processing completed.

Answers

  • Hi,

    From your description, I think the problem is not relate to SCUP since it worked before and the error description. I think it is about WSUS, in the log before error we have «PublishItem: — Calling update server API for publishing update ‘Reader 10.1.1
    Update (UpdateId:’f51bc4bd-7424-4c47-ae97-714a8e3895b5′ Vendor:’Adobe Systems, Inc.’ Product:’Adobe Reader’)'». This means error occurs when calling udpate server API all the certificates, update contents are good but failed with CreateDirectory failed.

    So try to check the WSUS content directory permission:

    The WSUS content directory, usually
    <%windir%>WSUSWSUSContent must have
    Full Control permission granted to the
    NT AuthorityNetwork Service account. This permission is set by WSUS server setup when it creates the directory, but it is possible that your security software might reset this. permission. Not having this permission set
    will also cause BITS downloads to fail.

    Have a look at this post:

    http://social.technet.microsoft.com/Forums/en-US/configmgrsum/thread/377ada6d-134d-4f47-ba48-ad8115b65ae7/

    Hope this will help.

    Thanks

    • Edited by

      Thursday, October 27, 2011 7:25 AM

    • Marked as answer by
      Robinson Zhang
      Tuesday, November 8, 2011 2:54 PM

@aayush3011

I am having the following error when trying to train the VCTK-Corpus. I am using tensorflow version «0.12.1». Does anybody knows how to resolve this error.

Using default logdir: ./logdirtrain2017-04-16T14-17-39
Traceback (most recent call last):
File «E:/Spring 2017/CS 523/project 3/part-3/tensorflow-wavenet-master/tensorflow-wavenet-master/train.py», line 337, in
main()
File «E:/Spring 2017/CS 523/project 3/part-3/tensorflow-wavenet-master/tensorflow-wavenet-master/train.py», line 263, in main
writer = tf.summary.FileWriter(logdir)
File «C:Anaconda3libsite-packagestensorflowpythonsummarywriterwriter.py», line 308, in init
event_writer = EventFileWriter(logdir, max_queue, flush_secs)
File «C:Anaconda3libsite-packagestensorflowpythonsummarywriterevent_file_writer.py», line 69, in init
gfile.MakeDirs(self._logdir)
File «C:Anaconda3libsite-packagestensorflowpythonlibiofile_io.py», line 299, in recursive_create_dir
pywrap_tensorflow.RecursivelyCreateDir(compat.as_bytes(dirname), status)
File «C:Anaconda3libcontextlib.py», line 66, in exit
next(self.gen)
File «C:Anaconda3libsite-packagestensorflowpythonframeworkerrors_impl.py», line 469, in raise_exception_on_not_ok_status
pywrap_tensorflow.TF_GetCode(status))
tensorflow.python.framework.errors_impl.NotFoundError: Failed to create a directory: ./logdirtrain2017-04-16T14-17-39

@devinplatt

I’m not a Windows user, but maybe you need to use .logdirtrain2017-04-16T14-17-39 instead of ./logdirtrain2017-04-16T14-17-39 ? It looks like this is the default logdir though, so try specifying the logdir directly as a command line argument.

Pyrestone, 9192gks, realleyriley, johnpvalerio, LemonRain21, Indra-RMT, DRTorresRuiz, ValentinVignal, YashBansod, jiapengfei, and 18 more reacted with thumbs up emoji
KellyHwong reacted with thumbs down emoji
123Pioneer and 1292586222 reacted with laugh emoji
Indra-RMT, DRTorresRuiz, 123Pioneer, and 1292586222 reacted with hooray emoji
9192gks, Indra-RMT, DRTorresRuiz, kiva12138, 123Pioneer, KellyHwong, and 1292586222 reacted with heart emoji

@racheljchen

I am also having a similar issue: but with ./logdir

Using default logdir: ./logdir/train/2017-12-03T23-24-51
Traceback (most recent call last):
File «train.py», line 337, in
main()
File «train.py», line 263, in main
writer = tf.summary.FileWriter(logdir)
File «/usr/local/lib/python2.7/dist-packages/tensorflow/python/summary/writer/writer.py», line 336, in init
filename_suffix)
File «/usr/local/lib/python2.7/dist-packages/tensorflow/python/summary/writer/event_file_writer.py», line 67, in init
gfile.MakeDirs(self._logdir)
File «/usr/local/lib/python2.7/dist-packages/tensorflow/python/lib/io/file_io.py», line 367, in recursive_create_dir
pywrap_tensorflow.RecursivelyCreateDir(compat.as_bytes(dirname), status)
File «/usr/lib/python2.7/contextlib.py», line 24, in exit
self.gen.next()
File «/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/errors_impl.py», line 466, in raise_exception_on_not_ok_status
pywrap_tensorflow.TF_GetCode(status))
tensorflow.python.framework.errors_impl.PermissionDeniedError: ./logdir

@devinroth

I had that problem. Can’t remember the solution. Try running the program with sudo.

Devin Roth

On Dec 3, 2017, at 3:25 PM, racheljchen ***@***.***> wrote:

I am also having a similar issue: but with ./logdir

Using default logdir: ./logdir/train/2017-12-03T23-24-51
Traceback (most recent call last):
File «train.py», line 337, in
main()
File «train.py», line 263, in main
writer = tf.summary.FileWriter(logdir)
File «/usr/local/lib/python2.7/dist-packages/tensorflow/python/summary/writer/writer.py», line 336, in init
filename_suffix)
File «/usr/local/lib/python2.7/dist-packages/tensorflow/python/summary/writer/event_file_writer.py», line 67, in init
gfile.MakeDirs(self._logdir)
File «/usr/local/lib/python2.7/dist-packages/tensorflow/python/lib/io/file_io.py», line 367, in recursive_create_dir
pywrap_tensorflow.RecursivelyCreateDir(compat.as_bytes(dirname), status)
File «/usr/lib/python2.7/contextlib.py», line 24, in exit
self.gen.next()
File «/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/errors_impl.py», line 466, in raise_exception_on_not_ok_status
pywrap_tensorflow.TF_GetCode(status))
tensorflow.python.framework.errors_impl.PermissionDeniedError: ./logdir


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@racheljchen

realized I was in the wrong directory for tensorflow-wavenet (was using another implementation of it). switched to the folder pulled directly from cloning this project and it didn’t give me this problem anymore.

@aishweta

I’m having same problem with logdir pl help me

@mcgrimm

I also have such issue ,but resolved by below command
python -m retrain —bottleneck_dir=bottlenecks —how_many_training_steps=500 —model_dir=models —summaries_dir=tf_files —output_graph=retrained.pb —output_labels=retrained_labels.txt —architecture=»mobilenet_0.50_224″ —image_dir=flower_photos

above is my command run successfully in windows 10

@KashyapKishore

I think this is simply a ‘path’ issue. In Windows, just modify the Log directory ROOT from LOGDIR_ROOT = ./logdir to LOGDIR_ROOT = ‘logdir’

@arghyachaks

In Windows, create folder manually.

@hallibay

In Windows, create folder manually.

please can you explain further, do you mean the logs folder should be created manually

@windowshopr

@hallibay Yes, I had this issue too on my Windows 10 machine. My error looked like this:

NotFoundError: Failed to create a directory: ./23_logstrainpluginsprofile2019-11-11_13-02-07; No such file or directory

So, for me, within the directory of my project’s .py file, or whichever folder I’m running the program from, I needed to manually create a folder called 23_logs, then within that folder, manually create a new folder called train, and then within the train folder, create a new folder called plugins, and again for profile. Then I just re-ran the program and it worked. Not sure why TF doesn’t just make the directory’s as it needs but whatever. Hope that helps?

@StenkinVlad

I am having the following error when trying to train the VCTK-Corpus. I am using tensorflow version «0.12.1». Does anybody knows how to resolve this error.

pywrap_tensorflow.TF_GetCode(status))
tensorflow.python.framework.errors_impl.NotFoundError: Failed to create a directory: ./logdirtrain2017-04-16T14-17-39

Fix that worked for me in Windows10
Instead of path suggested by TF tutorial:
log_dir="logs/fit/" + datetime.datetime.now().strftime("%Y%m%d-%H%M%S")

Use this:
log_dir="logs\fit\" + datetime.datetime.now().strftime("%Y%m%d-%H%M%S")

BehSabzi, mahdiyousofun, MorenoPintore, RaphAlreadyTaken, KordorMawblei, MaheeGamage, happyong366, alewir, wardat, AbdRenawi, and 40 more reacted with thumbs up emoji
pranta-protik, erfan59, and iamMHZ reacted with heart emoji
dhanush-rahul, dmoni91, huangzhenjun, pranta-protik, iamMHZ, and Deepti248 reacted with rocket emoji

@yashyennam

I found out the solution.

just replace the path with «r» in the beginning in the code wherever the path strings are mentioned.

ex.
instead of :
log_dir="logs/fit/" + datetime.datetime.now().strftime("%Y%m%d-%H%M%S")

try this:
log_dir=r"logs/fit/" + datetime.datetime.now().strftime("%Y%m%d-%H%M%S")

@srinivascnu166

I am having the following error when trying to train the VCTK-Corpus. I am using tensorflow version «0.12.1». Does anybody knows how to resolve this error.

pywrap_tensorflow.TF_GetCode(status))
tensorflow.python.framework.errors_impl.NotFoundError: Failed to create a directory: ./logdirtrain2017-04-16T14-17-39

Fix that worked for me in Windows10
Instead of path suggested by TF tutorial:
log_dir="logs/fit/" + datetime.datetime.now().strftime("%Y%m%d-%H%M%S")

Use this:
log_dir="logs\fit\" + datetime.datetime.now().strftime("%Y%m%d-%H%M%S")

This worked for me..thanks@StenkinVlad

@NamanDhameja

Failed to create a directory: Logs20200303/27/20-013517train; No such file or directory [Op:CreateSummaryFileWriter]

I am using windows 10.
Found the solution for this:
log_dir=os.path.join(‘logs’,datetime.datetime.now().strftime(«%Y%m%D»))
change it to single quotes.

@Terkea

I am having the following error when trying to train the VCTK-Corpus. I am using tensorflow version «0.12.1». Does anybody knows how to resolve this error.

pywrap_tensorflow.TF_GetCode(status))
tensorflow.python.framework.errors_impl.NotFoundError: Failed to create a directory: ./logdirtrain2017-04-16T14-17-39

Fix that worked for me in Windows10
Instead of path suggested by TF tutorial:
log_dir="logs/fit/" + datetime.datetime.now().strftime("%Y%m%d-%H%M%S")

Use this:
log_dir="logs\fit\" + datetime.datetime.now().strftime("%Y%m%d-%H%M%S")

this worked for me.

@NEMO-WXL

I am having the following error when trying to train the VCTK-Corpus. I am using tensorflow version «0.12.1». Does anybody knows how to resolve this error.

pywrap_tensorflow.TF_GetCode(status))
tensorflow.python.framework.errors_impl.NotFoundError: Failed to create a directory: ./logdirtrain2017-04-16T14-17-39

Fix that worked for me in Windows10
Instead of path suggested by TF tutorial:
log_dir="logs/fit/" + datetime.datetime.now().strftime("%Y%m%d-%H%M%S")

Use this:
log_dir="logs\fit\" + datetime.datetime.now().strftime("%Y%m%d-%H%M%S")

@NEMO-WXL

@Benedetto05

I had the same issue with the log file location for tensorboard. The following quick fix worked for me on Win10:

  1. use pathlib to define your paths:
    from pathlib import Path
  2. provide Path object for tensorboard:
    target_dir_tb = Path.cwd() / «logs» / … # specify location for tensorboard files in a Path object
    tb = TensorBoard(log_dir=target_dir_tb, # this must be a Path object!
    histogram_freq=15,
    batch_size=batch_size,
    write_graph=True,
    write_grads=True)

@prudhvi0394

Doesn’t it work if i have used os instead of path ? I have used all these things to set path but it still seems to be taking the wrong path

@mthomp89

I am having the following error when trying to train the VCTK-Corpus. I am using tensorflow version «0.12.1». Does anybody knows how to resolve this error.

pywrap_tensorflow.TF_GetCode(status))
tensorflow.python.framework.errors_impl.NotFoundError: Failed to create a directory: ./logdirtrain2017-04-16T14-17-39

Fix that worked for me in Windows10
Instead of path suggested by TF tutorial:
log_dir="logs/fit/" + datetime.datetime.now().strftime("%Y%m%d-%H%M%S")

Use this:
log_dir="logs\fit\" + datetime.datetime.now().strftime("%Y%m%d-%H%M%S")

@NEMO-WXL replacing the slashes worked. What is the purpose behind the replacement? Is this a windows specific fix?

@ozert

I am having the following error when trying to train the VCTK-Corpus. I am using tensorflow version «0.12.1». Does anybody knows how to resolve this error.

pywrap_tensorflow.TF_GetCode(status))
tensorflow.python.framework.errors_impl.NotFoundError: Failed to create a directory: ./logdirtrain2017-04-16T14-17-39

Fix that worked for me in Windows10
Instead of path suggested by TF tutorial:
log_dir="logs/fit/" + datetime.datetime.now().strftime("%Y%m%d-%H%M%S")
Use this:
log_dir="logs\fit\" + datetime.datetime.now().strftime("%Y%m%d-%H%M%S")

This worked for me..thanks@StenkinVlad

@mahdibidar

I think this is simply a ‘path’ issue. In Windows, just modify the Log directory ROOT from LOGDIR_ROOT = ./logdir to LOGDIR_ROOT = ‘logdir’

Thanks :)

@Tony-Yan2018

This bug still exists on Windows:
tbCall = TensorBoard(log_dir='./log/1000')
turns out to be :

tensorflow.python.framework.errors_impl.NotFoundError: Failed to create a directory: ./log/1000train; No such file or directory

Anyone can help? Thanks!

@diman82

What helped me, is wrapping the path with Path object (from pathlib module) and converting back to str


0

1

Добрый день.
В логи начали сыпаться такие ошибки

May 13 20:39:35 htc kernel: [ 1032.732955] sd 3:0:0:0: [sdb] tag#9 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_TIMEOUT
May 13 20:39:35 htc kernel: [ 1032.732972] sd 3:0:0:0: [sdb] tag#9 CDB: Write(10) 2a 00 56 51 de 58 00 05 40 00
May 13 20:39:35 htc kernel: [ 1032.732980] blk_update_request: I/O error, dev sdb, sector 1448205912
May 13 20:39:35 htc kernel: [ 1032.733023] sd 3:0:0:0: [sdb] tag#8 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_TIMEOUT
May 13 20:39:35 htc kernel: [ 1032.733032] sd 3:0:0:0: [sdb] tag#8 CDB: Write(10) 2a 00 56 51 db 98 00 02 c0 00
May 13 20:39:35 htc kernel: [ 1032.733037] blk_update_request: I/O error, dev sdb, sector 1448205208
May 13 20:39:35 htc kernel: [ 1032.733150] sd 3:0:0:0: [sdb] tag#7 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_TIMEOUT
May 13 20:39:35 htc kernel: [ 1032.733158] sd 3:0:0:0: [sdb] tag#7 CDB: Write(10) 2a 00 56 51 d6 58 00 05 40 00
May 13 20:39:35 htc kernel: [ 1032.733163] blk_update_request: I/O error, dev sdb, sector 1448203864
May 13 20:39:35 htc kernel: [ 1032.733180] EXT4-fs warning (device dm-1): ext4_end_bio:330: I/O error -5 writing to inode 97032566 (offset 2846666752 size 4194304 starting block 173638603)
May 13 20:39:35 htc kernel: [ 1032.733187] Buffer I/O error on device dm-1, logical block 173638603
May 13 20:39:35 htc kernel: [ 1032.733193] Buffer I/O error on device dm-1, logical block 173638604
May 13 20:39:35 htc kernel: [ 1032.733199] Buffer I/O error on device dm-1, logical block 173638605
May 13 20:39:35 htc kernel: [ 1032.733204] Buffer I/O error on device dm-1, logical block 173638606
May 13 20:39:35 htc kernel: [ 1032.733209] Buffer I/O error on device dm-1, logical block 173638607
May 13 20:39:35 htc kernel: [ 1032.733214] Buffer I/O error on device dm-1, logical block 173638608
May 13 20:39:35 htc kernel: [ 1032.733218] Buffer I/O error on device dm-1, logical block 173638609
May 13 20:39:35 htc kernel: [ 1032.733223] Buffer I/O error on device dm-1, logical block 173638610
May 13 20:39:35 htc kernel: [ 1032.733229] Buffer I/O error on device dm-1, logical block 173638611
May 13 20:39:35 htc kernel: [ 1032.733233] Buffer I/O error on device dm-1, logical block 173638612
May 13 20:39:35 htc kernel: [ 1032.733489] sd 3:0:0:0: [sdb] tag#6 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_TIMEOUT
May 13 20:39:35 htc kernel: [ 1032.733497] sd 3:0:0:0: [sdb] tag#6 CDB: Write(10) 2a 00 56 51 d3 98 00 02 c0 00
May 13 20:39:35 htc kernel: [ 1032.733501] blk_update_request: I/O error, dev sdb, sector 1448203160
May 13 20:39:35 htc kernel: [ 1032.733547] sd 3:0:0:0: [sdb] tag#5 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_TIMEOUT
May 13 20:39:35 htc kernel: [ 1032.733554] sd 3:0:0:0: [sdb] tag#5 CDB: Write(10) 2a 00 56 51 ce 58 00 05 40 00
May 13 20:39:35 htc kernel: [ 1032.733559] blk_update_request: I/O error, dev sdb, sector 1448201816
May 13 20:39:35 htc kernel: [ 1032.733573] EXT4-fs warning (device dm-1): ext4_end_bio:330: I/O error -5 writing to inode 97032566 (offset 2846666752 size 4194304 starting block 173638347)
May 13 20:39:35 htc kernel: [ 1032.733812] sd 3:0:0:0: [sdb] tag#4 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_TIMEOUT
May 13 20:39:35 htc kernel: [ 1032.733819] sd 3:0:0:0: [sdb] tag#4 CDB: Write(10) 2a 00 76 09 da e0 00 00 08 00
May 13 20:39:35 htc kernel: [ 1032.733824] blk_update_request: I/O error, dev sdb, sector 1980357344
May 13 20:39:35 htc kernel: [ 1032.733830] blk_update_request: I/O error, dev sdb, sector 1980357344
May 13 20:39:35 htc kernel: [ 1032.733865] sd 3:0:0:0: [sdb] tag#3 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_TIMEOUT
May 13 20:39:35 htc kernel: [ 1032.733872] sd 3:0:0:0: [sdb] tag#3 CDB: Write(10) 2a 00 56 51 cd 40 00 01 18 00
May 13 20:39:35 htc kernel: [ 1032.733880] Aborting journal on device dm-1-8.
May 13 20:39:35 htc kernel: [ 1032.733886] blk_update_request: I/O error, dev sdb, sector 1448201536
May 13 20:39:35 htc kernel: [ 1032.733933] sd 3:0:0:0: [sdb] tag#2 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_TIMEOUT
May 13 20:39:35 htc kernel: [ 1032.733941] sd 3:0:0:0: [sdb] tag#2 CDB: Write(10) 2a 00 56 51 c8 00 00 05 40 00
May 13 20:39:35 htc kernel: [ 1032.733946] blk_update_request: I/O error, dev sdb, sector 1448200192
May 13 20:39:35 htc kernel: [ 1032.733961] EXT4-fs warning (device dm-1): ext4_end_bio:330: I/O error -5 writing to inode 97032566 (offset 2843738112 size 2928640 starting block 173638144)
May 13 20:39:35 htc kernel: [ 1032.734187] sd 3:0:0:0: [sdb] tag#1 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_TIMEOUT
May 13 20:39:35 htc kernel: [ 1032.734194] sd 3:0:0:0: [sdb] tag#1 CDB: Write(10) 2a 00 56 51 c5 40 00 02 c0 00
May 13 20:39:35 htc kernel: [ 1032.734199] blk_update_request: I/O error, dev sdb, sector 1448199488
May 13 20:39:35 htc kernel: [ 1032.734245] sd 3:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_TIMEOUT
May 13 20:39:35 htc kernel: [ 1032.734252] sd 3:0:0:0: [sdb] tag#0 CDB: Write(10) 2a 00 56 51 c0 00 00 05 40 00
May 13 20:39:35 htc kernel: [ 1032.734265] EXT4-fs warning (device dm-1): ext4_end_bio:330: I/O error -5 writing to inode 97032566 (offset 2843738112 size 2928640 starting block 173637888)
May 13 20:39:35 htc kernel: [ 1032.734518] EXT4-fs warning (device dm-1): ext4_end_bio:330: I/O error -5 writing to inode 97032566 (offset 2846666752 size 4194304 starting block 173638859)
May 13 20:39:35 htc kernel: [ 1032.734821] EXT4-fs warning (device dm-1): ext4_end_bio:330: I/O error -5 writing to inode 97032566 (offset 2846666752 size 4194304 starting block 173639115)
May 13 20:39:35 htc kernel: [ 1032.735141] EXT4-fs warning (device dm-1): ext4_end_bio:330: I/O error -5 writing to inode 97032566 (offset 2850861056 size 1265664 starting block 173639371)
May 13 20:39:35 htc kernel: [ 1032.735377] EXT4-fs warning (device dm-1): ext4_end_bio:330: I/O error -5 writing to inode 97032566 (offset 2850861056 size 1265664 starting block 173639627)
May 13 20:39:35 htc kernel: [ 1032.735506] EXT4-fs warning (device dm-1): ext4_end_bio:330: I/O error -5 writing to inode 97032566 (offset 2852126720 size 2928640 starting block 173639680)
May 13 20:39:35 htc kernel: [ 1032.735799] EXT4-fs warning (device dm-1): ext4_end_bio:330: I/O error -5 writing to inode 97032566 (offset 2852126720 size 2928640 starting block 173639936)
May 13 20:39:35 htc kernel: [ 1034.217987] EXT4-fs error (device dm-1): ext4_journal_check_start:56: Detected aborted journal
May 13 20:39:35 htc kernel: [ 1034.218003] EXT4-fs (dm-1): Remounting filesystem read-only

Что это может означать ? Сыпется диск или может быть другая причина?

today jump into such problem when launching test class using roboelectric and junit:

Information:Gradle: Executing tasks: [:app:assembleDebug, :app:assembleDebugUnitTest]
Error:Gradle: failed to create directory 'E:AndroidKotlinFooAppappbuildgeneratedsourcerdebugcomexamplefoofooapp'
Error:Gradle: java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.AaptException: AAPT2 link failed:
Error:Gradle: com.android.builder.internal.aapt.AaptException: AAPT2 link failed:
Error:Gradle: Execution failed for task ':app:processDebugResources'.
> Failed to execute aapt

Maybe someone has meet such nasty thing earlier and would be so nice to help me ;) ? If u don’t have any idea, please let me know how can I try finding it on my own. I already did clean project and rebuild :)

asked Oct 1, 2017 at 13:45

kolboc's user avatar

2

Finally managed to get rid of all unwanted stuff with AS option:

File -> Invalidate caches / Restart

answered Oct 23, 2017 at 21:14

kolboc's user avatar

kolbockolboc

7951 gold badge7 silver badges22 bronze badges

Found such a dependency, if the project and the environment (SDK, Android Studio) is on different disks (volumes), then there will be an error. This error occurs when the test starts.

Solution, move the project to the root of the disk on which the SDK and Android Studio is located, it’s helped me.

Android Studio 3.0.1, compileSdkVersion 27, Windows 10

answered Mar 18, 2018 at 23:29

Maxim Sheludchenko's user avatar

2

I solved it by changing the JDK version I was using:

  1. Go to File -> Project Structure.
  2. On the left side, click on SDK Location and go to JDK Location.
  3. Change it to the Embedded JDK that comes with Android Studio.
  4. Click on OK.

answered Sep 27, 2020 at 21:13

Abdelrahman Tareq's user avatar

enter image description here

Please confirm that you have selected app in run configuration.

answered Mar 17, 2018 at 9:21

REMITH's user avatar

REMITHREMITH

1,00011 silver badges12 bronze badges

enter image description here

Under Android

1) Open Gradle Scripts

2) Open gradle.properties

3) Add android.enableAapt2=false

Then click on Sync Now on top right corner it should be fine now

answered Jan 17, 2020 at 17:09

F.Mysir's user avatar

F.MysirF.Mysir

2,44224 silver badges35 bronze badges

Close and run Android Studio as root user sudo /Applications/Android Studio.app/Contents/MacOS/studio

answered May 25, 2020 at 3:09

Nagibaba's user avatar

NagibabaNagibaba

3,7201 gold badge32 silver badges40 bronze badges

Errors on your WordPress site can slow down your work and create serious inconveniences for both you and your users. For instance, the “Installation failed: could not create directory” message can prevent you from providing a key feature or functionality.

Luckily, resolving this error is fairly simple. By tweaking just a few settings, you can easily get your WordPress plugin or WordPress theme up and running in no time.

In this post, we’ll discuss what causes this error and other issues related to it. Then we’ll walk you through three methods for resolving the “Installation failed: could not create directory” message so that you can complete your installation or update.

Let’s get started!

What Causes the “Installation Failed: Could Not Create Directory.” Error in WordPress

There are three primary situations in which you might encounter the “Installation Failed: Could Not Create Directory.” error in WordPress:

  1. When installing a theme or plugin via your WordPress dashboard
  2. During a standard theme or plugin update
  3. While attempting to upload files to the wp-content directory on your server

The root cause of the problem is the same in each scenario. However, let’s take a look at each of these situations in turn.

Installing a New Theme or Plugin on Your Site

Your WordPress site is made up of two components: a database and various files that are stored on a server in ‘directories.’ When you use WordPress admin to add a theme or plugin to your site, it has to create a new directory in which to save its files.

However, if the plugin or theme you’re attempting to install does not have permission to write in your website’s root directory, it won’t be able to complete this task. That’s when you’ll see an error such as “Installation failed: could not create directory.”

This error is your server’s way of saying that you’re not allowed to make changes to your site’s files by adding the plugin or theme in question. In general, this is a problem that usually occurs on new WordPress sites.

It’s important to note that there is a similar, less common cause for this error. If your server is running out of disk space to store your site’s files, it may show this same message because it has no room for the new plugin or theme. Read this guide to check disk usage in WordPress.

This may be due to old backup files not being deleted, or it may happen because your hosting plan is too small for your site. In the latter case, you’ll want to look into upgrading to another hosting package that provides more storage.

Updating an Existing Theme or Plugin

Sometimes, when attempting to upgrade a WordPress theme or plugin that’s already installed on your site, you may see an error very similar to the one we’ve described above. This one will typically read, “Update failed: could not create directory.”

This problem occurs for the same reasons as the “Installation failed could not create directory.” error. When you update a WordPress plugin or theme, WordPress needs to rewrite its files on your website’s server. If your permissions settings are incorrect or there is not enough free space, the process will not be able to access the right files or upload new ones.

Since the cause of these two issues is the same, the solutions are identical as well. Any methods for resolving the “Installation failed: could not create directory” error listed below should also work for a stalled update.

Uploading Files to the wp-content Directory

Server file permissions are a security feature that hosting providers put to prevent unauthorized parties from making changes to your site or stealing sensitive information.

However, they can sometimes lock you out of your own files if they aren’t set correctly.

This is why, if you try to get around the “Installation failed: could not create directory.” error in your WordPress dashboard by uploading the plugin’s or theme’s files directly to the wp-content directory on your server, you’ll likely still encounter the same problem. The error occurs because of a problem with your server, not your WordPress installation.

This issue may also extend to your wp-content/uploads subdirectory, where all your media files are stored. Adding images, videos, or similar content to your site by saving them to your server follows the same process as installing a new plugin or theme.

If you don’t have permission to write in your root directory, uploading content to wp-content/uploads will still produce the error we’ve been discussing. To fix it, you’ll need to adjust your server’s settings, as we’ll describe shortly.

Diagnosing the “Installation Failed: Could Not Create Directory.” Error in WordPress (2 Methods)

The good news about this error is that it’s relatively easy to fix. Most of the time, correcting your permissions will clear everything right up. However, before you start work on that solution, you may want to make sure that it can solve your problem.

Below, we’ve outlined two methods for determining whether your site is experiencing a permissions-related error.

1. Use the WordPress Site Health Tool

WordPress 5.2 introduced the Site Health tool. It contains a wealth of valuable information regarding your WordPress site, such as performance test results, security checks, and WordPress configuration data.

You can access it by navigating to Tools > Site Health in your WordPress dashboard. To check your file permissions settings, you’ll want to click on the Info tab:

site health

The WordPress Site Health tool

Then, scroll down to the last section, which should be labeled Filesystem Permissions:

filesystem permissions

The WordPress Site Health Info tab

Here you’ll see a list of crucial WordPress files, including the plugin and theme directories. Ideally, they will all be listed as “Writable”:

filesystems writable

The WordPress Site Health Filesystem Permissions check

If your permissions are not configured correctly, you’ll see “Not writable” listed next to the problematic folders. If this is the case, you’ll know that you need to correct your file permissions.

2. Check Your Server’s Error Log

Another option is to check your server’s error log. This may be a more efficient method, as it will display any errors that have occurred, not just incorrect file permissions. You should be able to access your logs via your hosting account.

If you’re a Kinsta customer, you can log into your MyKinsta dashboard and click on Sites in the sidebar:

kinsta dashboard sites

MyKinsta dashboard

Select the site’s name that is experiencing the “Installation failed: could not create directory” error. Then, choose the Logs tab:

mykinsta error log

MyKinsta account Error Log viewer

From the drop-down menu, make sure that error.log is selected. Here, you should be able to see any recent errors that have occurred on your server, including incorrect file permissions or insufficient storage, either of which may be causing the installation error.

If you see a relevant error listed, you can either correct your file permissions or consider upgrading your hosting plan as needed.

How to Fix the “Installation Failed: Could Not Create Directory.” Error in WordPress

If your site’s permissions settings are causing the “Installation failed: could not create directory error,” you can resolve it by resetting them. To do so, you’ll need to connect to your server via File Transfer Protocol (FTP), using an FTP client.

Any time you make changes to your site’s files, it’s wise to create a backup first, just in case something goes wrong and you need to restore your site. Then, collect your FTP credentials from your hosting account.

As a Kinsta customer, you can do this by accessing the Info tab for your site in the MyKinsta dashboard:

kinsta ftp info

Accessing the site FTP credentials in MyKinsta

Then, open up FileZilla (or another client) and enter your information. You’ll be connected to your server, where you should see a folder called public_html. Double-click on it to view your WordPress files:

ftp public html

Accessing the public_html directory via FTP

If you don’t see all the files, here is a guide on how to show hidden files in Filezilla. After that, select the folders labeled wp_content, wp_includes, and wp_admin. Right-click on them and choose File Permissions:

ftp file permissions

Selecting the file permissions option via FTP

You should see a window that contains a handful of settings:

ftp permissions window

Setting the correct file permissions via FTP

Check that the options here are set to the following values:

  • Owner Permissions: Read, Write, Execute.
  • Group Permissions: Read, Execute.
  • Public Permissions: Read, Execute.
  • Numeric value: 755.
  • Recurse into subdirectories.
  • Apply to directories only.

Click on the OK button to close the window. Now return to your site and attempt to install or update the plugin/theme again.

It’s worth noting that some hosting providers, including those that use cPanel, have their own tools you can use without bothering with FTP/SFTP. You can often find this tool by logging in to your hosting account, navigating to the site experiencing the error, and looking for a File Manager.

Are you getting the annoying ‘Installation Failed: Could Not Create Directory’ error? Get your WordPress site back again in just a few minutes following these steps 🔙🐾Click to Tweet

Summary

Your WordPress site’s plugins and themes provide important functionality for you and your users. Encountering an error when installing or updating one can throw a wrench in your plans and slow down your progress.

To determine if a file permissions issue is causing a plugin or theme installation error on your site, you can use the Site Health tool or check out your server’s error log. After that, resetting your permissions using FTP/SFTP should only take a few minutes.


Get all your applications, databases and WordPress sites online and under one roof. Our feature-packed, high-performance cloud platform includes:

  • Easy setup and management in the MyKinsta dashboard
  • 24/7 expert support
  • The best Google Cloud Platform hardware and network, powered by Kubernetes for maximum scalability
  • An enterprise-level Cloudflare integration for speed and security
  • Global audience reach with up to 35 data centers and 275 PoPs worldwide

Test it yourself with $20 off your first month of Application Hosting or Database Hosting. Explore our plans or talk to sales to find your best fit.

Понравилась статья? Поделить с друзьями:
  • Failed to create d3d9 device как исправить
  • Failed to create d3d device portal 2 как исправить
  • Failed to generate keypair or request internal error 0x80090020
  • Failed to find updates with error code 80244010
  • Failed to find to server unturned как исправить