I have an error "Commit failed... "

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

I have an error "Commit failed... "

Genosse
Hi!
I have an error "Commit failed for namespace "test_amber". Do you want to commit to another path? " (I do not use dots in the namespace.)

Directory (\new_test\src\) exists. In the directory there are two files (AmberTest.st & AmberTest.js) created by the wizard initialization (amber init).

Where the error is probably hiding?

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: I have an error "Commit failed... "

Herby Vojčík
Include your index.html, please.

Александр Р wrote:

> Hi!
> I have an error "/Commit failed for namespace "test_amber". Do you
> want to commit to another path? /" (I do not use dots in the namespace.)
>
> Directory (\new_test\src\) exists. In the directory there are two
> files (AmberTest.st & AmberTest.js) created by the wizard
> initialization (amber init).
>
> Where the error is probably hiding?
>
> --
> You received this message because you are subscribed to the Google
> Groups "amber-lang" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [hidden email]
> <mailto:[hidden email]>.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: I have an error "Commit failed... "

Genosse
<html>

  <head>
    <title>Ambertest</title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta name="author" content="" />
    <script type='text/javascript' src='<a href="view-source:file:///C:/amber_rep/new_test/bower_components/amber/support/requirejs/require.min.js" class="attribute-value">bower_components/amber/support/requirejs/require.min.js'></script>
    <script type='text/javascript' src='<a href="view-source:file:///C:/amber_rep/new_test/bower_components/amber/support/amber.js" class="attribute-value">bower_components/amber/support/amber.js'></script>
  </head>

  <body>
    <script type='text/javascript'>
      require.config({ paths: {
          'test_amber': 'src' //mapping compiled .js files and smalltalk source files
      }});
      require([
          'amber/devel',
          'test_amber/AmberTest'
      ], function (smalltalk) {
          //used for all new packages in IDE
          smalltalk.initialize({
            'transport.defaultAmdNamespace': "test_amber"
          });
      });
    </script>
    <button onclick="require('amber/helpers').globals.Browser._open()">legacy IDE</button>
    <button onclick="require('amber/helpers').popupHelios()">Helios IDE</button>
  </body>

</html>

пятница, 2 мая 2014 г., 14:29:16 UTC+4 пользователь Herby написал:
Include your index.html, please.


--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: I have an error "Commit failed... "

Hannes Hirzel
Did you check if you have not inadvertently stopped

     amber serve

?

--Hannes

On 5/2/14, Александр Р <[hidden email]> wrote:

>
>
> <html>  <head>    <title>Ambertest</title>    <meta
> http-equiv="content-type" content="text/html; charset=utf-8" />    <meta
> name="author" content="" />    <script type='text/javascript'
> src='bower_components/amber/support/requirejs/require.min.js
> <view-source:file:///C:/amber_rep/new_test/bower_components/amber/support/requirejs/require.min.js>'></script>
>    <script type='text/javascript'
> src='bower_components/amber/support/amber.js
> <view-source:file:///C:/amber_rep/new_test/bower_components/amber/support/amber.js>'></script>
>  </head>  <body>    <script type='text/javascript'>      require.config({
> paths: {          'test_amber': 'src' //mapping compiled .js files and
> smalltalk source files      }});      require([          'amber/devel',
>     'test_amber/AmberTest'      ], function (smalltalk) {          //used
> for all new packages in IDE          smalltalk.initialize({
> 'transport.defaultAmdNamespace': "test_amber"          });      });
> </script>    <button
> onclick="require('amber/helpers').globals.Browser._open()">legacy
> IDE</button>    <button
> onclick="require('amber/helpers').popupHelios()">Helios IDE</button>
> </body></html>
>
>
> пятница, 2 мая 2014 г., 14:29:16 UTC+4 пользователь Herby написал:
>>
>> Include your index.html, please.
>>
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "amber-lang" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [hidden email].
> For more options, visit https://groups.google.com/d/optout.
>

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: I have an error "Commit failed... "

Herby Vojčík
Yes, I though of that as well. Did you run amber serve and ran it from http://localhost:4000/? If you just loaded index.html, of course commit will fail.

H. Hirzel wrote:

> Did you check if you have not inadvertently stopped
>
>       amber serve
>
> ?
>
> --Hannes
>
> On 5/2/14, Александр Р<[hidden email]>  wrote:
>>
>> <html>   <head>     <title>Ambertest</title>     <meta
>> http-equiv="content-type" content="text/html; charset=utf-8" />     <meta
>> name="author" content="" />     <script type='text/javascript'
>> src='bower_components/amber/support/requirejs/require.min.js
>> <view-source:file:///C:/amber_rep/new_test/bower_components/amber/support/requirejs/require.min.js>'></script>
>>     <script type='text/javascript'
>> src='bower_components/amber/support/amber.js
>> <view-source:file:///C:/amber_rep/new_test/bower_components/amber/support/amber.js>'></script>
>>   </head>   <body>     <script type='text/javascript'>       require.config({
>> paths: {  
       'test_amber': 'src' //mapping compiled .js files and

>> smalltalk source files      }});      require([          'amber/devel',
>>      'test_amber/AmberTest'      ], function (smalltalk) {          //used
>> for all new packages in IDE          smalltalk.initialize({
>> 'transport.defaultAmdNamespace': "test_amber"          });      });
>> </script>     <button
>> onclick="require('amber/helpers').globals.Browser._open()">legacy
>> IDE</button>     <button
>> onclick="require('amber/helpers').popupHelios()">Helios IDE</button>
>> </body></html>
>>
>>
>> пятница, 2 мая 2014 г., 14:29:16 UTC+4 пользователь Herby написал:
>>> Include your index.html, please.
>>>
>>>
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "amber-lang" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [hidden email].
>> For more options, visit https://group
s.google.com/d/optout.
>>
>

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: I have an error "Commit failed... "

Genosse
Thanks! My mistake. I've done amber serve from the /bin directory... Right thing to do from the project directory. :)

пятница, 2 мая 2014 г., 15:00:02 UTC+4 пользователь Herby написал:
Yes, I though of that as well. Did you run amber serve and ran it from <a href="http://localhost:4000/" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Flocalhost%3A4000%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNE9WuV9F0986uj1gW2BYlD-0be3rQ';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Flocalhost%3A4000%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNE9WuV9F0986uj1gW2BYlD-0be3rQ';return true;">http://localhost:4000/? If you just loaded index.html, of course commit will fail.


--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: I have an error "Commit failed... "

Hannes Hirzel
You are welcome, I have added your question to
https://github.com/amber-smalltalk/amber/wiki/FAQ

On 5/2/14, Александр Р <[hidden email]> wrote:

> Thanks! My mistake. I've done amber serve from the /bin directory... Right
> thing to do from the project directory. :)
>
> пятница, 2 мая 2014 г., 15:00:02 UTC+4 пользователь Herby написал:
>>
>> Yes, I though of that as well. Did you run amber serve and ran it from
>> http://localhost:4000/? If you just loaded index.html, of course commit
>> will fail.
>>
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "amber-lang" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [hidden email].
> For more options, visit https://groups.google.com/d/optout.
>

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.