Skip to content

Jyson - 1st arg can't be coerced to org.python.core.PyObject[] #75

@1stpoint

Description

@1stpoint

I have a jython program that runs fine on windows but when I migrate it to linux I get
1st arg can't be coerced to org.python.core.PyObject[]
I am using the jyson 1.0.2 library.

Here is the code:

import urllib
import java.sql as sql
import java.lang as lang
import com.xhaus.jyson as Jyson
import sys

source urls, either single or full pull

url="http://dev-dsafdasfdsfsdfsdfsda"

open connection to url and read data and use json function to convert it to python object

json=Jyson.JysonCodec()
json_url = urllib.urlopen(url)
jsondata = json.loads(json_url.read(),{})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions