[Lift] occasional unresponsiveness after a long period of inactivity

2009-02-23 Thread Paul O'Rorke

Several times now when I've left a page with Ajax checkboxes and
textboxes sitting for a while, and then when I've gone to check a box
or type in a textbox, there is no response from the server.  In the
console window, I see nothing unusual.

Sometimes I used to get could not reach server messages in this sort
of situation but I don't seem to be getting those anymore or else I'm
just not waiting long enough for them.

This is in a web app that I want to be able to treat like a desktop
app.  It has a very long session timeout but I have not changed any
other timeouts like the ajax timeout.  (Perhaps I should?)

A workaround is just to reload the page.  (I think that tends to
happen anyway sort of automatically on my iPhone but not on my
desktop.)



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: occasional unresponsiveness after a long period of inactivity

2009-02-23 Thread Paul O'Rorke

David:  I think you are probably right that it is something external
to lift or scala as it seems to be intermittent, happening sometimes
but not others under what seem to be the same circumstances.

The server process is on a mac book pro laptop for now and it may well
be getting swapped out although not for a screen saver as I am usually
keeping the machine busy working on other things.  But wouldn't a
request to the server cause it to be swapped back in again?

I'm using Safari almost all the time.  Thanks for suggesting Chrome as
a good alternative for this application.

It gives a bit of a feel of flakyness if you go to do something simple
and it doesn't work as intended so I thought it worth noting and will
keep a lookout to see if it happens often enough and regularly enough
that I can replicate it simply somehow.
---Paul O

On Feb 23, 2:40 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
 Paul,

 This can result from a number of things:

    - The process that's running your web app gets swapped out on the
    server.  If you're running on Linux, this is less likely to happen if you
    have enough RAM.  I've seen Windows swamp processes out so it can run the
    screen saver.
    - Your browser does not do well with long running JavaScript.  Firefox,
    in my experience, is particularly bad about this.  I have to restart 
 Firefox
    almost daily.  On the other hand, Google Chrome seems to be the best 
 browser
    in terms of hanging out on the same page for days, weeks, at a time.

 I have a browser window open tohttp://demo.liftweb.netall the time.  Other
 than the above-mentioned need to periodically restart Firefox, the page is
 always responsive.

 If you can put together a reproducable case of this problem, I'll look into
 it.

 Thanks,

 David



 On Mon, Feb 23, 2009 at 2:34 PM, Paul O'Rorke p...@ororke.com wrote:

  Several times now when I've left a page with Ajax checkboxes and
  textboxes sitting for a while, and then when I've gone to check a box
  or type in a textbox, there is no response from the server.  In the
  console window, I see nothing unusual.

  Sometimes I used to get could not reach server messages in this sort
  of situation but I don't seem to be getting those anymore or else I'm
  just not waiting long enough for them.

  This is in a web app that I want to be able to treat like a desktop
  app.  It has a very long session timeout but I have not changed any
  other timeouts like the ajax timeout.  (Perhaps I should?)

  A workaround is just to reload the page.  (I think that tends to
  happen anyway sort of automatically on my iPhone but not on my
  desktop.)

 --
 Lift, the simply functional web frameworkhttp://liftweb.net
 Beginning Scalahttp://www.apress.com/book/view/1430219890
 Follow me:http://twitter.com/dpp
 Git some:http://github.com/dpp

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: occasional unresponsiveness after a long period of inactivity

2009-02-23 Thread Paul O'Rorke

Yes, even tho I wasn't living in Silicon Valley at the time, I did
learn about virtual memory as a kid and then again in operating
systems courses well before I got my Ph.D. in C.S. ;).

I just did a little experiment where I waited patiently this time
after not getting an immediate response and I did get another server
did not respond type message.
After getting this mesage, I tried clicking again on an Ajax checkbox
a couple of times and it worked fine without my having to reload the
page.

So your theory, I take it, is that virtual memory is so slow swapping
the server process back in that the client gives up and thinks it is
never going to respond?  Is there some timeout in lift and/or in the
Ajax Javascript code that can be tweaked to let it wait a little
longer for a response before giving up?
---Paul O

