question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add DetailedList to Windows

See original GitHub issue

Expected Behavior

The detailed list example to render

Current Behavior


Unhandled Exception: Python.Runtime.PythonException: AttributeError : module 'toga_winforms.factory' has no attribute 'DetailedList'
   at Python.Runtime.Dispatcher.Dispatch(ArrayList args)
   at __System_Threading_ThreadStartDispatcher.Invoke()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

Process finished with exit code -532462766

Steps to reproduce

  1. launch detailedlist example

Your Environment

  • Python Version (list the specific version number) 3.6.5

  • Operating System and Version (select from the following and list the specific version number; if your OS is not listed, list that as well)

    • macOS - version:
    • Linux - distro: - version:
    • [ x ] Windows - version: Win10 1607
    • Other - name: - version:
  • Toga Target (the type of app you are trying to generate)

    • android
    • cocoa
    • django
    • gtk
    • iOS
    • tvOS
    • watchOS
    • [ x ] winforms
    • win32
    • Other (please specify)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:10
  • Comments:14 (10 by maintainers)

github_iconTop GitHub Comments

3reactions
freakboy3742commented, Feb 17, 2020

@obulat Agreed - that would be a nice improvement to the end-user experience.

The problem here is that what we’d need to catch is an attribute lookup on a module. This is something that is trivial to fix in Python 3.7 - we could add a module-level __getattr__ definition. However, on older Python versions, we’d need to completely change the way the factory is accessed (and prevent any other way of accessing the factory).

It may still be worth adding the module-level __getattr__, though - it won’t hurt having it on older Python versions, and the platform most likely to be affected by this (Windows) is also the one most likely to have a recent Python version (3.7+).

1reaction
saroad2commented, Sep 11, 2022

I believe this was fixed in #1574 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create a list from the Lists app
Track information and organize work with Microsoft Lists. Create a list from scratch, ... To add items, select New, fill in the form,...
Read more >
Microsoft To-Do Tip | Add Lists to the Windows Start Menu
Here is a quick tip - how to add a tile containing your Microsoft To-Do list to your Windows start menu for quick...
Read more >
How to use Microsoft To Do - YouTube
Microsoft To Do is a free task tracking app that you can access v. ... Edit list Name 4:48 Set a theme for...
Read more >
The 7 Best To Do List Apps for Windows
A quick add feature, found by right-clicking the taskbar icon, makes it fast to add new tasks whenever you think of something. An...
Read more >
How to Use Microsoft To Do on Windows 11
You can directly add a task in the My Day list or move an already ... can add all the tasks you want...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found