GeneralFail to compile

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Aracelivg
Posts: 1
Joined: Wed Oct 03, 2018 11:09 am

Fail to compile

Post by Aracelivg »

I'm using MAC and recently I moved my files from my /Users/... folder to an external folder that I use to synchronise to the cloud. The issue is that if I try to compile any pdf now in Texmaker or TexShop it doesn't work at all.
The log file is just empty.

If I try to compile it from the terminal I get this message:

This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
! I can't write on file Plots_LRI.log'.
(Press Enter to retry, or Control-D to exit; default file extension is .log')
Please type another transcript file name

Shall I copy any root file to this cloud folder?

Thanks in advance for your reply!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10340
Joined: Mon Mar 10, 2008 9:44 pm

Fail to compile

Post by Stefan Kottwitz »

Hi,

welcome to the forum!

Seems the file is locked or the folder is read-only, or the cloud folder is syncing while you are compiling and writing to it. Perhaps work locally and mirror it with a script (crontab) to the cloud folder.

Stefan
LaTeX.org admin
Seefeldt
Posts: 1
Joined: Thu Oct 25, 2018 10:21 am

Fail to compile

Post by Seefeldt »

Hi Stefan, can you change the folder to 'write' as well in a situation like this?
I see great potential in these payday loans and I think they're amazing.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10340
Joined: Mon Mar 10, 2008 9:44 pm

Fail to compile

Post by Stefan Kottwitz »

You could compile using

pdflatex -output-directory /Users/name/somewhere/...

or configure it with that option in your editor.

Stefan
LaTeX.org admin
Post Reply