We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
AttributeError Traceback (most recent call last) in () 15 16 app = SimpleApp() ---> 17 app.launch() 18
C:\Users\hsong01\AppData\Local\Continuum\Anaconda\lib\site-packages\dataspyre-0.2.0-py2.7.egg\spyre\server.pyc in launch(self, host, port) 404 405 def launch(self,host="local",port=8080): --> 406 webapp = self.getRoot() 407 if host!="local": 408 cherrypy.server.socket_host = '0.0.0.0'
C:\Users\hsong01\AppData\Local\Continuum\Anaconda\lib\site-packages\dataspyre-0.2.0-py2.7.egg\spyre\server.pyc in getRoot(self) 440 getHTMLFunction=self.getHTML, 441 getDownloadFunction=self.getDownload, --> 442 noOutputFunction=self.noOutput) 443 return webapp 444 class Site(object):
C:\Users\hsong01\AppData\Local\Continuum\Anaconda\lib\site-packages\dataspyre-0.2.0-py2.7.egg\spyre\server.pyc in init(self, templateVars, title, inputs, outputs, controls, tabs, spinnerFile, getJsonDataFunction, getDataFunction, getTableFunction, getPlotFunction, getImageFunction, getD3Function, getCustomCSSFunction, getCustomJSFunction, getCustomHeadFunction, getHTMLFunction, getDownloadFunction, noOutputFunction) 120 self.templateVars['custom_head'] = custom_head 121 --> 122 v = View.View() 123 self.templateVars['document_ready_js'] = "" 124 self.templateVars['js'] = v.getJS()
C:\Users\hsong01\AppData\Local\Continuum\Anaconda\lib\site-packages\dataspyre-0.2.0-py2.7.egg\spyre\View.pyc in init(self) 19 self.JS_PATH = os.path.join(self.ROOT_DIR, 'public', 'js') 20 self.CSS_PATH = os.path.join(self.ROOT_DIR, 'public', 'css') ---> 21 self.APP_PATH = os.path.dirname(os.path.realpath(main.file)) 22 23 def getHTML(self):
AttributeError: 'module' object has no attribute 'file'
The text was updated successfully, but these errors were encountered:
I get the same error! Could you fix it?
Sorry, something went wrong.
No branches or pull requests
AttributeError Traceback (most recent call last)
in ()
15
16 app = SimpleApp()
---> 17 app.launch()
18
C:\Users\hsong01\AppData\Local\Continuum\Anaconda\lib\site-packages\dataspyre-0.2.0-py2.7.egg\spyre\server.pyc in launch(self, host, port)
404
405 def launch(self,host="local",port=8080):
--> 406 webapp = self.getRoot()
407 if host!="local":
408 cherrypy.server.socket_host = '0.0.0.0'
C:\Users\hsong01\AppData\Local\Continuum\Anaconda\lib\site-packages\dataspyre-0.2.0-py2.7.egg\spyre\server.pyc in getRoot(self)
440 getHTMLFunction=self.getHTML,
441 getDownloadFunction=self.getDownload,
--> 442 noOutputFunction=self.noOutput)
443 return webapp
444 class Site(object):
C:\Users\hsong01\AppData\Local\Continuum\Anaconda\lib\site-packages\dataspyre-0.2.0-py2.7.egg\spyre\server.pyc in init(self, templateVars, title, inputs, outputs, controls, tabs, spinnerFile, getJsonDataFunction, getDataFunction, getTableFunction, getPlotFunction, getImageFunction, getD3Function, getCustomCSSFunction, getCustomJSFunction, getCustomHeadFunction, getHTMLFunction, getDownloadFunction, noOutputFunction)
120 self.templateVars['custom_head'] = custom_head
121
--> 122 v = View.View()
123 self.templateVars['document_ready_js'] = ""
124 self.templateVars['js'] = v.getJS()
C:\Users\hsong01\AppData\Local\Continuum\Anaconda\lib\site-packages\dataspyre-0.2.0-py2.7.egg\spyre\View.pyc in init(self)
19 self.JS_PATH = os.path.join(self.ROOT_DIR, 'public', 'js')
20 self.CSS_PATH = os.path.join(self.ROOT_DIR, 'public', 'css')
---> 21 self.APP_PATH = os.path.dirname(os.path.realpath(main.file))
22
23 def getHTML(self):
AttributeError: 'module' object has no attribute 'file'
The text was updated successfully, but these errors were encountered: