Git Product home page Git Product logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
The following is what I get when trying the command line option to do the 
import.

java -cp google-sites-liberation-1.0.1.jar 
com.google.sites.liberation.imprt.Main -
d "mydomain.org" -w "My-Site" -u Myuser -p MyPassword -f 
"D:\GoogleSitesBackup\My-
Site"

Thanks
================================================================================
==
Scanning directory.
Importing page: home
Dec 11, 2009 4:50:01 PM com.google.sites.liberation.imprt.EntryInserterImpl inse
rtEntry
WARNING: Unable to insert entry: {WebPageEntry {BasePageEntry {BaseContentEntry
com.google.gdata.data.sites.WebPageEntry@20f8395f}}}
com.google.gdata.util.ResourceNotFoundException: Not Found
Site not found

        at com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(Htt
pGDataRequest.java:555)
        at com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(G
oogleGDataRequest.java:543)
        at com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGData
Request.java:536)
        at com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataReques
t.java:515)
        at com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRe
quest.java:515)
        at com.google.gdata.client.Service.insert(Service.java:1327)
        at com.google.gdata.client.GoogleService.insert(GoogleService.java:599)
        at com.google.gdata.client.media.MediaService.insert(MediaService.java:3
72)
        at com.google.sites.liberation.imprt.EntryInserterImpl.insertEntry(Entry
InserterImpl.java:26)
        at com.google.sites.liberation.imprt.EntryUploaderImpl.uploadEntry(Entry
UploaderImpl.java:111)
        at com.google.sites.liberation.imprt.PageImporterImpl.importPage(PageImp
orterImpl.java:104)
        at com.google.sites.liberation.imprt.SiteImporterImpl.importPage(SiteImp
orterImpl.java:61)
        at com.google.sites.liberation.imprt.SiteImporterImpl.importSite(SiteImp
orterImpl.java:47)
        at com.google.sites.liberation.imprt.Main.doMain(Main.java:85)
        at com.google.sites.liberation.imprt.Main.main(Main.java:101)
Current progress: 100%.
Current progress: 100%.
Import complete.



Original comment by [email protected] on 11 Dec 2009 at 10:57

from google-sites-liberation.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
has the site been created yet?  the import tool will not create new sites.  it 
will only 
import into existing sites.

Original comment by [email protected] on 6 Jan 2010 at 4:35

from google-sites-liberation.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
Hi, Thanks for the response. I tried both ways, with and without creating the 
sites. 
The gui tool show the import complete, but nothing happens. The command line 
tool 
shows the following...

C:\Temp\Google\Google  Sites>java -cp google-sites-liberation-1.0.1.jar com.goog
le.sites.liberation.imprt.Main -d mydomain.org -w mysite -u myusername -p 
mypassword -f "C:\Temp\Google\Google  Sites\Mysitebackup"
Scanning directory.
Importing page: home
Jan 7, 2010 1:52:25 PM com.google.sites.liberation.imprt.EntryUpdaterImpl update
Entry
WARNING: Unable to update entry:{WebPageEntry {BasePageEntry {BaseContentEntry c
om.google.gdata.data.sites.WebPageEntry@ae533a}}}
com.google.gdata.util.ServiceForbiddenException: Forbidden
If-Match or If-None-Match header required

        at com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(Htt
pGDataRequest.java:561)
        at com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(G
oogleGDataRequest.java:543)
        at com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGData
Request.java:536)
        at com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataReques
t.java:515)
        at com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRe
quest.java:515)
        at com.google.gdata.client.Service.update(Service.java:1482)
        at com.google.gdata.client.Service.update(Service.java:1448)
        at com.google.gdata.client.GoogleService.update(GoogleService.java:583)
        at com.google.sites.liberation.imprt.EntryUpdaterImpl.updateEntry(EntryU
pdaterImpl.java:47)
        at com.google.sites.liberation.imprt.EntryUploaderImpl.uploadEntry(Entry
UploaderImpl.java:113)
        at com.google.sites.liberation.imprt.PageImporterImpl.importPage(PageImp
orterImpl.java:104)
        at com.google.sites.liberation.imprt.SiteImporterImpl.importPage(SiteImp
orterImpl.java:61)
        at com.google.sites.liberation.imprt.SiteImporterImpl.importSite(SiteImp
orterImpl.java:47)
        at com.google.sites.liberation.imprt.Main.doMain(Main.java:85)
        at com.google.sites.liberation.imprt.Main.main(Main.java:101)
Current progress: 100%.
Current progress: 100%.
Import complete.

Original comment by [email protected] on 7 Jan 2010 at 7:56

from google-sites-liberation.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
I get the same error when trying to import even one file to an existing site 
(Issue
#41). 

WARNING: Unable to update entry:{WebPageEntry {BasePageEntry {BaseContentEntry c
om.google.gdata.data.sites.WebPageEntry@ae533a}}}
com.google.gdata.util.ServiceForbiddenException: Forbidden

Original comment by [email protected] on 11 Jan 2010 at 3:21

from google-sites-liberation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.