For me this import system has pretty much worked fine.
The only deviation from the instructions on github I followed was
copying the ImportServlet to
src/org/waveprotocol/box/server/waveserver instead of to
src/org/waveprotocol/box/server as the instructions list, due to the
package declaration at the top of the actual file. Rather than
bothering to modify the actual package line instead...

I had 2 out of 1084 waves fail to import - probably minor
incompatibilities. The error message from the failures show that it
tried to import as an incorrect user (namely one that didn't exist)
(perhaps I was no longer in those waves 'fully' on Gwave?))

On 15 January 2012 05:39, Andrew Kaplanov <[email protected]> wrote:
> I've just got the sources of WaveImport by command
> "git clone git://github.com/jorkey/WaveImport.git"
> First line of ImportServlet.java is
> "package org.waveprotocol.box.server.waveserver;"
> You wrote you modified the package line, but this line is correct.
>
> On Sun, Jan 15, 2012 at 1:14 AM, Bruno Gonzalez <[email protected]> wrote:
>> About 24h ago I did a fresh clone from git, and a fresh checkout from WiaB,
>> both from mercurial first, then from svn, whose commits seemed to be a
>> couple of days newer than the hg clone:
>>
>> $ git clone git://github.com/jorkey/WaveImport.git
>> $ svn co https://svn.apache.org/repos/asf/incubator/wave/trunk
>>
>> Is that not correct?
>>
>>
>> On Sat, Jan 14, 2012 at 18:30, Andrew Kaplanov <[email protected]> wrote:
>>
>>> It seems you are using old version of ImportServlet.java
>>> Last version of this file already has line "package
>>> org.waveprotocol.box.server.waveserver;"
>>> Get and run last version, if you get import errors again, post several of
>>> them.
>>>
>>> On Sat, Jan 14, 2012 at 3:59 PM, Bruno Gonzalez <[email protected]> wrote:
>>> >
>>> > I've tried to do all the process from scratch. These are the results:
>>> >
>>> >
>>> >
>>> > WiaB modification and compile:
>>> > ----------------------------------------------
>>> > I had to do an extra step to get WiaB to compile with the provided
>>> > modifications::
>>> > Edit the wave-in-a-box/src/org/waveprotocol/box/server/ImportServlet.java
>>> > file, and modify the package line to this: "package
>>> > org.waveprotocol.box.server.waveserver;"
>>> > Otherwise WiaB will fail to compile (at lest in my host).
>>> >
>>> >
>>> >
>>> > Wave exporting (from Google Wave to disk):
>>> > ---------------------------------------------------------------
>>> > On wave export, about 2k waves gave some sort of error, and about 1.5k
>>> were
>>> > succesful (I lost the console message on the window scroll, sorry).
>>> > History is exported, each diff to a separate file on disk.
>>> > This is the most time-consuming step, took it more than an hour to
>>> process
>>> > all 3.5k waves I seemed to have on my Google Wave account.
>>> > If you want to see the progress, you can run this on a different console:
>>> > ======================
>>> > wavesPath="./exported"; watch -n 1 -d --color 'ls -t '$wavesPath' |sed
>>> > "s/#.*//g;s=^=https://wave.google.com/wave/#restored:wave:=g";|uniq -c'
>>> > ======================
>>> > Where "./exported" should be changed to the path you chose for wave
>>> > exporting.
>>> >
>>> >
>>> >
>>> > Wave importing (from disk to WaveInABox):
>>> > ---------------------------------------------------------------
>>> > On wave import, the reported counts were:
>>> > ======================
>>> > Imported count 29
>>> > Not imported count 3507
>>> > Skipped count 0
>>> > ======================
>>> > Not sure whether history is imported in this step, or rather everything
>>> is
>>> > condensed into a final state. I'd guess the former, but I don't know.
>>> >
>>> >
>>> >
>>> > Accessing WiaB:
>>> > -------------------------
>>> > Then I try to access WiaB for the first time since its installation.
>>> First
>>> > I try to create my user, then login to see which waves are effectively
>>> > available. However I have troubles creating the user, which is something
>>> > that hasn't happened to me other times when I've installed default WiaB:
>>> > ======================
>>> > HTTP ERROR 500
>>> >
>>> > Problem accessing /auth/register. Reason:
>>> >
>>> >    Message missing required fields: account_type, account_id
>>> > Caused by:
>>> >
>>> > com.google.protobuf.UninitializedMessageException: Message missing
>>> required
>>> > fields: account_type, account_id
>>> > at
>>> >
>>> com.google.protobuf.AbstractMessage$Builder.newUninitializedMessageException(AbstractMessage.java:550)
>>> >  at
>>> >
>>> org.waveprotocol.box.server.persistence.protos.ProtoAccountStoreData$ProtoAccountData$Builder.build(ProtoAccountStoreData.java:313)
>>> > [...]
>>> > ======================
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > Conclussions:
>>> > ---------------------
>>> > Unfortunately, it's a FAIL. Does anyone know about the last error when
>>> > trying to register a user in WiaB? Should I revert the changes from
>>> > WaveImport, in order to get a default WiaB installation?
>>> > Thanks for any help!
>>> >
>>> >
>>> > On Fri, Jan 13, 2012 at 11:31, Thomas Leonard <
>>> [email protected]
>>> > > wrote:
>>> >
>>> > > Since WiaB doesn't offer a playback GUI, it's hard to be sure. But
>>> > > WaveImport works by importing the deltas one at a time (which is why it
>>> > > wasn't getting the whole history before; it was only importing the
>>> first
>>> > > 1000 deltas).
>>> > >
>>> > >
>>> > >
>>> > > On 2012-01-13 09:52, Bruno Gonzalez wrote:
>>> > >
>>> > >> Do you confirm that history is preserved after migration to WiaB?
>>> > >>
>>> > >> On Fri, Jan 13, 2012 at 10:21, Thomas Leonard<tal@it-innovation.**
>>> > >> soton.ac.uk <[email protected]>
>>> > >>
>>> > >>> wrote:
>>> > >>>
>>> > >>
>>> > >>  Update: I reported the problem with the import and Andrew Kaplanov
>>> > >>> (jorkey) fixed it right away. I can now import all my 1040 waves
>>> without
>>> > >>> problems (although attachments are not yet supported).
>>> > >>>
>>> > >>> However, it does highlight a few issues with WiaB when you have this
>>> many
>>> > >>> waves:
>>> > >>>
>>> > >>> - it takes quite a bit longer to start (about 2 min)
>>> > >>> - the inbox isn't sorted, so you just see 20 random waves from the
>>> past
>>> > >>> couple of years
>>> > >>> - search isn't implemented yet
>>> > >>>
>>> > >>>
>>> > >>>
>>> > >>> On 2012-01-03 11:14, Thomas Leonard wrote:
>>> > >>>
>>> > >>>  It seems to import all my waves, but not always all the deltas. Many
>>> > >>>> waves
>>> > >>>> show a version from their history, not the current version. It
>>> seems to
>>> > >>>> be
>>> > >>>> repeatable (deleting the _deltas directory and importing again
>>> gives the
>>> > >>>> same result).
>>> > >>>>
>>> > >>>>
>>> > >>>> On 2011-12-29 22:40, Ali Lown wrote:
>>> > >>>>
>>> > >>>>  This looks interesting, thanks for posting here.
>>> > >>>>>
>>> > >>>>> Is 'jorkey' known around here yet? His github profile's emptiness
>>> > >>>>> makes him very hard to trace.
>>> > >>>>>
>>> > >>>>> My dev machine is down ATM following HDD failure so I can't test it
>>> > >>>>> now either. :( Expected to be back up tomorrow when I should be
>>> able
>>> > >>>>> to test it.
>>> > >>>>>
>>> > >>>>> I would like to know more about the attachment importing feature
>>> since
>>> > >>>>> ImportServlet seems to have a chunk of commented out code relating
>>> to
>>> > >>>>> it though the note says it doesn't work yet...
>>> > >>>>>
>>> > >>>>> On 29 December 2011 22:26, Yuri Z<[email protected]>  wrote:
>>> > >>>>>
>>> > >>>>>  Hello
>>> > >>>>>> I just wanted to draw the wave community attention to the
>>> WaveImport
>>> > >>>>>> project hosted at GItHub -
>>> https://github.com/jorkey/****WaveImport<
>>> https://github.com/jorkey/**WaveImport>
>>> > >>>>>> <https://github.com/**jorkey/WaveImport<
>>> https://github.com/jorkey/WaveImport>>.
>>> > >>>>>> I had no
>>> > >>>>>>
>>> > >>>>>> chance to test it, but according to author it allows to import
>>> Google
>>> > >>>>>> Wave
>>> > >>>>>> waves into WIAB.
>>> > >>>>>>
>>> > >>>>>>
>>> > >>>>>
>>> > >>>>  --
>>> > >>> Dr Thomas Leonard
>>> > >>> IT Innovation Centre
>>> > >>> Gamma House, Enterprise Road,
>>> > >>> Southampton SO16 7NS, UK
>>> > >>>
>>> > >>>
>>> > >>> tel: +44 23 8059 8866
>>> > >>>
>>> > >>> mailto:tal@it-innovation.**sot**on.ac.uk <http://soton.ac.uk><
>>> > >>> tal@it-innovation.**soton.ac.uk <[email protected]>>
>>> > >>> http://www.it-innovation.**sot**on.ac.uk/ <http://soton.ac.uk/><
>>> > >>> http://www.it-**innovation.soton.ac.uk/<
>>> http://www.it-innovation.soton.ac.uk/>
>>> > >>> >
>>> > >>>
>>> > >>>
>>> > >>
>>> > >>
>>> > >>
>>> > > --
>>> > > Dr Thomas Leonard
>>> > > IT Innovation Centre
>>> > > Gamma House, Enterprise Road,
>>> > > Southampton SO16 7NS, UK
>>> > >
>>> > >
>>> > > tel: +44 23 8059 8866
>>> > >
>>> > > mailto:tal@it-innovation.**soton.ac.uk <[email protected]>
>>> > > http://www.it-innovation.**soton.ac.uk/<
>>> http://www.it-innovation.soton.ac.uk/>
>>> > >
>>> >
>>> >
>>> >
>>> > --
>>> > Saludos,
>>> >     Bruno González
>>> >
>>> > _______________________________________________
>>> > Jabber: stenyak AT gmail.com
>>> > http://www.stenyak.com
>>>
>>
>>
>>
>> --
>> Saludos,
>>     Bruno González
>>
>> _______________________________________________
>> Jabber: stenyak AT gmail.com
>> http://www.stenyak.com

Reply via email to