zzjhons / bricksync Goto Github PK
View Code? Open in Web Editor NEWBrickSync open source code
BrickSync open source code
I've added Fabuland Lime and Reddish Orange to the colortable file.
EDIT I've also added Umber Brown & Sienna Brown
Fabuland Lime
BO Color ID = 237
BL Color ID = 248
LEGO ID = 14
Reddish Orange
BO Color ID = 241
BL Color ID = 167
LEGO ID = 402
Sienna Brown
BO Color ID = 245
BL Color ID = 169
LEGO ID = 422
Umber Brown
BO Color ID = 243
BL Color ID = 168
LEGO ID = 423
First of all: Thanks so much for taking care of this project and providing updates.
I decided to compile my own binaries of version 1.7.2-3 as my Ubuntu server does not support a newer version of openssl than 1.0.4.
For compilation I just use the 'compile' file that is provided in the project but I get the following error:
oauth.c: In function 'oauthHmacSHA1':
oauth.c:162:11: warning: implicit declaration of function 'EVP_MD_CTX_new' [-Wimplicit-function-declaration]
mdctx = EVP_MD_CTX_new();
^
oauth.c:162:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
mdctx = EVP_MD_CTX_new();
^
oauth.c:196:3: warning: implicit declaration of function 'EVP_MD_CTX_free' [-Wimplicit-function-declaration]
EVP_MD_CTX_free( mdctx );
^
/tmp/cckQIbYa.o: In function oauthQueryComputeSignature': oauth.c:(.text+0x5fb): undefined reference to
EVP_MD_CTX_new'
oauth.c:(.text+0x738): undefined reference to `EVP_MD_CTX_free'
collect2: error: ld returned 1 exit status
Do you have any idea what the problem is? (my system setup, the compile file or coding?)
Best regards,
Dennis
so, i just updated to the 1.7.2-3 and was looking in the config file and i saw the part about the price guide cache format.
quote:
// The format to store the price guide cache, important to share with either BrickStore or BrickStock
priceguide.cacheformat = "BrickStock";
does this need to be changed if going from brickstock to the new brickstore fork?
do they not both use the same format?
and does the setting work with the 'current' brickstore or is it outdated and only conform to the final version of brickstock?
on a side note (and probably should be a separate question) any idea how accurate the bricksync price guide is compared to what's currently going on with bricklink? thanks in advance.
Just noticed that Bionicle Silver, Bionicle Copper & Bionicle Gold aren't mapping to BO - could they be updated please?
Silver is 239 on BL, and 229 on BO
Gold is 238 on BL, and 231 on BO
Copper is 237 on BL, and 233 on BO
For info - https://www.bricklink.com/message.asp?ID=1329222
Thanks,
Rich
Are there instructions to compile on Linux (Debian)?
I'm trying to compile the latest Bricksync version but I'm getting the following error when executing the compile command:
oauth.c: In function 'oauthHmacSHA1':
oauth.c:162:11: warning: implicit declaration of function 'EVP_MD_CTX_new' [-Wimplicit-function-declaration]
mdctx = EVP_MD_CTX_new();
^
oauth.c:162:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
mdctx = EVP_MD_CTX_new();
^
oauth.c:196:3: warning: implicit declaration of function 'EVP_MD_CTX_free' [-Wimplicit-function-declaration]
EVP_MD_CTX_free( mdctx );
^
/tmp/ccut7pSx.o: In function oauthQueryComputeSignature': oauth.c:(.text+0x5fb): undefined reference to
EVP_MD_CTX_new'
oauth.c:(.text+0x738): undefined reference to `EVP_MD_CTX_free'
collect2: error: ld returned 1 exit status
I'm using an older version of Ubuntu Server. Does anyone have a hint for me?
Hi
I messed up my updated inventory with Bricksync, and I am having problems restroring
it
The log file says that backup no. 00182 was created after checking I have 580k
parts in my Bricklink inventory
16:39:17 INFO: BrickLink inventory has 579960 items in 7971 lots.
16:39:17 INFO: Saving backup of BrickLink inventory at "data\backups\2023-08-19\00182.bsx".
But when i open the 00182 file in Brickstock, it has the old inventory of 390k
parts
My new parts are put into drawers which I noted in the remark field, so now they
are impossible for me to find, as I can not simply upload them again
Please advice!
Casper
"Software launch time" inaccurately reports current date/time versus the actual software launch time when you call the 'status' command.
BL changed something in the API that has broken the Bricksync syncing with BL.
Is there anybody that can do a (fast) fix?
ErinNL stated on BL:
The fix is to specify the "description" field.
{"quantity":4, "description":""}
Maybe this can be easily be implemented in BrickSync?
Hello,can someone help me with compiling in linux ubuntu ?
when I try to compile,I have 2 errors:
tcp.c:92:11: fatal error: openssl/ssl.h: Aucun fichier ou dossier de ce type
92 | #include <openssl/ssl.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
oauth.c:39:10: fatal error: openssl/evp.h: Aucun fichier ou dossier de ce type
39 | #include <openssl/evp.h>
The compilation generate the cpuconf file only
My version of openssl is OpenSSL 3.0.2
Any issue with the version of openssl ?
I have reach to use the file compiled from the website bricksync.net but no way to compile it....
Is it possible to compile on an Raspberry Pi4? Could I get instructions.
I'm getting this error for the past week when blmastering
INFO: Fetching the BrickOwl Order List...
INFO: We are up-to-date on BrickOwl orders.
INFO: Fetching the BrickOwl Order List...
INFO: Fetching the BrickOwl Inventory...
INFO: Fetching the BrickOwl Order List...
INFO: BrickOwl inventory has 195854 items in 10138 lots.
INFO: Updating BrickOwl inventory, 4 lots are pending for update.
WARNING: We failed to translate the BL color 249 to a BO color code.
WARNING: The lot "Minifigure, Weapon Sword, Uruk-hai" ( 10050 ) in color "Reddish Copper" will not be uploaded to BrickOwl.
WARNING: We failed to translate the BL color 249 to a BO color code.
WARNING: The lot "Minifigure, Shield Circular Rimmed Face with Stud" ( 91884 ) in color "Reddish Copper" will not be uploaded to BrickOwl.
WARNING: We failed to translate the BL color 249 to a BO color code.
WARNING: The lot "Minifigure, Weapon Sword, Khopesh (Sickle Sword)" ( 93247 ) in color "Reddish Copper" will not be uploaded to BrickOwl.
WARNING: We failed to translate the BL color 249 to a BO color code.
WARNING: The lot "Minifigure, Weapon Sword, Uruk-hai" ( 10050 ) in color "Reddish Copper" will not be uploaded to BrickOwl.
WARNING: We failed to translate the BL color 249 to a BO color code.
WARNING: The lot "Minifigure, Shield Circular Rimmed Face with Stud" ( 91884 ) in color "Reddish Copper" will not be uploaded to BrickOwl.
WARNING: We failed to translate the BL color 249 to a BO color code.
WARNING: The lot "Minifigure, Weapon Sword, Khopesh (Sickle Sword)" ( 93247 ) in color "Reddish Copper" will not be uploaded to BrickOwl.
INFO: BrickOwl inventory update has completed.
New color that needs to be added? Or this a problem on Brick Owl's side. These parts have been in the inventory for quite a while and this just started happening recently.
BrickFreedom had similar error: https://www.bricklink.com/messageThread.asp?ID=353397&nID=1452018
Error received while uploading new parts:
==== DATA ====
{"meta":{"description":"String input must not be null","message":"PARAMETER_MISSING_OR_INVALID","code":400}}
==== END ====
just loaded up the 1.7.2-3 version of bricksync.
in the console it states that it is running "software version 1.7.1 - apr 2 2021"
I've got another updated colortable.c file, that includes a few more missing colours;
Transparent Light Green
Transparent Light Bright Green
Transparent Purple Opal / Satin Trans-Purple
Not a huger number of parts in those colours but would be a helpful addition.
New colour released;
Lego name is Vibrant Yellow.
BrickOwl name is Vibrant Yellow.
BrickLink name is Neon Yellow.
When I add inventory on the bricklink site instead of updating brickowls inventory it is deleting the added bricks on bricklink
BL have introduced 4 new Pearl colours this week, for a specific set of Bionicle parts (part numbers 44138, 44140 & 44807)
New colours are:
Pearl Red (252 on BL, and 181 on BO)
Pearl Green (253 on BL, and 183 on BO)
Pearl Blue (254 on BL, and 189 on BO)
Pearl Brown (255 on BL, and 219 on BO)
This forum post explains the new colours: https://www.bricklink.com/message.asp?ID=1436672
I've updated the colortable.c file accordingly - will upload it as a comment in this thread.
Rich - Brickadoon
New Lego colour Medium Brown...
BrickOwl 213 Medium Brown
BrickLink 240 Medium Brown
BrickLink 91 Light Brown (was originally Dark Flesh, then renamed to Medium Brown, now renamed to Light Brown)
I downloaded the list of colours from BL's website earlier, and compared it to what was in the colortable file.
Just a few minor changes:
BL colour 13 (BO 95) - updated name for old Transparent Black
BL colour 113 (BO 25) - updated name Trans-Aqua
BL colour 228 (BO 193) - updated name Satin Trans-Clear
BL colour 229 (BO 201) - updated name Satin Trans-Brown
BL colour 233 (BO 207) - updated name Satin Trans-Bright Green
BL colour 244 (BO 185) - updated name Pearl Black
BL colour 251 (BO 235) - added Trans-Black (2023)
If the conf file is set to 'checkmessage = 0', it causes a 'bricksync has stopped working...' Windows crash.
Is it possible to get a new release with the color additions and the recent Brickstore compatibility?
Hi, first of all I'm grateful this software is being maintained. I've been using it with great success to sync my BrickLink and BrickOwl inventories and I'd prefer not to use any other third-party solutions that may be charging a fee for what already is an expensive hobby for me.
This said, I would like to know how hard it would be to add support for discount rates, namely:
blmaster
)add
)Unfortunately I'm not proficient in C so I will be of little use beyond confirming BrickSync doesn't save the discount rate locally in the inventory at the moment.
Thank you for your consideration!
Instead of pushing my updated inventory, it decided to delete every item I had just spent the past hour counting and adding.
`16:09:26 LOG: User command "sync"
16:09:26 INFO: BrickLink service flagged for deep sync.
16:09:26 INFO: BrickOwl service flagged for deep sync.
16:09:26 INFO: Fetching the BrickLink Order List...
16:09:26 INFO: Fetching the BrickLink Inventory...
16:09:28 INFO: Fetching the BrickLink Order List...
16:09:28 INFO: BrickLink inventory has 568 items in 65 lots.
16:09:28 LOG: Listing all changes to be pushed to BrickLink.
LOG: Adjust quantity by -33, ID 2867, Name "Train, Track 9V Curve", Used, Color 10, Quantity 78
LOG: Set Price from 0.600 to 0.700, ID 2867, Name "Train, Track 9V Curve", Used, Color 10, Quantity 78
LOG: Adjust quantity by -18, ID 2867, Name "Train, Track 9V Curve", Used, Color 85, Quantity 34
LOG: Set Price from 0.900 to 0.700, ID 2867, Name "Train, Track 9V Curve", Used, Color 85, Quantity 34
LOG: Delete orphan item, ID 10248stk01, Name "Sticker for Set 10248 - (21016/6112603)", New, Quantity 1
LOG: Delete orphan item, ID 2861, Name "Train, Track 9V Switch Point Left", Used, Color 10, Quantity 6
LOG: Delete orphan item, ID 2859, Name "Train, Track 9V Switch Point Right", Used, Color 10, Quantity 5
LOG: Delete orphan item, ID 32087, Name "Train, Track 9V Crossing", Used, Color 10, Quantity 1
LOG: Delete orphan item, ID 2861, Name "Train, Track 9V Switch Point Left", Used, Color 85, Quantity 1
LOG: Delete orphan item, ID 2859, Name "Train, Track 9V Switch Point Right", Used, Color 85, Quantity 1
LOG: Delete orphan item, ID 2865, Name "Train, Track 9V Straight", Used, Color 10, Quantity 188
LOG: Delete orphan item, ID 2865, Name "Train, Track 9V Straight", Used, Color 85, Quantity 61
16:09:28 INFO: Updating BrickLink inventory, 10 lots are pending for update.
LOG: Queued BrickLink Query: Update item "2867", color 10; Quantity adjust by -33; Set price to 0.700
LOG: Queued BrickLink Query: Update item "2867", color 85; Quantity adjust by -18; Set price to 0.700
LOG: Queued BrickLink Query: Delete item "2865", LotID 192201886
LOG: Queued BrickLink Query: Delete item "2865", LotID 192201902
LOG: Queued BrickLink Query: Delete item "2861", LotID 192198527
LOG: Queued BrickLink Query: Delete item "2859", LotID 192198535
LOG: Queued BrickLink Query: Delete item "2861", LotID 192200567
LOG: Queued BrickLink Query: Delete item "2859", LotID 192200576
LOG: Success updating BrickLink item "2867", color 10
LOG: Queued BrickLink Query: Delete item "32087", LotID 192198555
LOG: Success updating BrickLink item "2867", color 85
LOG: Queued BrickLink Query: Delete item "10248stk01", LotID 191781658
LOG: Success deleting BrickLink item "2865", color 10
LOG: Success deleting BrickLink item "2865", color 85
LOG: Success deleting BrickLink item "2861", color 10
LOG: Success deleting BrickLink item "2859", color 10
LOG: Success deleting BrickLink item "2861", color 85
LOG: Success deleting BrickLink item "2859", color 85
LOG: Success deleting BrickLink item "32087", color 10
LOG: Success deleting BrickLink item "10248stk01", color 0
16:09:29 INFO: BrickLink inventory update has completed.
16:09:29 INFO: Fetching the BrickOwl Order List...
16:09:29 INFO: Fetching the BrickOwl Inventory...
16:09:32 INFO: Fetching the BrickOwl Order List...
16:09:32 INFO: BrickOwl inventory has 237 items in 53 lots.
16:09:32 LOG: Listing all changes to be pushed to BrickOwl.
16:09:32 INFO: No update required for BrickOwl, we have a perfect inventory match.
16:09:36 INFO: Fetching the BrickOwl Order List...
16:09:36 INFO: We are up-to-date on BrickOwl orders.`
Hi,
I'm trying to compile a fresh version of BrickSync to get the newer colors working.
A brute-force "compile everything in folder" is complaining of a missing file:
bntest.c:39:10: fatal error: env.h: No such file or directory
#include "env.h"
^~~~~~~
compilation terminated.
And sure enough, there is no env.h
file anywhere.
Was this file left out of the sources by mistake? Is there any way to recover it?
Ive tried to use this updated version but get the following error: error while loading shared library libssl.so.3: cannot open shared object file. no such file or directory. Im using MXlinux. Any idea if this is a bug or how to fix? thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.