workoutetc / google-sites-liberation Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/google-sites-liberation
Automatically exported from code.google.com/p/google-sites-liberation
What steps will reproduce the problem?
1. Import site that has some tables in it.
2. Each cell now has an in it, as the first character in each cell.
3. For example (I pasted table below):
 No.  Subject
 Â
 Â
 Â
What is the expected output? What do you see instead?
The same table.
What version of the product are you using? On what operating system?
1.0.3
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 25 May 2010 at 5:12
What steps will reproduce the problem?
1. export
What is the expected output? What do you see instead?
Exception in thread "Thread-2" java.lang.UnsupportedClassVersionError: Bad
version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:375)
at
com.google.sites.liberation.util.GuiMain$ImportExportRunnable.run(GuiMain.java:2
77)
at java.lang.Thread.run(Thread.java:613)
What version of the product are you using? On what operating system?
* google-sites-liberation-1.0.3.jar
* Mac OS X 10.5.8 (Leopard)
* java version "1.5.0_22"
* Java(TM) 2 Runtime Environment, Standard Edition (build
1.5.0_22-b03-333-9M3125)
* Java HotSpot(TM) Client VM (build 1.5.0_22-147, mixed mode, sharing)
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 16 Apr 2010 at 7:04
What steps will reproduce the problem?
1. Export site from Google Apps domain to folder/directory locally
2. Import local files into another Apps domain
3. Keeps saying "processing home"...
What is the expected output? What do you see instead?
Site appears in the other Google Apps domain
What version of the product are you using? On what operating system?
13.0.0 on Mac OS X Snow Leopard
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 13 Oct 2009 at 7:29
Sorry for the huge commit, but the good news is that you can just review
the latest change because the two before that are minor and much of their
changes were overridden in the last one.
Also, I moved XmlElement, HyperLink and their tests so there are four
deletes and four adds that you can ignore (I'm sure there was a way to do
that right with Mercurial but I didn't think about it until it was too late).
Original issue reported on code.google.com by [email protected]
on 17 Jul 2009 at 7:41
What steps will reproduce the problem?
1. Attempt to export data from a site
2. use command `java -cp $SCRIPT_DIR/google-sites-liberation-1.0.1.jar
com.google.sites.liberation.export.Main -d domain.com -f $BACKUP_DIR -u
login -p passwd -r -w site-name` in a shell script
What is the expected output? What do you see instead?
The contents of our site in $BACKUP_DIR
Exception in thread "main" java.lang.NullPointerException
at com.google.gdata.util.common.base.Preconditions.checkNotNull(Preconditions.java:187)
at com.google.sites.liberation.util.XmlElement.addText(XmlElement.java:76)
at com.google.sites.liberation.export.HistoryExporterImpl.exportHistory(HistoryExporterImpl.java:77)
at com.google.sites.liberation.export.RevisionsExporterImpl.exportRevisions(RevisionsExporterImpl.java:100)
at com.google.sites.liberation.export.SiteExporterImpl.exportSite(SiteExporterImpl.java:133)
at com.google.sites.liberation.export.Main.doMain(Main.java:81)
at com.google.sites.liberation.export.Main.main(Main.java:97)
What version of the product are you using? On what operating system?
Google Sites Liberation 1.0.1
Ubuntu Linux - Feisty
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)
Please provide any additional information below.
This tool works on two of our three sites.
On the third site it fails with the above error.
Attempting to pull the site from the GUI in Win7 hangs without any error
message.
Original issue reported on code.google.com by [email protected]
on 2 Dec 2009 at 8:16
I just pushed a set of changes to the export code that I wanted to get in
before I push the import code I've been working on (should be ready by the
end of the week). It's nothing too drastic, mostly just makes use of the
new getPageName() method and BasePageEntry type in the Java client.
Original issue reported on code.google.com by [email protected]
on 29 Jul 2009 at 7:05
Okay, I finally uploaded my code for import. I only finished unit testing
for the parsers but wanted to get this in before the weekend so I'll finish
the other unit tests on Monday.
Original issue reported on code.google.com by [email protected]
on 31 Jul 2009 at 10:23
What steps will reproduce the problem?
1. I double-clicked the file, google-sites-liberation-1.0.1.jar. A
quick "hour glass" appears, then nothing happens, but javaw.exe is running
in the back ground according to Task Manager.
2. From DOS command line, I run the following command:
java -jar google-sites-liberation-1.0.1.jar
Again, the same result. Nothing happens, but java.exe is running in the
background.
3. From DOS command line, I run the following command:
javaw -jar google-sites-liberation-1.0.1.jar
Again, the same result. Nothing happens, but javaw.exe is running in
the background.
What is the expected output? What do you see instead?
I expected to see the Google Sites Import/Export Tool window, but instead
I see nothing.
What version of the product are you using? On what operating system?
I am using the latest file, google-sites-liberation-1.0.1.jar. Also, I
have the latest Java software installed, Version 6, Update 17. I am
having this same problem on two different computers. One PC is running
Windows XP Professional and the other is running Windows XP Media Center
Edition.
Please provide any additional information below.
I've been searching for two hours on the web for a solution. It seems
that many people have had the same or similar problem for at least 6
years, but I cannot find a recommended solution that works for me.
Original issue reported on code.google.com by [email protected]
on 20 Nov 2009 at 2:53
Add some file logging so that users can more effectively file issue reports
Original issue reported on code.google.com by [email protected]
on 12 Oct 2009 at 3:38
What steps will reproduce the problem?
1. Start utility
2. Enter details
3. Press "export"
4. Export starts, progress dialog pops up
What is the expected output? What do you see instead?
I'd like to be able to cancel the export without needing to kill the utility
What version of the product are you using? On what operating system?
Version 1.0 of utility; OS X 10.5.8
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 29 Sep 2009 at 6:38
1.Exported from one website, with the path ..../Home/....
2.In my PC, the case is correct, ..../Home/....
3.Imported into another website. It's changed to ..../home/.... and
everything is broken.
Not sure this is OS problem, or issue in the tool? Should I always use
lower case for URL?
version: 1.0.1
os: vista
Thanks!
Original issue reported on code.google.com by [email protected]
on 17 Oct 2009 at 10:16
Branch: store
So I didn't actually implement the rendering of lists, file cabinets, and
announcements, but I did a big refactoring so now I just need to write
those three methods. Can someone review the new structure as well as
EntryStore and InMemoryEntryStore which I added and are used by the various
page renderers?
Ben
Original issue reported on code.google.com by [email protected]
on 2 Jul 2009 at 8:31
What steps will reproduce the problem?
1. Fill in the information in the GUI (my school's site, the webspace,
username, password)
2. Click Export
3. Watch as the GUI pulls down information, 20 at a time, until 180, at
which point nothing more happens. Looking at Console.app (I'm on Mac
OS 10.6), I see this:
10/26/09 10:35:39 PM [0x0-0xac0ac].com.apple.JarLauncher[1191]
Oct 26, 2009 10:35:39 PM
com.google.sites.liberation.export.ContinuousContentFeed$FeedIterator
catchException
10/26/09 10:35:39 PM [0x0-0xac0ac].com.apple.JarLauncher[1191]
WARNING: Error retrieving response from query.
10/26/09 10:35:39 PM [0x0-0xac0ac].com.apple.JarLauncher[1191]
com.google.gdata.util.ServiceException: Internal Server Error
10/26/09 10:35:39 PM [0x0-0xac0ac].com.apple.JarLauncher[1191]
Internal Error
10/26/09 10:35:39 PM [0x0-0xac0ac].com.apple.JarLauncher[1191]
at
com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(Http
GDataRequest.java:588)
10/26/09 10:35:39 PM [0x0-0xac0ac].com.apple.JarLauncher[1191]
at
com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(G
oogleGDataRequest.java:543)
10/26/09 10:35:39 PM [0x0-0xac0ac].com.apple.JarLauncher[1191]
at
com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGData
Request.java:536)
10/26/09 10:35:39 PM [0x0-0xac0ac].com.apple.JarLauncher[1191]
at
com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataRequest
.java:515)
10/26/09 10:35:39 PM [0x0-0xac0ac].com.apple.JarLauncher[1191]
at
com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRe
quest.java:515)
10/26/09 10:35:39 PM [0x0-0xac0ac].com.apple.JarLauncher[1191]
at com.google.gdata.client.Service.getFeed(Service.java:1053)
10/26/09 10:35:39 PM [0x0-0xac0ac].com.apple.JarLauncher[1191]
at com.google.gdata.client.Service.getFeed(Service.java:995)
10/26/09 10:35:39 PM [0x0-0xac0ac].com.apple.JarLauncher[1191]
at com.google.gdata.client.GoogleService.getFeed(GoogleService.java:662)
10/26/09 10:35:39 PM [0x0-0xac0ac].com.apple.JarLauncher[1191]
at com.google.gdata.client.Service.getFeed(Service.java:952)
10/26/09 10:35:39 PM [0x0-0xac0ac].com.apple.JarLauncher[1191]
at
com.google.sites.liberation.util.EntryProviderImpl.getEntries(EntryProviderI
mpl.java:45)
10/26/09 10:35:39 PM [0x0-0xac0ac].com.apple.JarLauncher[1191]
at
com.google.sites.liberation.export.ContinuousContentFeed$FeedIterator.ge
tEntries(ContinuousContentFeed.java:141)
10/26/09 10:35:39 PM [0x0-0xac0ac].com.apple.JarLauncher[1191]
at
com.google.sites.liberation.export.ContinuousContentFeed$FeedIterator.co
mputeNext(ContinuousContentFeed.java:115)
10/26/09 10:35:39 PM [0x0-0xac0ac].com.apple.JarLauncher[1191]
at
com.google.sites.liberation.export.ContinuousContentFeed$FeedIterator.co
mputeNext(ContinuousContentFeed.java:95)
10/26/09 10:35:39 PM [0x0-0xac0ac].com.apple.JarLauncher[1191]
at
com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIt
erator.java:135)
10/26/09 10:35:39 PM [0x0-0xac0ac].com.apple.JarLauncher[1191]
at
com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:
130)
10/26/09 10:35:39 PM [0x0-0xac0ac].com.apple.JarLauncher[1191]
at
com.google.sites.liberation.export.SiteExporterImpl.exportSite(SiteExporter
Impl.java:101)
10/26/09 10:35:39 PM [0x0-0xac0ac].com.apple.JarLauncher[1191]
at
com.google.sites.liberation.util.GuiMain$ImportExportRunnable.run(GuiMai
n.java:279)
10/26/09 10:35:39 PM [0x0-0xac0ac].com.apple.JarLauncher[1191]
at java.lang.Thread.run(Thread.java:637)
It starts erroring like that at 180 entries every time, both last night and
tonight. I encountered something similar when writing a python version of
this tool (before I realized this project existed) and I recall getting HTTP
500 errors once I got up into the 100's as well.
What is the expected output? What do you see instead?
I expect a local copy of all the pages (and attachments). Instead, the tool
never even starts downloading *anything* (not even the first 180 it knows
about) because the "Retrieving Site Data" step never completes. Ideally the
GData feeds should work for *all* offsets, but if that doesn't work, this tool
could at least download the stuff it knows about.
What version of the product are you using? On what operating system?
1.0.1 on Mac OS X 10.6.1
$ java -version
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03-219)
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-90, mixed mode)
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 27 Oct 2009 at 3:50
What steps will reproduce the problem?
1.Export to folder
2.Not everything is exported
3.Done is not availeble
What is the expected output? What do you see instead?
Sites export; export didn't succesed
What version of the product are you using? On what operating system?
Windows XP
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 25 Mar 2010 at 1:38
Attachments:
After entering my site's details and pressing import a new window opens
that says "Scanning directory. Import Complete".
I then go to the selected target directory and there is nothing there.
I have attached a pic of the import tool after having entered all my
site's details
What am I doing wrong?
Cheers!
Original issue reported on code.google.com by [email protected]
on 17 Oct 2009 at 3:25
Attachments:
What steps will reproduce the problem?
1. Run the jar from windows or ubuntu console
2. Export a google sites with a lot of pages and attachments (~500 items)
3. Exceptions occurred for different page at different time. (Sort of random.)
4. GUI Freezes and doesn't progress any further
5. Note: I never managed to download my website.
What is the expected output? What do you see instead?
Expected: Website downloaded
Instead: An exception is throwed out at console. The GUI freezes and
doesn't progress any further.
What version of the product are you using? On what operating system?
1.0.1, Ubuntu 9.10 and Windows XP
Please provide any additional information below.
user@ubuntu:~/Downloads$ java -jar google-sites-liberation-1.0.1.jar
Exception in thread "Thread-3" java.lang.ClassCastException:
com.google.gdata.data.sites.AttachmentEntry cannot be cast to
com.google.gdata.data.sites.BasePageEntry
at
com.google.sites.liberation.export.InMemoryEntryStore.getParent(InMemoryEntrySto
re.java:101)
at
com.google.sites.liberation.export.SiteExporterImpl.downloadAttachment(SiteExpor
terImpl.java:174)
at
com.google.sites.liberation.export.SiteExporterImpl.exportSite(SiteExporterImpl.
java:142)
at
com.google.sites.liberation.util.GuiMain$ImportExportRunnable.run(GuiMain.java:2
79)
at java.lang.Thread.run(Thread.java:619)
Original issue reported on code.google.com by [email protected]
on 8 Dec 2009 at 7:43
Once the pom.xmls are fixed, it would be handy to have a guide to building
the code - even if it's as simple as "download. run 'mvn clean install'"
Original issue reported on code.google.com by [email protected]
on 29 Sep 2009 at 6:26
I've got some bug fixes for issues in the jjs-bugfixes branch. The last two
commits make up the changes.
If you're cool with these and the logging changes, I'll merge them into default
and cut another release.
Original issue reported on code.google.com by [email protected]
on 24 Oct 2009 at 8:49
What steps will reproduce the problem?
probably:
1. user X creates a page
2. delete user X's Google Account
3. after some time, attempting to export the site/page with
google-sites-liberation won't work as the user does not exist anymore and
google-sites-liberation tries to query the user's email from the Google
Sites API. This leads to a NullPointerException (see below for stack trace)
What is the expected output? What do you see instead?
Expected output: everything should work fine and the page should be
exported. Instead, there is an exception:
Exception in thread "Thread-2" java.lang.NullPointerException: text
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:203)
at
com.google.sites.liberation.renderers.RendererUtils.getHyperLink(RendererUtils.j
ava:140)
at
com.google.sites.liberation.renderers.RendererUtils.getAuthorElement(RendererUti
ls.java:71)
at
com.google.sites.liberation.renderers.ContentRendererImpl.renderContent(ContentR
endererImpl.java:39)
at
com.google.sites.liberation.export.PageExporterImpl.exportPage(PageExporterImpl.
java:123)
at
com.google.sites.liberation.export.SiteExporterImpl.exportPage(SiteExporterImpl.
java:158)
at
com.google.sites.liberation.export.SiteExporterImpl.exportSite(SiteExporterImpl.
java:131)
at
com.google.sites.liberation.util.GuiMain$ImportExportRunnable.run(GuiMain.java:2
79)
at java.lang.Thread.run(Thread.java:637)
What version of the product are you using? On what operating system?
google-sites-liberation 1.0.1 on Mac OS X Snow Leopard
Please provide any additional information below.
In our company, we have an old (approx. 2yrs) multi-user webspace within
Google Sites. It seems that google-sites-liberation fails to export pages
where the author's email is NULL in the page entry as retrieved from the
Google Sites API because the user has been deleted a long time ago.
(looking at the revision history says "unknown user" in the author column)
Original issue reported on code.google.com by [email protected]
on 16 Nov 2009 at 8:24
What steps will reproduce the problem?
1. mac tiger with soylatte installed but NOT default java
2. download google sites liberation
3. attempt to run from command line
What is the expected output? What do you see instead?
prompt:~/sandbox/googsiteslib timothynash$
/Applications/soylatte1.6/bin/java -jar google-sites-liberation-1.0.jar
Exception in thread "main" java.lang.NoClassDefFoundError: Could not
initialize class sun.awt.X11GraphicsEnvironment
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.jav
a:68)
at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:89)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at java.awt.Toolkit$2.run(Toolkit.java:836)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:828)
at
sun.swing.SwingUtilities2$AATextInfo.getAATextInfo(SwingUtilities2.java:120)
at
javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.j
ava:1556)
at
javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:130)
at
javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1591)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:537)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:577)
at com.google.sites.liberation.util.GuiMain.<init>(GuiMain.java:79)
at com.google.sites.liberation.util.GuiMain.main(GuiMain.java:243)
Other Notes:
I haven't tried making soylatte the default. (Not possible on this machine)
Thanks!
Original issue reported on code.google.com by [email protected]
on 29 Sep 2009 at 6:01
What steps will reproduce the problem?
1. Export site with an attachment used as an image
2. Import the site in some other location.
What is the expected output? What do you see instead?
I expect the image to have src='link to new site', but I have a src='link to
old
site' instead.
What version of the product are you using? On what operating system?
1.0.2
Original issue reported on code.google.com by [email protected]
on 9 Mar 2010 at 1:13
http://code.google.com/p/google-sites-
liberation/source/browse/pom.xml has various problems; just one
example:
<dependency>
<groupId>apache</groupId>
<artifactId>commons-lang</artifactId>
<version>2.1</version>
</dependency>
Should read:
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.1</version>
</dependency>
(see http://mvnrepository.com/artifact/commons-lang/commons-
lang/2.1)
http://code.google.com/p/google-sites-
liberation/source/browse/pom.xml?
r=66a17bc522737a76cf5ff760e1f7b334aebc928d seems to be the actively
updated version; but the "store" branch is not what Google Code displays
by default
Original issue reported on code.google.com by [email protected]
on 29 Sep 2009 at 6:05
EntryStore.java added on branch ben2
Original issue reported on code.google.com by [email protected]
on 18 Jun 2009 at 4:56
What steps will reproduce the problem?
1. Follow steps outlined in bug 12 to fix pom.xml
2. run maven clean install
3. See lots of errors like this:
What is the expected output? What do you see instead?
/usr/local/google/src/gcode/google-sites-
liberation/src/main/java/com/google/sites/liberation/util/EntryType.java:[
71,8] inconvertible types
found : com.google.gdata.data.sites.BaseContentEntry<capture#501 of ?>
required: com.google.gdata.data.sites.AnnouncementEntry
/usr/local/google/src/gcode/google-sites-
liberation/src/main/java/com/google/sites/liberation/util/EntryType.java:[
74,8] inconvertible types
found : com.google.gdata.data.sites.BaseContentEntry<capture#903 of ?>
required: com.google.gdata.data.sites.AnnouncementsPageEntry
/usr/local/google/src/gcode/google-sites-
liberation/src/main/java/com/google/sites/liberation/util/EntryType.java:[
77,8] inconvertible types
found : com.google.gdata.data.sites.BaseContentEntry<capture#935 of ?>
required: com.google.gdata.data.sites.AttachmentEntry
What version of the product are you using? On what operating system?
This is the source from branch store; revision 66a17bc522; with the patch
(and hand-install of gdata libraries) as detailed in bug 12 applied.
I'm building this on Ubuntu Hardy
Original issue reported on code.google.com by [email protected]
on 29 Sep 2009 at 7:34
What steps will reproduce the problem?
1.Exported site from Google Sites using the tool.
2.Deleted the site from Google Sites.
3.Imported the site.
What is the expected output? What do you see instead?
Scanning directory.
Importing page: home
Import complete.
I cannot see the restored site in Google Sites.
What version of the product are you using? On what operating system?
Windows Vista SP1.
Please provide any additional information below.
Hi, Thanks for the tool. Its great to see as a corporate user, I can use
my google
domain admin account to backup all sites in the domain without having to
rely on the
users. The export portion worked well for me. However, import feature is
not working
for me eventhough the gui tool mentions that import completed
successfully. Is this
due to the fact that it takes a while for google to replicate the change?
Original issue reported on code.google.com by [email protected]
on 11 Dec 2009 at 8:47
Hi, fine tool, thank you for this work.
What steps will reproduce the problem?
1. Create a simple site
2. Upload a file through menu More Actions / Manage site / Attachments
3. export the site
What is the expected output? What do you see instead?
The site is exported. But the file is not exported
What version of the product are you using? On what operating system?
version 1.0.1
Please provide any additional information below.
The export of files that are attached at the bottom of the pages works
fine.
Please ask me if any question,
sincerily,
Olivier GAMOT
Original issue reported on code.google.com by [email protected]
on 4 Jan 2010 at 1:02
What steps will reproduce the problem?
1. Export the whole web site.
2. Open the index.html file in the "home" folder
3.
What is the expected output? What do you see instead?
I expected to see the same site I had on Google Sites, template and all.
Now, the template is gone. There is just white space around the edge of
the page.
What version of the product are you using? On what operating system?
The latest version, 1.0.1. I am running Windows XP Professional.
Please provide any additional information below.
I really need this template. It is the main reason I chose Google Sites
for my development. By the way, I was able to find a work-around for my
last issue posted. If I run something that uses java first, then I can
execute the .jar file from the command-line only (but still not by double-
clicking the file). The key is, I must have java running BEFORE I try to
execute the .jar file.
Original issue reported on code.google.com by [email protected]
on 23 Nov 2009 at 11:15
What steps will reproduce the problem?
1. Export SiteA and SiteB into different folders on local machine
2. Copy a folder from SiteB into SiteA's folder
3. Import SiteA from its folder back to Sites
What is the expected output?
All content from the local SiteA folder is uploaded
What do you see instead?
As soon as the importer gets to the copied folder, it throws a
NullPointerException:
Nov 10, 2009 3:28:21 PM com.google.sites.liberation.imprt.EntryUpdaterImpl
updateEntry
WARNING: Unable to update entry:{WebPageEntry {BasePageEntry {BaseContentEntry
com.google.gdata.data.sites.WebPageEntry@37c3432a}}}
com.google.gdata.util.ServiceForbiddenException: Forbidden
If-Match or If-None-Match header required
at com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataRequest.java:561)
at com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(GoogleGDataRequest.java:543)
at com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGDataRequest.java:536)
at com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataRequest.java:515)
at com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRequest.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(EntryUpdaterImpl.java:47)
at com.google.sites.liberation.imprt.EntryUploaderImpl.uploadEntry(EntryUploaderImpl.java:113)
at com.google.sites.liberation.imprt.PageImporterImpl.importPage(PageImporterImpl.java:104)
at com.google.sites.liberation.imprt.SiteImporterImpl.importPage(SiteImporterImpl.java:61)
at com.google.sites.liberation.imprt.SiteImporterImpl.importSite(SiteImporterImpl.java:47)
at com.google.sites.liberation.util.GuiMain$ImportExportRunnable.run(GuiMain.java:284)
at java.lang.Thread.run(Thread.java:637)
Exception in thread "Thread-2" java.lang.NullPointerException
at com.google.sites.liberation.util.EntryUtils.setParent(EntryUtils.java:80)
at com.google.sites.liberation.imprt.PageImporterImpl.importPage(PageImporterImpl.java:126)
at com.google.sites.liberation.imprt.SiteImporterImpl.importPage(SiteImporterImpl.java:61)
at com.google.sites.liberation.imprt.SiteImporterImpl.importSite(SiteImporterImpl.java:47)
at com.google.sites.liberation.util.GuiMain$ImportExportRunnable.run(GuiMain.java:284)
at java.lang.Thread.run(Thread.java:637)
(The first exception seems to be thrown for every single page uploaded, but the
pages still get uploaded fine)
What version of the product are you using? On what operating system?
1.0.1, OS X 10.5.8
Please provide any additional information below.
Please ignore any claims that Google Code makes that I'm [email protected].
This is a bug in Google Code. My Google Account is [email protected];
[email protected] does not exist.
Original issue reported on code.google.com by [email protected]
on 10 Nov 2009 at 4:34
I still need to write unit tests, but I wanted to get this in so I have
time to respond to comments.
Whoo, code complete!
Original issue reported on code.google.com by [email protected]
on 18 Aug 2009 at 10:05
I have tried exporting my site from three different computers, and it
never completes.
The Progress window shows the page that the export stops on. The cmd
window shows the warnings and error below.
I deleted the page that the export was initially stopping on according to
the progress window. But now the export stops on a different page, but
with the same error in the cmd window.
It seems that the export process has an expectation about "non-null id"
values that Sites does not enforce.
cmd window warnings and error:
WARNING: All entries should have a unique non-null id!
Feb 23, 2010 9:03:03 PM
com.google.sites.liberation.export.InMemoryEntryStore ad
dEntry
WARNING: All entries should have a unique non-null id!
Feb 23, 2010 9:03:03 PM
com.google.sites.liberation.export.InMemoryEntryStore ad
dEntry
WARNING: All entries should have a unique non-null id!
Exception in thread "Thread-4" java.lang.NullPointerException: text
at com.google.common.base.Preconditions.checkNotNull
(Preconditions.java:
203)
at com.google.sites.liberation.renderers.RendererUtils.getHyperLink
(Rend
ererUtils.java:140)
at
com.google.sites.liberation.renderers.RendererUtils.getAuthorElement(
RendererUtils.java:71)
at
com.google.sites.liberation.renderers.ContentRendererImpl.renderConte
nt(ContentRendererImpl.java:39)
at com.google.sites.liberation.export.PageExporterImpl.exportPage
(PageEx
porterImpl.java:123)
at com.google.sites.liberation.export.SiteExporterImpl.exportPage
(SiteEx
porterImpl.java:158)
at com.google.sites.liberation.export.SiteExporterImpl.exportSite
(SiteEx
porterImpl.java:131)
at
com.google.sites.liberation.util.GuiMain$ImportExportRunnable.run(Gui
Main.java:279)
at java.lang.Thread.run(Unknown Source)
Original issue reported on code.google.com by [email protected]
on 24 Feb 2010 at 2:25
I made all the changes you requested except for testing EntryType which
I'll do tomorrow morning.
Original issue reported on code.google.com by [email protected]
on 18 Jun 2009 at 4:11
Pages containing the 'Subpage' display widget are pulled down in the export
as <img> tags pointing at a chart image on Google's servers where as a
'Contents' display widget is exported as expected using an unordered list.
This is not necessarily an issue with the exporter because I believe the
'Contents' widget is not processed by the export tool but I wasn't sure where
else to log it.
Original issue reported on code.google.com by bryan.j.swift
on 16 Feb 2010 at 11:32
I exported my site, and I got folders and index.html for each of the pages.
However, I did not find the favicon.ico (even though the log mentioned
downloading it). It doesn't seem to be anywhere in the folder.
Site is: samplegtug
Original issue reported on code.google.com by pamela.fox
on 9 Oct 2009 at 2:53
What steps will reproduce the problem?
1. Download
2. Double-click
3. Check console.app for log message
What is the expected output? What do you see instead?
Expected output would be the app running. Instead I see error messages.
What version of the product are you using? On what operating system?
Version 1.0, on OS X 10.5.8
Error taken from console.log:
9/29/09 4:13:00 PM [0x0-0x419419].com.apple.JarLauncher[23833] Exception in
thread "main"
9/29/09 4:13:00 PM [0x0-0x419419].com.apple.JarLauncher[23833]
java.lang.UnsupportedClassVersionError: Bad version number in .class file
9/29/09 4:13:00 PM [0x0-0x419419].com.apple.JarLauncher[23833] at
java.lang.ClassLoader.defineClass1(Native Method)
9/29/09 4:13:00 PM [0x0-0x419419].com.apple.JarLauncher[23833] at
java.lang.ClassLoader.defineClass(ClassLoader.java:675)
9/29/09 4:13:00 PM [0x0-0x419419].com.apple.JarLauncher[23833] at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
9/29/09 4:13:00 PM [0x0-0x419419].com.apple.JarLauncher[23833] at
java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
9/29/09 4:13:00 PM [0x0-0x419419].com.apple.JarLauncher[23833] at
java.net.URLClassLoader.access$100(URLClassLoader.java:56)
9/29/09 4:13:00 PM [0x0-0x419419].com.apple.JarLauncher[23833] at
java.net.URLClassLoader$1.run(URLClassLoader.java:195)
9/29/09 4:13:00 PM [0x0-0x419419].com.apple.JarLauncher[23833] at
java.security.AccessController.doPrivileged(Native Method)
9/29/09 4:13:00 PM [0x0-0x419419].com.apple.JarLauncher[23833] at
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
9/29/09 4:13:00 PM [0x0-0x419419].com.apple.JarLauncher[23833] at
java.lang.ClassLoader.loadClass(ClassLoader.java:316)
9/29/09 4:13:00 PM [0x0-0x419419].com.apple.JarLauncher[23833] at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
9/29/09 4:13:00 PM [0x0-0x419419].com.apple.JarLauncher[23833] at
java.lang.ClassLoader.loadClass(ClassLoader.java:251)
9/29/09 4:13:00 PM [0x0-0x419419].com.apple.JarLauncher[23833] at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
Original issue reported on code.google.com by [email protected]
on 29 Sep 2009 at 6:16
What steps will reproduce the problem?
My Google site is a common one, not a Google app site, say
"http://sites.google.com/site/swdpgroup/"
google-sites-liberation does not work for my site.
It reads “invalid user credentials”.
What is the expected output? What do you see instead?
“invalid user credentials”
What version of the product are you using? On what operating system?
both versions work in the same way.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 19 Oct 2009 at 1:21
I uploaded my Maven project workspace and EntryType.java. Then I changed
.hgignore so that .classpath would not be part of the repository.
Original issue reported on code.google.com by [email protected]
on 17 Jun 2009 at 10:32
Hi, my company is using a proxy and it blocks my GSL. Which port use the
Google Sites Liberation to get it unblocked?
Thanks
Original issue reported on code.google.com by [email protected]
on 18 Nov 2009 at 1:30
What steps will reproduce the problem?
1.Could not import the site template
2. could not import the pages with following gadgets: recent posts,
presentation
3.
What is the expected output? What do you see instead?
Expected: the exhact mirror of the original site
Instead: no template, pages missing
What version of the product are you using? On what operating system?
1.0.3, windows XP
Please provide any additional information below.
While importing the dialog box just hang on, and keeps importing forever.
Once this happened could not continue, instead had to create a new, blank
site and start import again. Than import came to an end, but incomplete...
Original issue reported on code.google.com by [email protected]
on 8 May 2010 at 11:06
What steps will reproduce the problem?
I tried at least 20 different combinations of host, domain, webspace,
username and password but every time I get "Invalid User Credentials".
1. I run the Jar file and enter in the host domain and webspace.
2. My site is http://sites.google.com/a/lilybclayton.org/www so I put
host=sites.google.com domain=lilybclayton.org, webspace=www
For username I tried including just my user id and also adding the domain
to the end but either way it does not work.
I am using Google Apps so it looks like domain is required.
What is the expected output? What do you see instead?
I am trying to export a copy of my web site.
What version of the product are you using? On what operating system?
The latest version 1.0.1 on Windows XP. I just downloaded Java 1.6 today
since I got other errors with Java 1.5.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 26 Jan 2010 at 9:12
Your tool is very useful. I have a small suggestion: export data only if
modified on google sites.
I explain a bit more. If I have a big site, your tool exports all files. It
should be fine if it exports only modified files.
(GDocBackup works in this way. It uses the Docs List APIs).
fabrizio
Original issue reported on code.google.com by [email protected]
on 26 Sep 2009 at 12:02
Review branch: base
Can someone (I'm guess JJ?) take a look at what I have up here so far?
SiteExporter and PageExporter clearly aren't the structure I want them to
be in yet, but ContinuousContentFeed seems good and I also want to know if
the XmlElement and HyperLink classes seem like a reasonable way to do the
html generation (I looked at third party options for that but they all
seemed unnecessarily complicated for what I need).
Original issue reported on code.google.com by [email protected]
on 29 Jun 2009 at 5:45
What steps will reproduce the problem?
1. Run export tool
2. Configure options/parameters as shown in attached doc
3. Site does not export. I get "Retrieving site data (this may take a few
minutes)." and then it times out and returns an error message saying "
What is the expected output? What do you see instead?
Expect to see site downloaded. Do not see site downloaded.
What version of the product are you using? On what operating system?
1.0.1 on Windows XP Professional
Please provide any additional information below.
This is probably user error in the settings. I tried to match the settings
in the screenshot (replacing with my domain) but that instantly returns an
Invalid Credentials error.
Original issue reported on code.google.com by [email protected]
on 13 Oct 2009 at 4:20
Attachments:
What steps will reproduce the problem?
Site is pathfinderogc, free sites not google apps.
1. I have one local directory created from running an export of the site
using latest/current sites liberation jar. I deleted every file in the
directory but the one file I wanted to import back into the site for
testing. I edited that file.
2. Run C:\>java -Xms128m -Xmx256m -cp google-sites-liberation-1.0.1.jar
com.google.sites.liberation.imprt.Main -w "pathfinderogc" -u <myusername>
-p <mypassword> -f "c:\d20pfsrd"
3. Receive following error:
WARNING: Unable to update entry:{WebPageEntry {BasePageEntry
{BaseContentEntry com.google.gdata.data.sites.WebPageEntry@1fd5e2}}}
com.google.gdata.util.ServiceForbiddenException: Forbidden
If-Match or If-None-Match header required
What is the expected output? What do you see instead?
Expect one page to be imported showing changes. See error above.
What version of the product are you using? On what operating system?
Windows XP Professional. Java build 1.6.0_16-b01
Please provide any additional information below.
Full error:
C:\>java -Xms128m -Xmx256m -cp google-sites-liberation-1.0.1.jar
com.google.sites.liberation.imprt.Main -w "pathfinderogc" -u <myusername>
-p <mypassword> -f "c:\d20pfsrd"
Scanning directory.
Importing page: classes
Jan 6, 2010 2:08:21 PM com.google.sites.liberation.imprt.EntryUpdaterImpl
updateEntry
WARNING: Unable to update entry:{WebPageEntry {BasePageEntry
{BaseContentEntry com.google.gdata.data.sites.WebPageEntry@1fd5e2}}}
com.google.gdata.util.ServiceForbiddenException: Forbidden
If-Match or If-None-Match header required
at
com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataReque
st.java:561)
at
com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(GoogleGDataR
equest.java:543)
at
com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGDataRequest.jav
a:536)
at
com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataRequest.java:515)
at
com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRequest.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(EntryUpdaterImpl.
java:47)
at
com.google.sites.liberation.imprt.EntryUploaderImpl.uploadEntry(EntryUploaderImp
l.java:113)
at
com.google.sites.liberation.imprt.PageImporterImpl.importPage(PageImporterImpl.j
ava:104)
at
com.google.sites.liberation.imprt.SiteImporterImpl.importPage(SiteImporterImpl.j
ava:61)
at
com.google.sites.liberation.imprt.SiteImporterImpl.importSite(SiteImporterImpl.j
ava:47)
at com.google.sites.liberation.imprt.Main.doMain(Main.java:85)
at com.google.sites.liberation.imprt.Main.main(Main.java:101)
Exception in thread "main" java.lang.NullPointerException
at
com.google.sites.liberation.util.EntryUtils.setParent(EntryUtils.java:80)
at
com.google.sites.liberation.imprt.PageImporterImpl.importPage(PageImporterImpl.j
ava:126)
at
com.google.sites.liberation.imprt.SiteImporterImpl.importPage(SiteImporterImpl.j
ava:61)
at
com.google.sites.liberation.imprt.SiteImporterImpl.importSite(SiteImporterImpl.j
ava:47)
at com.google.sites.liberation.imprt.Main.doMain(Main.java:85)
at com.google.sites.liberation.imprt.Main.main(Main.java:101)
Original issue reported on code.google.com by [email protected]
on 6 Jan 2010 at 7:26
Each time I export a new site, I have to create a new folder. Because the
dialog is a Java dialog and not an OS X native dialog, this means I have to
switch to Finder, create the directory, switch back to the utility, change to
another directory, change back, and then choose the new directory.
Utility version: 1.0
OS version: OS X 10.5.8
Original issue reported on code.google.com by [email protected]
on 29 Sep 2009 at 6:40
What steps will reproduce the problem?
1. Attempt to import backup to a new Google Apps Site
2. Tool fails to import items starting with "To" - simply hangs.
What is the expected output? What do you see instead?
Tool hangs, does not continue until "to" folder is deleted.
What version of the product are you using? On what operating system?
1.0.1 on windows 7
This issue is in addition to my previous bug report regarding non-complete
exports/imports.
Original issue reported on code.google.com by [email protected]
on 7 Oct 2009 at 3:36
A little experimentation shows that "Export" means "Pull from Sites to local
machine" and "Import" means "Push from local machine to Sites"; but it wasn't
initially clear.
I'm note sure how to fix this: sticking "Export from Sites" on the button would
make it too large. Perhaps "Download" and "Upload" would be clearer?
Original issue reported on code.google.com by [email protected]
on 29 Sep 2009 at 7:46
I am trying to export a rather large site (around 1000 pages, many
attachments) and find that the tool only downloads around 50 pages. When I
then import the backup to a Google Apps domain, I'm missing the majority of
pages, including the Home page.
Using 1.0.1 on Windows 7. The problem has been replicated as I've taken
multiple exports and tried multiple imports.
Original issue reported on code.google.com by [email protected]
on 7 Oct 2009 at 3:35
What steps will reproduce the problem?
1. download jar file
2. double click it
What is the expected output? What do you see instead? google sites
import/export menu. i see nothing!
What version of the product are you using? On what operating system?
1.01 on windows xp
Original issue reported on code.google.com by [email protected]
on 27 Nov 2009 at 3:34
Another big commit. Mostly just added the links stuff, but also did a
refactoring of the rendering for export, and fixed some other bugs.
Original issue reported on code.google.com by [email protected]
on 10 Aug 2009 at 9:28
What steps will reproduce the problem?
1. create a page using a list template
2. customize the list so that you have dropdown and URL columns
3. enter a few items with all columns filled out
What is the expected output? What do you see instead?
You expect to export and import with the list functioning as it did
originally. Instead, all columns become text columns where dropdowns and
URLs used to exist
What version of the product are you using? On what operating system?
Free version. Windows XP
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 11 Mar 2010 at 7:33
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.