Giter VIP home page Giter VIP logo

bricksync's People

Contributors

beaverbrick avatar craigpoma avatar farinha avatar rgriebl avatar sherris avatar zzjhons avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bricksync's Issues

New colours! - edited - again!

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

BrickOwl Doesn't have some parts in some colors, warnings

We get warnings every time we sync I think because brickowl doesn't have some pieces in some colors. is there a better way to show this problem then having warnings and filling up our errors folders? Or am I wrong in my assessment
The errors we are getting:
Bricksync warnings

Bricksync warnings 2

Compile error in oauth.c

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

question about config

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.

Compilation problems with EVP_MD_CTX_new /_free

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?

Bricksync backup issue

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

Bricksync broken due to change in BL

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?

Issue with openssl when compiling

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....

Reddish Copper

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 &#40;Sickle Sword&#41;" ( 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 &#40;Sickle Sword&#41;" ( 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.

Updated colortable.c File

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.

Bricksync removing inventory

When I add inventory on the bricklink site instead of updating brickowls inventory it is deleting the added bricks on bricklink

Another colour update!

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 Colour - Medium Brown

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)

Colour table update (again)

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)

Update Release?

Is it possible to get a new release with the color additions and the recent Brickstore compatibility?

Add support for discount rates/sale amounts

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:

  • Saving them in the BrickSync inventory
  • Importing from BrickLink inventory (through blmaster)
  • Importing from a BSX file (through add)
  • Creating/Updating BrickLink lots with the value
  • Creating/Updating BrickOwl lots with the value

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!

Bricksync decided to delete updated BL inventory instead of pushing the updates to BO

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.`

Compiling on Linux

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?

error while loading shared library libssl.so.3:

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

Error With Lowercase Condition/Sub-Condition

Bricksync throws a JSON Parse Error when there is a lowercase condition/sub-condition used in BL's inventory.

I think an expansion of the IF statements in bricklink.c file (at lines 1479 & 1495) to also check for lowercase values should fix it.

Condition

Completeness

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.