Thursday 3 October, 2024

requirements.txt garbled or looks corrupt? Here is the fix

 When running pip freeze > requirements.txt from PowerShell (which is the default terminal on IDEs like PyCharm),  you might see the output properly in Windows but may not work properly on Linux. This is because the file is encoded as UTF-16LE and not as UTF-8. To do it properly, the following command works:

 pip freeze | Out-File -Encoding utf8 requirements.txt

Tuesday 13 February, 2024

Autodesk Vault Server - Backup to S3

I recently installed Autodesk Vault Basic 2024 Server and Clients. It seems to be an 'OK' piece of software. Not something like git, just basic check out, check-in and versions. Needed a reliable way to backup the data in it. There is a menu option in the GUI to do just that.



But I wanted precise control over things and wanted to upload to AWS S3. So I decided to write a python code that does just that! Vault server has a command line option to do backups too, that could be used: 

Example

Connectivity.ADMSConsole.exe -Obackup -BC:\Backup -VUadministrator -VPadmin -VAL -LC:\Backup\BackupLog.txt

Pls check out my code at https://github.com/smtwkla/pyAutoDeskVaultBackup 



Friday 2 February, 2024

Amazon Site-To-Site VPN to Sonicwall : No Traffic

 Configured my SonicWall TZ 370 to connect to AWS Site-To-Site VPN. Does not work even after extensive checking. Not able to ping the VPN even though the tunnel is up and shows up as green. removed all manual config and let the SonicWall firmware's AWS configurator setup the connection. Does not work even then. 

Then turned on Asymmetric Route Support in the interfaces T1 and T2 created, in the 'Advanced' tab. Works immediately!



Thursday 16 November, 2017

My experience with ERPNext

ERPNext is simply amazing!!! I am going for on-site installation and it is very interesting!!!

Thursday 30 March, 2017

MXGuardDog

We are testing the online spam protection service MXGuardDog. Setup seems pretty straight forward. Interface is clutter free and clean. It also seams to work without fuss. Looks good. Check it out: MXGuardDog Anti spam service

Tuesday 7 March, 2017

Gopuram Brand Clay Flooring Tiles

Who makes the best clay flooring tile in Tamilnadu? Obviously, Sree Murugan Tile works, Pavoorchatram!!! Our Gopuram brand of clay tiles are great value for money and have the best durability. Please check our website.

Saturday 11 February, 2017

RADIUS communication error

Stumped by RADIUS communication error while configuring SonicWall TZ210 to NPS? Try a short shared key - really short - SonicWall has some problem with generated long shared keys!!!