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

site does not work properly even after updating submodules #6

Closed
boneskull opened this issue Jul 19, 2012 · 10 comments
Closed

site does not work properly even after updating submodules #6

boneskull opened this issue Jul 19, 2012 · 10 comments

Comments

@boneskull
Copy link

Something's missing from the docs about how to set this up locally. I don't have the angular-ui submodule. I checked this project out, ran git submodule update --init and I get the following in Chrome:

Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost/angular-ui.github.com/angular-ui/build/angular-ui.css
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost/angular-ui.github.com/angular-ui/build/angular-ui.js
Uncaught Error: No module: ui angular-1.0.1.min.js:17

Am I doing something wrong?

@petebacondarwin
Copy link
Member

How are you running the index.html locally? Looks like the browser is
getting confused with the path to the angular library. You should be able
to run it off the file system.

On 19 July 2012 06:09, Christopher Hiller <
reply@reply.github.com

wrote:

Something's missing from the docs about how to set this up locally. I
don't have the angular-ui submodule. I checked this project out, ran git submodule update --init and I get the following in Chrome:

Failed to load resource: the server responded with a status of 404 (Not
Found)
http://localhost/angular-ui.github.com/angular-ui/build/angular-ui.css
Failed to load resource: the server responded with a status of 404 (Not
Found)
http://localhost/angular-ui.github.com/angular-ui/build/angular-ui.js
Uncaught Error: No module: ui angular-1.0.1.min.js:17

Am I doing something wrong?


Reply to this email directly or view it on GitHub:
#6

@boneskull
Copy link
Author

Running off of the file system gives same results--my angular-ui directory is empty.

@petebacondarwin
Copy link
Member

What is the output from running git submodule update --init in the project
root folder?

On 19 July 2012 07:07, Christopher Hiller <
reply@reply.github.com

wrote:

Running off of the file system gives same results--my angular-ui directory
is empty.


Reply to this email directly or view it on GitHub:

#6 (comment)

@boneskull
Copy link
Author


[chiller@overthruster angular-ui.github.com]$ git submodule update --init
Cloning into lib/CodeMirror2...
remote: Counting objects: 6581, done.
remote: Compressing objects: 100% (3082/3082), done.
remote: Total 6581 (delta 3847), reused 6098 (delta 3487)
Receiving objects: 100% (6581/6581), 1.28 MiB | 770 KiB/s, done.
Resolving deltas: 100% (3847/3847), done.
Submodule path 'lib/CodeMirror2': checked out 'e9ae8ac85dc540508c27de6c48b6d77d0d724898'
Cloning into lib/bootstrap...
remote: Counting objects: 20273, done.
remote: Compressing objects: 100% (7399/7399), done.
remote: Total 20273 (delta 14207), reused 18552 (delta 12694)
Receiving objects: 100% (20273/20273), 12.99 MiB | 1.31 MiB/s, done.
Resolving deltas: 100% (14207/14207), done.
Submodule path 'lib/bootstrap': checked out '857b8fb8be81178d14f59c126c1381b09aff7c0f'
Cloning into lib/maskedinput...
remote: Counting objects: 278, done.
remote: Compressing objects: 100% (129/129), done.
remote: Total 278 (delta 137), reused 249 (delta 117)
Receiving objects: 100% (278/278), 110.77 KiB, done.
Resolving deltas: 100% (137/137), done.
Submodule path 'lib/maskedinput': checked out '0d86254e991fce8bb740188b308227a896e0cc70'
Cloning into lib/qTip2...
remote: Counting objects: 7838, done.
remote: Compressing objects: 100% (2358/2358), done.
remote: Total 7838 (delta 5691), reused 7582 (delta 5437)
Receiving objects: 100% (7838/7838), 10.59 MiB | 1.31 MiB/s, done.
Resolving deltas: 100% (5691/5691), done.
Submodule path 'lib/qTip2': checked out '2c87c2e54d732e33e53d0667a5c0c5b08d7e2d79'
Cloning into lib/select2...
remote: Counting objects: 1189, done.
remote: Compressing objects: 100% (514/514), done.
remote: Total 1189 (delta 688), reused 1152 (delta 655)
Receiving objects: 100% (1189/1189), 894.91 KiB | 565 KiB/s, done.
Resolving deltas: 100% (688/688), done.
Submodule path 'lib/select2': checked out '482cc409ea27fc3cdf1028e9202c1ca7ada01e35'
Cloning into lib/tinymce...
remote: Counting objects: 35699, done.
remote: Compressing objects: 100% (7574/7574), done.
remote: Total 35699 (delta 25607), reused 34599 (delta 24670)
Receiving objects: 100% (35699/35699), 19.43 MiB | 1.11 MiB/s, done.
Resolving deltas: 100% (25607/25607), done.
Submodule path 'lib/tinymce': checked out 'a0df16e10d6974bddf4566a970b6a88c17937b94'

