How can I get document in the server Alfresco? - download

I have a trash with my physical server and the MySQL Bdd.
The technical team has restoring data (bdd) with a shift about System.
I have problem about download some file that contain :
Le contenu de l'élément est manquant :
élément : workspace://SpacesStore/1654e155-5c8c-480a-883a-6768dbf96b7e
lecteur : ContentAccessor[ contentUrl=store://2016/5/30/11/47/b60f71a2-5d63-483b-a6af-5fc34feb0899.bin, mimetype=application/vnd.oasis.opendocument.spreadsheet, size=0, encoding=UTF-8, locale=fr_FR]
Veuillez contacter votre administrateur système.
Do you have any idea for recuperation the good file in the system ?

Related

Translation of a Title in Laravel Doesn't Work

I got this notification (resources/views/vendor/notifications/email.blade.php):
#lang( "If you’re having trouble clicking the ":actionText" button,
copy and paste the URL below\n". 'into your web browser:
:actionURL', [ 'actionText' => $actionText, 'actionURL' => $actionUrl])
Now I'd like to translate that one using de.json in resource/lang-directory:
{
"If you’re having trouble clicking the \":actionText\" button,
copy and paste the URL below into your web browser: [:actionURL] .
(:actionURL)": "Falls Du Probleme dabei hast, den \":actionText\"
Button anzuklicken, rufe folgende URL auf: [:actionURL](:actionURL)"
}
All other translations I created this way are working fine. How can I solve that?
Simply remove the concatenation dot and put all words in the same string, like this:
{
"If you’re having trouble clicking the \":actionText\" button, copy and paste the URL below\ninto your web browser: [:actionURL](:actionURL)" : "Caso não seja possível clicar no botão \":actionText\", copie e cole no seu navegador o endereço a seguir: [:actionUrl](:actionUrl) \n",
}
If you use laravel 6,7 try remove ":actionURL"
example:
"If you’re having trouble clicking the \":actionText\" button, copy and paste the URL below\ninto your web browser: ": "Falls Du Probleme dabei hast, den \":actionText\" Button anzuklicken,\nrufe folgende URL auf: "
in laravel 6 or above, you can use this in lang.json file:
"If you’re having trouble clicking the \":actionText\" button, copy and paste the URL below\ninto your web browser:": "translation into your favorite language"
no need to use ['actionText' => $actionText,] at the end of message

Issue reading file containing Unicode chars using JavaProperties gem

I have mobile automation code in Ruby with locale property files and code is using JavaProperties::Properties.new(filename with path) which is returning hash and we are reading property value by providing property name.
Recently fr_CA.properties file was updated with unicode chars, something like "Solde du dernier relev\u00E9". After the update, I'm getting value "Solde du dernier relevé" instead of "Solde du dernier relevé".
I need some help how/where to provide UTF-8 conversion type.
Quick help highly appreciated.
#filePaths={
:pathTo_some_JavaProperties => #resourcesPath+"/service_"+locale+""+platform_fileName+".properties",
:pathTo_locale_other_JavaProperties => #resourcesPath+"/MoblClient_XmlService"+locale+".properties"
// more file paths
}
begin
#someHash = JavaProperties::Properties.new(#filePaths.fetch(:pathTo_some_JavaProperties))
rescue Errno::ENOENT
filesNotFound << #filePaths.fetch(:pathTo_some_JavaProperties)
end
// Reading value as #someHash['propName'] which is giving output as "Solde du dernier relevé"
Ok, here's what I am getting:
In test.properties:
item1 = Solde du dernier relev\u00E9
Then in Ruby,
> JavaProperties.load('test.properties')[:item1]
# => "item1 Solde du dernier relevé"
You should try getting your problematic code as stripped as possible, and then see if you keep getting the error.
BTW, I think you should use JavaProperties.load, not JavaProperties.new as in your sample.

Rmarkdown Parameterized Reports - Can't access data from selected file

