Advertisements

Category Archives: Uncategorized

Pyinstaller Error – Failed to execute script pyi_rth__tkinter

Operating System: MacOS

Python Version 3.7

Pyinstaller Version 3.4

Pyinstaller can run into some minor issues with MacOS, but solving it might take you longer if you do not get the right guidance. We have kept the solution simple to help you resolve the issue faster.

Below is a snippet of the error

Traceback (most recent call last):
File “PyInstaller/loader/rthooks/pyi_rth__tkinter.py”, line 28, in <module>
FileNotFoundError: Tcl data directory “/var/folders/nl/2wxh3z313l129zpzq2f8ww5m0000gn/T/_MEILUmJRc/tcl” not found.
[2195] Failed to execute script pyi_rth__tkinter

The Error Message basically refers to a file that cannot be found. In most cases, this file may not be necessary to run your application. The only way to know it is to refer to the file pyi_rth_tkinter.py

The file pyi_rth_tkinter.py can be found under the venv folder of your project.

venv/lib/python3.7/site-packages/PyInstaller/loader/rthooks/pyi_rth_tkinter.py

You will find a simple IF Statement that returns an error if a specific file is not found in the tk or tcl directory. You can comment the IF Statement as provided below and try running your PyInstaller code once again.

#if not os.path.isdir(tcldir):
    #raise FileNotFoundError('Tcl data directory "%s" not found.' % (tcldir))
#if not os.path.isdir(tkdir):
    #raise FileNotFoundError('Tk data directory "%s" not found.' % (tkdir))
Advertisements

Error Type: Transfer- Scan to Email Error on Kyocera Machines

Scenario: Additional Page with Error Type: Transfer prints out despite the scanned document reaching the recipient successfully

Solution

Under Email Settings, change the SMTP Server Time out to a higher value; say 99 seconds

 

Microsoft Excel cannot open or save any more documents because there is not enough available memory or disk space

Applies to Windows 8, Windows 8.1

Run the Windows Firewall Service

  • Open Services (services.msc) from Control Panel – Administrative Tools – Services
  • Locate the Windows Firewall Service
  • Double-click the Windows Firewall Service and from the General Tab change the Startup Type selection to Automatic
  • Restart the System
  • Upon restart check the status of the Windows Firewall Service. If it is in running mode, you may try opening the excel file
  • If the Windows Firewall is still not in running mode; you will need to make changes to the registry

Changes to Registry

  • Open Registry Editor (regedit)
  • Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
  • With the control folder selected, right click in the pane on the right and select new DWORD Value
  • Name the new DWORD -ServicesPipeTimeout
  • Right-click ServicesPipeTimeout, and then click Modify
  • Click Decimal, type ‘180000’, and then click OK
  • Restart the computer and check the Windows Firewall Service once again
  • If the service has started; you may open the excel files without any error

If the Windows Firewall service has still not started working after the above instructions, I would advice looking for further assistance. But we do have a temporary workaround to enable opening of individual excel files

Temporary Workaround

  • Right-Click the specific Excel File and click Properties
  • In the General Click Unblock under Security
  • The file should now open without any error

Sharepoint 2010/ 2013 – One or more column references are not allowed, because the columns are defined as a data type that is not supported in formulas

I can confirm that a Data Type Column cannot be used in a Formula. But there is an easy workaround using Workflows in SharePoint Designer 2010/2013 without any coding required

  • Create an additional Column in your list (DataTypeColumn01) as type Single Line Text
  • In SharePoint Designer, open the List from the specific website and click New on the Worflows tab

SharePoint_Workflow_01

  • Give the Workflow an appropriate name and select the Platform; either SharePoint 2010 /2013 Workflow
  • From Workflow Tab select Action – List Actions – Set Field in Current Item
  • Set DataTypeColumn01 to CurrentItem:DataTypeColumn
  • Use the lookup button next to the Action to achieve this

SharePoint_Workflow_Lookup.PNG

  • Save the Workflow
  • Enable the Start Options for the Workflow as per your requirement

SharePoint_Workflow_StartOptions

  • Publish the Workflow
  • You can now use the DataTypeColumn01 Column with any SharePoint Formula

Remove yoursites123.com as homepage on Google Chrome

Steps on how to remove yoursites123.com as homepage on your Google Chrome Browser

Phase 1  – Settings in Google Chrome

  • In Google Chome; type this in the address bar chrome://settings/
  • Click Set Pages under On Startup and remove the unwanted address

googlechrome_settings[1]yoursites123_removal

  •  Under Search, click Manage search engines and remove all unnecessary listings

GoogleChrome_SearchEngines

  • Keep the settings page active and open Registry settings of your computer

Registry_Editor

  • Take a backup of the registry using File – Export
  • Click the Computer Icon and click Edit-Find and type yoursites123
  • Use F3 to Search and then manually delete all registry keys which this keyword
  • Return to Google Settings and browser to the bottom and click Show Advanced Settings
  • Click Reset Settings to revert your browser to default settings
  • Close and Open Google Chrome; the pest site should now be gone

 

 

Google Chrome cannot read and write to its data directory

Google Chrome Error

  • Open Registry (Type regedit from Run)
  • Locate the Key – [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome]
  • Delete the content of the key UserDataDir
  • Open Google Chrome and the pop up error should be gone for good

Outlook 2010/2013 – Some items cannot be deleted

Applies to Exchange 2013

Some items cannot be deleted. They were either moved or already deleted, or access was denied

You get above error when trying to delete mailbox Items from Outlook in Non-Cached Mode

Run the below exchange shell script to check if the concerning Mailbox Recoverable Items Quota is reached

Get-MailboxFolderStatistics -Identity MailboxUser -FolderScope RecoverableItems | fl name,*size*

If yes, either increase the quota or delete the contents in the RecoverableItems folder based on criticality of the user

To delete the content; use the below Exchange Shell Script

Search-Mailbox -Identity MailboxUser -SearchDumpsterOnly -DeleteContent

Once done; you will be able to delete individual folder mail items

Convert HWP file to Word format

HWP is a Korean Word processor file format. There is a simple tool that will help you view these attachments in word

HWP Document Convertor for Microsoft Word (Works with Office 2007 and above)

Download Link

  • Run the Installation File
  • Use MS Word to open the HWP file and you are done!

Free Online Logo Designer. Really?

A logo signifies the face of your business. Its an integral part of what your business stands for and holds the key in all your marketing efforts

Do you really think that any Online Provider is going to provide such a service for free and ensure your logo stays unique and professional?

We strongly recommend using the services of a Professional designer or firm that can meet your requirements ably

What If I tell you that you can get design submissions for your Logo, Business Card, Brochures etc. done by Professional designers from across the globe. Rather than being restricted to the services of what a single company can offer, you get to choose from a wide array of talent submissions

We highly recommend DesignCrowd.com. The service on offer will blow your mind away

I used DesignCrowd to get a logo done for my new business.

  • I paid just $249 and in just 5 days I pinned down on a logo that was most apt one I could have imaged.
  • I got 124 Logo Design Submissions from over 50+ designers across the globe

And since I loved the work so much; here is the profile of the designer whose work I chose

Jacek Lachowicz from Poland

Best Online Website Builder

There are quite a few out there. My pick is Wix.com for the sheer simplicity of how it works

Since Wix as a company is constantly evolving; we would be updating below content as and when they upgrade their services

Pros

  • Excellent Editor for both Desktop and Mobile
  • Built-in Blog Editor is available
  • No coding or scripting skills required
  • Excellent Templates available and importing external content is easy
  • Responsive Support through Wix Forum
  • Option of Adding Shopping Cart
  • Connectivity to Google Apps
  • Build and Send Newsletters
  • Tools to integrate with Social Media
  • Excellent pool of Free and Paid Web Apps
  • Shopping Cart setup is built-in
  • Invoicing Tool for your Customers
  • Free with the Wix.com domain

Cons

  • No SSL Support Available
  • Limited Payment Gateway Integration options (PayPal/ Authorize.net / Stripe / Wirecard)