
running yesod with the mini option caused some problems. I got complaints of not being able to find Settings.hs, so I made some changes to the import statements. Also, I changed the directory config to Config to accommodate my changes. Here's what the import sections look like now Aframe.hs module Aframe ( Aframe (..) , AframeRoute (..) , resourcesAframe , Handler , Widget , module Yesod.Core , module Config.Settings <---- made a change here , StaticRoute (..) , lift , liftIO ) where import Yesod.Core import Yesod.Helpers.Static import qualified Config.Settings as Settings <---- made a change here import System.Directory import qualified Data.ByteString.Lazy as L import Config.Settings (hamletFile, cassiusFile, juliusFile, widgetFile) <----- made a change here import Config.StaticFiles <----- made a change here import Control.Monad (unless) Controller.hs {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-orphans #-} module Controller ( withAframe , withDevelApp ) where import Aframe import qualified Config.Settings as Settings <---- made a change here import Yesod.Helpers.Static import Data.ByteString (ByteString) import Network.Wai (Application) import Data.Dynamic (Dynamic, toDyn) that said, I get out of scope errors when I try to run the scaffolding generated code mlitchard@apotheosis:~/repository/Aframe$ wai-handler-devel 3000 Aframe withDevelApp Attempting to interpret your app... Compile failed: Not in scope: `withDevelApp' also get the same problem when trying withAframe I can't see the reason for the out of scope problem. I think it has to do with the changes I made. Anything suspicious pop out for anyone?

