astroprint / astrobox Goto Github PK
View Code? Open in Web Editor NEWAstroBox allows you to control your 3D Printer wirelessly
Home Page: https://www.astroprint.com/products/p/astrobox-software
License: GNU Affero General Public License v3.0
AstroBox allows you to control your 3D Printer wirelessly
Home Page: https://www.astroprint.com/products/p/astrobox-software
License: GNU Affero General Public License v3.0
The ports are reported twice.
I have a few designs that I cannot delete. They also have broken images.
These are the three:
Octopus_Stand-halfscale_repaired.stl
Octopus Stand one_third scale.stl
Octopus_Stand-Version2-Final (1).STL
As per title. Trying to run your astrobox-ui branch in an Ubuntu VM. I'm getting the following error
2014-07-04 08:36:05,214 - octoprint.server - INFO - Starting OctoPrint (1.0.0-rc1-365-g674ca7f)
2014-07-04 08:36:05,215 - octoprint.gcodefiles - INFO - Migrating metadata if necessary...
2014-07-04 08:36:05,215 - octoprint.gcodefiles - INFO - Updated 0 sets of metadata to new format
2014-07-04 08:36:05,229 - octoprint.server - INFO - Listening on http://0.0.0.0:5000
2014-07-04 08:36:07,592 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1461, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/home/lpfrg/devel/AstroBox/src/octoprint/server/__init__.py", line 98, in index
uiApiKey=UI_API_KEY
File "/usr/local/lib/python2.7/dist-packages/flask/templating.py", line 128, in render_template
context, ctx.app)
File "/usr/local/lib/python2.7/dist-packages/flask/templating.py", line 110, in _render
rv = template.render(context)
File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 969, in render
return self.environment.handle_exception(exc_info, True)
File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 742, in handle_exception
reraise(exc_type, exc_value, tb)
File "/home/lpfrg/devel/AstroBox/src/octoprint/astrobox-templates/login.jinja2", line 1, in top-level template code
{% extends 'base.jinja2' %}
File "/home/lpfrg/devel/AstroBox/src/octoprint/astrobox-templates/base.jinja2", line 9, in top-level template code
{% block css %}{% endblock %}
File "/home/lpfrg/devel/AstroBox/src/octoprint/astrobox-templates/login.jinja2", line 4, in block "css"
{% assets filters="scss", output="css/gen/login.css",
File "/usr/local/lib/python2.7/dist-packages/webassets/ext/jinja2.py", line 186, in _render_assets
urls = bundle.urls()
File "/usr/local/lib/python2.7/dist-packages/webassets/bundle.py", line 787, in urls
urls.extend(bundle._urls(new_ctx, extra_filters, *args, **kwargs))
File "/usr/local/lib/python2.7/dist-packages/webassets/bundle.py", line 746, in _urls
*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/webassets/bundle.py", line 600, in _build
force, disable_cache=disable_cache, extra_filters=extra_filters)
File "/usr/local/lib/python2.7/dist-packages/webassets/bundle.py", line 524, in _merge_and_apply
kwargs=item_data)
File "/usr/local/lib/python2.7/dist-packages/webassets/merge.py", line 277, in apply
return self._wrap_cache(key, func)
File "/usr/local/lib/python2.7/dist-packages/webassets/merge.py", line 219, in _wrap_cache
content = func().getvalue()
File "/usr/local/lib/python2.7/dist-packages/webassets/merge.py", line 252, in func
getattr(filter, type)(data, out, **kwargs_final)
File "/usr/local/lib/python2.7/dist-packages/webassets/filter/sass.py", line 146, in input
self._apply_sass(_in, out, os.path.dirname(source_path))
File "/usr/local/lib/python2.7/dist-packages/webassets/filter/sass.py", line 127, in _apply_sass
shell=(os.name == 'nt'))
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
This should not happen. The device should only turn off upon confirmation in the dialog. Gogin to /#turning-off when not initiated by a confirmation action, should redirect to /
Currently in the setup process, when naming the box, it is possible to use underscores.
I tried this several times and had the same problem occur, here is an example:
The quick and simple solution would likely be to remove the ability to use underscores for the box name.
The X and Y axis is loosing ~5% with Makerbots and the clones.
The issue is occurring with stock firmware and with Sailfish,
Tried uploading a file starting from the box and it brought up a progress bar but never moved from there for about 5 minutes.
Tried doing the same file from astroprint and I got a 404 then tried it again and it worked fine.
here is a link to the file I was trying to upload
https://drive.google.com/file/d/0BxCcy5TynrdaeE1wRUJXZ2twcFE/edit?usp=sharing
It seems to be very common for the camera section (on the cloud and the box) to initially show the last image from the last print as the default image, until you take a new pic.
This issue appears to show up when the box has been on, a print completed (with images taken), then a new print is started (without the box being shutdown and restarted).
After disconnecting a printer, with the control page showing, the temp continues to show the last value even though the printer icon has turned red and there is no temp data coming to the AstroBox.
The connection is successful and refreshing the page will show that. However the dialog never goes away on success.
If you wait to plug in your printer until the page is up where you pick your port/baud rate, then your port will not have a way of showing up.
A refresh button for the form may solve this. If there is a way to automatically detect something was plugged into a USB and update it, that would be great also.
Secondarily, it may be nice to set defaults on this page to 250,000 baud rate and, if they only have 1 possible port, setting that as the default.
This is definitely not a top priority as there are other ways to get the printer connected, especially after completing the setup process.
When putting in a wifi password, I hit "enter/return" on the keyboard instead of mouse-clicking the "connect" button.
The popup closed and it did not connect.
I went back and used the "connect" button and it connected just fine.
The Fan button is not functional. A few people have mentioned this in support requests.
At some point people need to be able to rename the box without going through the RESET process.
Using Safari, the download buttons on the box do not work.
If you click the slice to get the info popup, the download button there will work, but it's super clunky. After clicking it, the progress bar shows for just a second, then the thumbnail goes back to greyed out. If you wait a bit and refresh the page it will have downloaded though...
A picture should be taken and added to the timelapse right when the print is done
Creating a custom filament (in my case Colorfabb XT) and putting a temperature of 240C doesn't seem to stick when I slice. Looking at the Gcode, I get the following preheat command
M109 S205 ; set extruder temp and wait
despite setting filament temperature to 240
It would be nice to be able to set the box to ignore a specific network. Once you have connected to it once, it will attempt to connect everytime it sees it, even though you may have determined that network has issues.
when the box is heating up. Incoming requests are not handled.
Not sure when this happened, but right now the X/Y home icon is off center (too high on the screen.) I checked it in Safari and Firefox.
I'm sure this is just for development purposes, but I wanted to make sure and document it so we didn't forget to change this before release.
The wifi password shows up in the url when using the AstroBox.
Uploading x3g files to Astrobox takes ages as Astrobox stops at 95% to analyse the file just uploaded. This is the correct behaviour for gcode files, though not for x3g files as Astrobox doesn't get any information out from x3g files, therefore this step is unnecessary and wastes a lot of time uploading files.
If this is already possible, I'm going to feel silly, but I don't see anywhere to resize the model. I have a PrintrBot Simple, so most models needs to be scaled down. It's a pain to have to either slice in Cura then upload the gcode, or to resize in tinkercad and then upload. I'd make a pull request, but this goes beyond my abilities.
Resizing models is pretty crucial to 3D printing, in my opinion.
I just installed this on a 12.04 Ubuntu machine. First run it worked well, prompting me to set up access control. After I did that and reloaded, the webpage times out on my iPhone and says "not available" on Chromium on the Ubuntu PC. What am I missing?
I'm not sure if this is simple or not, but here is the issue I ran into:
I created a few new slices on AstroPrint.com, then went to my AstroBox console and of course did not see them. So, I figured I needed to refresh the page. It was only after about 10 minutes of trying various things that I realized I had to hit the refresh icon for the list.
I feel that the UX would be better for users if a page refresh also refreshed the list.
Somewhere on the AstroBox page we need a support notice telling them to go to: [email protected].
Shouldn't be a link, because they may not be online. My idea: We could add a support tab on the left, when clicked it simply shows a notice that tells them to send support requests to the address listed above. Later we could make a FAQ page for the box software itself...
Currently everyone is submitting to Info@3dagogo and those support requests cannot be tracked.
I am unable to log into my astroprint.com account from the astrobox. Tried to log in form iphone, ipad, and computer just to see if it was an issue with any of those but none worked.
I had a situation in which the box was trying to go to sleep, but never admitted it went to sleep.
I believe this was related to the fact that I changed the name of the astrobox on setup.
Perhaps it was trying to put the wrong named box to sleep???
Regardless, it worked just fine. I waited a few minutes, unplugged it, plugged it back in. Reconnected with the new wifi hotspot and url. When putting the box to sleep this time, it worked just fine.
Nozzle: 315
Bed: 140
I'm playing around with an account that has 20 or so slices in the cloud account. I have to scroll way down to find some of the slices I have downloaded to the box.
I feel it may be more user friendly for the list of slices showing here to have all the ones on the box first, the the cloud only ones second.
I was logged into the AstroBox via hotspot, but the box was not connected to the internet. I clicked the "login to my account" button and tried to login.
Even with my correct email/password I received an incorrect email/password message. It could not be validating this with the cloud service. Or would it be checking in regards to logging onto the box itself?
When a print is paused and the user hits cancel, it doesn't go straight to help. The print is canceled but the printing screen remains visible until cancel is hit a second time.
Instead of only being able to upload one single file, you should be able to select a bunch of files so you each upload doesn't have to be separate.
I was thinking this should be placed under the control section.
I might make a Pull request if CoDanny doesn't do it ๐
Currently you cannot use the controls while the print is paused.
This prevents someone from being able to change filament mid print (i.e. move head away from print, extrude...)
I would find it very helpful to go directly to my cloud dashboard from the box. My suggestion is a link at the top of the page "Go to AstroPrint.com account" or "My Cloud Account" or "AstroPrint.com Dashboard."
If they are not online, once clicked it would say "you are not connected to the internet." If they are online, it would open a new tab (or window) going to their astroprint.com dashboard.
In case the user is not logged in, the system should allow:
When connecting to a wifi network a message comes up stating it might be while. Should be "might be a while"
I believe this happens in the setup process and in the regular wifi connection (under the setup "tab")
It seems that when an update is applied that has the "Force Setup" flag set, the daemon is not starting back up. Possibly it could be crashing before restart leaving it down.
A device restart works though.
the connected devices seems to be stuck in a loop. It does the whole lost connection... reconnecting thing and then flashes like it connects and then immediately goes back to the reconnecting overlay.
Settings - Internet - Connections. When I click that, I am getting an error (red error bar at the top of the screen). It wasn't happening earlier...
I just set up this box, and renamed it during the setup process. I am still operating on it at astrobox.local because I have not yet rebooted the box. Also, the name I chose has an underscore in it: astroprint_amazeballs.
Perhaps this is causing the error?
Log in form/ pop up is shown offscreen on an iPad and the screen doesn't resize or move to show the entire form. Only shows the right half of it.
When uploading a custom gcode file, "Analyzing Gcode" lasted several minutes. About 5 minutes in, I refreshed the browser, and the GCode file appeared in the design list, ready to print.
I subsequently uploaded another gcode file (also large) and impatiently refreshed the browser as soon as the progress bar reached "analyzing gcode".
At this point, bringing up the list of printable files results in the error message "There was an error retrieving design list". Even after reboot, the same error message persists and I am unable to select anything to print.
This is possibly a bug that's only happening on my MakerBot Replicator 2, though it's quite likely that this is happening on all supported printers.
What's happening is that I log into astroprint.com -> Monitor. I see my printer printing, though the Temperatur is shown as currently "--" and the set Temperatur is at zero.
Without touch anything (except the picture button), my temperature gets set to 0 and the hot end starts cooling down. Any try (tried 20-30 times) from here on setting the temp to 230C again, doesn't work as the set temp goes down to 0 again after 1-2 seconds.
Really frustrating, as those prints die as you can imagine.
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.