I have exactly the same problem as defined in a previous post (How do I access the data from a file passed as parameters in a RMarkdown document?), and I don't find (StackOverflow, google...) any clue to solve it !
With the default filename, it works! With the selected file (which could be the same file), I get an error.
Quitting from lines 51-51 (WBD_MCS.Rmd)
Error in file(file, "rt") : cannot open the connection
Calls: <Anonymous> ... withVisible -> eval -> eval -> read.csv2 -> read.table -> file
In addition: Warning message:
In file(file, "rt") :
cannot open file 'C:\Users\SESA40~1\AppData\Local\Temp\RtmpaMmix8/a6232463beeca55dd111a939/0': No such file or directory
Execution halted
I have the problem on MacOSX and Windows.
R version 3.2.5 (2016-04-14) -- "Very, Very Secure Dishes"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: i386-w64-mingw32/i386 (32-bit)
If someone can share a solution...
The header of my .Rmd file:
---
title: "Simulation de Monte Carlo pour une estimation Wideband Delphi"
author: "Alain BRET"
date: "28 avril 2016"
output:
pdf_document:
includes:
before_body: tex/tex_before_body.tex
in_header: tex/tex_header.tex
number_sections: yes
toc: yes
html_document:
number_sections: yes
toc: yes
word_document:
toc: yes
params:
nombre_occurences:
input: slider
label: "Nombre d'occurences:"
max: 10000
min: 1000
step: 500
value: 1000
datafile:
input: file
label: 'Fichier des estimations des Experts:'
value: data/estimation_data_2.csv
---
This issue has been reported to rstudio/rmarkdown#919 and fixed in the version 1.7 of the rmarkdown package. It should suffice to install.packages('rmarkdown').

Windows.UI.Xaml.Markup.XamlParseException while trying to locate a string

I'm following this tutorial to create my first Windows app.
I'm at step 3, and if I try to run the applications I get a Windows.UI.Xaml.Markup.XamlParseException here
<TextBlock x:Uid="messageLabel" x:Name="messageLabel" Text=""></TextBlock>
Since I'm not even changing the names from the guide, what is going on?
EDIT 1:
Complete error message
Eccezione first-chance di tipo 'Windows.UI.Xaml.Markup.XamlParseException' in App1.exe
Informazioni WinRT: E_UNKNOWN_ERROR [Line: 12 Position: 24]
Eccezione di tipo 'Windows.UI.Xaml.Markup.XamlParseException' in App1.exe non gestita nel codice utente
Informazioni WinRT: E_UNKNOWN_ERROR [Line: 12 Position: 24]
Ulteriori informazioni: The text associated with this error code could not be found.
E_UNKNOWN_ERROR [Line: 12 Position: 24]

Compile to get shared library using CMake

I'm Using Ogre3D for this project which is a 3D engine.
Actually i build the project using cmake ( add_executable function )
but for the good of my project, I need to get a shared library instead of an executable.
this is my CMakeLists.txt
project(TestOgre)
cmake_minimum_required(VERSION 2.6)
set(CMAKE_MODULE_PATH "/usr/local/lib/OGRE/cmake/")
#set(CMAKE_CXX_FLAGS "-Wall -W -Werror -ansi -pedantic -g")
# Il s'agit du tutoriel d'exemple, qui utilise quelques fichiers prédéfinis de Ogre. Il faut indique\
r à cmake où se trouvent les includes en question
include_directories ("/usr/local/include/OGRE/")
# Bien sûr, pour compiler Ogre, il faut le chercher, et définir le répertoire contenant les includes\
.
find_package(OGRE REQUIRED)
include_directories (${OGRE_INCLUDE_DIRS})
# L'exemple dépend aussi de OIS, une lib pour gérer la souris, clavier, joystick...
find_package(OIS REQUIRED)
# On définit les sources qu'on veut compiler
SET(SOURCES
main.cpp
Map.cpp
Case.cpp
AObject.cpp
Player.cpp
Game.cpp
UpdateOgre.cpp
InitOgre.cpp
AppDemarrage.cpp)
# On les compile
#add_executable (
# TestOgre ${SOURCES}
#)
// what i have add to get a shared library
add_library (
TestOgre SHARED &{SOURCES}
)
target_link_libraries(TestOgre ${OGRE_LIBRARY} ${OIS_LIBRARY} "/usr/lib/x86_64-linux-gnu/libboost_sy\
stem.so.1.53.0")
From the comments the problems were that you did not use the SHARED parameter to specify a shared library and also that &{SOURCES} was used instead of ${SOURCES}.
add_library (
TestOgre SHARED ${SOURCES}
)

Resources