Page 2 of 2 FirstFirst 12
Results 26 to 35 of 35

Thread: Auto Updater and Git

  1. #26
    Join Date
    Dec 2011
    Location
    Hyrule
    Posts
    8,662
    Mentioned
    179 Post(s)
    Quoted
    1870 Post(s)

  2. #27
    Join Date
    Jan 2012
    Posts
    36
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I need some help, I've done the part correctly until you have to input
    Code:
    git push origin master
    but when I type that, it shows this:

    Code:
    fatal: remote error: Invalid username/password
    You may need to use your generated googlecode.com password; see https://code.google.com/hosting/settings
    I would understand if I had actually typed my username/password in, but it didn't even prompt for it.

    Any help would be greatly appreciated.
    GOALS
    Complete my first script
    Complete a flawless script
    250 posts
    10 rep

  3. #28
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by injustice View Post
    I need some help, I've done the part correctly until you have to input
    Code:
    git push origin master
    but when I type that, it shows this:

    Code:
    fatal: remote error: Invalid username/password
    You may need to use your generated googlecode.com password; see https://code.google.com/hosting/settings
    I would understand if I had actually typed my username/password in, but it didn't even prompt for it.

    Any help would be greatly appreciated.
    forgot to say make sure you use git 1.7.6

    so uninstall whatever you have at the moment and install Git 1.7.6

    watch the video if you need anymore help and you should be able to find your answer on there, if not then post here

    ~shut

  4. #29
    Join Date
    Jan 2012
    Posts
    713
    Mentioned
    3 Post(s)
    Quoted
    9 Post(s)

    Default

    Is there anyway to remove a file from git?

  5. #30
    Join Date
    Feb 2012
    Location
    Wonderland
    Posts
    1,988
    Mentioned
    41 Post(s)
    Quoted
    272 Post(s)

    Default

    Quote Originally Posted by Google View Post
    Is there anyway to remove a file from git?
    on the web pages I think you'd have to removed entire repo

    but using cmd or git console on your directory with file wanting deletion; you use a command, ex - git commit -m "remove file1.txt"

  6. #31
    Join Date
    Jan 2008
    Location
    10° north of Hell
    Posts
    2,035
    Mentioned
    65 Post(s)
    Quoted
    164 Post(s)

    Default

    Quote Originally Posted by Google View Post
    Is there anyway to remove a file from git?
    Quote Originally Posted by Le Jingle View Post
    on the web pages I think you'd have to removed entire repo

    but using cmd or git console on your directory with file wanting deletion; you use a command, ex - git commit -m "remove file1.txt"
    If he wants to remove it from history it's a little harder. PM me for more info. or Google!

    Quote Originally Posted by Shatterhand View Post
    I need help please.
    Simba Code:
    procedure AutoUpdateMe;
    var NewFile : Integer;
        OnlineVersion, NewScript, NewFileName : String;
    begin
      if UseAutoChecker then
      begin
        writeln('Checking for script updates...');
        OnlineVersion := GetPage('https://hunt3rx3-git.googlecode.com/git/chaosmosskiller_version.txt');
        writeln(OnlineVersion);
        writeln(ScriptVersion);
        TerminateScript;
      end;
    end;
    I get this in debug:
    Code:
    Checking for script updates...
    
    2.0
    Successfully executed.
    This means, it wont read the webpage, wont write anything into the string. Any ideas?
    EDIT: Solved problem. GetPage doesnt work with 'https://'. Had to use 'http://'.
    https works if you have openssl installed.

    Dg's Small Procedures | IRC Quotes
    Thank Wishlah for my nice new avatar!
    Quote Originally Posted by IRC
    [22:12:05] <Dgby714> Im agnostic
    [22:12:36] <Blumblebee> :O ...you can read minds

  7. #32
    Join Date
    Jan 2012
    Posts
    713
    Mentioned
    3 Post(s)
    Quoted
    9 Post(s)

    Default

    I am getting this error.


    Simba Code:
    Compiled successfully in 359 ms.
    Checking for script updates...
    <!DOCTYPE html>
    <html lang=en>
      <meta charset=utf-8>
      <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
      <title>Error 404 (Not Found)!!1</title>
      <style>
        *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}
      </style>
      <a href=//www.google.com/><img src=//www.google.com/images/errors/logo_sm.gif alt=Google></a>
      <p><b>404.</b> <ins>That’s an error.</ins>
      <p>The requested URL <code>/git/version.txt</code> was not found on this server.  <ins>That’s all we know.</ins>

    .5
    Newer script version online!
    Autoupdating to newer version.
    ReWriteFile - Exception. Could not create file: C:\Users\Brett Seaquist\Desktop\test V<!DOCTYPE html>
    <html lang=en>
      <meta charset=utf-8>
      <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
      <title>Error 404 (Not Found)!!1</title>
      <style>
        *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}
      </style>
      <a href=//www.google.com/><img src=//www.google.com/images/errors/logo_sm.gif alt=Google></a>
      <p><b>404.</b> <ins>That’s an error.</ins>
      <p>The requested URL <code>/git/version.txt</code> was not found on this server.  <ins>That’s all we know.</ins>
     by google.simba
    Fatal error writing to C:\Users\Brett Seaquist\Desktop\test V<!DOCTYPE html>
    <html lang=en>
      <meta charset=utf-8>
      <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
      <title>Error 404 (Not Found)!!1</title>
      <style>
        *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}
      </style>
      <a href=//www.google.com/><img src=//www.google.com/images/errors/logo_sm.gif alt=Google></a>
      <p><b>404.</b> <ins>That’s an error.</ins>
      <p>The requested URL <code>/git/version.txt</code> was not found on this server.  <ins>That’s all we know.</ins>
     by google.simba!!
    Successfully executed.

    Any idea's?

  8. #33
    Join Date
    Jan 2008
    Location
    10° north of Hell
    Posts
    2,035
    Mentioned
    65 Post(s)
    Quoted
    164 Post(s)

    Default

    Quote Originally Posted by Google View Post
    I am getting this error.


    Simba Code:
    Compiled successfully in 359 ms.
    Checking for script updates...
    <!DOCTYPE html>
    <html lang=en>
      <meta charset=utf-8>
      <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
      <title>Error 404 (Not Found)!!1</title>
      <style>
        *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}
      </style>
      <a href=//www.google.com/><img src=//www.google.com/images/errors/logo_sm.gif alt=Google></a>
      <p><b>404.</b> <ins>That’s an error.</ins>
      <p>The requested URL <code>/git/version.txt</code> was not found on this server.  <ins>That’s all we know.</ins>

    .5
    Newer script version online!
    Autoupdating to newer version.
    ReWriteFile - Exception. Could not create file: C:\Users\Brett Seaquist\Desktop\test V<!DOCTYPE html>
    <html lang=en>
      <meta charset=utf-8>
      <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
      <title>Error 404 (Not Found)!!1</title>
      <style>
        *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}
      </style>
      <a href=//www.google.com/><img src=//www.google.com/images/errors/logo_sm.gif alt=Google></a>
      <p><b>404.</b> <ins>That’s an error.</ins>
      <p>The requested URL <code>/git/version.txt</code> was not found on this server.  <ins>That’s all we know.</ins>
     by google.simba
    Fatal error writing to C:\Users\Brett Seaquist\Desktop\test V<!DOCTYPE html>
    <html lang=en>
      <meta charset=utf-8>
      <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
      <title>Error 404 (Not Found)!!1</title>
      <style>
        *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}
      </style>
      <a href=//www.google.com/><img src=//www.google.com/images/errors/logo_sm.gif alt=Google></a>
      <p><b>404.</b> <ins>That’s an error.</ins>
      <p>The requested URL <code>/git/version.txt</code> was not found on this server.  <ins>That’s all we know.</ins>
     by google.simba!!
    Successfully executed.

    Any idea's?
    It's a 404 error. You need to have a check for that.

    Dg's Small Procedures | IRC Quotes
    Thank Wishlah for my nice new avatar!
    Quote Originally Posted by IRC
    [22:12:05] <Dgby714> Im agnostic
    [22:12:36] <Blumblebee> :O ...you can read minds

  9. #34
    Join Date
    Mar 2012
    Location
    Over there
    Posts
    840
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default

    Thanks for the guide shuttle, will be using this on current and future scripts.

    Quote Originally Posted by Google View Post
    I am getting this error.


    Simba Code:
    Compiled successfully in 359 ms.
    Checking for script updates...
    <!DOCTYPE html>
    <html lang=en>
      <meta charset=utf-8>
      <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
      <title>Error 404 (Not Found)!!1</title>
      <style>
        *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}
      </style>
      <a href=//www.google.com/><img src=//www.google.com/images/errors/logo_sm.gif alt=Google></a>
      <p><b>404.</b> <ins>That’s an error.</ins>
      <p>The requested URL <code>/git/version.txt</code> was not found on this server.  <ins>That’s all we know.</ins>

    .5
    Newer script version online!
    Autoupdating to newer version.
    ReWriteFile - Exception. Could not create file: C:\Users\Brett Seaquist\Desktop\test V<!DOCTYPE html>
    <html lang=en>
      <meta charset=utf-8>
      <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
      <title>Error 404 (Not Found)!!1</title>
      <style>
        *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}
      </style>
      <a href=//www.google.com/><img src=//www.google.com/images/errors/logo_sm.gif alt=Google></a>
      <p><b>404.</b> <ins>That’s an error.</ins>
      <p>The requested URL <code>/git/version.txt</code> was not found on this server.  <ins>That’s all we know.</ins>
     by google.simba
    Fatal error writing to C:\Users\Brett Seaquist\Desktop\test V<!DOCTYPE html>
    <html lang=en>
      <meta charset=utf-8>
      <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
      <title>Error 404 (Not Found)!!1</title>
      <style>
        *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}
      </style>
      <a href=//www.google.com/><img src=//www.google.com/images/errors/logo_sm.gif alt=Google></a>
      <p><b>404.</b> <ins>That’s an error.</ins>
      <p>The requested URL <code>/git/version.txt</code> was not found on this server.  <ins>That’s all we know.</ins>
     by google.simba!!
    Successfully executed.

    Any idea's?
    I got that error too at first, if you didn't figure it out yet its because you aren't doing something case sensitive. I had Version.txt instead of version.txt or something so it was 404ing.

  10. #35
    Join Date
    Jan 2012
    Posts
    713
    Mentioned
    3 Post(s)
    Quoted
    9 Post(s)

    Default

    Quote Originally Posted by Total View Post
    Thanks for the guide shuttle, will be using this on current and future scripts.



    I got that error too at first, if you didn't figure it out yet its because you aren't doing something case sensitive. I had Version.txt instead of version.txt or something so it was 404ing.
    Yeah I got it figured out, I just commit the things through google-code now anyways easier than the cmd prompt.

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •