Welcome, Guest
Python Scripts for ComicRack

TOPIC: Data Manager 2.xx Series for ComicRack

Data Manager 2.xx Series for ComicRack 1 year 4 days ago #46013

  • T3KN0Gh057
  • T3KN0Gh057's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 407
  • Thank you received: 114
  • Karma: 28
docdoom & T3KN0Gh057 proudly present the Data Manager 2.xx Series for ComicRack

If you are using ComicRack to organize your comic library there is sometimes the need to enter data depending on rules. So you might want to set the series group to Gotham for all Batman books. Or you scraped your data from Comic Vine (using the excellent ComicVine Scraper) and discover that some of the information in the ComicVine database is not correct. So you want to set the publisher information for the first 200 issues of Walt Disneys Comics and Stories to the correct publisher Dell instead of Boom.

This plugin will complete all these tasks automatically.

Data Manager 2.04.05. revision 785 is now available on github

Major changes in this version:
  • Fixes prior custom field editing problems


I hate to say this but you are my beta testers. Keep me apprised of any bugs and i'll do my best to squash them.
You can post bugs in this forum but i would suggest creating an issue on my github repository , and attach your dataman.dat file
Last Edit: 3 months 1 week ago by T3KN0Gh057.
The administrator has disabled public write access.
The following user(s) said Thank You: Surfal666, alext41, Gantz, jkthemac, phaedrusnyc

Data Manager 2.xx Series for ComicRack 1 year 3 days ago #46015

  • CADScott
  • CADScott's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
Just tried adding this to my portable ComicRack setup (Not sure if this would make a difference). The 2.xx plugin does not override the older plugin (v1.2.4r219), so both have an icon in the menu bar, not sure if it is meant to be like this?
Unfortunately the 2.xx plugin crashes as soon as I open the config page, removing the older version does not help either.
The administrator has disabled public write access.

Data Manager 2.xx Series for ComicRack 1 year 3 days ago #46016

  • T3KN0Gh057
  • T3KN0Gh057's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 407
  • Thank you received: 114
  • Karma: 28
CADScott wrote:
Just tried adding this to my portable ComicRack setup (Not sure if this would make a difference). The 2.xx plugin does not override the older plugin (v1.2.4r219), so both have an icon in the menu bar, not sure if it is meant to be like this?

yes for now I want to be able to keep the old 1.2.4 (until I'm sure 2.xx series is stable enough) so that nothing is lost given the plugin doesn't work for you.

Case in point:
Unfortunately the 2.xx plugin crashes as soon as I open the config page, removing the older version does not help either.

is there any indication of why? I can't reproduce this crash.
The administrator has disabled public write access.

Data Manager 2.xx Series for ComicRack 1 year 3 days ago #46017

  • CADScott
  • CADScott's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
The error message I get is as follows:
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at DataManagerGUI.dmContainer.GetParameters(String string0)
   at DataManagerGUI.dmContainer.ParseRuleset(String[] strArray, Int32 nLineStart, dmContainer dmcParent)
   at DataManagerGUI.dmContainer.ParseGroup(String[] strArray, Int32 nLineStart, dmContainer Parent)
   at DataManagerGUI.dmContainer.ParseGroup(String[] strArray, Int32 nLineStart, dmContainer Parent)
   at DataManagerGUI.dmCollection.Parse(String[] masterRules)
   at DataManagerGUI.dmCollection..ctor(String strFilePath)
   at DataManagerGUI.gui.LoadFile(String strRuleFile)
   at DataManagerGUI.gui.gui_Shown(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnShown(EventArgs e)
   at System.Windows.Forms.Form.CallShownEvent()
   at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbacks()


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1076.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
crdmgui
    Assembly Version: 2.3.0.715
    Win32 Version: 2.03.0.715
    CodeBase: file:///C:/Scott/C_Rack/ComicRack/Data/Scripts/Data%20Manager/crdmgui.exe
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.81.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1075.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.81.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1068.2 built by: NETFXREL3STAGE
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.81.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1067.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.81.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Xml.Linq
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.81.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
The administrator has disabled public write access.

Data Manager 2.xx Series for ComicRack 1 year 3 days ago #46018

  • T3KN0Gh057
  • T3KN0Gh057's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 407
  • Thank you received: 114
  • Karma: 28
try creating a 'dataman.dat' in the Data Manager Mod folder in your Scripts folder or copy the 'dataman.dat' from Data Manager folder to Data Manager Mod folder
The administrator has disabled public write access.

Data Manager 2.xx Series for ComicRack 1 year 3 days ago #46020

  • CADScott
  • CADScott's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
T3KN0Gh057 wrote:
try creating a 'dataman.dat' in the Data Manager Mod folder in your Scripts folder or copy the 'dataman.dat' from Data Manager folder to Data Manager Mod folder

I don't seem to have a Data Manager Mod folder at all! I have a CR Data Manager, which is the earlier version, and your script seems to have created a Data Manager folder.
I created the dataman.dat file in this Data Manager folder but the problem persists. :(

I also tried this on another install of ComicRack, which is not a portable setup, and the exact same issue occurs.
The administrator has disabled public write access.

Data Manager 2.xx Series for ComicRack 1 year 2 days ago #46022

I can confirm I am seeing this exact same behavior.
The administrator has disabled public write access.

Data Manager 2.xx Series for ComicRack 1 year 2 days ago #46024

  • T3KN0Gh057
  • T3KN0Gh057's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 407
  • Thank you received: 114
  • Karma: 28
cubbyblues84 wrote:
I can confirm I am seeing this exact same behavior.

send me a copy of your 'dataman.dat'
The administrator has disabled public write access.

Data Manager 2.xx Series for ComicRack 1 year 2 days ago #46026

The 1st one was from a folder called "CR Data Manager" and the 2nd was from a folder called "Data Manager". Just renamed .dat to .txt so I could upload.
Attachments:
Last Edit: 1 year 2 days ago by cubbyblues84.
The administrator has disabled public write access.

Data Manager 2.xx Series for ComicRack 1 year 1 day ago #46030

  • T3KN0Gh057
  • T3KN0Gh057's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 407
  • Thank you received: 114
  • Karma: 28
Found the problem, and this is exactley why I'm switching to xml

The problem is that in one of your Group names (Army @ Love - damn good series btw) uses an atmark ("@") the atmark is used to split the Groupname from the comment.
I could go more in depth about the programming implications and problems with it,

The quick explanation is that the characters "@" and/or "#" shouldn't be used in Groupnames, Comments or Group Filters or Actions. At least until the profile is updated to xml.

Also thanks to investigating your problem i found another bug that in most instances causes the config to write out as text instead of xml as intended for the default profile.

expect 2.03.1r718 tomorrow. (or rather today considering its 3am)
Last Edit: 1 year 1 day ago by T3KN0Gh057.
The administrator has disabled public write access.
The following user(s) said Thank You: cubbyblues84
Time to create page: 0.448 seconds

Who's Online

We have 227 guests and 3 members online