Welcome, Guest
Python Scripts for ComicRack

TOPIC: Data Manager 2.xx Series for ComicRack

Data Manager 2.xx Series for ComicRack 1 year 3 weeks ago #48083

  • CADScott
  • CADScott's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 13
  • Karma: 0
I am still having problems with tags with spaces being split into two separate tags. :(

This has been an ongoing issue for quite a while, I can't imagine I am the only one to have run into this issue, but if I try to use a tag such as The Punisher, it splits it into two tags The and Punisher.

I am using the latest version from git, and it has been a bug for ages, I posted it months ago and got no reply.
I even tried to work around it by using an underscore in the tag (The_Punisher), and then trying to run another rule to replace the underscore with a space, but I can't seem to get that to work.

Please could you help with this one, it is pretty frustrating.


The administrator has disabled public write access.

Data Manager 2.xx Series for ComicRack 1 year 3 weeks ago #48095

  • jkthemac
  • jkthemac's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 785
  • Thank you received: 267
  • Karma: 56
Kurt wrote:
Is there any way to set up a ruleset to check a series for a colon ( : ) and only apply the text that is before the colon to the series group? Once I get passed my DC and Marvel books, the way I organize my books, 99% of the remainder of books the series group is what is in front of a colon. It would be much easier to have one catch all rule.

Sure. Try this:

File Attachment:

File Name: colon.zip
File Size:0 KB

#@ VERSION 
#Created by CR Data Manager GUI 
#Do Not Edit Manually unless you know what you are doing
#@ AUTHOR JKtheMac
# -------------------------------
#@ GROUP colon
# -------------------------------
#@ NAME Pre Colon to Series Group @ COMMENT 
<ruleset name="Pre Colon to Series Group" rulesetmode="AND">  <rule field="Series" modifier="RegEx" value=":" />  <action field="SeriesGroup" modifier="SetValue" value="{Series}" />  <action field="SeriesGroup" modifier="RegexReplace" value="^(.*):.*$||$1" /></ruleset>
#@ END_GROUP colon
# -------------------------------
#@ END_RULES
# -------------------------------
Last Edit: 1 year 3 weeks ago by jkthemac.
The administrator has disabled public write access.
The following user(s) said Thank You: Kurt

Data Manager 2.xx Series for ComicRack 1 year 3 weeks ago #48105

  • Kurt
  • Kurt's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 3
  • Karma: 2
jkthemac wrote:
Sure. Try this:

Worked like a charm, thanks! I figured it had to be something with RegEx, but that just confuses me :unsure:
The administrator has disabled public write access.

Data Manager 2.xx Series for ComicRack 1 year 1 week ago #48147

  • jkthemac
  • jkthemac's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 785
  • Thank you received: 267
  • Karma: 56
Kurt wrote:
Worked like a charm, thanks! I figured it had to be something with RegEx, but that just confuses me :unsure:


Indeed it can be. See my tutorial on using Regex in smartlists for a hopefully clearer introduction to some of the basics.

Glad the tip helped.
Last Edit: 1 year 1 week ago by jkthemac.
The administrator has disabled public write access.

Data Manager 2.xx Series for ComicRack 10 months 1 week ago #48563

  • Oberon1464
  • Oberon1464's Avatar
  • Offline
  • Expert Boarder
  • Posts: 90
  • Thank you received: 5
  • Karma: 1
Hi T3KN0Gh057,

Can you help me out with this error I keep getting?

See attached file...
This the bug report:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Xml.XmlException: Name cannot begin with the '<' character, hexadecimal value 0x3C. Line 1, position 2.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
at System.Xml.XmlTextReaderImpl.ParseQName(Boolean isQName, Int32 startOffset, Int32& colonPos)
at System.Xml.XmlTextReaderImpl.ParseElement()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlReader.MoveToContent()
at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XElement.Parse(String text, LoadOptions options)
at System.Xml.Linq.XElement.Parse(String text)
at DataManagerGUI.dmRuleset.FromXML(String xString)
at DataManagerGUI.dmRuleset.set_OriginalText(String value)
at DataManagerGUI.dmRuleset.Parse(String strRule)
at DataManagerGUI.dmContainer.ParseRuleset(String[] strArray, Int32 nLineStart, dmContainer dmcParent)
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.7.2110.0 built by: NET47REL1LAST
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
crdmgui
Assembly Version: 2.4.5.785
Win32 Version: 2.04.05.785
CodeBase: file:///C:/Users/Bellerophon/AppData/Roaming/cYo/ComicRack/Configurations/Comics/Scripts/Data%20Manager/crdmgui.exe
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2106.0 built by: NET47REL1LAST
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2110.0 built by: NET47REL1LAST
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.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.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2106.0 built by: NET47REL1LAST
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2102.0 built by: NET47REL1LAST
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.


Thanks for your assistence !!
Attachments:
The administrator has disabled public write access.

Data Manager 2.xx Series for ComicRack 10 months 6 days ago #48573

  • Oberon1464
  • Oberon1464's Avatar
  • Offline
  • Expert Boarder
  • Posts: 90
  • Thank you received: 5
  • Karma: 1
Ok... tried a few things myself and still no go so I'm considering starting from scratch and add my old rules by hand in the new manager.

One thing I notice now is that there is no more "Custom" field option in the Rules/Actions menu...
Or am I missing something?
The administrator has disabled public write access.

Data Manager 2.xx Series for ComicRack 10 months 6 days ago #48574

  • Oberon1464
  • Oberon1464's Avatar
  • Offline
  • Expert Boarder
  • Posts: 90
  • Thank you received: 5
  • Karma: 1
Forget I asked regarding my question about the Custom field. Seems you can type it in by hand... :)

And my problem directed at T3KN0Gh057, did some more tinkering and was able to solve this too :laugh:
Installed an earlier version and saved to xml, did the trick.
The administrator has disabled public write access.

Data Manager 2.xx Series for ComicRack 9 months 3 weeks ago #48655

  • beardyandy
  • beardyandy's Avatar
  • Offline
  • Senior Boarder
  • Posts: 48
  • Thank you received: 5
  • Karma: 0
Oberon, you can't remember which previous version worked for you can you?
The administrator has disabled public write access.

Data Manager 2.xx Series for ComicRack 9 months 3 weeks ago #48661

  • Oberon1464
  • Oberon1464's Avatar
  • Offline
  • Expert Boarder
  • Posts: 90
  • Thank you received: 5
  • Karma: 1
I used version 2.01. Had it still somewhere on a USB-stick. It had the "save as HTML" option.
The administrator has disabled public write access.

Data Manager 2.xx Series for ComicRack 9 months 3 weeks ago #48662

  • Oberon1464
  • Oberon1464's Avatar
  • Offline
  • Expert Boarder
  • Posts: 90
  • Thank you received: 5
  • Karma: 1
The previous version that worked for me was1.2.4
The administrator has disabled public write access.
The following user(s) said Thank You: beardyandy
Time to create page: 0.273 seconds

Who's Online

We have 167 guests and 2 members online