Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Alex Bogdanovski
@albogdano
I mean which browser are you using
pikrakpzu
@pikrakpzu
Chrome and FireFox
Alex Bogdanovski
@albogdano
Does it happen only when you post a new answer or always?
pikrakpzu
@pikrakpzu
Im pretty sure it is not broswer related, https://pro.scoold.com/question/1435673967531659264/mention-test this is rendered correctly.
Always, even on questions list.
But only on my own Scoold setup.
Prod env which goes trough proxy and dev env hosted on locallhost docker container.
Alex Bogdanovski
@albogdano
The JS code uses regular expressions to parse the content of each post and find the string matching @<userId|Display Name>so it could be a problem with that
it should not have anything to do with the proxy setup, it's pretty basic JS code
pikrakpzu
@pikrakpzu
Is this js loaded from remote location?
Alex Bogdanovski
@albogdano
no, it's a local file scoold.js
pikrakpzu
@pikrakpzu
It should work then.
And it's not related to my PC only, i have confirmed with other users, they have the same issue.
Alex Bogdanovski
@albogdano
can you inspect the contents of the loaded scoold.js file from your browser? could it be a caching issue?
pikrakpzu
@pikrakpzu
User display name contains brackets: @<5f0dc9436891eb669f22fc9b|Firstname Lastname (Department)> could this cause a problem?
Alex Bogdanovski
@albogdano
yup, it's a bug in the regex
expected ID to be all numbers
fixing it now...
pikrakpzu
@pikrakpzu
great! :smile: thanks
Alex Bogdanovski
@albogdano
sorry about that! fix coming soon...
pikrakpzu
@pikrakpzu
thats fine, we got issue and it will be fixed :smile:
tomorrow i'll check OIDC issue which doesn't work with prod env, just got access to tcpdump, i'll let You know if i find anything
Alex Bogdanovski
@albogdano
:thumbsup: I'm curious to know why your prod env behaves differently. It all seems quite strange to me
there will be new versions of Scoold and Para released tomorrow
Alex Bogdanovski
@albogdano
I've just released Para 1.45.10 and Scoold 1.49.5
pikrakpzu
@pikrakpzu
@albogdano
Hi, Scoold Pro image needs a little extra love: manifest for .../scoold-pro:1.49.5 not found: manifest unknown: Requested image not found
Alex Bogdanovski
@albogdano
@pikrakpzu dang it - my deployment script sucks apparently! It's up there now: sha256:29d795eb7d546434dbfb31781aee67a261d32ad6eff6d10cb038a6aee480f464
trivikramchanti
@trivikramchanti
Hi team, I'm trying to integrate scoold with slack and i was to able to set it up but problem here is i'm able to see questions posted in the slack but when i try to run /scoold in slack channel i'm hitting this error "failed with the error "dispatch_unknown_error""
Alex Bogdanovski
@albogdano
@trivikramchanti Hi Trivikram, that error means that Slack cannot communicate with Scoold directly
check your Slack app settings and make sure that the slash command is pointing to the correct host
your Scoold server needs to be publicly accessible from the Internet
trivikramchanti
@trivikramchanti
Thanks Alex, will check with network team and see if they have firewall between them
trivikramchanti
@trivikramchanti
Alex, when we are importing zip from stackoverflow do we need to make changes to the files in the stackoverflow zip and import it into scoold. Is scoold smart enough to convert everything
I'm not able to import questions into scoold when i import it. I'm able to see users, tags getting imported but not questions, answers, comments
Alex Bogdanovski
@albogdano
@trivikramchanti Yes, all data is converted automatically to fit the Para schema. Are you sure you are selecting the checkbox to import an SO archive?
Screenshot from 2022-05-25 09-19-13.png
trivikramchanti
@trivikramchanti
HI alex, These are errors i see in the scoold.log
2022-05-24 16:07:36,968 [INFO ] c.e.s.controllers.AdminController - Importing 649 posts...
2022-05-24 16:07:38,966 [ERROR] com.erudika.para.client.ParaClient - 400 - 400 - Request is too large - the maximum is 1024 KB.
2022-05-24 16:07:38,966 [INFO ] c.e.s.controllers.AdminController - Importing 175 tags...
2022-05-24 16:07:39,824 [INFO ] c.e.s.controllers.AdminController - Importing 571 comments...
2022-05-24 16:07:42,553 [INFO ] c.e.s.controllers.AdminController - Importing 236 accounts...
2022-05-24 16:07:42,814 [ERROR] c.e.s.upload.LocalStorageService - Failed to store file in uploads
java.nio.file.DirectoryNotEmptyException: uploads
at java.base/sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:247)
at java.base/sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:110)
at java.base/java.nio.file.Files.deleteIfExists(Files.java:1181)
at java.base/java.nio.file.Files.copy(Files.java:3055)
at com.erudika.scoold.upload.LocalStorageService.store(LocalStorageService.java:79)
at com.erudika.scoold.controllers.AdminController.storeBinaryFile(AdminController.java:809)
at com.erudika.scoold.controllers.AdminController.importFromSOArchive(AdminController.java:874)
at com.erudika.scoold.controllers.AdminController.lambda$restore$6(AdminController.java:698)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
2022-05-24 16:07:43,387 [INFO ] c.e.s.controllers.AdminController - Importing 236 users...
2022-05-24 16:07:49,409 [INFO ] c.e.s.controllers.AdminController - Imported 1867 objects to app:scoold. Executed by 1440087218780639232 Admin
I have selected the checkbox too while importing.
Alex Bogdanovski
@albogdano
@trivikramchanti apparently you have some very large posts which are over 1024kb in size so there is an error
@trivikramchanti it would be helpful if you could send me the directory structure for the attached files inside the zip archive, e.g. ./images/...
Alex Bogdanovski
@albogdano
@trivikramchanti if you are running Para locally, you can set para.max_entity_size_bytes = 4000000 to increase the default request size limit
then restart Para
trivikramchanti
@trivikramchanti
Sure i can try that
I will send you out the email with the zip contents
Luis Rigñack Quevedo
@LuisRignack_twitter
Hi Alex, why can't I see the image logo in Chrome Browser but I can in firefox?
Alex Bogdanovski
@albogdano
@LuisRignack_twitter I can't say why. Is this on the Scoold demo website?
Any errors in the browser dev console?
probably a CSP violation
Luis Rigñack Quevedo
@LuisRignack_twitter
I'm using free version