Git Product home page Git Product logo

dde-api's People

Contributors

asterwyx avatar black-desk avatar blumia avatar chengbo7135 avatar decodetalkers avatar deepin-bot[bot] avatar deepinzhangshuang avatar dengbo11 avatar electricface avatar felixonmars avatar gs342 avatar hualet avatar hubenchang0515 avatar huwei-eaco avatar jouyouyun avatar justforlxz avatar l631197874 avatar leaeasy avatar letmestudy avatar robertkill avatar rocet92 avatar snyh avatar ssk-wh avatar tsic404 avatar utsweetyfish avatar weizhixiangcoder avatar wineee avatar wubw0508 avatar yixinshark avatar zsien avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dde-api's Issues

Arch deepin-api-3.5.0-1 update issue

Started seeing this a few days ago, and being lazy I assumed you were aware of the issue. But the issue still exists so I thought I would pass it along. I'm using Antergos an arch flavor and when performing a pkg update you receive an error on the deepin-api pkg, here is the output:

sudo pacman -Syu
[sudo] password....
:: Synchronizing package databases...
antergos is up to date
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Starting full system upgrade...
error: could not open file /var/lib/pacman/local/deepin-api-3.5.0-1/desc: No such file or directory
resolving dependencies...
looking for conflicting packages...
warning: could not fully load metadata for package deepin-api-3.5.0-1
error: failed to prepare transaction (invalid or corrupted package)

Thanks :)

Build error on go-gir-generator

[ 64s] cd /home/abuild/rpmbuild/BUILD/go/src/pkg.deepin.io/dde/api/powersupply
[ 64s] /usr/lib64/go/1.14/pkg/tool/linux_amd64/compile -o $WORK/b230/pkg.a -trimpath "$WORK/b230=>" -shared -p pkg.deepin.io/dde/api/powersupply -complete -installsuffix shared -buildid EMTK6a6E1jyTiQK4WDgC/EMTK6a6E1jyTiQK4WDgC -goversion go1.14.15 -D "" -importcfg $WORK/b230/importcfg -pack ./powersupply.go
[ 64s] # pkg.deepin.io/gir/gio-2.0
[ 64s] ../contrib/src/pkg.deepin.io/gir/gio-2.0/gio.go:1504:40: undefined: glib.Source
[ 64s] ../contrib/src/pkg.deepin.io/gir/gio-2.0/gio.go:1510:12: undefined: glib.Source
[ 64s] ../contrib/src/pkg.deepin.io/gir/gio-2.0/gio.go:1513:11: undefined: glib.Source

Error on ppc64le: dev.Enabled undefined (type *kwin.InputDevice is pointer to interface, not interface)

[ 93s] /usr/lib64/go/1.15/pkg/tool/linux_ppc64le/buildid -w $WORK/b166/pkg.a # internal
[ 93s] # pkg.deepin.io/dde/api/dxinput/kwayland
[ 93s] ../contrib/src/pkg.deepin.io/dde/api/dxinput/kwayland/inputdevice.go:65:12: dev.Enabled undefined (type *kwin.InputDevice is pointer to interface, not interface)
[ 93s] ../contrib/src/pkg.deepin.io/dde/api/dxinput/kwayland/inputdevice.go:73:19: dev.Enabled undefined (type *kwin.InputDevice is pointer to interface, not interface)
[ 93s] ../contrib/src/pkg.deepin.io/dde/api/dxinput/kwayland/inputdevice.go:82:19: dev.SupportsLeftHanded undefined (type *kwin.InputDevice is pointer to interface, not interface)
[ 93s] ../contrib/src/pkg.deepin.io/dde/api/dxinput/kwayland/inputdevice.go:86:12: dev.LeftHanded undefined (type *kwin.InputDevice is pointer to interface, not interface)
[ 93s] ../contrib/src/pkg.deepin.io/dde/api/dxinput/kwayland/inputdevice.go:94:19: dev.LeftHanded undefined (type *kwin.InputDevice is pointer to interface, not interface)
[ 93s] ../contrib/src/pkg.deepin.io/dde/api/dxinput/kwayland/inputdevice.go:103:19: dev.SupportsMiddleEmulation undefined (type *kwin.InputDevice is pointer to interface, not interface)
[ 93s] ../contrib/src/pkg.deepin.io/dde/api/dxinput/kwayland/inputdevice.go:107:12: dev.MiddleEmulation undefined (type *kwin.InputDevice is pointer to interface, not interface)
[ 93s] ../contrib/src/pkg.deepin.io/dde/api/dxinput/kwayland/inputdevice.go:115:19: dev.MiddleEmulation undefined (type *kwin.InputDevice is pointer to interface, not interface)
[ 93s] ../contrib/src/pkg.deepin.io/dde/api/dxinput/kwayland/inputdevice.go:125:19: dev.SupportsPointerAcceleration undefined (type *kwin.InputDevice is pointer to interface, not interface)
[ 93s] ../contrib/src/pkg.deepin.io/dde/api/dxinput/kwayland/inputdevice.go:129:12: dev.PointerAcceleration undefined (type *kwin.InputDevice is pointer to interface, not interface)
[ 93s] ../contrib/src/pkg.deepin.io/dde/api/dxinput/kwayland/inputdevice.go:129:12: too many errors