Put into your .ghci file option :set -i./:config Then ghci will be able to find files in config subfolder. Other way to fix it is simply move Settings and StaticFiles files from config to root folder. On Tuesday, April 26, 2011 03:21:12 PM you wrote:
running yesod with the mini option caused some problems. I got complaints of not being able to find Settings.hs, so I made some changes to the import statements. Also, I changed the directory config to Config to accommodate my changes.
Here's what the import sections look like now
Aframe.hs
module Aframe ( Aframe (..) , AframeRoute (..) , resourcesAframe , Handler , Widget , module Yesod.Core , module Config.Settings <---- made a change here , StaticRoute (..) , lift , liftIO ) where
import Yesod.Core import Yesod.Helpers.Static import qualified Config.Settings as Settings <---- made a change here import System.Directory import qualified Data.ByteString.Lazy as L import Config.Settings (hamletFile, cassiusFile, juliusFile, widgetFile) <----- made a change here import Config.StaticFiles <----- made a change here import Control.Monad (unless)
Controller.hs {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-orphans #-} module Controller ( withAframe , withDevelApp ) where
import Aframe import qualified Config.Settings as Settings <---- made a change here import Yesod.Helpers.Static import Data.ByteString (ByteString) import Network.Wai (Application) import Data.Dynamic (Dynamic, toDyn)
that said, I get out of scope errors when I try to run the scaffolding generated code
mlitchard@apotheosis:~/repository/Aframe$ wai-handler-devel 3000 Aframe withDevelApp Attempting to interpret your app... Compile failed:
Not in scope: `withDevelApp'
also get the same problem when trying withAframe
I can't see the reason for the out of scope problem. I think it has to do with the changes I made. Anything suspicious pop out for anyone?
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel

Still have the original problem. I'd like to keep the directory
structure the way it is
mlitchard@apotheosis:~/repository/Aframe$ wai-handler-devel 3000
Aframe withDevelApp
Attempting to interpret your app...
Compile failed:
Could not find module `StaticFiles':
Use -v to see a list of the files searched for.
cat .ghci
:set -i ./:config
mlitchard@apotheosis:~$ pwd
/home/mlitchard
Any other ideas? I could make the directory structure flat, but I
think the way it is is the right way to organize things.
On Tue, Apr 26, 2011 at 3:23 PM,
Put into your .ghci file option :set -i./:config
Then ghci will be able to find files in config subfolder.
Other way to fix it is simply move Settings and StaticFiles files from config to root folder.
On Tuesday, April 26, 2011 03:21:12 PM you wrote:
running yesod with the mini option caused some problems. I got complaints of not being able to find Settings.hs, so I made some changes to the import statements. Also, I changed the directory config to Config to accommodate my changes.
Here's what the import sections look like now
Aframe.hs
module Aframe ( Aframe (..) , AframeRoute (..) , resourcesAframe , Handler , Widget , module Yesod.Core , module Config.Settings <---- made a change here , StaticRoute (..) , lift , liftIO ) where
import Yesod.Core import Yesod.Helpers.Static import qualified Config.Settings as Settings <---- made a change here import System.Directory import qualified Data.ByteString.Lazy as L import Config.Settings (hamletFile, cassiusFile, juliusFile, widgetFile) <----- made a change here import Config.StaticFiles <----- made a change here import Control.Monad (unless)
Controller.hs {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-orphans #-} module Controller ( withAframe , withDevelApp ) where
import Aframe import qualified Config.Settings as Settings <---- made a change here import Yesod.Helpers.Static import Data.ByteString (ByteString) import Network.Wai (Application) import Data.Dynamic (Dynamic, toDyn)
that said, I get out of scope errors when I try to run the scaffolding generated code
mlitchard@apotheosis:~/repository/Aframe$ wai-handler-devel 3000 Aframe withDevelApp Attempting to interpret your app... Compile failed:
Not in scope: `withDevelApp'
also get the same problem when trying withAframe
I can't see the reason for the out of scope problem. I think it has to do with the changes I made. Anything suspicious pop out for anyone?
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel

On Wed, Apr 27, 2011 at 1:21 AM, Michael Litchard
running yesod with the mini option caused some problems. I got complaints of not being able to find Settings.hs, so I made some changes to the import statements. Also, I changed the directory config to Config to accommodate my changes.
Here's what the import sections look like now
Aframe.hs
module Aframe ( Aframe (..) , AframeRoute (..) , resourcesAframe , Handler , Widget , module Yesod.Core , module Config.Settings <---- made a change here , StaticRoute (..) , lift , liftIO ) where
import Yesod.Core import Yesod.Helpers.Static import qualified Config.Settings as Settings <---- made a change here import System.Directory import qualified Data.ByteString.Lazy as L import Config.Settings (hamletFile, cassiusFile, juliusFile, widgetFile) <----- made a change here import Config.StaticFiles <----- made a change here import Control.Monad (unless)
Controller.hs {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-orphans #-} module Controller ( withAframe , withDevelApp ) where
import Aframe import qualified Config.Settings as Settings <---- made a change here import Yesod.Helpers.Static import Data.ByteString (ByteString) import Network.Wai (Application) import Data.Dynamic (Dynamic, toDyn)
that said, I get out of scope errors when I try to run the scaffolding generated code
mlitchard@apotheosis:~/repository/Aframe$ wai-handler-devel 3000 Aframe withDevelApp Attempting to interpret your app... Compile failed:
Not in scope: `withDevelApp'
also get the same problem when trying withAframe
I can't see the reason for the out of scope problem. I think it has to do with the changes I made. Anything suspicious pop out for anyone?
I think you want to use wai-handler-devel 3000 Controller withAframe Michael

Tried that, exact same problem. Is there a way to get more information
to see what's going on?
On Tue, Apr 26, 2011 at 9:16 PM, Michael Snoyman
On Wed, Apr 27, 2011 at 1:21 AM, Michael Litchard
wrote: running yesod with the mini option caused some problems. I got complaints of not being able to find Settings.hs, so I made some changes to the import statements. Also, I changed the directory config to Config to accommodate my changes.
Here's what the import sections look like now
Aframe.hs
module Aframe ( Aframe (..) , AframeRoute (..) , resourcesAframe , Handler , Widget , module Yesod.Core , module Config.Settings <---- made a change here , StaticRoute (..) , lift , liftIO ) where
import Yesod.Core import Yesod.Helpers.Static import qualified Config.Settings as Settings <---- made a change here import System.Directory import qualified Data.ByteString.Lazy as L import Config.Settings (hamletFile, cassiusFile, juliusFile, widgetFile) <----- made a change here import Config.StaticFiles <----- made a change here import Control.Monad (unless)
Controller.hs {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-orphans #-} module Controller ( withAframe , withDevelApp ) where
import Aframe import qualified Config.Settings as Settings <---- made a change here import Yesod.Helpers.Static import Data.ByteString (ByteString) import Network.Wai (Application) import Data.Dynamic (Dynamic, toDyn)
that said, I get out of scope errors when I try to run the scaffolding generated code
mlitchard@apotheosis:~/repository/Aframe$ wai-handler-devel 3000 Aframe withDevelApp Attempting to interpret your app... Compile failed:
Not in scope: `withDevelApp'
also get the same problem when trying withAframe
I can't see the reason for the out of scope problem. I think it has to do with the changes I made. Anything suspicious pop out for anyone?
I think you want to use wai-handler-devel 3000 Controller withAframe
Michael

Thanks for the fast fix. I'm afraid there is a similar problem with yesod-auth: Yesod/Helpers/Auth.hs:177:35: Not in scope: `toSinglePiece' Yesod/Helpers/Auth.hs:234:28: Not in scope: `fromSinglePiece' Updating documentation index /Users/darkunicorn/Library/Haskell/doc/index.html cabal: Error: some packages failed to install: yesod-0.8.0 depends on yesod-auth-0.4.0 which failed to install. yesod-auth-0.4.0 failed during the building phase. The exception was: ExitFailure 1 Sven Am 27.04.2011 um 22:52 schrieb Michael Litchard:
Tried that, exact same problem. Is there a way to get more information to see what's going on?
On Tue, Apr 26, 2011 at 9:16 PM, Michael Snoyman
wrote: On Wed, Apr 27, 2011 at 1:21 AM, Michael Litchard
wrote: running yesod with the mini option caused some problems. I got complaints of not being able to find Settings.hs, so I made some changes to the import statements. Also, I changed the directory config to Config to accommodate my changes.
Here's what the import sections look like now
Aframe.hs
module Aframe ( Aframe (..) , AframeRoute (..) , resourcesAframe , Handler , Widget , module Yesod.Core , module Config.Settings <---- made a change here , StaticRoute (..) , lift , liftIO ) where
import Yesod.Core import Yesod.Helpers.Static import qualified Config.Settings as Settings <---- made a change here import System.Directory import qualified Data.ByteString.Lazy as L import Config.Settings (hamletFile, cassiusFile, juliusFile, widgetFile) <----- made a change here import Config.StaticFiles <----- made a change here import Control.Monad (unless)
Controller.hs {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-orphans #-} module Controller ( withAframe , withDevelApp ) where
import Aframe import qualified Config.Settings as Settings <---- made a change here import Yesod.Helpers.Static import Data.ByteString (ByteString) import Network.Wai (Application) import Data.Dynamic (Dynamic, toDyn)
that said, I get out of scope errors when I try to run the scaffolding generated code
mlitchard@apotheosis:~/repository/Aframe$ wai-handler-devel 3000 Aframe withDevelApp Attempting to interpret your app... Compile failed:
Not in scope: `withDevelApp'
also get the same problem when trying withAframe
I can't see the reason for the out of scope problem. I think it has to do with the changes I made. Anything suspicious pop out for anyone?
I think you want to use wai-handler-devel 3000 Controller withAframe
Michael
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel

Should be fixed with yesod-auth-0.4.0.1. Thanks for catching this as well ;).
Michael
On Thu, Apr 28, 2011 at 11:12 AM, Sven Koschnicke
Thanks for the fast fix. I'm afraid there is a similar problem with yesod-auth:
Yesod/Helpers/Auth.hs:177:35: Not in scope: `toSinglePiece'
Yesod/Helpers/Auth.hs:234:28: Not in scope: `fromSinglePiece' Updating documentation index /Users/darkunicorn/Library/Haskell/doc/index.html cabal: Error: some packages failed to install: yesod-0.8.0 depends on yesod-auth-0.4.0 which failed to install. yesod-auth-0.4.0 failed during the building phase. The exception was: ExitFailure 1
Sven
Am 27.04.2011 um 22:52 schrieb Michael Litchard:
Tried that, exact same problem. Is there a way to get more information to see what's going on?
On Tue, Apr 26, 2011 at 9:16 PM, Michael Snoyman
wrote: On Wed, Apr 27, 2011 at 1:21 AM, Michael Litchard
wrote: running yesod with the mini option caused some problems. I got complaints of not being able to find Settings.hs, so I made some changes to the import statements. Also, I changed the directory config to Config to accommodate my changes.
Here's what the import sections look like now
Aframe.hs
module Aframe ( Aframe (..) , AframeRoute (..) , resourcesAframe , Handler , Widget , module Yesod.Core , module Config.Settings <---- made a change here , StaticRoute (..) , lift , liftIO ) where
import Yesod.Core import Yesod.Helpers.Static import qualified Config.Settings as Settings <---- made a change here import System.Directory import qualified Data.ByteString.Lazy as L import Config.Settings (hamletFile, cassiusFile, juliusFile, widgetFile) <----- made a change here import Config.StaticFiles <----- made a change here import Control.Monad (unless)
Controller.hs {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-orphans #-} module Controller ( withAframe , withDevelApp ) where
import Aframe import qualified Config.Settings as Settings <---- made a change here import Yesod.Helpers.Static import Data.ByteString (ByteString) import Network.Wai (Application) import Data.Dynamic (Dynamic, toDyn)
that said, I get out of scope errors when I try to run the scaffolding generated code
mlitchard@apotheosis:~/repository/Aframe$ wai-handler-devel 3000 Aframe withDevelApp Attempting to interpret your app... Compile failed:
Not in scope: `withDevelApp'
also get the same problem when trying withAframe
I can't see the reason for the out of scope problem. I think it has to do with the changes I made. Anything suspicious pop out for anyone?
I think you want to use wai-handler-devel 3000 Controller withAframe
Michael
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel

I'm confused as to what got fixed. Hoogle says that yesod is still on 0.8.0
On Thu, Apr 28, 2011 at 1:12 AM, Sven Koschnicke
Thanks for the fast fix. I'm afraid there is a similar problem with yesod-auth:
Yesod/Helpers/Auth.hs:177:35: Not in scope: `toSinglePiece'
Yesod/Helpers/Auth.hs:234:28: Not in scope: `fromSinglePiece' Updating documentation index /Users/darkunicorn/Library/Haskell/doc/index.html cabal: Error: some packages failed to install: yesod-0.8.0 depends on yesod-auth-0.4.0 which failed to install. yesod-auth-0.4.0 failed during the building phase. The exception was: ExitFailure 1
Sven
Am 27.04.2011 um 22:52 schrieb Michael Litchard:
Tried that, exact same problem. Is there a way to get more information to see what's going on?
On Tue, Apr 26, 2011 at 9:16 PM, Michael Snoyman
wrote: On Wed, Apr 27, 2011 at 1:21 AM, Michael Litchard
wrote: running yesod with the mini option caused some problems. I got complaints of not being able to find Settings.hs, so I made some changes to the import statements. Also, I changed the directory config to Config to accommodate my changes.
Here's what the import sections look like now
Aframe.hs
module Aframe ( Aframe (..) , AframeRoute (..) , resourcesAframe , Handler , Widget , module Yesod.Core , module Config.Settings <---- made a change here , StaticRoute (..) , lift , liftIO ) where
import Yesod.Core import Yesod.Helpers.Static import qualified Config.Settings as Settings <---- made a change here import System.Directory import qualified Data.ByteString.Lazy as L import Config.Settings (hamletFile, cassiusFile, juliusFile, widgetFile) <----- made a change here import Config.StaticFiles <----- made a change here import Control.Monad (unless)
Controller.hs {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-orphans #-} module Controller ( withAframe , withDevelApp ) where
import Aframe import qualified Config.Settings as Settings <---- made a change here import Yesod.Helpers.Static import Data.ByteString (ByteString) import Network.Wai (Application) import Data.Dynamic (Dynamic, toDyn)
that said, I get out of scope errors when I try to run the scaffolding generated code
mlitchard@apotheosis:~/repository/Aframe$ wai-handler-devel 3000 Aframe withDevelApp Attempting to interpret your app... Compile failed:
Not in scope: `withDevelApp'
also get the same problem when trying withAframe
I can't see the reason for the out of scope problem. I think it has to do with the changes I made. Anything suspicious pop out for anyone?
I think you want to use wai-handler-devel 3000 Controller withAframe
Michael
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel

Oops, I meant to respond to this one.
I'm confused as to what got fixed. Hoogle says that yesod is still on 0.8.0
On Thu, Apr 28, 2011 at 1:12 AM, Sven Koschnicke
Thanks for the fast fix. I'm afraid there is a similar problem with yesod-auth:
Yesod/Helpers/Auth.hs:177:35: Not in scope: `toSinglePiece'
Yesod/Helpers/Auth.hs:234:28: Not in scope: `fromSinglePiece' Updating documentation index /Users/darkunicorn/Library/Haskell/doc/index.html cabal: Error: some packages failed to install: yesod-0.8.0 depends on yesod-auth-0.4.0 which failed to install. yesod-auth-0.4.0 failed during the building phase. The exception was: ExitFailure 1
Sven
Am 27.04.2011 um 22:52 schrieb Michael Litchard:
Tried that, exact same problem. Is there a way to get more information to see what's going on?
On Tue, Apr 26, 2011 at 9:16 PM, Michael Snoyman
wrote: On Wed, Apr 27, 2011 at 1:21 AM, Michael Litchard
wrote: running yesod with the mini option caused some problems. I got complaints of not being able to find Settings.hs, so I made some changes to the import statements. Also, I changed the directory config to Config to accommodate my changes.
Here's what the import sections look like now
Aframe.hs
module Aframe ( Aframe (..) , AframeRoute (..) , resourcesAframe , Handler , Widget , module Yesod.Core , module Config.Settings <---- made a change here , StaticRoute (..) , lift , liftIO ) where
import Yesod.Core import Yesod.Helpers.Static import qualified Config.Settings as Settings <---- made a change here import System.Directory import qualified Data.ByteString.Lazy as L import Config.Settings (hamletFile, cassiusFile, juliusFile, widgetFile) <----- made a change here import Config.StaticFiles <----- made a change here import Control.Monad (unless)
Controller.hs {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-orphans #-} module Controller ( withAframe , withDevelApp ) where
import Aframe import qualified Config.Settings as Settings <---- made a change here import Yesod.Helpers.Static import Data.ByteString (ByteString) import Network.Wai (Application) import Data.Dynamic (Dynamic, toDyn)
that said, I get out of scope errors when I try to run the scaffolding generated code
mlitchard@apotheosis:~/repository/Aframe$ wai-handler-devel 3000 Aframe withDevelApp Attempting to interpret your app... Compile failed:
Not in scope: `withDevelApp'
also get the same problem when trying withAframe
I can't see the reason for the out of scope problem. I think it has to do with the changes I made. Anything suspicious pop out for anyone?
I think you want to use wai-handler-devel 3000 Controller withAframe
Michael
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel

There are lots of underlying packages. yesod-auth and yesod-form both
got updated.
On Thu, Apr 28, 2011 at 10:20 PM, Michael Litchard
Oops, I meant to respond to this one. I'm confused as to what got fixed. Hoogle says that yesod is still on 0.8.0
On Thu, Apr 28, 2011 at 1:12 AM, Sven Koschnicke
wrote: Thanks for the fast fix. I'm afraid there is a similar problem with yesod-auth:
Yesod/Helpers/Auth.hs:177:35: Not in scope: `toSinglePiece'
Yesod/Helpers/Auth.hs:234:28: Not in scope: `fromSinglePiece' Updating documentation index /Users/darkunicorn/Library/Haskell/doc/index.html cabal: Error: some packages failed to install: yesod-0.8.0 depends on yesod-auth-0.4.0 which failed to install. yesod-auth-0.4.0 failed during the building phase. The exception was: ExitFailure 1
Sven
Am 27.04.2011 um 22:52 schrieb Michael Litchard:
Tried that, exact same problem. Is there a way to get more information to see what's going on?
On Tue, Apr 26, 2011 at 9:16 PM, Michael Snoyman
wrote: On Wed, Apr 27, 2011 at 1:21 AM, Michael Litchard
wrote: running yesod with the mini option caused some problems. I got complaints of not being able to find Settings.hs, so I made some changes to the import statements. Also, I changed the directory config to Config to accommodate my changes.
Here's what the import sections look like now
Aframe.hs
module Aframe ( Aframe (..) , AframeRoute (..) , resourcesAframe , Handler , Widget , module Yesod.Core , module Config.Settings <---- made a change here , StaticRoute (..) , lift , liftIO ) where
import Yesod.Core import Yesod.Helpers.Static import qualified Config.Settings as Settings <---- made a change here import System.Directory import qualified Data.ByteString.Lazy as L import Config.Settings (hamletFile, cassiusFile, juliusFile, widgetFile) <----- made a change here import Config.StaticFiles <----- made a change here import Control.Monad (unless)
Controller.hs {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-orphans #-} module Controller ( withAframe , withDevelApp ) where
import Aframe import qualified Config.Settings as Settings <---- made a change here import Yesod.Helpers.Static import Data.ByteString (ByteString) import Network.Wai (Application) import Data.Dynamic (Dynamic, toDyn)
that said, I get out of scope errors when I try to run the scaffolding generated code
mlitchard@apotheosis:~/repository/Aframe$ wai-handler-devel 3000 Aframe withDevelApp Attempting to interpret your app... Compile failed:
Not in scope: `withDevelApp'
also get the same problem when trying withAframe
I can't see the reason for the out of scope problem. I think it has to do with the changes I made. Anything suspicious pop out for anyone?
I think you want to use wai-handler-devel 3000 Controller withAframe
Michael
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel

But the problem I reported didn't get fixed. Will I just have to use a
flat directory structure for now?
On Thu, Apr 28, 2011 at 12:39 PM, Michael Snoyman
There are lots of underlying packages. yesod-auth and yesod-form both got updated.
On Thu, Apr 28, 2011 at 10:20 PM, Michael Litchard
wrote: Oops, I meant to respond to this one. I'm confused as to what got fixed. Hoogle says that yesod is still on 0.8.0
On Thu, Apr 28, 2011 at 1:12 AM, Sven Koschnicke
wrote: Thanks for the fast fix. I'm afraid there is a similar problem with yesod-auth:
Yesod/Helpers/Auth.hs:177:35: Not in scope: `toSinglePiece'
Yesod/Helpers/Auth.hs:234:28: Not in scope: `fromSinglePiece' Updating documentation index /Users/darkunicorn/Library/Haskell/doc/index.html cabal: Error: some packages failed to install: yesod-0.8.0 depends on yesod-auth-0.4.0 which failed to install. yesod-auth-0.4.0 failed during the building phase. The exception was: ExitFailure 1
Sven
Am 27.04.2011 um 22:52 schrieb Michael Litchard:
Tried that, exact same problem. Is there a way to get more information to see what's going on?
On Tue, Apr 26, 2011 at 9:16 PM, Michael Snoyman
wrote: On Wed, Apr 27, 2011 at 1:21 AM, Michael Litchard
wrote: running yesod with the mini option caused some problems. I got complaints of not being able to find Settings.hs, so I made some changes to the import statements. Also, I changed the directory config to Config to accommodate my changes.
Here's what the import sections look like now
Aframe.hs
module Aframe ( Aframe (..) , AframeRoute (..) , resourcesAframe , Handler , Widget , module Yesod.Core , module Config.Settings <---- made a change here , StaticRoute (..) , lift , liftIO ) where
import Yesod.Core import Yesod.Helpers.Static import qualified Config.Settings as Settings <---- made a change here import System.Directory import qualified Data.ByteString.Lazy as L import Config.Settings (hamletFile, cassiusFile, juliusFile, widgetFile) <----- made a change here import Config.StaticFiles <----- made a change here import Control.Monad (unless)
Controller.hs {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-orphans #-} module Controller ( withAframe , withDevelApp ) where
import Aframe import qualified Config.Settings as Settings <---- made a change here import Yesod.Helpers.Static import Data.ByteString (ByteString) import Network.Wai (Application) import Data.Dynamic (Dynamic, toDyn)
that said, I get out of scope errors when I try to run the scaffolding generated code
mlitchard@apotheosis:~/repository/Aframe$ wai-handler-devel 3000 Aframe withDevelApp Attempting to interpret your app... Compile failed:
Not in scope: `withDevelApp'
also get the same problem when trying withAframe
I can't see the reason for the out of scope problem. I think it has to do with the changes I made. Anything suspicious pop out for anyone?
I think you want to use wai-handler-devel 3000 Controller withAframe
Michael
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel

Meh. I just realized my project is so small I don't actually need ghci
and cabal works fine on the scaffolding code.
On Thu, Apr 28, 2011 at 2:56 PM, Michael Litchard
But the problem I reported didn't get fixed. Will I just have to use a flat directory structure for now?
On Thu, Apr 28, 2011 at 12:39 PM, Michael Snoyman
wrote: There are lots of underlying packages. yesod-auth and yesod-form both got updated.
On Thu, Apr 28, 2011 at 10:20 PM, Michael Litchard
wrote: Oops, I meant to respond to this one. I'm confused as to what got fixed. Hoogle says that yesod is still on 0.8.0
On Thu, Apr 28, 2011 at 1:12 AM, Sven Koschnicke
wrote: Thanks for the fast fix. I'm afraid there is a similar problem with yesod-auth:
Yesod/Helpers/Auth.hs:177:35: Not in scope: `toSinglePiece'
Yesod/Helpers/Auth.hs:234:28: Not in scope: `fromSinglePiece' Updating documentation index /Users/darkunicorn/Library/Haskell/doc/index.html cabal: Error: some packages failed to install: yesod-0.8.0 depends on yesod-auth-0.4.0 which failed to install. yesod-auth-0.4.0 failed during the building phase. The exception was: ExitFailure 1
Sven
Am 27.04.2011 um 22:52 schrieb Michael Litchard:
Tried that, exact same problem. Is there a way to get more information to see what's going on?
On Tue, Apr 26, 2011 at 9:16 PM, Michael Snoyman
wrote: On Wed, Apr 27, 2011 at 1:21 AM, Michael Litchard
wrote: > running yesod with the mini option caused some problems. I got > complaints of not being able to find Settings.hs, so I made some > changes to the import statements. > Also, I changed the directory config to Config to accommodate my changes. > > Here's what the import sections look like now > > Aframe.hs > > module Aframe > ( Aframe (..) > , AframeRoute (..) > , resourcesAframe > , Handler > , Widget > , module Yesod.Core > , module Config.Settings <---- made a change here > , StaticRoute (..) > , lift > , liftIO > ) where > > import Yesod.Core > import Yesod.Helpers.Static > import qualified Config.Settings as Settings <---- made a change here > import System.Directory > import qualified Data.ByteString.Lazy as L > import Config.Settings (hamletFile, cassiusFile, juliusFile, > widgetFile) <----- made a change here > import Config.StaticFiles <----- made a change here > import Control.Monad (unless) > > > Controller.hs > {-# LANGUAGE TemplateHaskell #-} > {-# LANGUAGE MultiParamTypeClasses #-} > {-# LANGUAGE OverloadedStrings #-} > {-# OPTIONS_GHC -fno-warn-orphans #-} > module Controller > ( withAframe > , withDevelApp > ) where > > import Aframe > import qualified Config.Settings as Settings <---- made a change here > import Yesod.Helpers.Static > import Data.ByteString (ByteString) > import Network.Wai (Application) > import Data.Dynamic (Dynamic, toDyn) > > > that said, I get out of scope errors when I try to run the scaffolding > generated code > > mlitchard@apotheosis:~/repository/Aframe$ wai-handler-devel 3000 > Aframe withDevelApp > Attempting to interpret your app... > Compile failed: > > Not in scope: `withDevelApp' > > also get the same problem when trying withAframe > > I can't see the reason for the out of scope problem. I think it has to > do with the changes I made. Anything suspicious pop out for anyone? > I think you want to use wai-handler-devel 3000 Controller withAframe
Michael
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel
participants (4)
-
Michael Litchard
-
Michael Snoyman
-
Sven Koschnicke
-
vagif.verdi@gmail.com