alire cannot run hello programm error code 35 - ada

Hello I am trying to run Hello program on Alire on Windows but can't I get this error, can someone help?
Note: Selected tool version gprbuild=22.0.1
Note: Deploying gprbuild=22.0.1...
curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - La fonction de révocation n'a pas pu vérifier la révocation du certificat.
Fichier introuvable - C:\alire\.config\alire\cache\dependencies\alr-gpyu.tmp\*
Fichier introuvable - C:\alire\.config\alire\cache\dependencies\alr-gpyu.tmp\*
ERROR: Command ["curl", "https://github.com/alire-project/GNAT-FSF-builds/releases/download/gprbuild-22.0.0-1/gprbuild-x86_64-windows64-22.0.0-1.tar.gz", "--location", "--progress-bar", "--output", "C:\alire\.config\alire\cache\dependencies\alr-gpyu.tmp\gprbuild-x86_64-windows64-22.0.0-1.tar.gz"] exited with code 35

I fixed the problem by downloading gnat and gprbuild from github and changing env parameters: with the commands

Related

MissingMethodException: Void System.Data.Entity.Infrastructure.LocalDbConnectionFactory..ctor() after upgrading EF6

I upgraded EF6 from 6.2.0 to 6.3.0 and now I'm getting this error on the server (not in Visual Studio):
Méthode introuvable : 'Void System.Data.Entity.Infrastructure.LocalDbConnectionFactory..ctor()'.
Description : Une exception non gérée s'est produite au moment de l'exécution de la requête Web actuelle. Contrôlez la trace de la pile pour plus d'informations sur l'erreur et son origine dans le code.
Détails de l'exception: System.MissingMethodException: Méthode introuvable : 'Void System.Data.Entity.Infrastructure.LocalDbConnectionFactory..ctor()'.
I even tried to publish the old version of the website (using EF 6.2.0) and I'm still getting the same error.
The server is Windows Server 2012 with asp.net framework 4.8. The website is made with WebForms.
I tried restarting IIS and the server itself, without success.
I was able to fix the problem by publishing with the option to "delete existing files".
I guess it was different versions of the EntityFramework DLL that were conflicting on the server.
For anyone who has same problem during development, not deploying:
Probably, your project reads EntityFramework.dll from different place than your project bin folder. You can check this in Modules window (for open it start debugging and choose Debug -> Windows -> Modules). Now, just find there an entry for EntityFramework.dll and check out the path value. In my case it pointed out an old version from GAC_MSIL directory. After deletion these trash from GAC and re-running my project, file EntityFrmaework.dll was loaded from my project folder and the error was gone.

Intel OpenCL SDK for FPGA compile kernel for emulation with aoc command gives linker error

