Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to run locally in 2021 #15

Open
alecat88 opened this issue May 6, 2021 · 6 comments
Open

Trying to run locally in 2021 #15

alecat88 opened this issue May 6, 2021 · 6 comments

Comments

@alecat88
Copy link

alecat88 commented May 6, 2021

Hello, I'm trying to run this project locally, seems everything in the setup still work.
When I try to run the app with the command bin/console app:init the below error seems to happen, not sure if it is relevant to the .dat files or not. (PS: I've tried also to raise the memory to the max of my machine already)


Downloading LDraw library
------------------------------------------------------------------------------
Loading file from: http://www.ldraw.org/library/updates/complete.zip
[54.05 MB / 54.05 MB] [======================================================================] 100% (16 secs/16 secs)
LDraw libary downloaded
------------------------------------------------------------------------------
Loading models from LDraw library: /private/var/tmp/printabrick.fQhcxf/ldraw/
------------------------------------------------------------------------------
[ 1076 / 14038] [=====>----------------------------------------------------------------]   7% ( 1 sec/13 secs) (19159.dat)
[ 1079 / 14038] [=====>----------------------------------------------------------------]   7% ( 1 sec/13 secs) (191766.dat)
[ 1981 / 14038] [=========>------------------------------------------------------------]  14% (2 secs/14 secs) (2452.dat)
PHP Fatal error:  Allowed memory size of 2147483648 bytes exhausted (tried to allocate 262144 bytes) in /Applications/MAMP/htdocs/PrintABrick/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php on line 1582
16:02:57 CRITICAL  [php] Fatal Error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 262144 bytes) ["exception" => Symfony\Component\Debug\Exception\OutOfMemoryException {trace: { …} …}] []

                                                                                             
  [Symfony\Component\Debug\Exception\OutOfMemoryException]                                   
  Error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 262144 bytes)  



@hubnedav
Copy link
Owner

hubnedav commented May 6, 2021

Hi, there is probably a problem with some model alias in app/Resources/relations/alias_model.yml after a LDraw library update which leads to infinite recursion.

I'm currently working on updating the app, resolving these issues and setting up docker container.

@alecat88
Copy link
Author

alecat88 commented May 6, 2021

OMG man, knowing you're still into this makes you a god of 3d printing and a hell of a developer!

Do you mind joining the discord channel I've created? You don't have to make it alone if you don't want to, we could join forces together with other devs that are interested, and also take feedback here and there to push the project forward if you are up to it!

@josharmour
Copy link

I'd love it if you keep us up to date on the progress.

@danielfmo
Copy link

Count me in for the discord please

@hayrun-st
Copy link

Is there any update on this? I've been trying to get it working myself with no luck. Ideally, a docker container could be built so that it can be self-contained and hosted locally.

@rtgoodwin
Copy link

rtgoodwin commented Apr 25, 2022

Checking update here also. Willing to help work on a Docker container, but the dev branch (at least) has issues with Symfony autowiring* so it's kind of moot :)

  • That I can't figure out, something about the iniFile, and I'm decent w/ PHP but not Symfony unfortunately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants