Welcome, Guest
Python Scripts for ComicRack

TOPIC: Data Manager 2.xx Series for ComicRack

Data Manager 2.xx Series for ComicRack 1 year 7 months ago #46134

  • jkthemac
  • jkthemac's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 776
  • Thank you received: 266
  • Karma: 56
cubbyblues84 wrote:
What struck me is that apparently the letters are supposed to be case sensitive by default and you have to override it to make them case insensitive, but I wound up having to do the opposite.
This in not uncommon for applications that use Regex which is why you are able to specify both within your expression. This example is exactly the kind of place it occurs, in scripts designed to use case insensitive matching but also allow Regex.
The administrator has disabled public write access.

Data Manager 2.xx Series for ComicRack 1 year 7 months ago #46155

  • unrealbe
  • unrealbe's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
Hello,

I just installed it but get an error when trying to go to settings:
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.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
crdmgui
    Assembly Version: 2.3.48.770
    Win32 Version: 2.03.48.770
    CodeBase: file:///C:/Users/tim/AppData/Roaming/cYo/ComicRack/Scripts/Data%20Manager/crdmgui.exe
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.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.1586.0 built by: NETFXREL2
    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.1586.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.1586.0 built by: NETFXREL2
    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.1586.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.1586.0 built by: NETFXREL2
    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.1586.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.1586.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 6 months ago #46257

  • pueblo
  • pueblo's Avatar
  • Offline
  • Junior Boarder
  • Posts: 26
  • Thank you received: 3
  • Karma: 0
unrealbe wrote:
Hello,

I just installed it but get an error when trying to go to settings:
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.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
crdmgui
    Assembly Version: 2.3.48.770
    Win32 Version: 2.03.48.770
    CodeBase: file:///C:/Users/tim/AppData/Roaming/cYo/ComicRack/Scripts/Data%20Manager/crdmgui.exe
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.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.1586.0 built by: NETFXREL2
    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.1586.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.1586.0 built by: NETFXREL2
    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.1586.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.1586.0 built by: NETFXREL2
    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.1586.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.1586.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.

I have the same problem
The administrator has disabled public write access.

Data Manager 2.xx Series for ComicRack 1 year 6 months ago #46266

  • T3KN0Gh057
  • T3KN0Gh057's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 407
  • Thank you received: 114
  • Karma: 27
Looking into it, for now you should edit settings manually they are in the scripts folder in a file called dataman.ini
The administrator has disabled public write access.

Data Manager 2.xx Series for ComicRack 1 year 5 months ago #46401

  • Enliqhten
  • Enliqhten's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Hello, thanks the awesome script. I've been trying to figure out how to fix all my counts ( 1 of X). I use 600wpmpo 1st edition oranizer. So without the count correct the formats are all wrong. I found out today about Series:Books and Series:last number. I think I can use either of these to get the count close so the format will be set right. Is there any way you can add either of these? This is the only solution I've come up with.
The administrator has disabled public write access.

Data Manager 2.xx Series for ComicRack 1 year 5 months ago #46402

  • T3KN0Gh057
  • T3KN0Gh057's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 407
  • Thank you received: 114
  • Karma: 27
Enliqhten wrote:
Hello, thanks the awesome script. I've been trying to figure out how to fix all my counts ( 1 of X). I use 600wpmpo 1st edition oranizer. So without the count correct the formats are all wrong. I found out today about Series:Books and Series:last number. I think I can use either of these to get the count close so the format will be set right. Is there any way you can add either of these? This is the only solution I've come up with.

I'm not sure how those "Series" attributes work but i think those are library atttributes and not Individual book attributes, aut since Data manager works on individual books attributes (and not library attributes) I'm almost certain that is out of the scope and the intentions of Data Manager. I'll have to look into how other scripts (namely Library Organizer) to be sure.
Last Edit: 1 year 5 months ago by T3KN0Gh057.
The administrator has disabled public write access.

Data Manager 2.xx Series for ComicRack 1 year 5 months ago #46455

  • jkthemac
  • jkthemac's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 776
  • Thank you received: 266
  • Karma: 56
Am I correct there is no way to assign a value or the contents of a field to FileName in Data Manager?
The administrator has disabled public write access.

Data Manager 2.xx Series for ComicRack 1 year 5 months ago #46456

  • Xelloss
  • Xelloss's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 575
  • Thank you received: 142
  • Karma: 29
Even if you could, you would have to move the files manually or the comics would be bad linked... :/
The administrator has disabled public write access.

Data Manager 2.xx Series for ComicRack 1 year 5 months ago #46464

  • jkthemac
  • jkthemac's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 776
  • Thank you received: 266
  • Karma: 56
That depends how the filename change was handled. You can change filenames from within ComicRack for example, so you would just need to ensure whatever ComicRack does was replicated by the script. I suspect it just changes the individual database entries and only looses connection to the file if these prove to be incorrect which of course they are not when you edit the values within the app.


Last Edit: 1 year 5 months ago by jkthemac.
The administrator has disabled public write access.

Data Manager 2.xx Series for ComicRack 1 year 5 months ago #46467

  • T3KN0Gh057
  • T3KN0Gh057's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 407
  • Thank you received: 114
  • Karma: 27
jkthemac wrote:
That depends how the filename change was handled. You can change filenames from within ComicRack for example, so you would just need to ensure whatever ComicRack does was replicated by the script. I suspect it just changes the individual database entries and only looses connection to the file if these prove to be incorrect which of course they are not when you edit the values within the app.



Yes I could make it do what you're saying, I even thought about it. But there is already a script that handles moving/renaming files and much better than this script ever could.. Library Organizer does just that... and I'd rather let the maintainer of that script deal with maintaining that, than further complicate this script (not being lazy just practical... not having that burden is just a bonus)
Last Edit: 1 year 5 months ago by T3KN0Gh057.
The administrator has disabled public write access.
Time to create page: 0.191 seconds

Who's Online

We have 191 guests and 2 members online