@petebacondarwin
Copy link
Member

That is interesting. It isn't bringing in the angular-ui submodule. What
is in your .gitmodules file?

On 19 July 2012 07:20, Christopher Hiller <
reply@reply.github.com

wrote:


[chiller@overthruster angular-ui.github.com]$ git submodule update --init
Cloning into lib/CodeMirror2...
remote: Counting objects: 6581, done.
remote: Compressing objects: 100% (3082/3082), done.
remote: Total 6581 (delta 3847), reused 6098 (delta 3487)
Receiving objects: 100% (6581/6581), 1.28 MiB | 770 KiB/s, done.
Resolving deltas: 100% (3847/3847), done.
Submodule path 'lib/CodeMirror2': checked out
'e9ae8ac85dc540508c27de6c48b6d77d0d724898'
Cloning into lib/bootstrap...
remote: Counting objects: 20273, done.
remote: Compressing objects: 100% (7399/7399), done.
remote: Total 20273 (delta 14207), reused 18552 (delta 12694)
Receiving objects: 100% (20273/20273), 12.99 MiB | 1.31 MiB/s, done.
Resolving deltas: 100% (14207/14207), done.
Submodule path 'lib/bootstrap': checked out
'857b8fb8be81178d14f59c126c1381b09aff7c0f'
Cloning into lib/maskedinput...
remote: Counting objects: 278, done.
remote: Compressing objects: 100% (129/129), done.
remote: Total 278 (delta 137), reused 249 (delta 117)
Receiving objects: 100% (278/278), 110.77 KiB, done.
Resolving deltas: 100% (137/137), done.
Submodule path 'lib/maskedinput': checked out
'0d86254e991fce8bb740188b308227a896e0cc70'
Cloning into lib/qTip2...
remote: Counting objects: 7838, done.
remote: Compressing objects: 100% (2358/2358), done.
remote: Total 7838 (delta 5691), reused 7582 (delta 5437)
Receiving objects: 100% (7838/7838), 10.59 MiB | 1.31 MiB/s, done.
Resolving deltas: 100% (5691/5691), done.
Submodule path 'lib/qTip2': checked out
'2c87c2e54d732e33e53d0667a5c0c5b08d7e2d79'
Cloning into lib/select2...
remote: Counting objects: 1189, done.
remote: Compressing objects: 100% (514/514), done.
remote: Total 1189 (delta 688), reused 1152 (delta 655)
Receiving objects: 100% (1189/1189), 894.91 KiB | 565 KiB/s, done.
Resolving deltas: 100% (688/688), done.
Submodule path 'lib/select2': checked out
'482cc409ea27fc3cdf1028e9202c1ca7ada01e35'
Cloning into lib/tinymce...
remote: Counting objects: 35699, done.
remote: Compressing objects: 100% (7574/7574), done.
remote: Total 35699 (delta 25607), reused 34599 (delta 24670)
Receiving objects: 100% (35699/35699), 19.43 MiB | 1.11 MiB/s, done.
Resolving deltas: 100% (25607/25607), done.
Submodule path 'lib/tinymce': checked out
'a0df16e10d6974bddf4566a970b6a88c17937b94'

Reply to this email directly or view it on GitHub:

#6 (comment)

@petebacondarwin
Copy link
Member

Mine looks like this:
[submodule "angular-ui"]
path = angular-ui
url = git://github.com/angular-ui/angular-ui.git
[submodule "lib/select2"]
path = lib/select2
url = git://github.com/ivaynberg/select2.git
[submodule "lib/qTip2"]
path = lib/qTip2
url = git://github.com/Craga89/qTip2.git
[submodule "lib/maskedinput"]
path = lib/maskedinput
url = git://github.com/digitalBush/jquery.maskedinput.git
[submodule "lib/bootstrap"]
path = lib/bootstrap
url = git://github.com/twitter/bootstrap.git
[submodule "lib/tinymce"]
path = lib/tinymce
url = git://github.com/tinymce/tinymce.git
[submodule "lib/CodeMirror2"]
path = lib/CodeMirror2
url = git://github.com/marijnh/CodeMirror2

