Can Not download PDF (LaTeX Version) in TEI-Publisher application - exist-db

When I try to download a PDF document (Latex Version) in my tei-publisher application the following error is returned:
{
"details" : null,
"description" : "Cannot run program \"/usr/local/texlive/2020/bin/x86_64-darwin/pdflatex\" (in directory \"/tmp\"): error=2, No such file or directory. An IO error occurred while executing the process /usr/local/texlive/2020/bin/x86_64-darwin/pdflatex: Cannot run program \"/usr/local/texlive/2020/bin/x86_64-darwin/pdflatex\" (in directory \"/tmp\"): error=2, No such file or directory [at line 179 of unknown]"
}

Related

how to make flutter search framework from current project folder

when I debug the flutter app from xcode 13 by open Runner.xcworkspace file, shows error like this:
dyld[39201]: Library not loaded: #rpath/device_info_plus.framework/device_info_plus
Referenced from: /Users/xiaoqiangjiang/Library/Developer/CoreSimulator/Devices/911ED020-A317-4E0E-AA48-A2369DD9EED8/data/Containers/Bundle/Application/D054B3AC-A96D-4EC9-82BE-9EAD767E3E40/Runner.app/Runner
Reason: tried: '/Users/xiaoqiangjiang/Library/Developer/Xcode/DerivedData/Runner-adtpuxbuupwwgxamxwiaqkpdrece/Build/Products/Debug-iphonesimulator/device_info_plus.framework/device_info_plus' (no such file), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/device_info_plus.framework/device_info_plus' (no such file), '/usr/lib/swift/device_info_plus.framework/device_info_plus' (no such file), '/Users/xiaoqiangjiang/Library/Developer/CoreSimulator/Devices/911ED020-A317-4E0E-AA48-A2369DD9EED8/data/Containers/Bundle/Application/D054B3AC-A96D-4EC9-82BE-9EAD767E3E40/Runner.app/Frameworks/device_info_plus.framework/device_info_plus' (no such file), '/Users/xiaoqiangjiang/Library/Developer/CoreSimulator/Devices/911ED020-A317-4E0E-AA48-A2369DD9EED8/data/Containers/Bundle/Application/D054B3AC-A96D-4EC9-82BE-9EAD767E3E40/Runner.app/Frameworks/device_info_plus.framework/device_info_plus' (no such file), '/Users/xiaoqiangjiang/Library/Developer/CoreSimulator/Devices/911ED020-A317-4E0E-AA48-A2369DD9EED8/data/Containers/Bundle/Application/D054B3AC-A96D-4EC9-82BE-9EAD767E3E40/Runner.app/Frameworks/device_info_plus.framework/device_info_plus' (no such file), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/device_info_plus.framework/device_info_plus' (no such file), '/usr/lib/swift/device_info_plus.framework/device_info_plus' (no such file), '/Users/xiaoqiangjiang/Library/Developer/CoreSimulator/Devices/911ED020-A317-4E0E-AA48-A2369DD9EED8/data/Containers/Bundle/Application/D054B3AC-A96D-4EC9-82BE-9EAD767E3E40/Runner.app/Frameworks/device_info_plus.framework/device_info_plus' (no such file), '/Users/xiaoqiangjiang/Library/Developer/CoreSimulator/Devices/911ED020-A317-4E0E-AA48-A2369DD9EED8/data/Containers/Bundle/Application/D054B3AC-A96D-4EC9-82BE-9EAD767E3E40/Runner.app/Frameworks/device_info_plus.framework/device_info_plus' (no such file), '/Users/xiaoqiangjiang/Library/Developer/CoreSimulator/Devices/911ED020-A317-4E0E-AA48-A2369DD9EED8/data/Containers/Bundle/Application/D054B3AC-A96D-4EC9-82BE-9EAD767E3E40/Runner.app/Frameworks/device_info_plus.framework/device_info_plus' (no such file), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/device_info_plus.framework/device_info_plus' (no such file)
Library not loaded: #rpath/device_info_plus.framework/device_info_plus
Referenced from: /Users/xiaoqiangjiang/Library/Developer/CoreSimulator/Devices/911ED020-A317-4E0E-AA48-A2369DD9EED8/data/Containers/Bundle/Application/D054B3AC-A96D-4EC9-82BE-9EAD767E3E40/Runner.app/Runner
Reason: tried: '/Users/xiaoqiangjiang/Library/Developer/Xcode/DerivedData/Runner-adtpuxbuupwwgxamxwiaqkpdrece/Build/Products/Debug-iphonesimulator/device_info_plus.framework/device_info_plus' (no such file), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/device_info_plus.framework/device_info_plus' (no such file), '/usr/lib/swift/device_info_plus.framework/device_info_plus' (no such file), '/Users/xiaoqiangjiang/Library/Developer/CoreSimulator/Devices/911ED020-A317-4E0E-AA48-A2369DD9EED8/data/Containers/Bundle/Application/D054B3AC-A96D-4EC9-82BE-9EAD767E3E40/Runner.app/Frameworks/device_info_plus.fra
I found the app search from system path but did not search for current app folder(the device_info_plus.framework come from app folder). when I try to search where is device_info_plus.framework locate:
➜ cruise-open git:(main) ✗ find ~ -name "device_info_plus.framework"
/Users/xiaoqiangjiang/source/reddwarf/frontend/cruise-open/build/ios/Debug-iphonesimulator/device_info_plus/device_info_plus.framework
this is the rpath config in xcode:
why the app did not search current app folder? what should I do to make the debug process could found the framework? BTW, I did not change the default configuration of xcode, this is the default configuration.

