Comments (4)
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.
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.
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.
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)
- Entry already exists in InMemoryEntryStore results in 29-feb-2012 11:32:13 com.google.sites.liberation.export.InMemoryEntryStore addEntry WARNING: All entries should have a unique non-null id! HOT 2
- Import Not Working
- Toole hangs at all - i.e does not work at all for export
- Invalid user credentials
- Enhancement: optional input and use of proxy credentials
- No Data returned, invalid site information HOT 5
- Attachments at the root level are not exported
- Proxy Support -- Add to user's guide
- How to import wordpress to google sites
- Support for path relative Import/Export
- Tips and tricks to getting Google Sites Liberation working HOT 9
- Unable to export HOT 1
- Embedded html (HTML box) disappears after export and re-import
- How to export the page template
- "Bad Request Invalid request URI" with CLI on new test account HOT 2
- error invalid user credentials HOT 3
- Why google liberation export only part of site?
- Anyone considering adding OAuth2 support? HOT 7
- Invalid User Credentials HOT 11
- exporting password-protected sites not working with the new Google's two page login HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-sites-liberation.