I'm trying to compile a kernel for emulation with aoc in the Intel FPGA SDK, I have set all environment variables as possible even using the init_opencl.bat included in the SDK.
I'm running the following line using the visual studio 2017 developers command prompt in order to use visual studio linker:
aoc -march=emulator -v -board=a10gx my_kernel.cl -o my_kernel.aocx
but it always throws a linker error (the errors are in Spanish, sorry about that).
Creando biblioteca libkernel.lib y objeto libkernel.exp
libkernel.obj : error LNK2019: símbolo externo
__imp___translate_sampler_initializer sin resolver al que se hace referencia en la función my_kernel
libkernel.obj : error LNK2019: símbolo externo floorf sin resolver al
que se hace referencia en la función __acl__copysignf
libkernel.obj : error LNK2019: símbolo externo ceilf sin resolver al
que se hace referencia en la función __acl__copysignf
libkernel.obj : error LNK2019: símbolo externo log2 sin resolver al
que se hace referencia en la función __acl__sppow_approx
libkernel.obj : error LNK2019: símbolo externo exp2 sin resolver al
que se hace referencia en la función __acl__sppow_approx
LINK : error LNK2001: símbolo externo _DllMainCRTStartup sin resolver
C:\Program Files (x86)\Microsoft Visual
Studio\2017\Community\VC\Tools\MSVC\14.16.27023\lib\x86\msvcrt.lib :
warning LNK4272: el tipo de máquina de biblioteca 'x86' está en
conflicto con el tipo de máquina de destino 'x64'
C:\Program Files (x86)\Microsoft Visual
Studio\2017\Community\VC\Tools\MSVC\14.16.27023\lib\x86\legacy_stdio_definitions.lib
: warning LNK4272: el tipo de máquina de biblioteca 'x86' está en
conflicto con el tipo de máquina de destino 'x64'
libkernel.dll : fatal error LNK1120: 6 externos sin resolver
I have no idea what else to do.
Note:
The kernel uses image2d objects which I'm not entirely sure are compatible with FPGAs. Actually that's another question.
Quite likely the problem is that they (Altera, now Intel) still require on Windows to use MSVC 2010 to successfully link their libraries with the host project.
That is at least the case for fft-2d where is such a requirement.
So you probably have 2 choices:
Install MSVC 2010
Figure out how to successfully link with their libraries being built using MSVC 2010
Update
I checked my notes. To be able to successfully link with Altera libraries using VS 2015 I was additionally linking with legacy_stdio_definitions.lib. That should go into AdditionalDependencies in the linker section. Can't assure this will help your case too but it's worth a try.
First of all thanks doqtor for your answer...in the end I was finnaly able to compile without having to change much....actually if you run the aoc offline compiler from the Visual Studio Developers Command Prompt x64 most of the problems are solved.
I decided to cleanly reinstall the entire Intel FPGA SDK and this time set up correctly every environment variable...and everything worked perfectly...I was able to compile and execute the SDK examples.
But one problem could not be solved....my kernel uses image2d_t objects and of course sampler_t....turns out according to the Intel SDK Programming Guide...the SDK does not support images and samplers while working with OpenCL 1.0.
The weird thing is that the FPGA Emulator platform does support it so i was able to compile using the emulator....although this wont solve much for me.....I have decided to change my kernel and find an alternative to image and samplers.
Thanks
Answering your questions:
FPGA emulator is not supporting x86 platform, just x86_64 (but I see you are already resolved this I guess).
About images. The SDK isn't supporting image type indeed, but it doesn't mean that aoc will fail during compilation. You will fail later when you try to run your application.

Why After first load symfony stop working?

I'm new to symfony
and when installation finish the welcome page work correctly but when i'm refreshing the page the load doesnt finish!
EDIT :
For my server configuration i juste use the "php bin\console sever:run" commande to launch my project.
And I add the content of dev log file :
[2019-02-14 00:09:05] php.DEBUG: Warning: fsockopen(): unable to connect to 127.0.0.1:8000 (Une tentative de connexion a échoué car le parti connecté n’a pas répondu convenablement au-delà d’une certaine durée ou une connexion établie a échoué car l’hôte de connexion n’a pas répondu. ) {"exception":"[object] (Symfony\Component\Debug\Exception\SilencedErrorContext: {\"severity\":2,\"file\":\"C:\\Mes Sites Web\\awema\\awema\\vendor\\symfony\\web-server-bundle\\WebServerConfig.php\",\"line\":139,\"trace\":[{\"file\":\"C:\\Mes Sites Web\\awema\\awema\\vendor\\symfony\\web-server-bundle\\WebServerConfig.php\",\"line\":54,\"function\":\"findBestPort\",\"class\":\"Symfony\\Bundle\\WebServerBundle\\WebServerConfig\",\"type\":\"->\"}],\"count\":1})"} []
[2019-02-14 00:09:17] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /"" at C:\Mes Sites Web\awema\awema\vendor\symfony\http-kernel\EventListener\RouterListener.php line 139 {"exception":"[object] (Symfony\Component\HttpKernel\Exception\NotFoundHttpException(code: 0): No route found for \"GET /\" at C:\Mes Sites Web\awema\awema\vendor\symfony\http-kernel\EventListener\RouterListener.php:139, Symfony\Component\Routing\Exception\NoConfigurationException(code: 0): at C:\Mes Sites Web\awema\awema\vendor\symfony\routing\Matcher\Dumper\PhpMatcherTrait.php:172)"} []
[2019-02-14 00:09:18] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"6b922e"},"request_uri":"http://127.0.0.1:8000/_wdt/6b922e","method":"GET"} []
I experienced the exact same issue (Windows, Symfony 4.4.2, php 7.1.3)
I was using the WebserverBundle which gives a notice :
WebserverBundle is deprecated since Symfony 4.4. The new Symfony local
server has more features, you can use it instead
If you run for instance
symfony server:start
This will propose the installation of the new symfony local server, which solved this infinite loop problem for me.

Scheduler.h library Arduino

I am trying to use the Arduino library Scheduler.h. I copied the code from here <1> and I imported the libary, but it didn't compile. Here the compilation error code.
Error:
Arduino: 1.6.9 (Linux), Placa:"Arduino Nano, ATmega328"
AVISO: a biblioteca Scheduler alega rodar em arquitetura(s) [sam e pode ser incompatível com sua placa atual, que roda em arquitetura(s) samd].
/tmp/ccAyeLMX.s: Assembler messages:
/tmp/ccAyeLMX.s:588: Error: constant value required
lto-wrapper: /home/ullisses/.arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.3-arduino2/bin/avr-gcc returned 1 exit status
/home/ullisses/.arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.3-arduino2/bin/../lib/gcc/avr/4.9.2/../../../../avr/bin/ld: lto-wrapper failed
collect2: error: ld returned 1 exit status
exit status 1
Erro compilando para a placa Arduino Nano
Please, how can I fix this?
As indicated by the warning message, the Scheduler library is written for SAM and SAMD architecture. The Arduino Nano you're attempting to compile for is AVR architecture so you can't use the library for that board. If you read the page you got the code from you will notice it says:
Hardware Required
Arduino Due Board
I recommend studying File > Examples > 02.Digital > BlinkWithoutDelay and the tutorial page for that example, which demonstrates a more sensible method for achieving multiple blinks on AVR.

Harmon.ie error when upload file

After completing instalation of Harmo.ie for Outlook 2010, I tried to upload file into a custom document Library. For info, the document library used custom content type and has item receiver attached to it (ItemAdded and ItemUpdated). Sometime, harmon.ie display a error which say "Could not upload file... into the selected Library."
After debugging, the error occured before item receivers. Is anybody have information about the issue ? I did'nt find anything in ULS logs and i tried to isolate bug but no luck !!
here the stack trace of harmo.ie :
!ENTRY com.mainsoft.sharepoint.sidebar.SideBarViewPart 4 0 2015-03-16 14:42:25.892
!MESSAGE Impossible de télécharger ...' vers la bibliothèque sélectionnée.
Le téléchargement du fichier ...' n'a pas pu être terminé.
!STACK 0
com.mainsoft.sharepoint.sidebar.services.UploadOperationFailedException: Le téléchargement du fichier'...' n'a pas pu être terminé.
at com.mainsoft.sharepoint.sidebar.services.UpdateMetadata.onAfterUpload(UpdateMetadata.java:74)
at com.mainsoft.sharepoint.sidebar.services.FilesUploader.uploadNextDocument(FilesUploader.java:169)
at com.mainsoft.sharepoint.sidebar.services.FilesUploader.upload(FilesUploader.java:126)
at com.mainsoft.sharepoint.sidebar.services.FilesUploader.upload(FilesUploader.java:107)
at com.mainsoft.sharepoint.sidebar.operations.BaseFilesUploadOperation.run(BaseFilesUploadOperation.java:157)
at com.mainsoft.common.OperationBase.run(OperationBase.java:94)
at com.mainsoft.common.OperationBase$1.run(OperationBase.java:33)
at com.mainsoft.common.Job$SecondJob.run(Job.java:191)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
at java.lang.Thread.threadProc(Thread.java:2297)
at java.lang.Thread$1.Invoke(Thread.java:797)
at cli.System.Threading.ThreadHelper.ThreadStart_Context(Unknown Source)
at cli.System.Threading.ExecutionContext.Run(Unknown Source)
at cli.System.Threading.ThreadHelper.ThreadStart(Unknown Source)
Run Fiddler to trace requests sent from harmon.ie to SharePoint - the trace details may give you some insight. Also try the same operation against a library that doesn't have any event handlers.

Resources