Placement of custom partition csv file

I need to create a custom csv file for my ESP32 project. Where would i need to place this file, as I am getting the following error message?
Build files have been written to:
G:/TestProjects/iot-middleware-freertos-samples/demos/projects/ESPRESSIF/esp32/build
Running ninja in directory
g:\testprojects\iot-middleware-freertos-samples\demos\projects\espressif\esp32\build
Executing "ninja all"... ninja: error: '../partitions_IOT_A.csv',
needed by 'partition_table/partition-table.bin', missing and no known
rule to make it ninja failed with exit code 1
According to the error message the csv file is expected to be one directory up from the build directory in g:\testprojects\iot-middleware-freertos-samples\demos\projects\espressif\esp32\build.
ESP IDF documentation specifies that the partition table file needs to be in the root of the project directory.

my clion run default"CreateProcess error=216"

Error running 'random': Cannot run program "C:\Users\31665\CLionProjects\random\cmake-build-debug\random.exe" (in directory "C:\Users\31665\CLionProjects\random\cmake-build-debug"): CreateProcess error=216, 该版本的 %1 与你运行的 Windows 版本不兼容。请查看计算机的系统信息,然后联系软件发布者。enter image description here

Create .app file on Mac from runnable jar

I Have Created a sample.app file which is running on Mac , this .app file is created with the
references from URL
- This .app file contains
----> Content (Folder)
----> info.plist
----> MacOS(subfolder)
---->ButtonDemo.jar (runnable jar)
---->launch (unix executable script)
----> Resources(subfolder)
----->application.icns(icon images)
- Same above procedure I followed for my runnable (iwb.jar) file which are placed accordingly with its dependencies ,
- This iwb.app file contains
----> Content (Folder)
----> info.plist
----> MacOS(subfolder)
---->iwb.jar (runnable jar)
---->DerbyDatabase (dependent database)
---->jre (dependant jre)
---->props (property configuration)
---->server (jetty server)
---->launch (unix executable script)
----> Resources(subfolder)
----->application.icns(icon images)
This following iwb.jar (runnable jar). IF once executed it starts the jetty server application and opens the browser with the JettyServer Home Page.
but I'm getting this following Exception: " LSOpenURLsWithRole() failed with error - 10810 " on Mac OS X version 10.8.4

Ant installation cannot find maven-artifact-ant-2.0.4-dep.jar

I'm trying to install Ant on Windows 7 using these instructions, but at stage 5, when I run the command ant -f fetch.xml -Ddest=system, I get the following error:
Buildfile: C:\Program Files\WinAnt\fetch.xml
pick-dest:
[echo] Downloading to C:\Program Files\WinAnt\lib
probe-m2:
download-m2:
[echo] Downloading to C:\Program Files\WinAnt\lib
[get] Getting: http://ibiblio.org/maven2//org/apache/maven/maven-artifact-ant/2.0. /maven-artifact-ant-2.0.4-dep.jar
[get] To: C:\Program Files\WinAnt\lib\maven-artifact-ant-2.0.4-dep.jar
[get] Error opening connection java.io.FileNotFoundException: http://ibiblio.org/maven2//org/apache/maven/maven-artifact-ant/2.0.4/maven-artifact-ant-2.0.4-dep.jar
[get] Error opening connection java.io.FileNotFoundException: http://ibiblio.org/maven2//org/apache/maven/maven-artifact-ant/2.0.4/maven-artifact-ant-2.0.4-dep.jar
[get] Error opening connection java.io.FileNotFoundException: http://ibiblio.org/maven2//org/apache/maven/maven-artifact-ant/2.0.4/maven-artifact-ant-2.0.4-dep.jar
[get] Can't get http://ibiblio.org/maven2//org/apache/maven/maven-artifact-ant/2.0.4/maven-artifact-ant-2.0.4-dep.jar to C:\Program Files\WinAnt\lib\maven-artifact-ant-2.0.4-dep.jar
BUILD FAILED
C:\Program Files\WinAnt\get-m2.xml:85: Can't get http://ibiblio.org/maven2//org/apach/maven/maven-artifact-ant/2.0.4/maven-artifact-ant-2.0.4-dep.jar to C:\Program Files\WinAnt\lib\maven-artifact-ant-2.0.4-dep.jar
Total time: 1 second
I understand that the URL is not reachable, so I tried to enter this URL into my browser, and indeed it does not exist. I found the file maven-artifact-ant-2.0.4-dep.jar at:
http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/maven/maven-artifact-ant/2.0.4/maven-artifact-ant-2.0.4-dep.jar
instead. So how can I fix this problem?
Just need to update the m2.url property in the lib/library.properties file to http://mirrors.ibiblio.org/pub/mirrors/maven2.
Run ANT as follows
$ ant -f $ANT_HOME/fetch.xml -Ddest=user -Dm2.url=http://repo1.maven.org/maven2
The m2.url property needs to be overloaded. The following property file in ANT needs to be updated:
$ANT_HOME/lib/libraries.properties
Using a now deprecated Maven Central URL
The URL is correct, but you're trying to download the files into a subfolder of Program Files (C:\Program Files\WinAnt\lib). To do so you need to be running your commands with Administrator rights.
So right click on your Command Prompt shortcut and select "run as administrator" or enter "cmd" into the search field of the start menu and press CTRL + SHIFT + ENTER.
Then try to run the ant command again:
ant -f fetch.xml -Ddest=system
And if you have trouble downloading any other files using the script, it seems to work well to just download them using your browser, put them in the right place, and then edit fetch.xml to not download the file.

Resources