Aqueduct/Dart new project command fails on Windows 7 - dart

I'm trying to create a project with the aqueduct command but I get the following errors :
C:\Users\Aelayeb>aqueduct create -n web_dart
Fetching Aqueduct as:
aqueduct: "any"
Determining Aqueduct template source...
ProcessException: Le fichier sp├®cifi├® est introuvable.
Command: pub get --no-packages-dir
It is written "File not found" (in french).
Also, I skipped the "aqueduct setup" step from the documentation because it fails to find psql and I don't need a database for this project.
After seeing the code for this setup step, I don't think it's mandatory (setup_command.dart).
But if I'm doing something wrong, or someone have an idea about the error, it would really helps me.
Btw, I'm testing this on a Windows 7 64bits computer.

Basically it seems that the command fails to switch directory before executing "pub get --no-packages-dir".
So when I replay "pub get" in the right directory, it seems to work.
EDIT : It's a problem with dart "Process.runSync()" method on windows which doesn't use the "PATH" env. When adding the "runInShell: true" parameters it seems to work.
More details here : github
The question now is : Is it working as intended ?

Related

Rails configuration with docker-compose remote sdk fails on RubyMine

So I work with RubyMine, and I configured my docker-compose integration like in this tutorial, but I have an error when I simply hit the 'run' button:
ERROR: Duplicate mount points: [/home/kyrela/railsproject:/railsproject:rw, /home/kyrela/railsproject:/railsproject:rw]
A simple docker-compose up from the terminal works.
I founded when trying to launch the same command as RubyMine, but removing some arguments, that it was caused by the docker-compose.override.[number].yml file generated automatically by RubyMine, based on my configuration. Without it, it works perfectly.
But my configuration is extremely basic :
I only set the IP adress and port, the same as the ones it currently use with a simple docker-compose up from the terminal, I set the remote SDK (the one from my container), and the docker-compose method to up. That's all, I leaved the rest blank or with the default value.
After some research on this error, it's apparently a bug that can be fixed with a simple docker-compose restart. It didn't worked for me.
Does someone know how to get rid of this error ?
If some informations are missing, just leave a comment and I will edit my message with the specified informations.

codecept: command not found in PhpStorm + Babun

I´m trying to use Codeception for WordPress.
Environment
OS : Windows 10
IDE : PhpStorm
Terminal (in PhpStorm) : Babun
I managed with composer to build the project wp-browser but when I try to run a command with the key word codecept, I got this error :
bash: codecept: command not found
I checked my PhpStorm configuration in Settings > Languages & Frameworks > PHP > Test Frameworks and I can see :
Path to codeception executable : E:\path\my-test-project\vendor\codeception\codeception
I had in PATH for all users E:\path\my-test-project\vendor\codeception\codeception after following this question, without success.
When I test the command codecept in Babun outside the PHPStorm Terminal, that works, so it seems to be a PhpStorm problem.
What could be the thing I forgot ?
I tried again and now it works.
I´m not sure the reason why but it could be because on PHPStorm I clicked (to resolve an other problem ) on
File > Invalidated Caches / Restart....

AWS Appium Project Package

I see below error while packaging appium project for AWS.
Unknown lifecycle phase --DskipTests=true. You must specify a valid lifecycle phase or a goal in the format
Note:
Executing packaging command on mac terminal
Tried both --DskipTests=true & -DskipTests=true (see same error for both)
Looking forward for some help. Thanks!
I work for the AWS Device Farm team.
I have seen this error when users copy-paste the command from the documentation.
We are working on updating this as there seems to be some unknown characters that get introduced.
Users have got this to work by deleting -DskipTests=true and typing it instead of copy pasting it.
Since you are on a Mac terminal you will need to use a single dash '-' for the parameter.
Apologies for the inconvenience.
Hope this helps.

sqlpackage.exe - how do I exclude synonyms>

I'm running sqlpackage.exe as park of an automated deployment script creation process, however we have synonyms in the database, which are different depending on the environment (Dev/Test/Live). The problem is that the database project has the synonyms as they are in the Dev environment, but when I run sqlpackage to compare against Test or Live, the synonyms are different and so they get scripted to be dropped and re-added to point to Dev.
I've seen on http://blogs.msdn.com/b/ssdt/archive/2015/02/23/new-advanced-publish-options-to-specify-object-types-to-exclude-or-not-drop.aspx that apparently there's a new parameter "ExcludeObjectType", but when I try running it using that parameter it gives me an error 'ExcludeObjectType' is not a valid argument for the 'Script' action (and I have the latest version of sqlpackage.exe).
Any ideas on what I can do here?
After downloading the latest SSDT for Visual Studio I still had the same issue. Next I downloaded Data-Tier Application Framework (May 2015) and used the new SqlPackage installed at C:\Program Files\Microsoft SQL Server\120\DAC\bin\sqlpackage.exe and the error went away and worked as expected.
Thank you sir! When I created the deployment script in VS, no change detected but when I tried to deploy using sqlpackage I got the error:
* The object [x] already exists in database with a different definition and will not be altered.
After adding the ExcludeObjectTypes switch I got the following error:
* 'ExcludeObjectTypes' is not a valid argument for the 'Publish' action.
But after downloading and installing latest Data-Tier App framework all works as expected with no errors.

symfony plugin installation failing [bhLDAPAuthPlugin]

I'm working on a symfony project and I need a user access conected to an LDAP server. So I searched for something already done to add to my app and found this plugin that has all I wanted.
So I tried to install with the command $ php symfony plugin:install bhLDAPAuthPlugin
for some reason it throws me this error:
No release avaiable for plugin "bhLDAPAuthPlugin"
I don't really understand what that message means. I've checked the spell of the command (also copied the command given in the page of the plugin) and same error appears. If I had no all requeriments for instalation, other errors would be thrown, right?
PS: If you know some easy way to implement by myself the comunication with LDAP (Microsoft Active Directory) will also be appreciated.
No exactly sure how to solve the error message, perhaps it helps is specifically specify which version you wish to install.
Otherwise there's an easy workaround:
Just download the tgz file from here:
http://www.symfony-project.org/plugins/bhLDAPAuthPlugin/6_0_0
and do
php symfony plugin:install bhLDAPAuthPlugin-etc-etc.tgz

Resources