Coder Social home page Coder Social logo

Comments (6)

simonw avatar simonw commented on June 21, 2024 2

https://datasette.io/desktop has the new release.

from datasette-app.

simonw avatar simonw commented on June 21, 2024 1

This is now fixed.

from datasette-app.

robbi5 avatar robbi5 commented on June 21, 2024

Looks like the update check in datasette-app-support broke with simonw/datasette.io@ee3fc29, the resulting json from https://datasette.io/content/plugins.json?_shape=array&_size=max doesn't contain a tag_name element for the plugins anymore, it is now called name:1.

With the Fix in simonw/datasette-app-support#20, now an empty string is used as a version string, which packaging.Version doesn't like.

from datasette-app.

madhavajay avatar madhavajay commented on June 21, 2024

I'm getting this hanging issue to. I am on Apple Silicon.

/Applications/Datasette.app/Contents/MacOS/Datasette
2023-02-13 11:57:06.669 Datasette[51860:1001494] NSDocumentController Info.plist warning: The values of CFBundleTypeRole entries must be 'Editor', 'Viewer', 'None', or 'Shell'.
feedURL https://update.electronjs.org/simonw/datasette-app/darwin-x64/0.2.2
requestHeaders { 'User-Agent': 'update-electron-app/2.0.1 (darwin: x64)' }
objc[51861]: Class WebSwapCGLLayer is implemented in both /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/Frameworks/libANGLE-shared.dylib (0x7ffa5ce1b5a0) and /Applications/Datasette.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libGLESv2.dylib (0x10e49cce0). One of the two will be used. Which one is undefined.
/Users/madhavajay/.datasette-app/venv/bin/python3.9 [ '--version' ]
checking-for-update
/Users/madhavajay/.datasette-app/venv/bin/python3.9 [ '--version' ]
/Users/madhavajay/.datasette-app/venv/bin/pip [
  'install',
  'datasette>=0.59',
  'datasette-app-support>=0.11.6',
  'datasette-vega>=0.6.2',
  'datasette-cluster-map>=0.17.1',
  'datasette-pretty-json>=0.2.1',
  'datasette-edit-schema>=0.4',
  'datasette-configure-fts>=1.1',
  'datasette-leaflet>=0.2.2',
  '--disable-pip-version-check'
]
update-not-available
{
  message: 'Traceback (most recent call last):',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.723Z
}
{
  message: '  File "/Users/madhavajay/.datasette-app/venv/bin/datasette", line 8, in <module>',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.725Z
}
{
  message: '    sys.exit(cli())',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.730Z
}
{
  message: '  File "/Users/madhavajay/.datasette-app/venv/lib/python3.9/site-packages/click/core.py", line 1130, in __call__',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.730Z
}
{
  message: '    return self.main(*args, **kwargs)',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.731Z
}
{
  message: '  File "/Users/madhavajay/.datasette-app/venv/lib/python3.9/site-packages/click/core.py", line 1055, in main',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.732Z
}
{
  message: '    rv = self.invoke(ctx)',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.733Z
}
{
  message: '  File "/Users/madhavajay/.datasette-app/venv/lib/python3.9/site-packages/click/core.py", line 1657, in invoke',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.733Z
}
{
  message: '    return _process_result(sub_ctx.command.invoke(sub_ctx))',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.735Z
}
{
  message: '  File "/Users/madhavajay/.datasette-app/venv/lib/python3.9/site-packages/click/core.py", line 1404, in invoke',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.738Z
}
{
  message: '    return ctx.invoke(self.callback, **ctx.params)',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.739Z
}
{
  message: '  File "/Users/madhavajay/.datasette-app/venv/lib/python3.9/site-packages/click/core.py", line 760, in invoke',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.741Z
}
{
  message: '    return __callback(*args, **kwargs)',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.742Z
}
{
  message: '  File "/Users/madhavajay/.datasette-app/venv/lib/python3.9/site-packages/datasette/cli.py", line 143, in wrapped',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.742Z
}
{
  message: '    return fn(*args, **kwargs)',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.742Z
}
{
  message: '  File "/Users/madhavajay/.datasette-app/venv/lib/python3.9/site-packages/datasette/cli.py", line 612, in serve',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.742Z
}
{
  message: '    asyncio.get_event_loop().run_until_complete(ds.invoke_startup())',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.742Z
}
{
  message: '  File "/Applications/Datasette.app/Contents/Resources/python/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.744Z
}
{
  message: '    return future.result()',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.746Z
}
{
  message: '  File "/Users/madhavajay/.datasette-app/venv/lib/python3.9/site-packages/datasette/app.py", line 412, in invoke_startup',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.746Z
}
{
  message: '    await await_me_maybe(hook)',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.746Z
}
{
  message: '  File "/Users/madhavajay/.datasette-app/venv/lib/python3.9/site-packages/datasette/utils/__init__.py", line 111, in await_me_maybe',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.746Z
}
{
  message: '    value = await value',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.746Z
}
{
  message: '  File "/Users/madhavajay/.datasette-app/venv/lib/python3.9/site-packages/datasette_app_support/__init__.py", line 29, in inner',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.746Z
}
{
  message: '    for plugin in (await datasette.client.get("/-/plugins.json")).json()',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.746Z
}
{
  message: '  File "/Users/madhavajay/.datasette-app/venv/lib/python3.9/site-packages/datasette/app.py", line 1573, in get',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.746Z
}
{
  message: '    return await client.get(self._fix(path), **kwargs)',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.748Z
}
{
  message: '  File "/Users/madhavajay/.datasette-app/venv/lib/python3.9/site-packages/httpx/_client.py", line 1757, in get',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.750Z
}
{
  message: '    return await self.request(',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.753Z
}
{
  message: '  File "/Users/madhavajay/.datasette-app/venv/lib/python3.9/site-packages/httpx/_client.py", line 1533, in request',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.757Z
}
{
  message: '    return await self.send(request, auth=auth, follow_redirects=follow_redirects)',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.757Z
}
{
  message: '  File "/Users/madhavajay/.datasette-app/venv/lib/python3.9/site-packages/httpx/_client.py", line 1620, in send',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.757Z
}
{
  message: '    response = await self._send_handling_auth(',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.757Z
}
{
  message: '  File "/Users/madhavajay/.datasette-app/venv/lib/python3.9/site-packages/httpx/_client.py", line 1648, in _send_handling_auth',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.757Z
}
{
  message: '    response = await self._send_handling_redirects(',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.757Z
}
{
  message: '  File "/Users/madhavajay/.datasette-app/venv/lib/python3.9/site-packages/httpx/_client.py", line 1685, in _send_handling_redirects',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.757Z
}
{
  message: '    response = await self._send_single_request(request)',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.757Z
}
{
  message: '  File "/Users/madhavajay/.datasette-app/venv/lib/python3.9/site-packages/httpx/_client.py", line 1722, in _send_single_request',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.758Z
}
{
  message: '    response = await transport.handle_async_request(request)',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.758Z
}
{
  message: '  File "/Users/madhavajay/.datasette-app/venv/lib/python3.9/site-packages/httpx/_transports/asgi.py", line 162, in handle_async_request',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.758Z
}
{
  message: '    await self.app(scope, receive, send)',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.758Z
}
{
  message: '  File "/Users/madhavajay/.datasette-app/venv/lib/python3.9/site-packages/datasette/utils/asgi.py", line 444, in __call__',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.758Z
}
{
  message: '    await hook()',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.758Z
}
{
  message: '  File "/Users/madhavajay/.datasette-app/venv/lib/python3.9/site-packages/datasette/app.py", line 412, in invoke_startup',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.758Z
}
{
  message: '    await await_me_maybe(hook)',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.758Z
}
{
  message: '  File "/Users/madhavajay/.datasette-app/venv/lib/python3.9/site-packages/datasette/utils/__init__.py", line 111, in await_me_maybe',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.758Z
}
{
  message: '    value = await value',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.758Z
}
{
  message: '  File "/Users/madhavajay/.datasette-app/venv/lib/python3.9/site-packages/datasette_app_support/__init__.py", line 44, in inner',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.758Z
}
{
  message: '    < version.parse(plugin.get("tag_name", ""))',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.758Z
}
{
  message: '  File "/Users/madhavajay/.datasette-app/venv/lib/python3.9/site-packages/packaging/version.py", line 52, in parse',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.758Z
}
{
  message: '    return Version(version)',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.758Z
}
{
  message: '  File "/Users/madhavajay/.datasette-app/venv/lib/python3.9/site-packages/packaging/version.py", line 197, in __init__',
  type: 'stderr',
  ts: 2023-02-13T01:57:09.758Z
}
{
  message: `    raise InvalidVersion(f"Invalid version: '{version}'")`,
  type: 'stderr',
  ts: 2023-02-13T01:57:09.758Z
}
{
  message: "packaging.version.InvalidVersion: Invalid version: ''",
  type: 'stderr',
  ts: 2023-02-13T01:57:09.758Z
}

from datasette-app.

ripperdoc avatar ripperdoc commented on June 21, 2024

I'm getting the same error. I'm on 10.15.7, old Retina MBP.

from datasette-app.

MichaelTiemannOSC avatar MichaelTiemannOSC commented on June 21, 2024

I have the same problem on Ventura 13.2.1 (Intel silicon).

from datasette-app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.