On Feb 23, 4:06 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
 On Mon, Feb 23, 2009 at 3:55 PM, Paul O'Rorke p...@ororke.com wrote:

  David:  I think you are probably right that it is something external
  to lift or scala as it seems to be intermittent, happening sometimes
  but not others under what seem to be the same circumstances.

  The server process is on a mac book pro laptop for now and it may well
  be getting swapped out although not for a screen saver as I am usually
  keeping the machine busy working on other things.  But wouldn't a
  request to the server cause it to be swapped back in again?

 Yes.  This is how virtual memory works.

 How much RAM is in your machine?

 Perhaps some Mac-head on the list can tell us how to determine how much of a
 process is actually swapped to disk.





  I'm using Safari almost all the time.  Thanks for suggesting Chrome as
  a good alternative for this application.

  It gives a bit of a feel of flakyness if you go to do something simple
  and it doesn't work as intended so I thought it worth noting and will
  keep a lookout to see if it happens often enough and regularly enough
  that I can replicate it simply somehow.
  ---Paul O

  On Feb 23, 2:40 pm, David Pollak feeder.of.the.be...@gmail.com
  wrote:
   Paul,

   This can result from a number of things:

      - The process that's running your web app gets swapped out on the
      server.  If you're running on Linux, this is less likely to happen if
  you
      have enough RAM.  I've seen Windows swamp processes out so it can run
  the
      screen saver.
      - Your browser does not do well with long running JavaScript.
   Firefox,
      in my experience, is particularly bad about this.  I have to restart
  Firefox
      almost daily.  On the other hand, Google Chrome seems to be the best
  browser
      in terms of hanging out on the same page for days, weeks, at a time.

   I have a browser window open tohttp://demo.liftweb.netallthe time.
   Other
   than the above-mentioned need to periodically restart Firefox, the page
  is
   always responsive.

   If you can put together a reproducable case of this problem, I'll look
  into
   it.

   Thanks,

   David

   On Mon, Feb 23, 2009 at 2:34 PM, Paul O'Rorke p...@ororke.com wrote:

Several times now when I've left a page with Ajax checkboxes and
textboxes sitting for a while, and then when I've gone to check a box
or type in a textbox, there is no response from the server.  In the
console window, I see nothing unusual.

Sometimes I used to get could not reach server messages in this sort
of situation but I don't seem to be getting those anymore or else I'm
just not waiting long enough for them.

This is in a web app that I want to be able to treat like a desktop
app.  It has a very long session timeout but I have not changed any
other timeouts like the ajax timeout.  (Perhaps I should?)

A workaround is just to reload the page.  (I think that tends to
happen anyway sort of automatically on my iPhone but not on my
desktop.)

   --
   Lift, the simply functional web frameworkhttp://liftweb.net
   Beginning Scalahttp://www.apress.com/book/view/1430219890
   Follow me:http://twitter.com/dpp
   Git some:http://github.com/dpp

 --
 Lift, the simply functional web frameworkhttp://liftweb.net
 Beginning Scalahttp://www.apress.com/book/view/1430219890
 Follow me:http://twitter.com/dpp
 Git some:http://github.com/dpp
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: A round of thanks to Marius for better GC

2009-02-20 Thread Paul O'Rorke

Has this fix been committed?
Dunno for sure if it is really GC related
But I did an mvn -U clean install and my app worked fine on my desktop
But when I accessed it from my iPhone I got logged out in 10 or 15
seconds.
I had cookies disabled in Safari on my iPhone.  Enabling cookies fixed
the problem.
---Paul O

