I am trying to run a simple "hello world" program in python using sublime text 2 but when I use ctrl+B to run the program I get this error:
[Error 2] The system cannot find the file specified
[cmd: [u'python', u'-u', u'C:\\Users\\Sharan\\Documents\\lest.py']]
[dir: C:\Users\Sharan\Documents]
[path: C:\Program Files (x86)\ImageMagick-6.8.3-Q16;C:\Program Files (x86)\HP SimplePass\x64;C:\Program Files (x86)\HP SimplePass\;;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\TortoiseSVN\bin]
[Finished]
Can someone tell me how to fix this problem? I have already downloaded the latest version of python.
You need to add the python executable directory to your path. It should be in C:\Python33 (or whatever version you downloaded, hopefully 3.3). Once that's done, restart Sublime and you should be all set.
Related
In ssis package how to download files from SFTP server . FTP details and FileName should read from config file. Rename the files to append timestamp.files are .csv files. Please help.
I have created SSIS package on my local machine using Visual Studio 2012 and SQL Server 2012 and it is working properly. Now I want to deploy it on Server and Run the package using a batch file on the server
So can you please provide steps on how to deploy and then Run it using a batch file on a server
you can create a batch file using the dtexec.exe command line tool.
Eg create a text file:
<dir of dtexec>/dtexec /F<dir of Package>/package.dtsx
Save as a Batch (.BAT) file.
Edit below command to update package path and package name. Copy the modified code to notepad and save as .bat file and your batch file is ready.
"C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\DTExec.exe" /File "PackagePath\PackageName.dtsx"
my problem has been solved...
the actual problem of getting this Error: 2018-08-30 07:37:43.57 Code: 0x00000001 Source: Script Task Description: Exception has been thrown by the target of an invocation. End Error was on server Renci.SshNet is not working..
On SQL Server 2017 you can go to:
"C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio\DTExecUI.exe"
And then run this. If you saved the file locally, then choose file system and then wherever the .dtsx file is saved(or you can simply go to the .dtsx file and double click on it)
If you saved it on the server, type in the server name and type of authentication with the user name/password if needed and then browse for the package and select it.
Then click the "Execute" Button. Done.
Check to see if there is a UI version of the DTExec on 2012.
I have a .tar.gz file. Now i need to unpack these files with SSIS package. Previously did unzip and delete for .zip files with the help of For each container and script task. Not sure how to do it for .tar.gz files. Any help?
You can use an execute process task to achieve this (or using process from Script task), but you have to install a ZIP application like 7Zip or Winzip or else. And use command line to Zip or Unzip archives.
Follow one of these links for more details:
Zip a folder using SSIS
7Zip command line examples
What command line parameters does WinZip support?
I am using Azure to host a site which uses Perl and MySql. I have placed all my Strawberry perl files in the bin folder. I connect to Perl by adding a handler to the Perl executable which is located on my web app in d:\home\site\wwwroot\bin\perl\bin\perl.exe.
I can run simple Perl programs ok. However when I try to run a Perl script which connects to a MySql database I get the following error:
install_driver(mysql) failed: Can't load 'D:/home/site/wwwroot/bin/perl/vendor/lib/auto/DBD/mysql/mysql.xs.dll' for module DBD::mysql: load_file:The specified module could not be found at D:/home/site/wwwroot/bin/perl/lib/DynaLoader.pm line 193.
However mysql.xs.dll exists in that location. I have also copied into the same folder as mysql.xs.dll the file libmysql_.dll which I read somewhere was a dependency of mysql.xs.dll.
The datasource I am trying to get to looks like this:
my $data_source = "DBI:mysql:$database:$hostname";
I am using the same code and binary files as handlers for Perl in my local IIS so I think all the files needed are there in my bin folder.
What else can I try?
I have some native static library(say MyLib), wich includes windows.h, and I'm trying to reuse it in my WP8 app:
I've copied lib's project file,
renamed it (MyLibWP),
changed platform toolset to Windows Phone 8
tried to build it.
After which I'm getting the following error:
C:\Program Files (x86)\Windows Phone Kits\8.0\Include\winbase.h(10170): fatal error C1083: Cannot open include file: 'winbase.inl': No such file or directory
Kinda weird. Checked the specified folder - it does tell the truth, file is missing.
So, what is wrong with all this stuff?
Edit: tried to copy missing file to \Windows Phone Kits\8.0\Include\ manually, but that doesn't help.
I would reinstall the SDK, I have winbase.h on my machine, at C:\Program Files (x86)\Windows Phone Kits\8.0\Include