Comments (14)
This is very likely due to the fact that a number of implicit classes have been moved to a new internal
package. Apparently, these are not in scope anymore at one of the required places, since forcefulSet
cannot be found. It should be a simple fix.
from pickling.
Indeed, internal
does provide a forcefulSet
pimp for any FieldMirror
.
Unfortunately, it is private, so I can't just import it to make my project work.
from pickling.
Similar (duplicate?) with: #50
from pickling.
It's painful when a regression like this happens and there's no old package to fall back on, due to the transitory nature of SNAPSHOTs.
Think we could get a 0.8.0-M1 or the like when this issue is resolved?
from pickling.
I tried your tests with the latest version (of the source files, not the jar), and they seem to succeed:
[info] GenericSpickler:
[info] - stack-overflow-pickle-unpickle
[info] - possible regression
[info] Passed: Total 2, Failed 0, Errors 0, Passed 2
[success] Total time: 160 s, completed 16 oct. 2013 01:37:19
However, the one from #50 still fail.
test("Issue #50") {
case class TestA (x: Option[Int])
val a = TestA(Some(1))
assert(a.pickle.unpickle[TestA] == a)
case class TestB (x: Option[String])
val b = TestB(Some("hello"))
assert(b.pickle.unpickle[TestB] == b)
}
from pickling.
Yeah, I know :/
For some reason, I'm not able to replicate it using pickling's internal
tests (BTW, I said this in the original bug report, but I don't think I was
very clear).
I'm not sure what would be causing the discrepancy, unless the currently
published SNAPSHOT doesn't reflect the current source.
On Tue, Oct 15, 2013 at 4:38 PM, LBliss [email protected] wrote:
I tried your tests with the latest version, and they seem to pass:
[info] GenericSpickler:
[info] - stack-overflow-pickle-unpickle
[info] - possible regression
[info] Passed: Total 2, Failed 0, Errors 0, Passed 2
[success] Total time: 160 s, completed 16 oct. 2013 01:37:19—
Reply to this email directly or view it on GitHubhttps://github.com//issues/52#issuecomment-26382029
.
from pickling.
I could reproduce it on PersistentMap using the latest SNAPSHOT artifact. I submitted a PR with a fix.
from pickling.
About releases: the plan is to do periodic releases (including milestones) as soon as a decision has been made on namespace management. Expect this decision within the next couple of days.
from pickling.
RE: @emchristiansen
It's painful when a regression like this happens and there's no old package to fall back on, due to the transitory nature of SNAPSHOTs.
Think we could get a 0.8.0-M1 or the like when this issue is resolved?
We feel you. As @phaller indicated, the problem is actually namespace management and maven group IDs. We're waiting for a group of people to reach a consensus on this matter, which is unfortunately holding us back from publishing actual milestones which people can rely on. :-/
It's coming though, we're with you on this.
from pickling.
I believe all is OK for PersistentMap as well – it compiles fine, and all of the pickling tests pass (there are 3 failing SQL tests though, because I think they can't connect to some database somewhere)
from pickling.
I'm still having issues with the version on Sonatype.
As of now, the last SNAPSHOT was on Tuesday.
Is this something that requires a few hours to refresh?
BTW, you were correct in that those MySQL tests expect a Travis CI environment.
from pickling.
Yep, you'll need to wait until the next snapshot is generated and uploaded to sonatype. Should be there by tomorrow. Alternatively, if you want to test pickling right away, you can checkout pickling, from sbt run package
and copy the jar that sbt generates (sbt will tell you where it was generated) to a directory called lib
in the root of PersistentMap. After that, go to your build file in PersistentMap and comment out the pickling dependency. Sbt will find pickling in that lib
directory automatically.
from pickling.
Okay, thanks for your help!
I'm curious, though, where the publishing lag is coming from.
Are you using an automated system that builds and publishes your code each night?
Or is that how long Sonatype takes to refresh?
from pickling.
Yep, we have a jenkins job that builds, tests, and publishes pickling on a nightly basis. Though @xeno-by just pointed out to me that I could manually trigger the job (duh). That's been done, so the sonatype jar should now be current :)
from pickling.
Related Issues (20)
- Improve performance of implicit search HOT 3
- StaticOnly should be enabled by default HOT 2
- Refined types should be supported HOT 1
- Cut first milestone release HOT 13
- Add picklers and unpickler for Nothing HOT 1
- Variadic arguments for case class HOT 4
- Remove patmat warnings HOT 1
- Can't unpickle ValueSet HOT 2
- Pickling 0.10.2-SNAPSHOT for Scala 2.10
- Compile time serialisation failing for nested case classes with Scala 2.10.6 HOT 2
- Error when saving a Map of Int and a Composite
- java.lang.VerifyError: Bad type on operand stack while encapsulating Pickler
- Some macro in PicklerUnpickler is not serializable
- Deserialization in incorrect type
- Consider dropping or updating the link to http://lampwww.epfl.ch/~hmiller/pickling
- Unpickle without specifying type HOT 1
- Is this project abandoned? HOT 14
- Incorrect handling of Option[xxx] if None HOT 13
- val from trait not pickled
- Pickling fails with a weird issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pickling.