Seems I pasted the wrong gist-link, I meant: 
https://gist.github.com/ktoso/32e8e098616ddd3e9776 (green in intellij for me).
In general if you see errors about being unable to find a matching method for 
~> types are wrong between the inlet/outlet.

-- 
Cheers,
Konrad 'ktoso’ Malawski
Akka @ Typesafe

On 2 May 2015 at 22:09:28, Simone Scarduzio ([email protected]) wrote:

Hey nevermind, I made it work!

https://gist.github.com/sscarduzio/7b65ecc3685bbe335e6b#file-workinggraph-scala

Wohoo! ;)

IntelliJ still gives me all kinds of errors. I guess it's about corrupted 
cache. 
Once again, my golden rule is confirmed: only trust sbt compile output.

_S


On Sat, May 2, 2015 at 8:47 PM, Simone Scarduzio <[email protected]> wrote:
Hi Konrad,

Unfortunately I have problems to see your changes, when I click your gist link 
I see identical code to mine. 

_S

On Sat, May 2, 2015 at 7:38 PM, Konrad Malawski <[email protected]> 
wrote:
Seems you forgot to extend RawDocument in Document, which manifested itself in 
being unable to wire up flows of not-compatible types.
I forked and fixed the minor typos in your code: 
https://gist.github.com/ktoso/8140969c4aead4103317

Happy hakking, I hope you’ll enjoy Akka Streams as much as we do :-)


-- 
Cheers,
Konrad 'ktoso’ Malawski
Akka @ Typesafe

On 2 May 2015 at 20:24:40, Simone Scarduzio ([email protected]) wrote:

Hey Konrad, 

Thanks for the fast reply. I made a summary of my problem in this gist.

https://gist.github.com/sscarduzio/7b65ecc3685bbe335e6b

Also the code from github is not working, it must be some problem with my 
environment :(

_S

On Sat, May 2, 2015 at 7:04 PM, Konrad Malawski <[email protected]> 
wrote:
Hi Simone!
All examples in the docs are compiled and tested before we release them, so let 
ma assure you the code is valid.

The entire code is listed here if you’d like to have a look at the complete 
file: 
https://github.com/akka/akka/blob/release-2.3-dev/akka-docs-dev/rst/scala/code/docs/stream/TwitterStreamQuickstartDocSpec.scala

Can you paste the code snippet which you have trouble getting to work?
Are you sure you are using the `akka.stream.scaladsl.FlowGraph` and not the 
javadsl one? (javadsl understandably does not have Implicits).

-- 
Cheers,
Konrad 'ktoso’ Malawski
Akka @ Typesafe

On 2 May 2015 at 20:01:07, Simone Scarduzio ([email protected]) wrote:

Hi all,

I'm a beginner with Akka Stream, but I found a couple of problems trying to 
compile the quick start example provided in the docs.
FlowGraph does not have a closed() method
FlowGraph.Implicits does not exist
I'm using this sbt dependency:

"com.typesafe.akka" %% "akka-stream-experimental" % "1.0-RC2"


Thanks for your help,

_Simone
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.



-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to