MPDCenter - Inventory problem


MPDCenter - Inventory problem
#1
Hello all,

I recently got a new computer (Windows 10), and after installing MPDCenter, I’m encountering an issue where it won't create an Inventory file. I receive the following error message:

"La conversion de la chaîne '1/426' en Integer n'est pas valide. Microsoft VisualBasic."
This translates to something like: "Conversion of the string '1/426' to Integer is not valid. Microsoft VisualBasic."

Even though MPDCenter generates the .bat, .html, and .pbg files, the .html file only contains the table headers:
Parts List for 40691_mythical_pegasus_bird.mpd (0 parts) and Part/Color/Quantity.

Any help would be appreciated.

Thanks,
Marc
Reply
RE: MPDCenter - Inventory problem
#2
(2025-10-16, 15:31)Marc Belanger Wrote: Hello all,

I recently got a new computer (Windows 10), and after installing MPDCenter, I’m encountering an issue where it won't create an Inventory file. I receive the following error message:

"La conversion de la chaîne '1/426' en Integer n'est pas valide. Microsoft VisualBasic."
This translates to something like: "Conversion of the string '1/426' to Integer is not valid. Microsoft VisualBasic."

Even though MPDCenter generates the .bat, .html, and .pbg files, the .html file only contains the table headers:
Parts List for 40691_mythical_pegasus_bird.mpd (0 parts) and Part/Color/Quantity.

Any help would be appreciated.

Thanks,
Marc

Hello,

It could be related to the new structure of LDConfig.ldr.

Entry in LDconfig.ldr
0                              // LEGOID  1/426 - White
0 !COLOUR White
CODE    15  VALUE #F4F4F4  EDGE #333333

I can't tell you why “LEGOID  1 - White”  became “LEGOID  1/426 - White”. 

Best regards,

Manfred
Reply
RE: MPDCenter - Inventory problem
#3
[quote pid="58806" dateline="1760629380"]
It could be related to the new structure of LDConfig.ldr.

Entry in LDconfig.ldr
0                              // LEGOID  1/426 - White
0 !COLOUR White
CODE    15  VALUE #F4F4F4  EDGE #333333

I can't tell you why “LEGOID  1 - White”  became “LEGOID  1/426 - White”. 
[/quote]

I changed the parameters in my LDConfig.ldr file. The error messages stopped, but I still have blank inventory lists. My file is OMR compliant.
--
M.

EDIT: I tried creating an Inventory List on my old computer, and I also get empty lists. Strange... Could it be my file, even though it is compliant?
Reply
RE: MPDCenter - Inventory problem
#4
(2025-10-16, 16:12)Marc Belanger Wrote: [quote pid="58806" dateline="1760629380"]
It could be related to the new structure of LDConfig.ldr.

Entry in LDconfig.ldr
0                              // LEGOID  1/426 - White
0 !COLOUR White
CODE    15  VALUE #F4F4F4  EDGE #333333

I can't tell you why “LEGOID  1 - White”  became “LEGOID  1/426 - White”. 

I changed the parameters in my LDConfig.ldr file. The error messages stopped, but I still have blank inventory lists. My file is OMR compliant.
--
M.

EDIT: I tried creating an Inventory List on my old computer, and I also get empty lists. Strange... Could it be my file, even though it is compliant?
[/quote]


----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Hello,

can you upload your file here?

Greetings

Manfred
Reply
RE: MPDCenter - Inventory problem
#5
(2025-10-16, 15:43)Manfred Schaefer Wrote: Hello,

It could be related to the new structure of LDConfig.ldr.

Entry in LDconfig.ldr
0                              // LEGOID  1/426 - White
0 !COLOUR White
CODE    15  VALUE #F4F4F4  EDGE #333333

I can't tell you why “LEGOID  1 - White”  became “LEGOID  1/426 - White”. 

Best regards,

Manfred

(2025-10-16, 17:01)Manfred Schaefer Wrote: I changed the parameters in my LDConfig.ldr file. The error messages stopped, but I still have blank inventory lists. My file is OMR compliant.
--
M.

EDIT: I tried creating an Inventory List on my old computer, and I also get empty lists. Strange... Could it be my file, even though it is compliant?


----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Hello,

can you upload your file here?

Greetings

Manfred
[/quote]

Here you go.


Attached Files
.mpd   40691 - Mythical Pegasus - Pegasus.mpd (Size: 17.19 KB / Downloads: 3)
Reply
RE: MPDCenter - Inventory problem
#6
Hello,

as far as I know, the ldconfig entries with double numbers exist for a little longer now. This particular case likely since April 2025 (when Lego introduced "426 White V.3").

Can anyone confirm whether or not this causes the issue?

Certain colours had double entries far longer - Dark Pink for example used to be listed as " // LEGOID  22 / 221 - Medium Reddish Violet / Bright Purple". I am assuming that most of these never caused the problem because the colours are more rare than White?

Have you tried 226 Bright Light Yellow? This one has a similar entry due to the V.3 version.
Reply
RE: MPDCenter - Inventory problem
#7
(2025-10-16, 17:35)Marc Belanger Wrote: ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Hello,
can you upload your file here?
Greetings
Manfred

Here you go.
[/quote]

------------------------------------------------------------------------------------------------------------------

Hello,
I can't find anything that could be wrong with your file.

Greetings

Manfred
Reply
RE: MPDCenter - Inventory problem
#8
(2025-10-16, 18:42)Manfred Schaefer Wrote: I can't find anything that could be wrong with your file.

Thank you.
Reply
RE: MPDCenter - Inventory problem
#9
(2025-10-16, 17:57)Chris Böhnke Wrote: Have you tried 226 Bright Light Yellow? This one has a similar entry due to the V.3 version.

I've found a solution, but I'm not sure if it will last. In the LDConfig.ldr file, the problematic entry for White was written as '1/426.' I noticed similar entries written as '999 / 999,' with spaces between the numbers and the slash. So, I changed '1/426' to '1 / 426' and '226 / 427' for Cool Yellow, and now everything seems to be working as it should.
--
M.
Reply
RE: MPDCenter - Inventory problem
#10
Spoke too soon—it works with some MPD files, but not all of them. Again, any help would be appreciated.
--
M.
Reply
RE: MPDCenter - Inventory problem
#11
(2025-10-17, 1:16)Marc Belanger Wrote: I've found a solution, but I'm not sure if it will last. In the LDConfig.ldr file, the problematic entry for White was written as '1/426.' I noticed similar entries written as '999 / 999,' with spaces between the numbers and the slash. So, I changed '1/426' to '1 / 426' and '226 / 427' for Cool Yellow, and now everything seems to be working as it should.
--
M.

This is 100% an issue with MPDCenter improperly parsing comments for information. There is no issue with LDConfig and the "/" characters are allowed in comments.
Reply
RE: MPDCenter - Inventory problem
#12
(2025-10-17, 3:23)Orion Pobursky Wrote: This is 100% an issue with MPDCenter improperly parsing comments for information. There is no issue with LDConfig and the "/" characters are allowed in comments.

True. The problem seems to be the space characters between the numbers (1 and 426 in this case) and the slash character. Adding spaces worked for me.
--
M.
Reply
RE: MPDCenter - Inventory problem
#13
Anyway, I found the problem. The MPD files that MPDCenter couldn't generate the parts list for had empty main.ldr sections. Adding a part to the main.ldr section fixed the issue.

Thanks, everyone!
--
M.
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: 2 Guest(s)