On Feb 19, 10:45 pm, marius d. marius.dan...@gmail.com wrote:
 Thank you Dave,

 I just noticed a little bug in case cookies are disabled. I just
 committed a fix for it.

 Br's,
 Marius

 On Feb 20, 4:29 am, David Pollak feeder.of.the.be...@gmail.com
 wrote:

  Folks,
  Marius made some patches to Lift's GC support today.  He removed the lift:gc
  tag so we don't trip over the Firefox namespace issue.

  I've done some initial testing (and made a few minor updates).

  Please do a mvn -U clean install and let us know how well the new code
  works.

  Please also do tests like navigating to a page with form elements on it,
  waiting 45 minutes and then making sure the form can be submitted.

  Thanks,

  David

  --
  Lift, the simply functional web frameworkhttp://liftweb.net
  Beginning Scalahttp://www.apress.com/book/view/1430219890
  Follow me:http://twitter.com/dpp
  Git some:http://github.com/dpp

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: JSON stack overflow issue

2009-02-15 Thread Paul O'Rorke

Hi, David:

I'm not using JSON directly myself and when I do a search on json it
only shows up on one line in the default.html page:

script id=json src=/classpath/json.js type=text/javascript/


Perhaps it is JSON that is being used under the hood?  I am using
CRUDIFY and the menu items for add, delete, and list operations and
the associated pages.  I'm also using some ajax checkboxes and
textboxes like the ones in lift workshop examples (specifically: the
todo example).

By the way, the app still seems to work, it just tends to slow down
after a while.

On Feb 15, 4:01 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
 Paul,
 Please provide a sample of the JSON that caused the stack overflow.

 Thanks,

 David

 On Sun, Feb 15, 2009 at 1:24 PM, Paul O'Rorke p...@ororke.com wrote:

  Something odd has started to happen in the last day or two:  I am
  starting to get stackoverflows in a small app that I use.  I have not
  changed my classes for a week or so and use the app daily.
  It has been working ok up until today or last night.
  This seems to happen as soon as it starts up before I even start to
  use it.
  I am using Scala 2.7.3 and the following lift
       version0.11-SNAPSHOT/version

  [INFO] Starting jetty 6.1.15.rc2 ...
  2009-02-15 13:03:37.799::INFO:  jetty-6.1.15.rc2
  2009-02-15 13:03:37.994::INFO:  No Transaction manager found - if your
  webapp requires one, please configure one.
  2009-02-15 13:03:40.506::INFO:  Started
  selectchannelconnec...@0.0.0.0:8080
  [INFO] Started Jetty Server
  [INFO] Starting scanner at interval of 5 seconds.
  WARN - Request for /ajax_request failed null
  java.lang.StackOverflowError
         at net.liftweb.util.JSONParser$$anonfun$string$4$$anonfun$apply$14$
  $anonfun$apply$15$$anonfun$apply$16.apply(JSON.scala:46)
         at net.liftweb.util.JSONParser$$anonfun$string$4$$anonfun$apply$14$
  $anonfun$apply$15$$anonfun$apply$16.apply(JSON.scala:46)
         at scala.util.parsing.combinator.Parsers$$anonfun$not$1.apply
  (Parsers.scala:703)
         at scala.util.parsing.combinator.Parsers$$anonfun$not$1.apply
  (Parsers.scala:702)
         at
  scala.util.parsing.combinator.Parsers$$anon$2.apply(Parsers.scala:
  188)
         at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap
  $1.apply(Parsers.scala:206)
         at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap
  $1.apply(Parsers.scala:206)
         at
  scala.util.parsing.combinator.Parsers$$anon$2.apply(Parsers.scala:
  188)
         at net.liftweb.util.SafeSeqParser$$anon$1.apply
  (CombParserHelpers.scala:169)
         at scala.util.parsing.combinator.Parsers$Parser$$anonfun$append
  $1.apply(Parsers.scala:214)
         at scala.util.parsing.combinator.Parsers$Parser$$anonfun$append
  $1.apply(Parsers.scala:214)
         at
  scala.util.parsing.combinator.Parsers$$anon$2.apply(Parsers.scala:
  188)
         at scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply
  (Parsers.scala:209)
         at scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply
  (Parsers.scala:209)
         at
  scala.util.parsing.combinator.Parsers$$anon$2.apply(Parsers.scala:
  188)
         at
  scala.util.parsing.combinator.Parsers$$anon$2.apply(Parsers.scala:
  188)
         at scala.util.parsing.combinator.Parsers$Success.flatMapWithNext
  (Parsers.scala:128)
         at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap
  $1.apply(Parsers.scala:206)
         at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap
  $1.apply(Parsers.scala:206)
         at
  scala.util.parsing.combinator.Parsers$$anon$2.apply(Parsers.scala:
  188)
         at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap
  $1.apply(Parsers.scala:206)
         at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap
  $1.apply(Parsers.scala:206)
         at
  scala.util.parsing.combinator.Parsers$$anon$2.apply(Parsers.scala:
  188)
         at scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply
  (Parsers.scala:209)
         at scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply
  (Parsers.scala:209)
         at
  scala.util.parsing.combinator.Parsers$$anon$2.apply(Parsers.scala:
  188)
         at scala.util.parsing.combinator.Parsers$Parser$$anonfun$append$1$
  $anonfun$apply$1.apply(Parsers.scala:214)
         at scala.util.parsing.combinator.Parsers$Parser$$anonfun$append$1$
  $anonfun$apply$1.apply(Parsers.scala:214)
         at
  scala.util.parsing.combinator.Parsers$Failure.append(Parsers.scala:
  168)
         at scala.util.parsing.combinator.Parsers$Parser$$anonfun$append
  $1.apply(Parsers.scala:214)
         at scala.util.parsing.combinator.Parsers$Parser$$anonfun$append
  $1.apply(Parsers.scala:214)
         at
  scala.util.parsing.combinator.Parsers$$anon$2.apply(Parsers.scala:
  188)
         at scala.util.parsing.combinator.Parsers$Parser$$anonfun$append
  $1.apply(Parsers.scala:214

[Lift] jetty EOF errors with lift

2009-01-27 Thread Paul O'Rorke

Hi:  I see EOF errors in Jetty when I'm using lift.
Is this a known issue or just something that happens frequently with
Jetty or (and lift?) or am I doing something wrong that people can
advise me about because they've seen this happen before?

I'm wondering if the page is beginning to be rendered but then it gets
changed so this error happens when it's getting re-rendered.
The page that caused the error below seemed to take a while but did
eventually get rendered correctly.  It has some ajax checkboxes on it
and there are some simple logical constraints on their (boolean)
values that I'm trying to enforce.
---Paul O

[INFO] Starting jetty 6.1.15.rc2 ...
2009-01-27 21:24:44.844::INFO:  jetty-6.1.15.rc2
2009-01-27 21:24:45.135::INFO:  No Transaction manager found - if your
webapp requires one, please configure one.
2009-01-27 21:24:49.140::INFO:  Started
selectchannelconnec...@0.0.0.0:8080
[INFO] Started Jetty Server
[INFO] Starting scanner at interval of 5 seconds.
INFO - Service request (GET) / took 611 Milliseconds
INFO - Service request (GET) /classpath/blueprint/print.css took 35
Milliseconds
INFO - Service request (GET) /classpath/blueprint/plugins/fancy-type/
fancy-type.css took 40 Milliseconds
INFO - Service request (GET) /classpath/blueprint/screen.css took 46
Milliseconds
INFO - Service request (GET) /classpath/jquery.js took 59 Milliseconds
INFO - Service request (GET) /classpath/json.js took 3 Milliseconds
INFO - Service request (GET) /ajax_request/liftAjax.js took 25
Milliseconds
INFO - Service request (GET) /user_mgt/login took 77 Milliseconds
INFO - Service request (GET) /classpath/blueprint/plugins/fancy-type/
fancy-type.css took 4 Milliseconds
INFO - Service request (GET) /classpath/blueprint/screen.css took 8
Milliseconds
INFO - Service request (GET) /classpath/jquery.js took 23 Milliseconds
INFO - Service request (GET) /classpath/blueprint/print.css took 3
Milliseconds
INFO - Service request (GET) /classpath/json.js took 3 Milliseconds
INFO - Service request (GET) /ajax_request/liftAjax.js took 2
Milliseconds
INFO - Service request (POST) /user_mgt/login took 107 Milliseconds
INFO - Service request (GET) /classpath/blueprint/print.css took 2
Milliseconds
INFO - Service request (GET) /classpath/blueprint/screen.css took 3
Milliseconds
INFO - Service request (GET) /classpath/blueprint/plugins/fancy-type/
fancy-type.css took 2 Milliseconds
INFO - Service request (GET) / took 1242 Milliseconds
INFO - Service request (GET) /classpath/jquery.js took 6 Milliseconds
INFO - Service request (GET) /classpath/json.js took 4 Milliseconds
INFO - Service request (GET) /ajax_request/liftAjax.js took 3
Milliseconds
INFO - Service request (POST) /ajax_request took 66 Milliseconds
INFO - Service request (POST) /ajax_request took 402 Milliseconds
WARN - Request for /ajax_request failed null
org.mortbay.jetty.EofException
at org.mortbay.jetty.HttpGenerator.flush(HttpGenerator.java:787)
at org.mortbay.jetty.AbstractGenerator$Output.blockForOutput
(AbstractGenerator.java:550)
at org.mortbay.jetty.AbstractGenerator$Output.flush
(AbstractGenerator.java:571)
at org.mortbay.jetty.HttpConnection$Output.flush(HttpConnection.java:
947)
at org.mortbay.jetty.AbstractGenerator$Output.write
(AbstractGenerator.java:648)
at org.mortbay.jetty.AbstractGenerator$Output.write
(AbstractGenerator.java:589)
at net.liftweb.http.LiftServlet.sendResponse(LiftServlet.scala:460)
at net.liftweb.http.LiftServlet.doService(LiftServlet.scala:187)
at net.liftweb.http.LiftServlet$$anonfun$doIt$1$1.apply
(LiftServlet.scala:103)
at net.liftweb.http.LiftServlet$$anonfun$doIt$1$1.apply
(LiftServlet.scala:103)
at net.liftweb.util.TimeHelpers$class.calcTime(TimeHelpers.scala:242)
at net.liftweb.util.Helpers$.calcTime(Helpers.scala:29)
at net.liftweb.util.TimeHelpers$class.logTime(TimeHelpers.scala:251)
at net.liftweb.util.Helpers$.logTime(Helpers.scala:29)
at net.liftweb.http.LiftServlet.doIt$1(LiftServlet.scala:102)
at net.liftweb.http.LiftServlet.service(LiftServlet.scala:111)
at net.liftweb.http.LiftFilterTrait$$anonfun$doFilter$1$$anonfun$apply
$22.apply(LiftServlet.scala:497)
at net.liftweb.http.LiftFilterTrait$$anonfun$doFilter$1$$anonfun$apply
$22.apply(LiftServlet.scala:497)
at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:35)
at net.liftweb.http.URLRewriter$.doWith(Req.scala:382)
at net.liftweb.http.LiftFilterTrait$$anonfun$doFilter$1.apply
(LiftServlet.scala:496)
at net.liftweb.http.LiftFilterTrait$$anonfun$doFilter$1.apply
(LiftServlet.scala:490)
at net.liftweb.http.RequestVarHandler$$anonfun$apply$3$$anonfun$apply
$4$$anonfun$apply$5.apply(Vars.scala:152)
at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:35)
at net.liftweb.http.RequestVarHandler$$anonfun$apply$3$$anonfun$apply
$4.apply(Vars.scala:151)
at 

[Lift] Re: Revised to-do tutorial

2008-12-17 Thread Paul O'Rorke

David:  thanks for the suggestion.  I did that in todo folder and got
the same errors.
then I deleted ~/.m2/net/liftweb and tried again and that seemed to
work.
the webapp runs fine now (thanks!)

I got a test failure on doing the mvn -U clean install:
It did not seem to affect anything but might be worth fixing anyway.
---Paul O

---
 T E S T S
---
Running com.liftworkshop.AppTest
[Fatal Error] :38:21: The entity nbsp was referenced, but not
declared.
Malformed XML in 1 file: src/main/webapp/index.html
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.505
sec  FAILURE!

Results :

Failed tests:
  testXml(com.liftworkshop.AppTest)

Tests run: 2, Failures: 1, Errors: 0, Skipped: 0

[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] There are test failures.










On Dec 16, 3:12 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
 Paul,

 It looks like the various Lift packages are not up to date in your Maven
 repository.

 Please do a mvn -U clean install and see if that works any better.

 Thanks,

 David

 On Tue, Dec 16, 2008 at 3:06 PM, Paul O'Rorke p...@ororke.com wrote:

  does anybody know what causes an error like value util is not a
  member of package net.liftweb?

  when I try to install this, I get the following errors/warnings.
  note that I did not use the tar'd zip but used maven and the
  instructions in the pdf.
  maybe I will try that next.
  When I create and run things using archetypeVersion 0.9 (like the
  ChoreWheel stub) they seem to work fine.  But actually when I tried
  to use my older copy of todo, it seems to be broken, now, too.
  ---Paul O

  [WARNING] /Users/Paul/dev/workspace/todo/src/main/scala/bootstrap/
  liftweb/Boot.scala:3: error: value util is not a member of package
  net.liftweb
  [WARNING] import _root_.net.liftweb.util._
  [WARNING]                           ^
  [WARNING] /Users/Paul/dev/workspace/todo/src/main/scala/bootstrap/
  liftweb/Boot.scala:8: error: value mapper is not a member of package
  net.liftweb
  [WARNING] import _root_.net.liftweb.mapper.{DB, ConnectionManager,
  Schemifier, DefaultConnectionIdentifier, ConnectionIdentifier}
  [WARNING]                           ^
  [WARNING] /Users/Paul/dev/workspace/todo/src/main/scala/com/
  liftworkshop/model/User.scala:3: error: value mapper is not a member
  of package net.liftweb
  [WARNING] import _root_.net.liftweb.mapper._
  [WARNING]                           ^
  [WARNING] /Users/Paul/dev/workspace/todo/src/main/scala/com/
  liftworkshop/model/User.scala:4: error: value util is not a member of
  package net.liftweb
  [WARNING] import _root_.net.liftweb.util._
  [WARNING]                           ^
  [WARNING] Exception in thread main java.lang.RuntimeException:
  malformed Scala signature of Loc at 3992; reference value util of
  package liftweb refers to nonexisting symbol.
  [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler
  $UnPickle.errorBadSignature(UnPickler.scala:762)
  [WARNING]       at
  scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
  $tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbol
  (UnPickler.scala:172)
  [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
  $anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$
  $readSymbolRef$1.apply(UnPickler.scala:714)
  [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
  $anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$
  $readSymbolRef$1.apply(UnPickler.scala:714)
  [WARNING]       at
  scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
  $tools$nsc$symtab$classfile$UnPickler$UnPickle$$at(UnPickler.scala:
  139)
  [WARNING]       at
  scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
  $tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef
  (UnPickler.scala:714)
  [WARNING]       at
  scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
  $tools$nsc$symtab$classfile$UnPickler$UnPickle$$readType
  (UnPickler.scala:247)
  [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
  $anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$
  $readTypeRef$1.apply(UnPickler.scala:715)
  [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
  $anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$
  $readTypeRef$1.apply(UnPickler.scala:715)
  [WARNING]       at
  scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
  $tools$nsc$symtab$classfile$UnPickler$UnPickle$$at(UnPickler.scala:
  139)
  [WARNING]       at
  scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
  $tools$nsc$symtab$classfile$UnPickler$UnPickle$$readTypeRef
  (UnPickler.scala:715)
  [WARNING]       at
  scala.tools.nsc.symtab.classfile.UnPickler

[Lift] Re: Revised to-do tutorial

2008-12-16 Thread Paul O'Rorke

does anybody know what causes an error like value util is not a
member of package net.liftweb?

when I try to install this, I get the following errors/warnings.
note that I did not use the tar'd zip but used maven and the
instructions in the pdf.
maybe I will try that next.
When I create and run things using archetypeVersion 0.9 (like the
ChoreWheel stub) they seem to work fine.  But actually when I tried
to use my older copy of todo, it seems to be broken, now, too.
---Paul O

[WARNING] /Users/Paul/dev/workspace/todo/src/main/scala/bootstrap/
liftweb/Boot.scala:3: error: value util is not a member of package
net.liftweb
[WARNING] import _root_.net.liftweb.util._
[WARNING]   ^
[WARNING] /Users/Paul/dev/workspace/todo/src/main/scala/bootstrap/
liftweb/Boot.scala:8: error: value mapper is not a member of package
net.liftweb
[WARNING] import _root_.net.liftweb.mapper.{DB, ConnectionManager,
Schemifier, DefaultConnectionIdentifier, ConnectionIdentifier}
[WARNING]   ^
[WARNING] /Users/Paul/dev/workspace/todo/src/main/scala/com/
liftworkshop/model/User.scala:3: error: value mapper is not a member
of package net.liftweb
[WARNING] import _root_.net.liftweb.mapper._
[WARNING]   ^
[WARNING] /Users/Paul/dev/workspace/todo/src/main/scala/com/
liftworkshop/model/User.scala:4: error: value util is not a member of
package net.liftweb
[WARNING] import _root_.net.liftweb.util._
[WARNING]   ^
[WARNING] Exception in thread main java.lang.RuntimeException:
malformed Scala signature of Loc at 3992; reference value util of
package liftweb refers to nonexisting symbol.
[WARNING]   at scala.tools.nsc.symtab.classfile.UnPickler
$UnPickle.errorBadSignature(UnPickler.scala:762)
[WARNING]   at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbol
(UnPickler.scala:172)
[WARNING]   at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$
$readSymbolRef$1.apply(UnPickler.scala:714)
[WARNING]   at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$
$readSymbolRef$1.apply(UnPickler.scala:714)
[WARNING]   at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
$tools$nsc$symtab$classfile$UnPickler$UnPickle$$at(UnPickler.scala:
139)
[WARNING]   at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef
(UnPickler.scala:714)
[WARNING]   at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readType
(UnPickler.scala:247)
[WARNING]   at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$
$readTypeRef$1.apply(UnPickler.scala:715)
[WARNING]   at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$
$readTypeRef$1.apply(UnPickler.scala:715)
[WARNING]   at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
$tools$nsc$symtab$classfile$UnPickler$UnPickle$$at(UnPickler.scala:
139)
[WARNING]   at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readTypeRef
(UnPickler.scala:715)
[WARNING]   at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readType
(UnPickler.scala:253)
[WARNING]   at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$
$readTypeRef$1.apply(UnPickler.scala:715)
[WARNING]   at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$
$readTypeRef$1.apply(UnPickler.scala:715)
[WARNING]   at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
$tools$nsc$symtab$classfile$UnPickler$UnPickle$$at(UnPickler.scala:
139)
[WARNING]   at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readTypeRef
(UnPickler.scala:715)
[WARNING]   at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
$anonfun$3.apply(UnPickler.scala:255)
[WARNING]   at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
$anonfun$3.apply(UnPickler.scala:255)
[WARNING]   at scala.tools.nsc.symtab.classfile.PickleBuffer.until
(PickleBuffer.scala:127)
[WARNING]   at scala.tools.nsc.symtab.classfile.PickleBuffer.until
(PickleBuffer.scala:127)
[WARNING]   at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
$tools$nsc$symtab$classfile$UnPickler$UnPickle$$readType
(UnPickler.scala:255)
[WARNING]   at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
$anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$
$readTypeRef$1.apply(UnPickler.scala:715)
[WARNING]