LabelMeAnnotationTool
LabelMeAnnotationTool copied to clipboard
Blank Screen
My apache server is working correctly on Ubuntu since I can annotate using the Label Me Video version. However having installed the Label Me Image tool, when I navigate to
Thanks for raising this issue.
To help me debug, can you please respond with the output from the javascript console? You can copy and paste from Chrome by navigating via "View=>Developer=>Javascript Console". Thanks!
Similar here, when I open tool.html, I see a white screen, but title is correct.
I gor the same error
and here is the output of JS console : Uncaught ReferenceError: StartupLabelMe is not defined
It looks like the server side includes (SSI) may not be configured correctly. "StartupLabelMe" is a function inside ./annotationTools/js/startup.js.
same here. SSI is running have anyone a hint?
@raketenhund: Can you please respond with the output from the javascript console? You can copy and paste from Chrome by navigating via "View=>Developer=>Javascript Console". Thanks!
Was this issue ever resolved? I too have the same issue. From "View=>Developer=>Javascript Console" tool.html:68 Uncaught ReferenceError: StartupLabelMe is not definedonload @ tool.html:68
I too have the same problem. It seems that the server side scripts are not loading the js files. Pretty much all the javascripts files are not loading.
I encountered the same issues, how could I solve this error.
Hi there, had the same problem and backtraced it to the Apache configuration. the Ubuntu.md documentation suggests to remove the VirtualHost tag from the config file (or at least does not explicitly mention them), which for me does not result in a warning for an invalid configuration - but doesn't work either ;-)
Put the folliwng tags (and closing tag at the end) in the config file and SSI will work.
### If you'd like to work locally
#<VirtualHost 127.0.0.1:80>
### If you'd like to expose the service to the network
<VirtualHost *:80>
Also did some more stuff before that, but it did not solve the problem so I figured it is probably irrelevant... Let me know if that is not the case ;-)
@kueblert can you please share your entire code from the config file because im loosing my mind 3 days in row. thanks in advance
Hi @blaxxzg , here is my config file, located at /etc/apache2/sites-available/000-default.conf As mentioned above I did install some other libraries and stuff before getting it to work, so I cannot guarantee that this is actually sufficient, however it was the change that finally made it work for me.
<VirtualHost 127.0.0.1:80>
ServerAdmin [email protected]
Redirect permanent /labelme /LabelMeAnnotationTool/tool.html
<Directory "REPLACE_WITH_YOUR_LOCATION">
Options Indexes FollowSymLinks MultiViews Includes ExecCGI
AddHandler cgi-script .cgi
AllowOverride all
Require all granted
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
DirectoryIndex index.shtml
</Directory>
</VirtualHost>
Add .html to AddType and AddOutputFilter in config file /etc/apache2/sites-available/000-default.conf and restart your apache2 may help.
<VirtualHost *:80>
ServerAdmin [email protected]
Redirect permanent /labelme /LabelMeAnnotationTool/tool.html
<Directory "REPLACE_WITH_YOUR_LOCATION">
Options Indexes FollowSymLinks MultiViews Includes ExecCGI
AddHandler cgi-script .cgi
AllowOverride all
Require all granted
AddType text/html .shtml .html
AddOutputFilter INCLUDES .shtml .html
DirectoryIndex tool.html
</Directory>
</VirtualHost>
I put a symlink to my labelme dir in /var/www/html and can reach tool.html at http://localhost/labelme/tool.html, but still get
tool.html:68 Uncaught ReferenceError: StartupLabelMe is not defined
even after making the change above to /etc/apache2/sites-available/000-default.conf (using the line
<Directory labelme>
) and doing
sudo /etc/init.d/apache2 restart
ok, this took care of me
I was getting the same. Turned out that my apache server was not starting up correctly because of the nginx install on my machine. I followed the nginx removal here, restarted apache2 and it works now.
I am getting the same problem. I tried all the options mentioned above, still not working. Anything else I can try to solve this?
Hi I also have the same issue, I tried different configurations for the ' /etc/apache2/sites-available/000-default.conf' but I also get the same error : 'Uncaught ReferenceError: StartupLabelMe is not defined'. This is my 00-default.conf file:
<VirtualHost *:80>
<Directory “/var/www/html/LabelMeAnnotationTool”>
Options Indexes FollowSymLinks MultiViews Includes ExecCGI
AddHandler cgi-script .cgi
AllowOverride all
Require all granted
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
DirectoryIndex index.shtml
</Directory>
</VirtualHost>
I would very much appreciate any help. Thank you.
Hi I got it to run by modifying the tools.html so that it could include the needed scripts like this:
<script type="text/javascript" src="./annotationTools/js/jquery-1.9.1.js"></script>
<script type="text/javascript" src="./annotationTools/js/jquery-ui.js"></script>
<script type="text/javascript" src="./annotationTools/js/jquery-ui-intervals.js"></script>
<script type="text/javascript" src="./annotationTools/js/example.js"></script>
<script type="text/javascript" src="./annotationTools/js/browser.js"></script>
<script type="text/javascript" src="./annotationTools/js/globals.js"></script>
<script type="text/javascript" src="./annotationTools/js/io.js"></script>
<script type="text/javascript" src="./annotationTools/js/plot.js"></script>
<script type="text/javascript" src="./annotationTools/js/my_scripts.js"></script>
<script type="text/javascript" src="./annotationTools/js/object_list.js"></script>
<script type="text/javascript" src="./annotationTools/js/object_parts.js"></script>
<script type="text/javascript" src="./annotationTools/js/bubble.js"></script>
<script type="text/javascript" src="./annotationTools/js/image.js"></script>
<script type="text/javascript" src="./annotationTools/js/file_info.js"></script>
<script type="text/javascript" src="./annotationTools/js/annotation.js"></script>
<script type="text/javascript" src="./annotationTools/js/canvas.js"></script>
<script type="text/javascript" src="./annotationTools/js/handler.js"></script>
<script type="text/javascript" src="./annotationTools/js/sign_in.js"></script>
<script type="text/javascript" src="./annotationTools/js/startup.js"></script>
<script type="text/javascript" src="./annotationTools/js/player.js"></script>
<script type="text/javascript" src="./annotationTools/js/video.js"></script>
<script type="text/javascript" src="./annotationTools/js/draw_event.js"></script>
<script type="text/javascript" src="./annotationTools/js/edit_event.js"></script>
<script type="text/javascript" src="./annotationTools/js/adjust_event.js"></script>
<script type="text/javascript" src="./annotationTools/js/scribble.js"></script>
<script type="text/javascript" src="./annotationTools/js/xml_accessors.js"></script>