shriprem / FWDataViz

Fixed Width Data Visualizer plugin for Notepad++. Turns Notepad++ into Excel for fixed-width data files. Displays cursor position data. Jumps to specific fields. Folding Record Blocks. Extracts Data. Builtin dialogs to configure file-type, record-type & fields; Themes & Colors; and Folding. Handles homogenous, mixed & multi-line records.
GNU General Public License v2.0
37 stars 6 forks source link

No colorization after switching to 64 bit #45

Closed jeff-bowles closed 2 years ago

jeff-bowles commented 2 years ago

This is possibly an environmental issue and not a bug.

Any ideas for things to try?

shriprem commented 2 years ago

Interesting!

I need to review your Themes.ini and the Visualizer.ini files. Please put both of them into a zip file, and attach it here in your reply post. Both .ini files can be found in the %APPDATA%\Notepad++\plugins\Config\FWDataViz (for full installs of NPP); or in the <NPP_Portable_path>\plugins\Config\FWDataViz folder (for portable installs of NPP).

[Note that the %APPDATA% part in the full-install NPP user config path mentioned above will expand dynamically to something like: C:\Users\jeff-bowles\AppData\Roaming\ if you were to use it either in the Windows Command Prompt or the Windows File Explorer address bar.]

jeff-bowles commented 2 years ago

Here are the *.ini files.

Thanks for investigating!

FWDataViz.zip

shriprem commented 2 years ago

@jeff-bowles , I couldn't find any obvious issues with your .ini files. You have 21 different file types defined in your Visualizer.ini. A few of those file types are a bit more complex, with more record types, than others. Is the colorization failing with all file types? Even the simpler ones?

To try to replicate your issue, on a pristine PC, I first installed the 32-bit NPP 8.1.9.3 version. Then I upgraded it with the 64-bit NPP 8.3.3 version. The colorization feature of the FWDataViz plugin worked just as seamlessly after the 64-bit upgrade. So, without your actual data files to test further, I am at a loss to think of a cause for the issue you are describing here.

Perhaps, you might be able to isolate the problem by quickly testing against multiple, portable versions of NPP with your .ini files. From https://notepad-plus-plus.org/downloads/, download both the 32-bit & 64-bit portable zip files for versions 8.3.3, 8.2.1 & 8.1.9.3. Then unzip them all into their separate folders. In the screenshot below, I have used, for example, the default user Downloads folder. image

Then you can start testing separately with each portable version of NPP. You will need to ensure that no other version of NPP is still running when testing each version. Start with the most recent version (8.3.3), and work your way backwards. To be sure, confirm the NPP version number you are testing either by pressing the F1 key or the About Notepad++ help menu item. Download the FWDataViz plugin for each version using its Plugin Admins dialog. Then copy over your .ini files into the FWDataViz subfolder in the appropriate <NPP_Portable_path>\plugins\Config folder. For example, for the 64-bit NPP 8.3.3 portable you see in my screenshot, the .ini files will need to be copied into C:\Users\username\Downloads\npp.8.1.9.3.portable.x64\plugins\Config\FWDataViz\.

If you can replicate the colorization issue with your data files in any of these portable versions, please report it here, listing which versions passed and which failed. Thank you for your time.

jeff-bowles commented 2 years ago

I've been able to confirm there is nothing wrong with FWDataViz. I think I must have some text files with some sort of corruption or perhaps an encoding issue. Thanks for your detailed response!