And when I run git submodule update --init I get;

Submodule 'angular-ui' () registered for path 'angular-ui'
Submodule 'lib/CodeMirror2' () registered for path 'lib/CodeMirror2'
Submodule 'lib/bootstrap' () registered for path 'lib/bootstrap'
Submodule 'lib/maskedinput' () registered for path 'lib/maskedinput'
Submodule 'lib/qTip2' () registered for path 'lib/qTip2'
Submodule 'lib/select2' () registered for path 'lib/select2'
Submodule 'lib/tinymce' () registered for path 'lib/tinymce'

On 19 July 2012 07:25, Peter Bacon Darwin pete@bacondarwin.com wrote:

That is interesting. It isn't bringing in the angular-ui submodule. What
is in your .gitmodules file?

On 19 July 2012 07:20, Christopher Hiller <
reply@reply.github.com

wrote:


[chiller@overthruster angular-ui.github.com]$ git submodule update --init
Cloning into lib/CodeMirror2...
remote: Counting objects: 6581, done.
remote: Compressing objects: 100% (3082/3082), done.
remote: Total 6581 (delta 3847), reused 6098 (delta 3487)
Receiving objects: 100% (6581/6581), 1.28 MiB | 770 KiB/s, done.
Resolving deltas: 100% (3847/3847), done.
Submodule path 'lib/CodeMirror2': checked out
'e9ae8ac85dc540508c27de6c48b6d77d0d724898'
Cloning into lib/bootstrap...
remote: Counting objects: 20273, done.
remote: Compressing objects: 100% (7399/7399), done.
remote: Total 20273 (delta 14207), reused 18552 (delta 12694)
Receiving objects: 100% (20273/20273), 12.99 MiB | 1.31 MiB/s, done.
Resolving deltas: 100% (14207/14207), done.
Submodule path 'lib/bootstrap': checked out
'857b8fb8be81178d14f59c126c1381b09aff7c0f'
Cloning into lib/maskedinput...
remote: Counting objects: 278, done.
remote: Compressing objects: 100% (129/129), done.
remote: Total 278 (delta 137), reused 249 (delta 117)
Receiving objects: 100% (278/278), 110.77 KiB, done.
Resolving deltas: 100% (137/137), done.
Submodule path 'lib/maskedinput': checked out
'0d86254e991fce8bb740188b308227a896e0cc70'
Cloning into lib/qTip2...
remote: Counting objects: 7838, done.
remote: Compressing objects: 100% (2358/2358), done.
remote: Total 7838 (delta 5691), reused 7582 (delta 5437)
Receiving objects: 100% (7838/7838), 10.59 MiB | 1.31 MiB/s, done.
Resolving deltas: 100% (5691/5691), done.
Submodule path 'lib/qTip2': checked out
'2c87c2e54d732e33e53d0667a5c0c5b08d7e2d79'
Cloning into lib/select2...
remote: Counting objects: 1189, done.
remote: Compressing objects: 100% (514/514), done.
remote: Total 1189 (delta 688), reused 1152 (delta 655)
Receiving objects: 100% (1189/1189), 894.91 KiB | 565 KiB/s, done.
Resolving deltas: 100% (688/688), done.
Submodule path 'lib/select2': checked out
'482cc409ea27fc3cdf1028e9202c1ca7ada01e35'
Cloning into lib/tinymce...
remote: Counting objects: 35699, done.
remote: Compressing objects: 100% (7574/7574), done.
remote: Total 35699 (delta 25607), reused 34599 (delta 24670)
Receiving objects: 100% (35699/35699), 19.43 MiB | 1.11 MiB/s, done.
Resolving deltas: 100% (25607/25607), done.
Submodule path 'lib/tinymce': checked out
'a0df16e10d6974bddf4566a970b6a88c17937b94'

Reply to this email directly or view it on GitHub:

#6 (comment)

@boneskull
Copy link
Author

My .gitmodules is identical

@boneskull
Copy link
Author

Hmm, now it seems to be working fine. I'm going to try to reproduce again.

@boneskull
Copy link
Author

Cannot reproduce. No idea what happened here. Sorry about the bother.

@ProLoser
Copy link
Member

spooooky.

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

3 participants