Giter Site home page Giter Site logo

filemanager's Introduction

KivyMD Extensions

KivyMD Extensions is a project to centralize community addons for KivyMD. You can find all extensions under @kivymd-extensions organization.

Extensions are maintained by community members such as yourself. If you want to create new extension, generate a repository from extension_template, change all extension_template and example_extension to your new extension name and edit code. When you will be ready to publish extension, create new issue at kivymd-extensions/KivyMD_Extensions with a link to your repository. We will create repository under organization profile and push your code there.

License

KivyMD Extensions is released under the terms of the MIT License, same as KivyMD.

filemanager's People

Contributors

artemsbulgakov avatar heattheatr avatar kulothunganug 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

filemanager's Issues

The examples crash after runnning the code - There is no Error just a warning message.

Description of the Bug

After running the example the application windows attempts to launch the filemanager, nevertheless it closed itself. I can't use the example to evaluate the code.

Code and Logs

[INFO ] [Logger ] Record log in C:\Users\Romy1.kivy\logs\kivy_21-01-22_48.txt
[INFO ] [deps ] Successfully imported "kivy_deps.gstreamer" 0.3.1
[INFO ] [deps ] Successfully imported "kivy_deps.angle" 0.3.0
[INFO ] [deps ] Successfully imported "kivy_deps.glew" 0.3.0
[INFO ] [deps ] Successfully imported "kivy_deps.sdl2" 0.3.1
[INFO ] [Kivy ] v2.0.0
[INFO ] [Kivy ] Installed at "c:\Users\Romy1\Anaconda3\envs\kivy_env\lib\site-packages\kivy_init_.py"
[INFO ] [Python ] v3.7.7 (default, May 6 2020, 11:45:54) [MSC v.1916 64 bit (AMD64)]
[INFO ] [Python ] Interpreter at "c:\Users\Romy1\Anaconda3\envs\kivy_env\python.exe"
[INFO ] [KivyMD ] 0.104.2.dev0, git-Unknown, 2021-01-23 (installed at "c:\Users\Romy1\Anaconda3\envs\kivy_env\lib\site-packages\kivymd_init_.py")
[INFO ] [Factory ] 186 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored)
[INFO ] [Text ] Provider: sdl2
[INFO ] [Window ] Provider: sdl2
[INFO ] [GL ] Using the "OpenGL" graphics system
[INFO ] [GL ] GLEW initialization succeeded
[INFO ] [GL ] Backend used
[INFO ] [GL ] OpenGL version <b'4.5.0 - Build 24.20.100.6286'>
[INFO ] [GL ] OpenGL vendor <b'Intel'>
[INFO ] [GL ] OpenGL renderer <b'Intel(R) HD Graphics 620'>
[INFO ] [GL ] OpenGL parsed version: 4, 5
[INFO ] [GL ] Shading version <b'4.50 - Build 24.20.100.6286'>
[INFO ] [GL ] Texture max size <16384>
[INFO ] [GL ] Texture max units <32>
[INFO ] [Window ] auto add sdl2 input provider
[INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
[WARNING] [Factory ] Ignored class "FileListEntry" re-declaration. Current - module: None, cls: functools.partial(<bound method BuilderBase.template of <kivy.lang.builder.BuilderBase object at 0x00000203FDD42788>>, 'FileListEntry'), baseclass: None, filename: None. Ignored - module: None, cls: functools.partial(<bound method BuilderBase.template of <kivy.lang.builder.BuilderBase object at 0x00000203FDD42788>>, 'FileListEntry'), baseclass: None, filename: None.
[INFO ] [GL ] NPOT texture support is available
[INFO ] [Base ] Start application main loop
[Finished in 3.5s]

Screenshots

Versions

  • OS: Windows 10
  • Python: 3.7.7
  • Kivy: 2.0.0
  • KivyMD: 0.104.2.dev0

ModuleNotFoundError: No module named 'kivymd.uix.relativelayout'

Description of the Bug

I was installing and trying out these KivyMD extensions. All of them worked fine, but when I tried to run the File Manager I got an error.

Code and Logs

from kivymd.app import MDApp

from kivymd_extensions.filemanager import FileManager


class MainApp(MDApp):
    def on_start(self):
        FileManager().open()


if __name__ == "__main__":
    MainApp().run()
"""


class MainApp(App):
    def build(self):
        self.root = Builder.load_string(kv)


if __name__ == '__main__':
    MainApp().run()

Versions

  • OS: Manjaro Linux
  • Python: 3.8.6
  • Kivy: 1.11.1
  • KivyMD: 0.104.1

Cannot import name 'RightContent' from 'kivymd.uix.menu'

Description of the Bug

Getting the following error:

Cannot import name 'RightContent' from 'kivymd.uix.menu'

Code and Logs

from kivymd.app import MDApp

from kivymd_extensions.filemanager import FileManager


class Example(MDApp):
    def on_context_menu(self, instance_file_manager, name_context_plugin):
        print(
            "Event 'on_context_menu'",
            instance_file_manager,
            name_context_plugin,
        )

    def on_tap_file(self, instance_file_manager, path):
        print("Event 'on_tap_file'", instance_file_manager, path)

    def on_tap_dir(self, instance_file_manager, path):
        print("Event 'on_tap_dir'", instance_file_manager, path)

    def on_tab_switch(
        self,
        instance_file_manager,
        instance_tabs,
        instance_tab,
        instance_tab_label,
        tab_text,
    ):
        print(
            "Event 'on_tab_switch'",
            instance_file_manager,
            instance_tabs,
            instance_tab,
            instance_tab_label,
            tab_text,
        )

    def on_start(self):
        manager = FileManager()
        manager.bind(
            on_tap_file=self.on_tap_file,
            on_tap_dir=self.on_tap_dir,
            on_tab_switch=self.on_tab_switch,
            on_context_menu=self.on_context_menu,
        )
        manager.open()


Example().run()

Screenshots

Add images to explain us this bug. Paste urls here.

Remove this section if no images here

Versions

  • OS: WIndows 10
  • Python: 3.10.4
  • Kivy: 2.1.0
  • KivyMD: 0.104.2
  • KivyMD-extensions: 1.0.0
  • KivyMD-extensions.filemanager: 0.1.5

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.