Deepin-api causes deepin-control-center hang

deepin-api has been updated to 3.1.20-1 and causes deepin-control-center hang.
Workaround : after upgrade to version 3.1.20-1 of deepin-api, when I click on control center, my system is freezing and blocked.
I must restart by ALT+CTRL+F2 and reboot

If /etc/timezone not exists, dde-api/set-date-time should create it instead of panic

https://github.com/linuxdeepin/dde-api/blob/master/set-date-time/set_timezone.go#L93

martyr-deepin/arch-deepin#11

4a207b 2014-07-05 22:48:12.756 dde-api/set-date-time: [ERROR] /usr/src/packages/BUILD/dde-api/src/dde-api-0.0.2.git20140703~7df314d/set-date-time/set_timezone.go:58: Recover Error: open /etc/timezone: no such file or directory
14a207b 2014-07-05 22:48:12.756 dde-api/set-date-time: [ERROR] -> /usr/lib/go/src/pkg/runtime/panic.c:248
14a207b 2014-07-05 22:48:12.756 dde-api/set-date-time: [ERROR] -> /usr/src/packages/BUILD/dde-api/src/dde-api-0.0.2.git20140703~7df314d/set-date-time/set_timezone.go:127
14a207b 2014-07-05 22:48:12.756 dde-api/set-date-time: [ERROR] -> /usr/src/packages/BUILD/dde-api/src/dde-api-0.0.2.git20140703~7df314d/set-date-time/set_timezone.go:140
14a207b 2014-07-05 22:48:12.756 dde-api/set-date-time: [ERROR] -> /usr/src/packages/BUILD/dde-api/src/dde-api-0.0.2.git20140703~7df314d/set-date-time/set_timezone.go:93
14a207b 2014-07-05 22:48:12.756 dde-api/set-date-time: [ERROR] -> /usr/src/packages/BUILD/dde-api/src/dde-api-0.0.2.git20140703~7df314d/set-date-time/set_date_time.go:76
14a207b 2014-07-05 22:48:12.756 dde-api/set-date-time: [ERROR] -> /usr/lib/go/src/pkg/runtime/asm_amd64.s:361
14a207b 2014-07-05 22:48:12.756 dde-api/set-date-time: [ERROR] -> /usr/lib/go/src/pkg/reflect/value.go:563
14a207b 2014-07-05 22:48:12.756 dde-api/set-date-time: [ERROR] -> /usr/lib/go/src/pkg/reflect/value.go:411
14a207b 2014-07-05 22:48:12.756 dde-api/set-date-time: [ERROR] -> /usr/src/packages/BUILD/go-dlib/src/go-dlib-build/src/pkg.linuxdeepin.com/lib/dbus/handle_call.go:147
14a207b 2014-07-05 22:48:12.756 dde-api/set-date-time: [ERROR] -> /usr/src/packages/BUILD/go-dlib/src/go-dlib-build/src/pkg.linuxdeepin.com/lib/dbus/handle_call.go:201
14a207b 2014-07-05 22:48:12.756 dde-api/set-date-time: [ERROR] -> /usr/lib/go/src/pkg/runtime/proc.c:1445

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.