New Parts Tracker now online


New Parts Tracker now online
#1
Today's the day!

The new Parts Tracker is online and active here:
https://library.ldraw.org/tracker

As with all new software launches, there will be issues and blips. Please be patient over the next few days as I work to clean up the dust and sand off the rough edges.

Additionally, the new !LICENSE line is now in effect. This should be managed by the software but note that it has changed.

Important:
- Bugs, improvement items, etc should be report on the GitHub project:
https://github.com/ldraw-org/ldraworg-library
- If you get a 500 error or a permission denied error please report the URL.

Note:
Redirects and other notices on the old PT will be implemented over the next few days.
Reply
RE: New Parts Tracker now online
#2
(2023-02-01, 16:20)Orion Pobursky Wrote: Today's the day!

The new Parts Tracker is online and active here:
https://library.ldraw.org
 404  Sad
Reply
RE: New Parts Tracker now online
#3
(2023-02-01, 16:28)N. W. Perry Wrote:  404  Sad

Wrong link. Fixed above. I'll add a redirect now that the PT is active.
Reply
RE: New Parts Tracker now online
#4
here too, the old link still works...
Reply
RE: New Parts Tracker now online
#5
(2023-02-01, 16:47)Rene Rechthaler Wrote: here too, the old link still works...

Redirects from old to new are being worked on. The problem is that the old PT is using cgi-bin with is causing a hitch in the redirect commands.
Reply
RE: New Parts Tracker now online
#6
(2023-02-01, 16:20)Orion Pobursky Wrote: Additionally, the new !LICENSE line is now in effect. This should be managed by the software but note that it has changed.

The part page say both 2.0 and 4.0, but the downloaded file say only 2.0.
Maybe since the file I uploaded only had 2.0 in the text.

https://library.ldraw.org/tracker/27496

Is it correct that the number in the url is totally different from the partnumber I just uploaded, s\24083s01.dat?
Reply
RE: New Parts Tracker now online
#7
(2023-02-01, 17:54)Magnus Forsberg Wrote: The part page say both 2.0 and 4.0, but the downloaded file say only 2.0.
Maybe since the file I uploaded only had 2.0 in the text.

That's a bug. I thought I fixed this in the import script but apparently not. There is a routine to refresh and sync the file headers but do all the part at the same time bogs down the server so I'll wait until tonight to run it

(2023-02-01, 17:54)Magnus Forsberg Wrote: https://library.ldraw.org/tracker/27496

Is it correct that the number in the url is totally different from the partnumber I just uploaded, s\24083s01.dat?

Yes. The number is a unique id number that will (hopefully) remain the same over the life of the part (as opposed to filename which may not).

You can still access a part with /tracker/<folder>/<part name> or official/<folder>/<part name>. Example: https://library.ldraw.org/official/parts/3001.dat
Reply
RE: New Parts Tracker now online
#8
(2023-02-01, 18:03)Orion Pobursky Wrote: You can still access a part with /tracker/<folder>/<part name> or official/<folder>/<part name>. Example: https://library.ldraw.org/official/parts/3001.dat

I just wanted to point out that LDView's automatic download support for unofficial parts relies on being able to download raw parts and primitives from http://www.ldraw.org/library/unofficial/<folder>/<part name>. As far as I can tell, this still works, but given the new location of the library, I wanted to make sure that there were no plans to stop supporting the old URLs.

The new URLs for raw part download appear to be the same as the old, but with www on the front replaced with library. I haven't tried the old URL with a brand new part that has only been uploaded to the new tracker.
Reply
RE: New Parts Tracker now online
#9
(2023-02-01, 20:24)Travis Cobbs Wrote: I wanted to make sure that there were no plans to stop supporting the old URLs.

I was aware of the fact that LDView download parts with I created the routes. The redirects will remain in place and the old URLs will be supported indefinitely.
Reply
RE: New Parts Tracker now online
#10
Two reflections after trying the new.

My hand moves the pointer to a positon on the page, only to find that the button is moved to a new position. Don't like that.

When having many pages/files open för a review, my eyes goes to the url looking for the partnumber. "What file is this?" and I can't see that when I'm at the bottom of the page, ready for a review.

Maybe I just need more time to adapt...
Reply
RE: New Parts Tracker now online
#11
I understand your frustration. I tried to keep things as close as possible. I did, however, make some small changes with an eye on the future. There are some new paradigms to get used to.

 I am, however, always open to improvements and the new software allow me to make these changes with ease.
Reply
RE: New Parts Tracker now online
#12
Since the search box now is to the far right, the resulting list of hits is even futher to the right, and not readable.

Firefox 109.0.1 on Win10
Reply
RE: New Parts Tracker now online
#13
(2023-02-02, 17:20)Magnus Forsberg Wrote: Since the search box now is to the far right, the resulting list of hits is even futher to the right, and not readable.

I tweaked the markup and this should now not occur.
Reply
RE: New Parts Tracker now online
#14
(2023-02-01, 21:09)Orion Pobursky Wrote: I was aware of the fact that LDView download parts with I created the routes. The redirects will remain in place and the old URLs will be supported indefinitely.

Thanks for that. Should I update LDView to use library.ldraw.org instead of www.ldraw.org? (Note: even if I do, there will likely be long term users of older versions of LDView. I already know that the Mac version of the next release will require a newer version of macOS due to Xcode dropping support for older versions. I could in theory do a separate build with an older Xcode, but that is more effort than I am willing to expend.)
Reply
RE: New Parts Tracker now online
#15
(2023-02-02, 22:12)Travis Cobbs Wrote: Should I update LDView to use library.ldraw.org instead of www.ldraw.org? (Note: even if I do, there will likely be long term users of older versions of LDView.

You can if you want, the redirect will work too. Due to the nature of how the PT software operates it has to be on a subdomain or we'd have to move all the main site content into the library software structure. I really don't want to do the latter so the library will remain at library subdomain long term.
Reply
RE: New Parts Tracker now online
#16
This is SO WON DER FUL. I just LOVE it.
Finally the PT arrives in the 2xxx years.
Thank you so, so much, Orion.
This is much overdue and really welcome.

I will collect my improvement suggestions here. Right now, they only are of minor nature.

(a)
The page https://library.ldraw.org/tracker/submit currently shows a "UNAUTHORIZED" error message when you are not logged in. I would prefer that it shows the standard "you need to be logged in to use this function" message and a link or auto redirect to the login page.

(b)
When submitting a CERT vote, currently the icon shown is always the same "2 green checkmarks" icon.
I would love to be able to distinguish whether a part has 1 or 1+ CERT votes. Thus, I would like to see a
"1 green checkmark" icon for the 1st CERT vote, and the current "2 green checkmarks" icon for later additional ones.

( c)
On the new User Dashboard (love it!) I would prefer if the "My Votes" list would be split up into 3 separate ones:
- a list of files where I voted HOLD
- another list of files where I voted NOVOTE
- another list of files where I voted CERT
Currently all 3 are in 1 list, and I need to sort by vote type first and then scroll down.
I would prefer 3 separate lists.
Reply
RE: New Parts Tracker now online
#17
(2023-02-03, 18:39)Steffen Wrote: The page https://library.ldraw.org/tracker/submit currently shows a "UNAUTHORIZED" error message when you are not logged in. I would prefer that it shows the standard "you need to be logged in to use this function" message and a link or auto redirect to the login page.

The software is supposed to redirect you if you somehow manage to reach a page that you don't have permissions for. It isn't working for some reason and I can't seem to figure out why. Since it was distracting me from other things I decided to let it lie and work on more core features.
That said, if you find a clickable link that leads you to an "UNAUTHORIZED" error message please let me know since the permissions should be setup so that you don't see those errors.

(2023-02-03, 18:39)Steffen Wrote: When submitting a CERT vote, currently the icon shown is always the same "2 green checkmarks" icon.
I would love to be able to distinguish whether a part has 1 or 1+ CERT votes. Thus, I would like to see a
"1 green checkmark" icon for the 1st CERT vote, and the current "2 green checkmarks" icon for later additional ones.

If only I could do that. That double check mark is just a stock icon and it's all or nothing for the coloring.

(2023-02-03, 18:39)Steffen Wrote: On the new User Dashboard (love it!) I would prefer if the "My Votes" list would be split up into 3 separate ones:
- a list of files where I voted HOLD
- another list of files where I voted NOVOTE
- another list of files where I voted CERT
Currently all 3 are in 1 list, and I need to sort by vote type first and then scroll down.
I would prefer 3 separate lists.

The dashboard is something I slapped together quickly in order to not lose the My Submits/My Votes functionality and to just "have something". There will be a more directed effort to improve it in the future.
Reply
RE: New Parts Tracker now online
#18
Can we get review summaries ported to new tracker? Also, do old tracker review summary page show state of parts on the old tracker, or actually they show it on the new tracker now?
Reply
RE: New Parts Tracker now online
#19
(2023-02-03, 22:18)Max Murtazin Wrote: Can we get review summaries ported to new tracker? Also, do old tracker review summary page show state of parts on the old tracker, or actually they show it on the new tracker now?

In the works. One of the enhancements on the top of the list. 

And no, nothing on the old tracker is related to the new tracker. The old tracker status will remain forever frozen on 2023-01-31.
Reply
RE: New Parts Tracker now online
#20
have a look at https://library.ldraw.org/tracker/29921

I uploaded the necessary tube prim with a wrong name. It took me a while to get the reason (a "0" too much)

In the old tracker the missing prim could be seen at first glance in the "required file" section with a () only.

Right now the page looks ok, like nothing is missing. Only when the 3D View is opened you see a box instead of the prim.
   
I will not upload the correct prim right now to leave this case as it is.
Reply
RE: New Parts Tracker now online
#21
(2023-02-03, 23:39)Gerald Lasser Wrote: have a look at https://library.ldraw.org/tracker/29921

I uploaded the necessary tube prim with a wrong name. It took me a while to get the reason (a "0" too much)

In the old tracker the missing prim could be seen at first glance in the "required file" section with a () only.

Right now the page looks ok, like nothing is missing. Only when the 3D View is opened you see a box instead of the prim.

I will not upload the correct prim right now to leave this case as it is.

The missing parts are filtered from part lists by by default. I bypassed this filter for unofficial part parent/subpart tables and also made sure the missing part is highlighted.
Reply
RE: New Parts Tracker now online
#22
Could you please explain how and why all the keywords are shuffled around after an upload?

I uploaded this:
0 !KEYWORDS Bricklink 24314pb01, set 71032, set 30356, set 30364
0 !KEYWORDS Wheelchair, Cargo tricycle, Camper trolley, Hot dog wagon
0 !KEYWORDS Popcorn wagon, Dragster, Airplane


It is shown like this:
0 !KEYWORDS Airplane, Dragster, Set 71032, Set 30364, Bricklink 24314pb01
0 !KEYWORDS set 30356, Wheelchair, Cargo tricycle, Camper trolley, Hot dog wagon
0 !KEYWORDS Popcorn wagon


and when I download it looks like this:
0 !KEYWORDS Bricklink 24314pb01, set 71032, set 30356, set 30364, Wheelchair
0 !KEYWORDS Cargo tricycle, Camper trolley, Hot dog wagon, Popcorn wagon
0 !KEYWORDS Dragster, Airplane
Reply
RE: New Parts Tracker now online
#23
(2023-02-01, 20:24)Travis Cobbs Wrote: I just wanted to point out that LDView's automatic download support for unofficial parts relies on being able to download raw parts and primitives from http://www.ldraw.org/library/unofficial/<folder>/<part name>. As far as I can tell, this still works, but given the new location of the library, I wanted to make sure that there were no plans to stop supporting the old URLs.

The new URLs for raw part download appear to be the same as the old, but with www on the front replaced with library. I haven't tried the old URL with a brand new part that has only been uploaded to the new tracker.

Downloading this:

https://library.ldraw.org/tracker/29943

and open it in LDView NO subs are stored in Unofficial/parts/s

w.
LEGO ergo sum
Reply
RE: New Parts Tracker now online
#24
(2023-02-03, 19:45)Orion Pobursky Wrote: If only I could do that. That double check mark is just a stock icon and it's all or nothing for the coloring.

Which icon stock are you using? You can have simple check and double check with Font Awesome within the free icons
https://fontawesome.com/search?q=check&o=r&m=free
Reply
RE: New Parts Tracker now online
#25
(2023-02-04, 10:24)Willy Tschager Wrote: open it in LDView NO subs are stored in Unofficial/parts/s

I haven't excluded the library from forced HTTPS on the PT server. This may be the problem.
Reply
RE: New Parts Tracker now online
#26
(2023-02-04, 9:02)Magnus Forsberg Wrote: Could you please explain how and why all the keywords are shuffled around after an upload?

The header is generated from stored data. Don't expect any "custom" formatting in the header to survive. This makes it easier to change things and ensures that the header is prefect to the spec every time. Since keyword order doesn't matter there (supposed to be) put back in alphabetical order. 

That said, the header has been a thorn in my side for months now. I though I ironed out the last issue the day after launch but apparently not.
Reply
RE: New Parts Tracker now online
#27
(2023-02-04, 10:28)Vincent Messenet Wrote: Which icon stock are you using? You can have simple check and double check with Font Awesome within the free icons
https://fontawesome.com/search?q=check&o=r&m=free

The PT using Font Awesome. What I meant was the "double check" icon cannot have color assign to each check independently. We could do two separate check marks but I was trying to declutter the activity page.
Reply
RE: New Parts Tracker now online
#28
(2023-02-04, 18:09)Orion Pobursky Wrote: The PT using Font Awesome. What I meant was the "double check" icon cannot have color assign to each check independently. We could do two separate check marks but I was trying to declutter the activity page.

OK thanks for clarifying. And what about displaying "check" icon for the first certify vote and "check-double" for the second and additional certify votes. And then you already have a different color with the admin vote.
Reply
RE: New Parts Tracker now online
#29
(2023-02-04, 22:11)Vincent Messenet Wrote: OK thanks for clarifying. And what about displaying "check" icon for the first certify vote and "check-double" for the second and additional certify votes. And then you already have a different color with the admin vote.

That's an idea but will require a significant rewrite of the icon logic. I'll keep it in mind when I get back to the activity page. 

Right now my focus is fixing the code dealing with the file header as that's going to hold up the 2023-01 release.
Reply
RE: New Parts Tracker now online
#30
(2023-02-04, 17:53)Orion Pobursky Wrote: I haven't excluded the library from forced HTTPS on the PT server. This may be the problem.

That may be the problem, but I'm not sure. When LDView attempts to download the following URL, it gets a 404 error:

http://www.ldraw.org/library/unofficial/...662s01.dat

If I paste the above URL into Chrome, I also get a 404 error. When I then look at the browser's address field, the URL has changed to this:

https://www.ldraw.org/index.php?page=lib...662s01.dat

Oddly, when debugging in LDView, I don't seem to get a redirect response from the original http URL, so I don't know where Chrome is getting this second URL.

The actual response that I get from the server is:

Code:
HTTP/1.1 404 Not Found\r\nDate: Sun, 05 Feb 2023 00:41:02 GMT\r\nServer: Apache\r\nUpgrade: h2\r\nConnection: Upgrade, close\r\nVary: User-Agent\r\nTransfer-Encoding: chunked\r\nContent-Type: text/html; charset=UTF-8\r\n\r\ne7\r\n<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n\t    <html><head>\r\n\t    <title>404 Not Found</title>\r\n\t    </head><body>\r\n\t    <h1>Not Found</h1>\r\n\t    <p>The requested URL was not found on this server.</p>\r\n\t    </body></html>\r\n0\r\n\r\n

If I instead fetch from library.ldraw.org, I do get the https redirect:

Code:
HTTP/1.1 301 Moved Permanently\r\nServer: nginx/1.18.0 (Ubuntu)\r\nDate: Sun, 05 Feb 2023 00:54:35 GMT\r\nContent-Type: text/html\r\nContent-Length: 178\r\nConnection: close\r\nLocation: https://library.ldraw.org/library/unofficial/parts/s/100662s01.dat\r\n\r\n<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body>\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>nginx/1.18.0 (Ubuntu)</center>\r\n</body>\r\n</html>\r\n
Reply
RE: New Parts Tracker now online
#31
I guess I didn't test the redirects well enough because they are clearly pointing wrong.
Reply
RE: New Parts Tracker now online
#32
Exclamation 
Ehm...

Looks like all the official files in the library have lost their history dates.

Code:
0 Brick  2 x  4
0 Name: 3001.dat
0 Author: James Jessiman
0 !LDRAW_ORG Part UPDATE 2004-03
0 !LICENSE Licensed under CC BY 2.0 and CC BY 4.0 : see CAreadme.txt

0 BFC CERTIFY CCW

0 !HISTORY 2023-02-02 {unknown} BFC Certification
0 !HISTORY 2023-02-02 [PTadmin] Official Update 2002-03
0 !HISTORY 2023-02-02 [Steffen] used s\3001s01.dat
0 !HISTORY 2023-02-02 [PTadmin] Official Update 2004-03
0 !HISTORY 2023-02-02 [PTadmin] Header formatted for Contributor Agreement
0 !HISTORY 2023-02-02 [PTadmin] Official Update 2008-01

They all say  2023-02-02....
Reply
RE: New Parts Tracker now online
#33
(2023-02-05, 9:22)Magnus Forsberg Wrote: Ehm...

Looks like all the official files in the library have lost their history dates.

They all say  2023-02-02....

The PT will be down while this error is fixed.
Reply
RE: New Parts Tracker now online
#34
(2023-02-05, 17:03)Orion Pobursky Wrote: The PT will be down while this error is fixed.

Official Library is fixed. Tracker back up.

This bug also affected the unofficial library but I have to do some careful processing before those can be fixed.
Reply
RE: New Parts Tracker now online
#35
(2023-02-05, 19:51)Orion Pobursky Wrote: This bug also affected the unofficial library but I have to do some careful processing before those can be fixed.

Unofficial library is now fixed.

And steps have been taken to make it easier to restore from backup.
Reply
RE: New Parts Tracker now online
#36
(2023-02-05, 1:08)Orion Pobursky Wrote: I guess I didn't test the redirects well enough because they are clearly pointing wrong.

Redirects are fixed and should now work.
Reply
RE: New Parts Tracker now online
#37
(2023-02-05, 22:27)Orion Pobursky Wrote: Redirects are fixed and should now work.

It redirects to https, so LDView unofficial parts still don't work.

Code:
HTTP/1.1 301 Moved Permanently\r\nServer: nginx/1.18.0 (Ubuntu)\r\nDate: Sun, 05 Feb 2023 23:08:41 GMT\r\nContent-Type: text/html\r\nContent-Length: 178\r\nConnection: close\r\nLocation: https://library.ldraw.org/library/unofficial/parts/s/100662s02.dat\r\n\r\n<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body>\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>nginx/1.18.0 (Ubuntu)</center>\r\n</body>\r\n</html>\r\n
Reply
RE: New Parts Tracker now online
#38
(2023-02-05, 23:10)Travis Cobbs Wrote: It redirects to https, so LDView unofficial parts still don't work.

Code:
HTTP/1.1 301 Moved Permanently\r\nServer: nginx/1.18.0 (Ubuntu)\r\nDate: Sun, 05 Feb 2023 23:08:41 GMT\r\nContent-Type: text/html\r\nContent-Length: 178\r\nConnection: close\r\nLocation: https://library.ldraw.org/library/unofficial/parts/s/100662s02.dat\r\n\r\n<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body>\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>nginx/1.18.0 (Ubuntu)</center>\r\n</body>\r\n</html>\r\n

Yup. I haven't changed the server setup allow that since I'm Nginx dumb. I'll read some docs and get it working shortly.
Reply
RE: New Parts Tracker now online
#39
I still get '500 - Sever Error'

I tried clearing my internet cookies and the problem was fixed but the error just comes right back again.

The problem happens on my phone as well as on my computer

Regards, Snipe.
Reply
RE: New Parts Tracker now online
#40
(2023-02-08, 15:49)SNIPE Wrote: I still get '500 - Sever Error'

I tried clearing my internet cookies and the problem was fixed but the error just comes right back again.

The problem happens on my phone as well as on my computer

Regards, Snipe.

I've opened an issue for this:
https://github.com/ldraw-org/ldraworg-library/issues/83
Reply
RE: New Parts Tracker now online
#41
Automatic download for unofficial files in LDView is still broken. I get an "Error loading submodel s\xxx.dat" warning in LDView and no files are present in the Unofficial/Parts/s folder.

w.
LEGO ergo sum
Reply
RE: New Parts Tracker now online
#42
(2023-02-08, 16:09)Willy Tschager Wrote: Automatic download for unofficial files in LDView is still broken. I get an "Error loading submodel s\xxx.dat" warning in LDView and no files are present in the Unofficial/Parts/s folder.

w.

As stated above, I haven't excluded LDView from https because I haven't studied how to do that yet.
Reply
RE: New Parts Tracker now online
#43
(2023-02-08, 16:13)Orion Pobursky Wrote: As stated above, I haven't excluded LDView from https because I haven't studied how to do that yet.

Sorry, missed that.

w.
LEGO ergo sum
Reply
RE: New Parts Tracker now online
#44
(2023-02-08, 16:04)Orion Pobursky Wrote: I've opened an issue for this:
https://github.com/ldraw-org/ldraworg-library/issues/83

This issue is now fixed
Reply
RE: New Parts Tracker now online
#45
(2023-02-08, 18:43)Orion Pobursky Wrote: This issue is now fixed

Works now, thanks.
Reply
RE: New Parts Tracker now online
#46
(2023-02-08, 18:43)Orion Pobursky Wrote: This issue is now fixed

Since you posted this message I systematically get a 500 Server error when accessing https://library.ldraw.org/tracker/activity
Clearing cookies or private navigation does not change anything. Tested with my laptop and mobile phone.
Reply
RE: New Parts Tracker now online
#47
(2023-02-08, 21:24)Vincent Messenet Wrote: Since you posted this message I systematically get a 500 Server error when accessing https://library.ldraw.org/tracker/activity
Clearing cookies or private navigation does not change anything. Tested with my laptop and mobile phone.

This is a bug related to the missing parts issue I posted about in another thread. I have to manually correct the database to fix it and I haven't had time to do it.
Reply
RE: New Parts Tracker now online
#48
(2023-02-08, 21:52)Orion Pobursky Wrote: This is a bug related to the missing parts issue I posted about in another thread. I have to manually correct the database to fix it and I haven't had time to do it.

Database has been fixed and access to activity is restore. The troubleshooting on the bug remains in progress.
Reply
RE: New Parts Tracker now online
#49
(2023-02-08, 22:17)Orion Pobursky Wrote: Database has been fixed and access to activity is restore. The troubleshooting on the bug remains in progress.

Thank you for all the hard work!
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: 20 Guest(s)